Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 58a3244429e7a477f98db1630e9f7196231c69d5+4525aed633a2d28dffb46d50cb0e81f75e767df3 (ca843eadf912e60b4987bd408bfed05420741883) 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 ‘prd-centos7-docker-4c-2g-15505’ is offline Running on prd-centos7-docker-4c-2g-16244 in /w/workspace/dgexfoundry_device-sdk-go_PR-676 [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-676 # 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 4525aed633a2d28dffb46d50cb0e81f75e767df3 into PR head commit 58a3244429e7a477f98db1630e9f7196231c69d5 Merge succeeded, producing b8caea373e3e833cab8afdd4767ddd081809616d Checking out Revision b8caea373e3e833cab8afdd4767ddd081809616d (PR-676) 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/676/head:refs/remotes/origin/PR-676 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 58a3244429e7a477f98db1630e9f7196231c69d5 # 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 4525aed633a2d28dffb46d50cb0e81f75e767df3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b8caea373e3e833cab8afdd4767ddd081809616d # timeout=10 Commit message: "Merge commit '4525aed633a2d28dffb46d50cb0e81f75e767df3' into HEAD" > git rev-list --no-walk 58a3244429e7a477f98db1630e9f7196231c69d5 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:41:37 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:41:38 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:41:38 ========================================================= 02:41:38 EdgeX Global Pipelines Version Info 02:41:38 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:41:39 ------------------- 02:41:39 stable info: 02:41:39 ------------------- 02:41:39 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:41:39 Commit SHA: 025b6483f761633eb525fab7d6a8b6537d6ee4a4 02:41:39 Message: update stable to v1.0.172 02:41:40 ------------------- 02:41:40 experimental info: 02:41:40 ------------------- 02:41:40 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:41:40 Commit SHA: 025b6483f761633eb525fab7d6a8b6537d6ee4a4 02:41:40 Message: update experimental to v1.0.172 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:41:41 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 02:41:41 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 02:41:41 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:41:41 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:41:41 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:41:41 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 02:41:41 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 02:41:41 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 02:41:41 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 02:41:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:41:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:41:42 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 02:41:42 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:41:42 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:41:42 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:41:42 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 02:41:42 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:41:42 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:41:42 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:41:42 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:41:43 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 02:41:43 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 02:41:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:41:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:41:43 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:41:43 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 02:41:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-676 [Pipeline] echo 02:41:43 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-676 [Pipeline] echo 02:41:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-676 [Pipeline] echo 02:41:43 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b8caea373e3e833cab8afdd4767ddd081809616d [Pipeline] echo 02:41:44 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b8caea3 [Pipeline] echo 02:41:44 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:41:44 provisioning config files... 02:41:44 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-676@tmp/config7508551081751126350tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:41:44 ---> docker-login.sh 02:41:44 nexus3.edgexfoundry.org:10001 02:41:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:41:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:41:45 Configure a credential helper to remove this warning. See 02:41:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:41:45 02:41:45 Login Succeeded 02:41:45 nexus3.edgexfoundry.org:10002 02:41:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:41:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:41:45 Configure a credential helper to remove this warning. See 02:41:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:41:45 02:41:45 Login Succeeded 02:41:45 nexus3.edgexfoundry.org:10003 02:41:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:41:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:41:45 Configure a credential helper to remove this warning. See 02:41:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:41:45 02:41:45 Login Succeeded 02:41:45 nexus3.edgexfoundry.org:10004 02:41:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:41:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:41:45 Configure a credential helper to remove this warning. See 02:41:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:41:45 02:41:45 Login Succeeded 02:41:45 docker.io 02:41:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:41:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:41:46 Configure a credential helper to remove this warning. See 02:41:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:41:46 02:41:46 Login Succeeded 02:41:46 ---> docker-login.sh ends [Pipeline] } 02:41:46 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 02:41:47 + git log --format=format:%s -1 b8caea373e3e833cab8afdd4767ddd081809616d [Pipeline] echo 02:41:47 GIT_COMMIT: b8caea373e3e833cab8afdd4767ddd081809616d, Commit Message: Merge commit '4525aed633a2d28dffb46d50cb0e81f75e767df3' into HEAD [Pipeline] echo 02:41:47 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 02:41:48 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:41:48 02:41:48 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:41:48 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:41:48 latest: Pulling from edgex-devops/git-semver 02:41:48 31603596830f: Pulling fs layer 02:41:48 2a8b12db71e7: Pulling fs layer 02:41:48 6ca5941a6612: Pulling fs layer 02:41:48 ecc8261a40a4: Pulling fs layer 02:41:48 ecc8261a40a4: Waiting 02:41:48 2a8b12db71e7: Verifying Checksum 02:41:48 2a8b12db71e7: Download complete 02:41:48 31603596830f: Verifying Checksum 02:41:48 31603596830f: Download complete 02:41:48 ecc8261a40a4: Verifying Checksum 02:41:48 ecc8261a40a4: Download complete 02:41:48 6ca5941a6612: Verifying Checksum 02:41:48 6ca5941a6612: Download complete 02:41:49 31603596830f: Pull complete 02:41:49 2a8b12db71e7: Pull complete 02:41:49 6ca5941a6612: Pull complete 02:41:50 ecc8261a40a4: Pull complete 02:41:50 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 02:41:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:41:50 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:41:50 prd-centos7-docker-4c-2g-16244 does not seem to be running inside a container 02:41:50 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-676 -v /w/workspace/dgexfoundry_device-sdk-go_PR-676:/w/workspace/dgexfoundry_device-sdk-go_PR-676:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-676@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-676@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 02:41:53 $ docker top d1e1856ca060ff148047e98fe282c21a11869aaf502a01efc6f059fb9aca38ad -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:41:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:41:53 [ssh-agent] Looking for ssh-agent implementation... 02:41:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:41:53 $ docker exec d1e1856ca060ff148047e98fe282c21a11869aaf502a01efc6f059fb9aca38ad ssh-agent 02:41:53 SSH_AUTH_SOCK=/tmp/ssh-AhkEdmDqDOAt/agent.12 02:41:53 SSH_AGENT_PID=17 02:41:53 Running ssh-add (command line suppressed) 02:41:53 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-676@tmp/private_key_7256686061733424238.key (/w/workspace/dgexfoundry_device-sdk-go_PR-676@tmp/private_key_7256686061733424238.key) 02:41:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:41:54 + git tag --points-at HEAD [Pipeline] } 02:41:54 $ docker exec --env ******** --env ******** d1e1856ca060ff148047e98fe282c21a11869aaf502a01efc6f059fb9aca38ad ssh-agent -k 02:41:54 unset SSH_AUTH_SOCK; 02:41:54 unset SSH_AGENT_PID; 02:41:54 echo Agent pid 17 killed; 02:41:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:41:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:41:54 [ssh-agent] Looking for ssh-agent implementation... 02:41:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:41:55 $ docker exec d1e1856ca060ff148047e98fe282c21a11869aaf502a01efc6f059fb9aca38ad ssh-agent 02:41:55 SSH_AUTH_SOCK=/tmp/ssh-FAIiZ49iebnu/agent.46 02:41:55 SSH_AGENT_PID=52 02:41:55 Running ssh-add (command line suppressed) 02:41:55 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-676@tmp/private_key_6112540694371653090.key (/w/workspace/dgexfoundry_device-sdk-go_PR-676@tmp/private_key_6112540694371653090.key) 02:41:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:41:55 + git semver init 02:41:55 # -> Open(): unable to determine branch for HEAD 02:41:55 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-676/.git 02:41:55 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-676 02:41:55 # $SEMVER_REMOTE_NAME = origin 02:41:55 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:41:55 # $SEMVER_USER_NAME = edgex-jenkins 02:41:55 # $SEMVER_BRANCH = PR-676 02:41:55 # $SEMVER_TEMP = /tmp/semver-409846820 02:41:55 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 02:41:56 # '/tmp/semver-409846820' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-676/.semver' 02:41:56 # -> Force: false 02:41:56 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-676/.semver [Pipeline] } 02:41:56 $ docker exec --env ******** --env ******** d1e1856ca060ff148047e98fe282c21a11869aaf502a01efc6f059fb9aca38ad ssh-agent -k 02:41:56 unset SSH_AUTH_SOCK; 02:41:56 unset SSH_AGENT_PID; 02:41:56 echo Agent pid 52 killed; 02:41:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:41:57 + git semver [Pipeline] } 02:41:57 $ docker stop --time=1 d1e1856ca060ff148047e98fe282c21a11869aaf502a01efc6f059fb9aca38ad 02:41:58 $ docker rm -f d1e1856ca060ff148047e98fe282c21a11869aaf502a01efc6f059fb9aca38ad [Pipeline] // withDockerContainer [Pipeline] sh 02:41:59 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:41:59 Stashed 1 file(s) [Pipeline] echo 02:41:59 [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 02:42:15 Still waiting to schedule task 02:42:15 ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-16245’ is offline; ‘prd-ubuntu18.04-docker-8c-8g-16225’ doesn’t have label ‘centos7-docker-4c-2g’ 02:42:15 Still waiting to schedule task 02:42:15 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 02:43:44 Running on prd-centos7-docker-4c-2g-16246 in /w/workspace/dgexfoundry_device-sdk-go_PR-676 [Pipeline] { [Pipeline] ws 02:43:44 Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] checkout 02:43:49 using credential edgex-jenkins-ssh 02:43:49 Cloning the remote Git repository 02:43:49 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:43:49 > git init /w/workspace/device-sdk-go/6 # timeout=10 02:43:49 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:43:49 > git --version # timeout=10 02:43:49 > git --version # 'git version 2.24.3' 02:43:49 using GIT_SSH to set credentials SSH Credentials for GitHub 02:43:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:43:51 Merging remotes/origin/master commit 4525aed633a2d28dffb46d50cb0e81f75e767df3 into PR head commit 58a3244429e7a477f98db1630e9f7196231c69d5 02:43:50 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:43:50 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:43:50 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:43:50 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:43:50 using GIT_SSH to set credentials SSH Credentials for GitHub 02:43:50 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/676/head:refs/remotes/origin/PR-676 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:43:51 > git config core.sparsecheckout # timeout=10 02:43:51 > git checkout -f 58a3244429e7a477f98db1630e9f7196231c69d5 # timeout=10 02:43:51 Merge succeeded, producing 492ae01f21371a190bc04109b3f94be41c5d7190 02:43:51 Checking out Revision 492ae01f21371a190bc04109b3f94be41c5d7190 (PR-676) 02:43:51 > git remote # timeout=10 02:43:51 > git config --get remote.origin.url # timeout=10 02:43:51 using GIT_SSH to set credentials SSH Credentials for GitHub 02:43:51 > git merge 4525aed633a2d28dffb46d50cb0e81f75e767df3 # timeout=10 02:43:51 > git rev-parse HEAD^{commit} # timeout=10 02:43:51 > git config core.sparsecheckout # timeout=10 02:43:51 > git checkout -f 492ae01f21371a190bc04109b3f94be41c5d7190 # timeout=10 02:43:55 Commit message: "Merge commit '4525aed633a2d28dffb46d50cb0e81f75e767df3' into HEAD" 02:43:55 > git rev-list --no-walk 58a3244429e7a477f98db1630e9f7196231c69d5 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:43:57 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 02:43:58 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:43:58 + sudo service docker restart 02:43:58 + true 02:43:58 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:44:00 provisioning config files... 02:44:00 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/6@tmp/config3006972886767079589tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:44:00 ---> docker-login.sh 02:44:00 nexus3.edgexfoundry.org:10001 02:44:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:01 Configure a credential helper to remove this warning. See 02:44:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:01 02:44:01 Login Succeeded 02:44:01 nexus3.edgexfoundry.org:10002 02:44:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:02 Configure a credential helper to remove this warning. See 02:44:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:02 02:44:02 Login Succeeded 02:44:02 nexus3.edgexfoundry.org:10003 02:44:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:02 Configure a credential helper to remove this warning. See 02:44:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:02 02:44:02 Login Succeeded 02:44:02 nexus3.edgexfoundry.org:10004 02:44:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:02 Configure a credential helper to remove this warning. See 02:44:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:02 02:44:02 Login Succeeded 02:44:02 docker.io 02:44:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:03 Configure a credential helper to remove this warning. See 02:44:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:03 02:44:03 Login Succeeded 02:44:03 ---> docker-login.sh ends [Pipeline] } 02:44:03 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:44:03 ========================================================= 02:44:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 02:44:03 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:44:04 + 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 . 02:44:04 Sending build context to Docker daemon 2.402MB 02:44:04 Step 1/8 : ARG BASE=golang:1.15-alpine 02:44:04 Step 2/8 : FROM ${BASE} 02:44:04 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 02:44:04 188c0c94c7c5: Pulling fs layer 02:44:04 0ef7d3d256c8: Pulling fs layer 02:44:04 de9db76c5a1d: Pulling fs layer 02:44:04 bca2f99d35d6: Pulling fs layer 02:44:04 93359f2a8cfa: Pulling fs layer 02:44:04 7c6f9722023f: Pulling fs layer 02:44:04 a35cf1a2eb13: Pulling fs layer 02:44:04 bca2f99d35d6: Waiting 02:44:04 93359f2a8cfa: Waiting 02:44:04 7c6f9722023f: Waiting 02:44:04 a35cf1a2eb13: Waiting 02:44:04 de9db76c5a1d: Verifying Checksum 02:44:04 de9db76c5a1d: Download complete 02:44:04 0ef7d3d256c8: Verifying Checksum 02:44:04 0ef7d3d256c8: Download complete 02:44:04 93359f2a8cfa: Verifying Checksum 02:44:04 93359f2a8cfa: Download complete 02:44:05 7c6f9722023f: Verifying Checksum 02:44:05 7c6f9722023f: Download complete 02:44:05 188c0c94c7c5: Verifying Checksum 02:44:05 188c0c94c7c5: Download complete 02:44:06 188c0c94c7c5: Pull complete 02:44:06 0ef7d3d256c8: Pull complete 02:44:06 de9db76c5a1d: Pull complete 02:44:09 a35cf1a2eb13: Verifying Checksum 02:44:09 a35cf1a2eb13: Download complete 02:44:10 bca2f99d35d6: Verifying Checksum 02:44:10 bca2f99d35d6: Download complete 02:44:14 Running on prd-ubuntu18.04-docker-arm64-4c-16g-16247 in /w/workspace/dgexfoundry_device-sdk-go_PR-676 [Pipeline] { [Pipeline] ws 02:44:15 Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] checkout 02:44:20 using credential edgex-jenkins-ssh 02:44:20 Cloning the remote Git repository 02:44:20 bca2f99d35d6: Pull complete 02:44:20 93359f2a8cfa: Pull complete 02:44:20 7c6f9722023f: Pull complete 02:44:20 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:44:20 > git init /w/workspace/device-sdk-go/6 # timeout=10 02:44:20 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:44:20 > git --version # timeout=10 02:44:20 > git --version # 'git version 2.17.1' 02:44:20 using GIT_SSH to set credentials SSH Credentials for GitHub 02:44:20 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:44:22 Merging remotes/origin/master commit 4525aed633a2d28dffb46d50cb0e81f75e767df3 into PR head commit 58a3244429e7a477f98db1630e9f7196231c69d5 02:44:22 Merge succeeded, producing 54620c98f133ab240173f6e0de1d2578d9493093 02:44:22 Checking out Revision 54620c98f133ab240173f6e0de1d2578d9493093 (PR-676) 02:44:21 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:44:21 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:44:21 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:44:21 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:44:21 using GIT_SSH to set credentials SSH Credentials for GitHub 02:44:21 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/676/head:refs/remotes/origin/PR-676 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:44:22 > git config core.sparsecheckout # timeout=10 02:44:22 > git checkout -f 58a3244429e7a477f98db1630e9f7196231c69d5 # timeout=10 02:44:22 > git remote # timeout=10 02:44:22 > git config --get remote.origin.url # timeout=10 02:44:22 using GIT_SSH to set credentials SSH Credentials for GitHub 02:44:22 > git merge 4525aed633a2d28dffb46d50cb0e81f75e767df3 # timeout=10 02:44:22 > git rev-parse HEAD^{commit} # timeout=10 02:44:22 > git config core.sparsecheckout # timeout=10 02:44:22 > git checkout -f 54620c98f133ab240173f6e0de1d2578d9493093 # timeout=10 02:44:25 a35cf1a2eb13: Pull complete 02:44:25 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 02:44:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 02:44:25 ---> a62c8e92a672 02:44:25 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:44:25 ---> Running in a6c88cdcf14b 02:44:25 Removing intermediate container a6c88cdcf14b 02:44:25 ---> 9d7878ca9388 02:44:25 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:44:25 ---> Running in cb59a0be4513 02:44:27 Commit message: "Merge commit '4525aed633a2d28dffb46d50cb0e81f75e767df3' into HEAD" 02:44:27 > git rev-list --no-walk 58a3244429e7a477f98db1630e9f7196231c69d5 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:44:28 Removing intermediate container cb59a0be4513 02:44:28 ---> 3749e147cfa0 02:44:28 Step 5/8 : RUN apk add --no-cache make git 02:44:28 ---> Running in fabaaf02f39e 02:44:28 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 02:44:29 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:44:29 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:44:29 + true 02:44:29 + sudo service docker restart 02:44:29 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:44:30 OK: 166 MiB in 39 packages 02:44:31 Removing intermediate container fabaaf02f39e 02:44:31 ---> e856586747ee 02:44:31 Step 6/8 : WORKDIR /device-sdk-go 02:44:31 ---> Running in 247f05bf69af 02:44:31 Removing intermediate container 247f05bf69af 02:44:31 ---> b8efd4709c00 02:44:31 Step 7/8 : COPY . . [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:44:32 provisioning config files... 02:44:32 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/6@tmp/config6419528065029315979tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:44:32 ---> 8031c90b0159 02:44:32 Step 8/8 : RUN go mod download 02:44:32 ---> docker-login.sh 02:44:32 nexus3.edgexfoundry.org:10001 02:44:32 ---> Running in 8c30d3faec19 02:44:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:33 Configure a credential helper to remove this warning. See 02:44:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:33 02:44:33 Login Succeeded 02:44:33 nexus3.edgexfoundry.org:10002 02:44:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:34 Configure a credential helper to remove this warning. See 02:44:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:34 02:44:34 Login Succeeded 02:44:34 nexus3.edgexfoundry.org:10003 02:44:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:34 Configure a credential helper to remove this warning. See 02:44:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:34 02:44:34 Login Succeeded 02:44:34 nexus3.edgexfoundry.org:10004 02:44:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:35 Configure a credential helper to remove this warning. See 02:44:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:35 02:44:35 Login Succeeded 02:44:35 docker.io 02:44:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:36 Configure a credential helper to remove this warning. See 02:44:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:36 02:44:36 Login Succeeded 02:44:36 ---> docker-login.sh ends [Pipeline] } 02:44:36 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:44:36 ========================================================= 02:44:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 02:44:36 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:44:37 + 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 . 02:44:37 Sending build context to Docker daemon 2.4MB 02:44:37 Step 1/8 : ARG BASE=golang:1.15-alpine 02:44:37 Step 2/8 : FROM ${BASE} 02:44:37 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:44:37 5f621e34cdf4: Pulling fs layer 02:44:37 a4357932f1b6: Pulling fs layer 02:44:37 18c013af1878: Pulling fs layer 02:44:37 00ac8860ef70: Pulling fs layer 02:44:37 63d7cb157983: Pulling fs layer 02:44:37 b116817d02f9: Pulling fs layer 02:44:37 745a02a5169b: Pulling fs layer 02:44:37 b116817d02f9: Waiting 02:44:37 00ac8860ef70: Waiting 02:44:37 745a02a5169b: Waiting 02:44:37 63d7cb157983: Waiting 02:44:37 18c013af1878: Verifying Checksum 02:44:37 18c013af1878: Download complete 02:44:37 a4357932f1b6: Verifying Checksum 02:44:37 a4357932f1b6: Download complete 02:44:37 63d7cb157983: Verifying Checksum 02:44:37 63d7cb157983: Download complete 02:44:38 b116817d02f9: Verifying Checksum 02:44:38 b116817d02f9: Download complete 02:44:38 5f621e34cdf4: Verifying Checksum 02:44:38 5f621e34cdf4: Download complete 02:44:39 5f621e34cdf4: Pull complete 02:44:39 a4357932f1b6: Pull complete 02:44:40 18c013af1878: Pull complete 02:44:41 745a02a5169b: Verifying Checksum 02:44:41 745a02a5169b: Download complete 02:44:42 00ac8860ef70: Verifying Checksum 02:44:42 00ac8860ef70: Download complete 02:44:52 00ac8860ef70: Pull complete 02:44:52 63d7cb157983: Pull complete 02:44:52 b116817d02f9: Pull complete 02:44:55 Removing intermediate container 8c30d3faec19 02:44:55 ---> 3d048429e5b1 02:44:55 Successfully built 3d048429e5b1 02:44:55 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 02:44:55 + docker inspect -f . ci-base-image-x86_64 02:44:55 . [Pipeline] withDockerContainer 02:44:55 prd-centos7-docker-4c-2g-16246 does not seem to be running inside a container 02:44:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:44:57 745a02a5169b: Pull complete 02:44:57 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 02:44:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 02:44:57 ---> b7e6874047d6 02:44:57 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:44:57 $ docker top bfa1164fab67e8a3159537470a1d64fc0968686d8ea9f50f2c1f266bdad9c18f -eo pid,comm [Pipeline] { [Pipeline] sh 02:44:58 + go version 02:44:58 go version go1.15.5 linux/amd64 [Pipeline] } 02:44:58 $ docker stop --time=1 bfa1164fab67e8a3159537470a1d64fc0968686d8ea9f50f2c1f266bdad9c18f 02:44:59 ---> Running in c3d16daccc42 02:44:59 Removing intermediate container c3d16daccc42 02:44:59 ---> 5f0dde6a3220 02:44:59 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:45:00 ---> Running in 4284890a395b 02:45:00 $ docker rm -f bfa1164fab67e8a3159537470a1d64fc0968686d8ea9f50f2c1f266bdad9c18f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:45:01 + docker inspect -f . ci-base-image-x86_64 02:45:01 . [Pipeline] withDockerContainer 02:45:01 prd-centos7-docker-4c-2g-16246 does not seem to be running inside a container 02:45:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:45:02 $ docker top f9ce09a05cea15e72e838112c08eb1124f227a8b42657747daed326c85eb6e1e -eo pid,comm 02:45:02 Removing intermediate container 4284890a395b 02:45:02 ---> 3c3c198e3987 02:45:02 Step 5/8 : RUN apk add --no-cache make git 02:45:02 ---> Running in de5079137628 [Pipeline] { [Pipeline] sh 02:45:03 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:45:03 + make test 02:45:03 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:45:04 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:45:05 OK: 142 MiB in 39 packages 02:45:06 Removing intermediate container de5079137628 02:45:06 ---> 1e63067976a4 02:45:06 Step 6/8 : WORKDIR /device-sdk-go 02:45:06 ---> Running in 5c5021f310c8 02:45:06 Removing intermediate container 5c5021f310c8 02:45:06 ---> 9ae21becc010 02:45:06 Step 7/8 : COPY . . 02:45:08 ---> e274c54a48ae 02:45:08 Step 8/8 : RUN go mod download 02:45:08 ---> Running in ccf44cad4b02 02:45:16 ? github.com/edgexfoundry/device-sdk-go [no test files] 02:45:30 Removing intermediate container ccf44cad4b02 02:45:30 ---> 795171d39b0d 02:45:30 Successfully built 795171d39b0d 02:45:30 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:45:30 + docker inspect -f . ci-base-image-arm64 02:45:30 . [Pipeline] withDockerContainer 02:45:31 prd-ubuntu18.04-docker-arm64-4c-16g-16247 does not seem to be running inside a container 02:45:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:45:32 $ docker top 173c0ac17a52adc30214ffe7b2089432d70a6ea7927a5f5aee22062a0fa7a0a9 -eo pid,comm [Pipeline] { [Pipeline] sh 02:45:33 + go version 02:45:33 go version go1.15.5 linux/arm64 [Pipeline] } 02:45:33 $ docker stop --time=1 173c0ac17a52adc30214ffe7b2089432d70a6ea7927a5f5aee22062a0fa7a0a9 02:45:35 $ docker rm -f 173c0ac17a52adc30214ffe7b2089432d70a6ea7927a5f5aee22062a0fa7a0a9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:45:36 + docker inspect -f . ci-base-image-arm64 02:45:36 . [Pipeline] withDockerContainer 02:45:36 prd-ubuntu18.04-docker-arm64-4c-16g-16247 does not seem to be running inside a container 02:45:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:45:38 $ docker top 6e27ab9a7f1e20cbcf782f09f646347a96ea7d96d7d7e68d3b09ca8d335ada95 -eo pid,comm [Pipeline] { [Pipeline] sh 02:45:39 + make test 02:45:39 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:45:43 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 02:45:43 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 02:45:43 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 02:45:43 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.072s coverage: 20.0% of statements 02:45:44 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.761s coverage: 97.1% of statements 02:46:01 ? github.com/edgexfoundry/device-sdk-go [no test files] 02:46:17 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.183s coverage: 9.4% of statements 02:46:17 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.061s coverage: 21.9% of statements 02:46:17 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 02:46:17 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.338s coverage: 42.5% of statements 02:46:17 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 02:46:17 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.450s coverage: 68.9% of statements 02:46:17 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 02:46:17 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 02:46:17 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 02:46:17 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 02:46:17 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.130s coverage: 53.8% of statements 02:46:17 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 02:46:17 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 02:46:17 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 02:46:17 ok github.com/edgexfoundry/device-sdk-go/pkg/models 3.257s coverage: 68.9% of statements 02:46:17 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.271s coverage: 4.6% of statements 02:46:17 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 02:46:17 GO111MODULE=on go vet ./... 02:46:32 gofmt -l . 02:46:33 [ "`gofmt -l .`" = "" ] 02:46:33 ./bin/test-attribution-txt.sh 02:46:34 ./bin/test-go-mod-tidy.sh [Pipeline] } 02:46:34 $ docker stop --time=1 f9ce09a05cea15e72e838112c08eb1124f227a8b42657747daed326c85eb6e1e 02:46:37 $ docker rm -f f9ce09a05cea15e72e838112c08eb1124f227a8b42657747daed326c85eb6e1e [Pipeline] // withDockerContainer [Pipeline] sh 02:46:37 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:46:38 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 02:46:40 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 02:46:40 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 02:46:40 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 02:46:40 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.119s coverage: 20.0% of statements [Pipeline] sh 02:46:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:46:41 + ls -al . 02:46:41 total 208 02:46:41 drwxrwxr-x. 10 jenkins jenkins 4096 Dec 16 02:46 . 02:46:41 drwxrwxr-x. 4 jenkins jenkins 28 Dec 16 02:43 .. 02:46:41 drwxrwxr-x. 2 jenkins jenkins 64 Dec 16 02:43 bin 02:46:41 -rw-r--r--. 1 jenkins jenkins 128917 Dec 16 02:46 coverage.out 02:46:41 -rw-rw-r--. 1 jenkins jenkins 936 Dec 16 02:43 Dockerfile.build 02:46:41 -rw-rw-r--. 1 jenkins jenkins 140 Dec 16 02:43 .dockerignore 02:46:41 drwxrwxr-x. 4 jenkins jenkins 48 Dec 16 02:43 example 02:46:41 drwxrwxr-x. 8 jenkins jenkins 179 Dec 16 02:43 .git 02:46:41 drwxrwxr-x. 2 jenkins jenkins 103 Dec 16 02:43 .github 02:46:41 -rw-rw-r--. 1 jenkins jenkins 138 Dec 16 02:43 .gitignore 02:46:41 -rw-r--r--. 1 jenkins jenkins 488 Dec 16 02:46 go.mod 02:46:41 -rw-r--r--. 1 jenkins jenkins 13521 Dec 16 02:46 go.sum 02:46:41 drwxrwxr-x. 15 jenkins jenkins 211 Dec 16 02:43 internal 02:46:41 -rw-rw-r--. 1 jenkins jenkins 901 Dec 16 02:43 Jenkinsfile 02:46:41 -rw-rw-r--. 1 jenkins jenkins 11341 Dec 16 02:43 LICENSE 02:46:41 -rw-rw-r--. 1 jenkins jenkins 1013 Dec 16 02:43 Makefile 02:46:41 drwxrwxr-x. 4 jenkins jenkins 26 Dec 16 02:43 openapi 02:46:41 drwxrwxr-x. 5 jenkins jenkins 50 Dec 16 02:43 pkg 02:46:41 -rw-rw-r--. 1 jenkins jenkins 5897 Dec 16 02:43 README.md 02:46:41 -rw-rw-r--. 1 jenkins jenkins 4291 Dec 16 02:43 RELEASE-NOTES.txt 02:46:41 drwxrwxr-x. 4 jenkins jenkins 54 Dec 16 02:43 snap 02:46:41 -rw-rw-r--. 1 jenkins jenkins 5 Dec 16 02:41 VERSION 02:46:41 -rw-rw-r--. 1 jenkins jenkins 222 Dec 16 02:43 version.go [Pipeline] isUnix [Pipeline] sh 02:46:41 + 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=b8caea373e3e833cab8afdd4767ddd081809616d --label arch=amd64 --label version=0.0.0 . 02:46:42 Sending build context to Docker daemon 2.531MB 02:46:42 Step 1/24 : ARG BASE=golang:1.15-alpine 02:46:42 Step 2/24 : FROM ${BASE} AS builder 02:46:42 ---> 3d048429e5b1 02:46:42 Step 3/24 : ARG MAKE='make build' 02:46:42 ---> Running in 366bad378da3 02:46:43 Removing intermediate container 366bad378da3 02:46:43 ---> 10eb00ddd30a 02:46:43 Step 4/24 : WORKDIR /device-sdk-go 02:46:43 ---> Running in f86d2713d915 02:46:43 Removing intermediate container f86d2713d915 02:46:43 ---> f4c6c4a7cef0 02:46:43 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:46:43 ---> Running in 41af44753841 02:46:44 Removing intermediate container 41af44753841 02:46:44 ---> 55994089f5ac 02:46:44 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:46:44 ---> Running in 43ea6756d285 02:46:44 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.194s coverage: 97.1% of statements 02:46:45 Removing intermediate container 43ea6756d285 02:46:45 ---> 2f278c4e4c58 02:46:45 Step 7/24 : RUN apk add --update --no-cache make git 02:46:45 ---> Running in 9047a18378eb 02:46:46 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:46:48 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:46:49 OK: 166 MiB in 39 packages 02:46:49 Removing intermediate container 9047a18378eb 02:46:49 ---> a76c2e70b166 02:46:49 Step 8/24 : COPY . . 02:46:50 ---> a3609d1cb2b6 02:46:50 Step 9/24 : RUN ${MAKE} 02:46:50 ---> Running in 01ebd51fcc96 02:46:52 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 02:47:11 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.131s coverage: 9.4% of statements 02:47:11 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.119s coverage: 21.9% of statements 02:47:11 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 02:47:11 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.586s coverage: 42.5% of statements 02:47:11 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 02:47:11 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.804s coverage: 68.9% of statements 02:47:11 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 02:47:11 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 02:47:11 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 02:47:11 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 02:47:11 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.253s coverage: 53.8% of statements 02:47:11 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 02:47:11 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 02:47:11 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 02:47:11 ok github.com/edgexfoundry/device-sdk-go/pkg/models 6.030s coverage: 68.9% of statements 02:47:11 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.141s coverage: 4.6% of statements 02:47:11 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 02:47:11 GO111MODULE=on go vet ./... 02:47:16 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:47:16 Removing intermediate container 01ebd51fcc96 02:47:16 ---> 9c5156ef71f6 02:47:16 Step 10/24 : FROM scratch 02:47:16 ---> 02:47:16 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:47:16 ---> Running in 2f830f42d692 02:47:16 Removing intermediate container 2f830f42d692 02:47:16 ---> 047be1e66a13 02:47:16 Step 12/24 : ENV APP_PORT=49990 02:47:17 ---> Running in 837e13a53521 02:47:17 Removing intermediate container 837e13a53521 02:47:17 ---> fe20517e5be5 02:47:17 Step 13/24 : EXPOSE $APP_PORT 02:47:17 ---> Running in ead3ff388be8 02:47:17 Removing intermediate container ead3ff388be8 02:47:17 ---> 08f1f019328e 02:47:17 Step 14/24 : WORKDIR / 02:47:17 ---> Running in 134c8e9484ce 02:47:18 Removing intermediate container 134c8e9484ce 02:47:18 ---> 3342c7876717 02:47:18 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:47:19 ---> bc97632c616d 02:47:19 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:47:19 ---> 5553bb90770a 02:47:19 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:47:20 ---> f5f42fca378a 02:47:20 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:47:21 ---> d51adcdda4e6 02:47:21 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:47:21 ---> 6c878cd6abc4 02:47:21 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:47:21 ---> Running in 68421ebd14e7 02:47:21 Removing intermediate container 68421ebd14e7 02:47:21 ---> b61acceeb430 02:47:21 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:47:22 ---> Running in 6bab89711292 02:47:22 Removing intermediate container 6bab89711292 02:47:22 ---> 4fd7a0dcee77 02:47:22 Step 22/24 : LABEL arch=amd64 02:47:22 ---> Running in 1d91b24a9589 02:47:22 Removing intermediate container 1d91b24a9589 02:47:22 ---> 3720cb287687 02:47:22 Step 23/24 : LABEL git_sha=b8caea373e3e833cab8afdd4767ddd081809616d 02:47:22 ---> Running in 60fa0d317ac8 02:47:23 Removing intermediate container 60fa0d317ac8 02:47:23 ---> 4de27bf91e94 02:47:23 Step 24/24 : LABEL version=0.0.0 02:47:23 ---> Running in 38a0ae6ab8a9 02:47:23 Removing intermediate container 38a0ae6ab8a9 02:47:23 ---> aaabdf2b8c91 02:47:23 [Warning] One or more build-args [ARCH] were not consumed 02:47:23 Successfully built aaabdf2b8c91 02:47:23 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] } 02:47:44 gofmt -l . 02:47:44 [ "`gofmt -l .`" = "" ] 02:47:44 ./bin/test-attribution-txt.sh 02:47:44 ./bin/test-go-mod-tidy.sh [Pipeline] } 02:47:44 $ docker stop --time=1 6e27ab9a7f1e20cbcf782f09f646347a96ea7d96d7d7e68d3b09ca8d335ada95 02:47:46 $ docker rm -f 6e27ab9a7f1e20cbcf782f09f646347a96ea7d96d7d7e68d3b09ca8d335ada95 [Pipeline] // withDockerContainer [Pipeline] sh 02:47:47 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:47:47 Warning: overwriting stash ‘coverage-report’ 02:47:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:47:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:47:49 + ls -al . 02:47:49 total 244 02:47:49 drwxrwxr-x 10 jenkins jenkins 4096 Dec 16 02:47 . 02:47:49 drwxrwxr-x 4 jenkins jenkins 4096 Dec 16 02:44 .. 02:47:49 -rw-rw-r-- 1 jenkins jenkins 140 Dec 16 02:44 .dockerignore 02:47:49 drwxrwxr-x 8 jenkins jenkins 4096 Dec 16 02:44 .git 02:47:49 drwxrwxr-x 2 jenkins jenkins 4096 Dec 16 02:44 .github 02:47:49 -rw-rw-r-- 1 jenkins jenkins 138 Dec 16 02:44 .gitignore 02:47:49 -rw-rw-r-- 1 jenkins jenkins 936 Dec 16 02:44 Dockerfile.build 02:47:49 -rw-rw-r-- 1 jenkins jenkins 901 Dec 16 02:44 Jenkinsfile 02:47:49 -rw-rw-r-- 1 jenkins jenkins 11341 Dec 16 02:44 LICENSE 02:47:49 -rw-rw-r-- 1 jenkins jenkins 1013 Dec 16 02:44 Makefile 02:47:49 -rw-rw-r-- 1 jenkins jenkins 5897 Dec 16 02:44 README.md 02:47:49 -rw-rw-r-- 1 jenkins jenkins 4291 Dec 16 02:44 RELEASE-NOTES.txt 02:47:49 -rw-rw-r-- 1 jenkins jenkins 5 Dec 16 02:41 VERSION 02:47:49 drwxrwxr-x 2 jenkins jenkins 4096 Dec 16 02:44 bin 02:47:49 -rw-r--r-- 1 jenkins jenkins 128916 Dec 16 02:47 coverage.out 02:47:49 drwxrwxr-x 4 jenkins jenkins 4096 Dec 16 02:44 example 02:47:49 -rw-r--r-- 1 jenkins jenkins 488 Dec 16 02:47 go.mod 02:47:49 -rw-r--r-- 1 jenkins jenkins 13521 Dec 16 02:47 go.sum 02:47:49 drwxrwxr-x 15 jenkins jenkins 4096 Dec 16 02:44 internal 02:47:49 drwxrwxr-x 4 jenkins jenkins 4096 Dec 16 02:44 openapi 02:47:49 drwxrwxr-x 5 jenkins jenkins 4096 Dec 16 02:44 pkg 02:47:49 drwxrwxr-x 4 jenkins jenkins 4096 Dec 16 02:44 snap 02:47:49 -rw-rw-r-- 1 jenkins jenkins 222 Dec 16 02:44 version.go [Pipeline] isUnix [Pipeline] sh 02:47:49 + 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=b8caea373e3e833cab8afdd4767ddd081809616d --label arch=arm64 --label version=0.0.0 . 02:47:50 Sending build context to Docker daemon 2.53MB 02:47:50 Step 1/24 : ARG BASE=golang:1.15-alpine 02:47:50 Step 2/24 : FROM ${BASE} AS builder 02:47:50 ---> 795171d39b0d 02:47:50 Step 3/24 : ARG MAKE='make build' 02:47:50 ---> Running in 9fb5c08006e7 02:47:50 Removing intermediate container 9fb5c08006e7 02:47:50 ---> 26c32a273fb4 02:47:50 Step 4/24 : WORKDIR /device-sdk-go 02:47:50 ---> Running in 2ae8b0579d9b 02:47:51 Removing intermediate container 2ae8b0579d9b 02:47:51 ---> 33f80021d074 02:47:51 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:47:51 ---> Running in 1fdcc3cf1866 02:47:52 Removing intermediate container 1fdcc3cf1866 02:47:52 ---> 878b2f88c0da 02:47:52 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:47:52 ---> Running in 7faaacdedca7 02:47:54 Removing intermediate container 7faaacdedca7 02:47:54 ---> d430aac12b04 02:47:54 Step 7/24 : RUN apk add --update --no-cache make git 02:47:54 ---> Running in a3630554c036 02:47:55 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:47:56 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:47:56 OK: 142 MiB in 39 packages 02:47:57 Removing intermediate container a3630554c036 02:47:57 ---> a82463d1b2b2 02:47:57 Step 8/24 : COPY . . 02:47:59 ---> ba26df47b711 02:47:59 Step 9/24 : RUN ${MAKE} 02:47:59 ---> Running in 736e820e1835 02:48:00 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 02:48:27 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:48:27 Removing intermediate container 736e820e1835 02:48:27 ---> 50bb60d2d36f 02:48:27 Step 10/24 : FROM scratch 02:48:27 ---> 02:48:27 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:48:27 ---> Running in 494a3c772eff 02:48:27 Removing intermediate container 494a3c772eff 02:48:27 ---> dd4df31999c3 02:48:27 Step 12/24 : ENV APP_PORT=49990 02:48:27 ---> Running in 6c828195d496 02:48:28 Removing intermediate container 6c828195d496 02:48:28 ---> 8c76a7d4f78f 02:48:28 Step 13/24 : EXPOSE $APP_PORT 02:48:28 ---> Running in f07ddbb7a3b5 02:48:28 Removing intermediate container f07ddbb7a3b5 02:48:28 ---> 0a8746516350 02:48:28 Step 14/24 : WORKDIR / 02:48:28 ---> Running in fe4182a0b928 02:48:29 Removing intermediate container fe4182a0b928 02:48:29 ---> 5a018c174142 02:48:29 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:48:30 ---> 65d7fcb56ea8 02:48:30 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:48:31 ---> 569275897d5c 02:48:31 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:48:31 ---> 0a6f3b8fffa4 02:48:31 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:48:32 ---> 200d1f56308f 02:48:32 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:48:33 ---> c4a2840f14b8 02:48:33 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:48:33 ---> Running in 01bb565bfb81 02:48:33 Removing intermediate container 01bb565bfb81 02:48:33 ---> 7a84494e1f24 02:48:33 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:48:33 ---> Running in 0ad0d30db51b 02:48:34 Removing intermediate container 0ad0d30db51b 02:48:34 ---> f32651b31a9e 02:48:34 Step 22/24 : LABEL arch=arm64 02:48:34 ---> Running in 0e8cb21108ea 02:48:34 Removing intermediate container 0e8cb21108ea 02:48:34 ---> 1e5398627c8a 02:48:34 Step 23/24 : LABEL git_sha=b8caea373e3e833cab8afdd4767ddd081809616d 02:48:35 ---> Running in eea8a6df8e68 02:48:35 Removing intermediate container eea8a6df8e68 02:48:35 ---> 7a181fb4eb3a 02:48:35 Step 24/24 : LABEL version=0.0.0 02:48:35 ---> Running in 541bc5925a5e 02:48:35 Removing intermediate container 541bc5925a5e 02:48:35 ---> e475a635fc87 02:48:35 [Warning] One or more build-args [ARCH] were not consumed 02:48:35 Successfully built e475a635fc87 02:48:36 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 02:48:37 provisioning config files... 02:48:37 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-676@tmp/config8934877874379774941tmp [Pipeline] { [Pipeline] sh 02:48:38 + set +x 02:48:38 + curl -s https://codecov.io/bash 02:48:38 + bash -s -- 02:48:38 02:48:38 _____ _ 02:48:38 / ____| | | 02:48:38 | | ___ __| | ___ ___ _____ __ 02:48:38 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:48:38 | |___| (_) | (_| | __/ (_| (_) \ V / 02:48:38 \_____\___/ \__,_|\___|\___\___/ \_/ 02:48:38 Bash-20201130-cc6d3fe 02:48:38 02:48:38 02:48:38 ==> Jenkins CI detected. 02:48:38 project root: . 02:48:38 --> token set from env 02:48:38 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:48:38 ==> Running gcov in . (disable via -X gcov) 02:48:38 ==> Python coveragepy not found 02:48:38 ==> Searching for coverage reports in: 02:48:38 + . 02:48:38 -> Found 1 reports 02:48:38 ==> Detecting git/mercurial file structure 02:48:38 ==> Reading reports 02:48:38 + ./coverage.out bytes=128916 02:48:38 ==> Appending adjustments 02:48:38 https://docs.codecov.io/docs/fixing-reports 02:48:39 + Found adjustments 02:48:39 ==> Gzipping contents 02:48:39 24K /tmp/codecov.XuhZwU.gz 02:48:39 ==> Uploading reports 02:48:39 url: https://codecov.io 02:48:39 query: branch=PR-676&commit=b8caea373e3e833cab8afdd4767ddd081809616d&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-676%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=676&job=&cmd_args= 02:48:39 -> Pinging Codecov 02:48:39 https://codecov.io/upload/v4?package=bash-20201130-cc6d3fe&token=secret&branch=PR-676&commit=b8caea373e3e833cab8afdd4767ddd081809616d&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-676%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=676&job=&cmd_args= 02:48:39 -> Uploading to 02:48:39 https://storage.googleapis.com/codecov/v4/raw/2020-12-16/7E55EF52A471D76F132DFD9A03CDDE97/b8caea373e3e833cab8afdd4767ddd081809616d/b1bc1a87-8f51-4d0c-82aa-aeef9b3361a7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201216%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201216T024839Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=45411f99224ce7d758fc6fdb293ee56138efd7efe0fca1ba3c1eee907a0a8746 02:48:39 % Total % Received % Xferd Average Speed Time Time Time Current 02:48:39 Dload Upload Total Spent Left Speed 02:48:39 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21036 0 0 100 21036 0 43125 --:--:-- --:--:-- --:--:-- 43106 02:48:39 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/b8caea373e3e833cab8afdd4767ddd081809616d [Pipeline] } 02:48:39 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 02:48:43 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:48:43 ---> package-listing.sh 02:48:43 ++ facter osfamily 02:48:43 ++ tr '[:upper:]' '[:lower:]' 02:48:43 + OS_FAMILY=redhat 02:48:43 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-676 02:48:43 + START_PACKAGES=/tmp/packages_start.txt 02:48:43 + END_PACKAGES=/tmp/packages_end.txt 02:48:43 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:48:43 + PACKAGES=/tmp/packages_start.txt 02:48:43 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-676 ']' 02:48:43 + PACKAGES=/tmp/packages_end.txt 02:48:43 + case "${OS_FAMILY}" in 02:48:43 + rpm -qa 02:48:43 + sort 02:48:47 + '[' -f /tmp/packages_start.txt ']' 02:48:47 + '[' -f /tmp/packages_end.txt ']' 02:48:47 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:48:47 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-676 ']' 02:48:47 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-676/archives/ 02:48:47 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-676/archives/ [Pipeline] echo 02:48:47 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-676/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:48:48 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 02:48:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:48:48 02:48:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 02:48:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:48:48 alpine: Pulling from edgex-lftools-log-publisher 02:48:48 df20fa9351a1: Pulling fs layer 02:48:48 36b3adc4ff6f: Pulling fs layer 02:48:48 8ad3a11d3b57: Pulling fs layer 02:48:48 46f8f816bc3b: Pulling fs layer 02:48:48 93b61091891f: Pulling fs layer 02:48:48 93b9cdb0e59b: Pulling fs layer 02:48:48 5e14af77c1be: Pulling fs layer 02:48:48 01666e4c0597: Pulling fs layer 02:48:48 aa168da1d23b: Pulling fs layer 02:48:48 46f8f816bc3b: Waiting 02:48:48 93b61091891f: Waiting 02:48:48 93b9cdb0e59b: Waiting 02:48:48 5e14af77c1be: Waiting 02:48:48 aa168da1d23b: Waiting 02:48:48 36b3adc4ff6f: Verifying Checksum 02:48:48 36b3adc4ff6f: Download complete 02:48:48 46f8f816bc3b: Download complete 02:48:48 df20fa9351a1: Verifying Checksum 02:48:48 df20fa9351a1: Download complete 02:48:48 93b9cdb0e59b: Verifying Checksum 02:48:48 93b9cdb0e59b: Download complete 02:48:48 93b61091891f: Verifying Checksum 02:48:48 93b61091891f: Download complete 02:48:48 5e14af77c1be: Verifying Checksum 02:48:48 5e14af77c1be: Download complete 02:48:48 01666e4c0597: Verifying Checksum 02:48:48 01666e4c0597: Download complete 02:48:49 df20fa9351a1: Pull complete 02:48:49 36b3adc4ff6f: Pull complete 02:48:49 8ad3a11d3b57: Verifying Checksum 02:48:49 8ad3a11d3b57: Download complete 02:48:50 8ad3a11d3b57: Pull complete 02:48:50 46f8f816bc3b: Pull complete 02:48:50 93b61091891f: Pull complete 02:48:51 93b9cdb0e59b: Pull complete 02:48:51 5e14af77c1be: Pull complete 02:48:51 01666e4c0597: Pull complete 02:48:52 aa168da1d23b: Verifying Checksum 02:48:52 aa168da1d23b: Download complete 02:48:59 aa168da1d23b: Pull complete 02:48:59 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 02:48:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:48:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 02:48:59 prd-centos7-docker-4c-2g-16244 does not seem to be running inside a container 02:48:59 $ 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-676/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-676 -v /w/workspace/dgexfoundry_device-sdk-go_PR-676:/w/workspace/dgexfoundry_device-sdk-go_PR-676:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-676@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-676@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 02:49:02 $ docker top 4ab075b50eed620f5fa05e6a4fcdf2a0b01ea9966942aa3061bf7bbee56c328c -eo pid,comm [Pipeline] { [Pipeline] sh 02:49:03 + touch /tmp/pre-build-complete [Pipeline] sh 02:49:03 + mkdir -p /var/log/sa [Pipeline] sh 02:49:03 + ls /var/log/sa-host 02:49:03 + sadf -c /var/log/sa-host/sa16 02:49:03 file_magic: OK 02:49:03 HZ: Using current value: 100 02:49:03 file_header: OK 02:49:03 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 02:49:03 Statistics: 02:49:03 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 02:49:03 File successfully converted to sysstat format version 12.2.1 02:49:03 + sadf -c /var/log/sa-host/sa23 02:49:03 file_magic: OK 02:49:03 HZ: Using current value: 100 02:49:03 file_header: OK 02:49:03 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 02:49:03 Statistics: 02:49:03 Hnuu...uuuununununu... 02:49:03 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:49:04 provisioning config files... 02:49:04 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-676@tmp/config8932103946663075356tmp [Pipeline] { [Pipeline] echo 02:49:04 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:49:04 ---> create-netrc.sh [Pipeline] } 02:49:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 02:49:05 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 02:49:05 ---> python-tools-install.sh [Pipeline] echo 02:49:05 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:49:05 ---> sudo-logs.sh 02:49:05 Archiving 'sudo' log.. [Pipeline] echo 02:49:05 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:49:06 ---> job-cost.sh 02:49:06 lf-activate-venv: SKIPPING 02:49:06 INFO: No Stack... 02:49:07 INFO: Retrieving Pricing Info for: v1-standard-2 02:49:07 INFO: Archiving Costs [Pipeline] echo 02:49:07 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:49:08 ---> logs-deploy.sh 02:49:08 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-676/6 02:49:08 INFO: archiving workspace using pattern(s): 02:49:09 Archives upload complete. 02:49:09 INFO: archiving logs to Nexus 02:49:10 ---> uname -a: 02:49:10 Linux prd-centos7-docker-4c-2g-16244.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 02:49:10 02:49:10 02:49:10 ---> lscpu: 02:49:10 Architecture: x86_64 02:49:10 CPU op-mode(s): 32-bit, 64-bit 02:49:10 Byte Order: Little Endian 02:49:10 Address sizes: 40 bits physical, 48 bits virtual 02:49:10 CPU(s): 4 02:49:10 On-line CPU(s) list: 0-3 02:49:10 Thread(s) per core: 1 02:49:10 Core(s) per socket: 1 02:49:10 Socket(s): 4 02:49:10 NUMA node(s): 1 02:49:10 Vendor ID: GenuineIntel 02:49:10 CPU family: 6 02:49:10 Model: 44 02:49:10 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 02:49:10 Stepping: 1 02:49:10 CPU MHz: 2933.438 02:49:10 BogoMIPS: 5866.87 02:49:10 Virtualization: VT-x 02:49:10 Hypervisor vendor: KVM 02:49:10 Virtualization type: full 02:49:10 L1d cache: 128 KiB 02:49:10 L1i cache: 128 KiB 02:49:10 L2 cache: 16 MiB 02:49:10 L3 cache: 64 MiB 02:49:10 NUMA node0 CPU(s): 0-3 02:49:10 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 02:49:10 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 02:49:10 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 02:49:10 Vulnerability Meltdown: Mitigation; PTI 02:49:10 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 02:49:10 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 02:49:10 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 02:49:10 Vulnerability Srbds: Not affected 02:49:10 Vulnerability Tsx async abort: Not affected 02:49:10 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 02:49:10 02:49:10 02:49:10 ---> nproc: 02:49:10 4 02:49:10 02:49:10 02:49:10 ---> df -h: 02:49:10 Filesystem Size Used Available Use% Mounted on 02:49:10 overlay 50.0G 7.3G 42.7G 15% / 02:49:10 tmpfs 64.0M 0 64.0M 0% /dev 02:49:10 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 02:49:10 shm 64.0M 0 64.0M 0% /dev/shm 02:49:10 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 02:49:10 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 02:49:10 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 02:49:10 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 02:49:10 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-676 02:49:10 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-676@tmp 02:49:10 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 02:49:10 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 02:49:10 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 02:49:10 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 02:49:10 02:49:10 02:49:10 ---> free -m: 02:49:10 total used free shared buff/cache available 02:49:10 Mem: 1837 728 107 0 1001 1003 02:49:10 Swap: 1023 1 1022 02:49:10 02:49:10 02:49:10 ---> ip addr: 02:49:10 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 02:49:10 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 02:49:10 inet 127.0.0.1/8 scope host lo 02:49:10 valid_lft forever preferred_lft forever 02:49:10 inet6 ::1/128 scope host 02:49:10 valid_lft forever preferred_lft forever 02:49:10 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 02:49:10 link/ether fa:16:3e:58:d1:9a brd ff:ff:ff:ff:ff:ff 02:49:10 inet 10.30.123.231/23 brd 10.30.123.255 scope global dynamic eth0 02:49:10 valid_lft 85914sec preferred_lft 85914sec 02:49:10 inet6 fe80::f816:3eff:fe58:d19a/64 scope link 02:49:10 valid_lft forever preferred_lft forever 02:49:10 3: docker0: mtu 1500 qdisc noqueue state DOWN 02:49:10 link/ether 02:42:b6:df:b9:21 brd ff:ff:ff:ff:ff:ff 02:49:10 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 02:49:10 valid_lft forever preferred_lft forever 02:49:10 inet6 fe80::42:b6ff:fedf:b921/64 scope link 02:49:10 valid_lft forever preferred_lft forever 02:49:10 02:49:10 02:49:10 ---> sar -b -r -n DEV: 02:49:10 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 12/16/20 _x86_64_ (4 CPU) 02:49:10 02:49:10 02:40:53 LINUX RESTART (4 CPU) 02:49:10 02:49:10 02:42:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 02:49:10 02:43:01 8.29 0.00 8.29 0.00 0.00 123.22 0.00 02:49:10 02:44:01 0.45 0.00 0.45 0.00 0.00 7.48 0.00 02:49:10 02:45:01 0.25 0.00 0.25 0.00 0.00 2.50 0.00 02:49:10 02:46:01 0.27 0.00 0.27 0.00 0.00 3.76 0.00 02:49:10 02:47:01 0.30 0.00 0.30 0.00 0.00 4.65 0.00 02:49:10 02:48:01 0.27 0.00 0.27 0.00 0.00 3.61 0.00 02:49:10 02:49:01 120.59 66.67 53.92 0.00 5905.14 17915.33 0.00 02:49:10 Average: 18.64 9.53 9.11 0.00 844.09 2581.60 0.00 02:49:10 02:49:10 02:42:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 02:49:10 02:43:01 135980 0 630528 33.51 2620 1112416 1100012 37.54 446284 1100196 28 02:49:10 02:44:01 138668 0 627832 33.37 2620 1112424 1092228 37.28 453820 1091204 8 02:49:10 02:45:01 138896 0 627600 33.36 2620 1112428 1092156 37.27 448792 1095908 8 02:49:10 02:46:01 139144 0 627348 33.34 2620 1112432 1078972 36.82 449028 1095268 12 02:49:10 02:47:01 140152 0 626336 33.29 2620 1112436 1078852 36.82 447752 1095904 8 02:49:10 02:48:01 139528 0 626956 33.32 2620 1112440 1079000 36.82 448300 1095900 8 02:49:10 02:49:01 168632 0 727112 38.64 2620 983180 1288884 43.99 457844 990392 12 02:49:10 Average: 143000 0 641959 34.12 2620 1093965 1115729 38.08 450260 1080682 12 02:49:10 02:49:10 02:42:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 02:49:10 02:43:01 eth0 106.28 76.04 74.45 90.96 0.00 0.00 0.00 0.00 02:49:10 02:43:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:10 02:43:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:10 02:44:01 eth0 2.80 0.52 0.71 0.36 0.00 0.00 0.00 0.00 02:49:10 02:44:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:10 02:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:10 02:45:01 eth0 2.23 0.55 0.66 0.45 0.00 0.00 0.00 0.00 02:49:10 02:45:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:10 02:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:10 02:46:01 eth0 0.83 0.30 0.28 0.20 0.00 0.00 0.00 0.00 02:49:10 02:46:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:10 02:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:10 02:47:01 eth0 0.77 0.25 0.19 0.08 0.00 0.00 0.00 0.00 02:49:10 02:47:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:10 02:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:10 02:48:01 eth0 0.80 0.33 0.28 0.20 0.00 0.00 0.00 0.00 02:49:10 02:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:10 02:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:10 02:49:01 eth0 244.65 216.94 2177.48 22.82 0.00 0.00 0.00 0.00 02:49:10 02:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:10 02:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:10 Average: eth0 51.22 42.15 322.20 16.44 0.00 0.00 0.00 0.00 02:49:10 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:10 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:10 02:49:10 02:49:10 ---> sar -P ALL: 02:49:10 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 12/16/20 _x86_64_ (4 CPU) 02:49:10 02:49:10 02:40:53 LINUX RESTART (4 CPU) 02:49:10 02:49:10 02:42:01 CPU %user %nice %system %iowait %steal %idle 02:49:10 02:43:01 all 1.32 0.00 0.52 0.03 0.00 98.13 02:49:10 02:43:01 0 1.40 0.00 0.59 0.03 0.00 97.98 02:49:10 02:43:01 1 1.47 0.00 0.55 0.02 0.00 97.96 02:49:10 02:43:01 2 1.05 0.00 0.49 0.03 0.00 98.43 02:49:10 02:43:01 3 1.35 0.00 0.45 0.03 0.00 98.16 02:49:10 02:44:01 all 0.18 0.00 0.06 0.00 0.00 99.76 02:49:10 02:44:01 0 0.02 0.00 0.02 0.00 0.00 99.97 02:49:10 02:44:01 1 0.13 0.00 0.07 0.00 0.00 99.80 02:49:10 02:44:01 2 0.10 0.00 0.12 0.00 0.00 99.78 02:49:10 02:44:01 3 0.48 0.00 0.03 0.00 0.00 99.48 02:49:10 02:45:01 all 0.19 0.00 0.04 0.00 0.01 99.76 02:49:10 02:45:01 0 0.05 0.00 0.03 0.00 0.02 99.90 02:49:10 02:45:01 1 0.50 0.00 0.05 0.00 0.00 99.45 02:49:10 02:45:01 2 0.13 0.00 0.05 0.00 0.02 99.80 02:49:10 02:45:01 3 0.08 0.00 0.02 0.00 0.02 99.88 02:49:10 02:46:01 all 0.16 0.00 0.05 0.00 0.00 99.80 02:49:10 02:46:01 0 0.02 0.00 0.05 0.00 0.00 99.93 02:49:10 02:46:01 1 0.53 0.00 0.03 0.00 0.00 99.43 02:49:10 02:46:01 2 0.03 0.00 0.03 0.00 0.00 99.93 02:49:10 02:46:01 3 0.05 0.00 0.07 0.00 0.00 99.88 02:49:10 02:47:01 all 0.16 0.00 0.03 0.00 0.01 99.80 02:49:10 02:47:01 0 0.02 0.00 0.02 0.00 0.02 99.95 02:49:10 02:47:01 1 0.55 0.00 0.03 0.00 0.02 99.40 02:49:10 02:47:01 2 0.05 0.00 0.03 0.00 0.00 99.92 02:49:10 02:47:01 3 0.03 0.00 0.05 0.00 0.00 99.92 02:49:10 02:48:01 all 0.12 0.00 0.05 0.00 0.00 99.83 02:49:10 02:48:01 0 0.02 0.00 0.02 0.00 0.00 99.97 02:49:10 02:48:01 1 0.37 0.00 0.08 0.00 0.00 99.55 02:49:10 02:48:01 2 0.03 0.00 0.02 0.00 0.02 99.93 02:49:10 02:48:01 3 0.05 0.00 0.07 0.00 0.00 99.88 02:49:10 02:49:01 all 5.56 0.00 3.93 1.79 0.03 88.68 02:49:10 02:49:01 0 5.37 0.00 4.38 1.27 0.02 88.97 02:49:10 02:49:01 1 5.91 0.00 3.97 3.85 0.03 86.24 02:49:10 02:49:01 2 6.02 0.00 3.74 1.30 0.02 88.93 02:49:10 02:49:01 3 4.94 0.00 3.66 0.76 0.03 90.61 02:49:10 Average: all 1.09 0.00 0.66 0.26 0.01 97.98 02:49:10 Average: 0 0.98 0.00 0.72 0.18 0.01 98.11 02:49:10 Average: 1 1.34 0.00 0.68 0.55 0.01 97.43 02:49:10 Average: 2 1.06 0.00 0.64 0.19 0.01 98.11 02:49:10 Average: 3 0.99 0.00 0.62 0.11 0.01 98.27 02:49:10 02:49:10 02:49:10