Pull request #650 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 tzstoyanov for edgexfoundry/device-sdk-go Loading trusted files from base branch master at c21ff6277396b81a1001baea71274dd2dd19f737 rather than d4941dddd6f73018db02df0dd3819861c1f715fc Obtained Jenkinsfile from c21ff6277396b81a1001baea71274dd2dd19f737 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 025b6483f761633eb525fab7d6a8b6537d6ee4a4 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 025b6483f761633eb525fab7d6a8b6537d6ee4a4 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 025b6483f761633eb525fab7d6a8b6537d6ee4a4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 025b6483f761633eb525fab7d6a8b6537d6ee4a4 # timeout=10 Commit message: "Merge pull request #264 from ernestojeda/new-snap-build-script" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-15915 in /w/workspace/dgexfoundry_device-sdk-go_PR-650 [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-650 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/650/head:refs/remotes/origin/PR-650 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit c21ff6277396b81a1001baea71274dd2dd19f737 into PR head commit d4941dddd6f73018db02df0dd3819861c1f715fc Merge succeeded, producing c31a67362c3622f7432cedd67f1e8e941d93c300 Checking out Revision c31a67362c3622f7432cedd67f1e8e941d93c300 (PR-650) > git config core.sparsecheckout # timeout=10 > git checkout -f d4941dddd6f73018db02df0dd3819861c1f715fc # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge c21ff6277396b81a1001baea71274dd2dd19f737 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c31a67362c3622f7432cedd67f1e8e941d93c300 # timeout=10 Commit message: "Merge commit 'c21ff6277396b81a1001baea71274dd2dd19f737' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:52:46 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials > git rev-list --no-walk 45d7d71e4316cddffb5bfb7643e18fdc2467c961 # timeout=10 12:52:47 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:52:47 ========================================================= 12:52:47 EdgeX Global Pipelines Version Info 12:52:47 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:52:48 ------------------- 12:52:48 stable info: 12:52:48 ------------------- 12:52:48 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:52:48 Commit SHA: 025b6483f761633eb525fab7d6a8b6537d6ee4a4 12:52:48 Message: update stable to v1.0.172 12:52:49 ------------------- 12:52:49 experimental info: 12:52:49 ------------------- 12:52:49 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:52:49 Commit SHA: 025b6483f761633eb525fab7d6a8b6537d6ee4a4 12:52:49 Message: update experimental to v1.0.172 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:52:49 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 12:52:50 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 12:52:50 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:52:50 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:52:50 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:52:50 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 12:52:50 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 12:52:50 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 12:52:50 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 12:52:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:52:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:52:51 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 12:52:51 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:52:51 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:52:51 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:52:51 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 12:52:51 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:52:51 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:52:51 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:52:52 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:52:52 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 12:52:52 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 12:52:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:52:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:52:52 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:52:52 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 12:52:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-650 [Pipeline] echo 12:52:52 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-650 [Pipeline] echo 12:52:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-650 [Pipeline] echo 12:52:53 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c31a67362c3622f7432cedd67f1e8e941d93c300 [Pipeline] echo 12:52:53 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c31a673 [Pipeline] echo 12:52:53 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 12:52:53 provisioning config files... 12:52:53 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-650@tmp/config5480657033075376783tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:52:53 ---> docker-login.sh 12:52:53 nexus3.edgexfoundry.org:10001 12:52:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:52:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:52:54 Configure a credential helper to remove this warning. See 12:52:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:52:54 12:52:54 Login Succeeded 12:52:54 nexus3.edgexfoundry.org:10002 12:52:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:52:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:52:54 Configure a credential helper to remove this warning. See 12:52:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:52:54 12:52:54 Login Succeeded 12:52:54 nexus3.edgexfoundry.org:10003 12:52:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:52:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:52:54 Configure a credential helper to remove this warning. See 12:52:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:52:54 12:52:54 Login Succeeded 12:52:54 nexus3.edgexfoundry.org:10004 12:52:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:52:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:52:54 Configure a credential helper to remove this warning. See 12:52:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:52:54 12:52:54 Login Succeeded 12:52:54 docker.io 12:52:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:52:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:52:55 Configure a credential helper to remove this warning. See 12:52:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:52:55 12:52:55 Login Succeeded 12:52:55 ---> docker-login.sh ends [Pipeline] } 12:52:55 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 12:52:56 + git log --format=format:%s -1 c31a67362c3622f7432cedd67f1e8e941d93c300 [Pipeline] echo 12:52:56 GIT_COMMIT: c31a67362c3622f7432cedd67f1e8e941d93c300, Commit Message: Merge commit 'c21ff6277396b81a1001baea71274dd2dd19f737' into HEAD [Pipeline] echo 12:52:56 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 12:52:57 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:52:57 12:52:57 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 12:52:57 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:52:57 latest: Pulling from edgex-devops/git-semver 12:52:57 31603596830f: Pulling fs layer 12:52:57 2a8b12db71e7: Pulling fs layer 12:52:57 6ca5941a6612: Pulling fs layer 12:52:57 ecc8261a40a4: Pulling fs layer 12:52:57 ecc8261a40a4: Waiting 12:52:57 2a8b12db71e7: Verifying Checksum 12:52:57 2a8b12db71e7: Download complete 12:52:58 31603596830f: Verifying Checksum 12:52:58 31603596830f: Download complete 12:52:58 ecc8261a40a4: Verifying Checksum 12:52:58 ecc8261a40a4: Download complete 12:52:58 6ca5941a6612: Verifying Checksum 12:52:58 6ca5941a6612: Download complete 12:52:58 31603596830f: Pull complete 12:52:58 2a8b12db71e7: Pull complete 12:52:59 6ca5941a6612: Pull complete 12:52:59 ecc8261a40a4: Pull complete 12:52:59 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 12:52:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:52:59 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 12:52:59 prd-centos7-docker-4c-2g-15915 does not seem to be running inside a container 12:52:59 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-650 -v /w/workspace/dgexfoundry_device-sdk-go_PR-650:/w/workspace/dgexfoundry_device-sdk-go_PR-650:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-650@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-650@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 12:53:02 $ docker top ec37620484cd37c09f937524b1571e39d3ccd03c29d3a9bf3d41bc884d0125a0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:53:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:53:02 [ssh-agent] Looking for ssh-agent implementation... 12:53:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:53:02 $ docker exec ec37620484cd37c09f937524b1571e39d3ccd03c29d3a9bf3d41bc884d0125a0 ssh-agent 12:53:03 SSH_AUTH_SOCK=/tmp/ssh-evqBQCPbiFV3/agent.11 12:53:03 SSH_AGENT_PID=17 12:53:03 Running ssh-add (command line suppressed) 12:53:03 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-650@tmp/private_key_1030751932738204731.key (/w/workspace/dgexfoundry_device-sdk-go_PR-650@tmp/private_key_1030751932738204731.key) 12:53:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:53:03 + git tag --points-at HEAD [Pipeline] } 12:53:03 $ docker exec --env ******** --env ******** ec37620484cd37c09f937524b1571e39d3ccd03c29d3a9bf3d41bc884d0125a0 ssh-agent -k 12:53:03 unset SSH_AUTH_SOCK; 12:53:03 unset SSH_AGENT_PID; 12:53:03 echo Agent pid 17 killed; 12:53:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:53:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:53:03 [ssh-agent] Looking for ssh-agent implementation... 12:53:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:53:04 $ docker exec ec37620484cd37c09f937524b1571e39d3ccd03c29d3a9bf3d41bc884d0125a0 ssh-agent 12:53:04 SSH_AUTH_SOCK=/tmp/ssh-CQce6nT99qUD/agent.49 12:53:04 SSH_AGENT_PID=54 12:53:04 Running ssh-add (command line suppressed) 12:53:04 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-650@tmp/private_key_4242484475950629056.key (/w/workspace/dgexfoundry_device-sdk-go_PR-650@tmp/private_key_4242484475950629056.key) 12:53:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:53:04 + git semver init 12:53:04 # -> Open(): unable to determine branch for HEAD 12:53:04 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-650/.git 12:53:04 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-650 12:53:04 # $SEMVER_REMOTE_NAME = origin 12:53:04 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 12:53:04 # $SEMVER_USER_NAME = edgex-jenkins 12:53:04 # $SEMVER_BRANCH = PR-650 12:53:04 # $SEMVER_TEMP = /tmp/semver-352373963 12:53:04 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 12:53:05 # '/tmp/semver-352373963' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-650/.semver' 12:53:05 # -> Force: false 12:53:05 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-650/.semver [Pipeline] } 12:53:05 $ docker exec --env ******** --env ******** ec37620484cd37c09f937524b1571e39d3ccd03c29d3a9bf3d41bc884d0125a0 ssh-agent -k 12:53:05 unset SSH_AUTH_SOCK; 12:53:05 unset SSH_AGENT_PID; 12:53:05 echo Agent pid 54 killed; 12:53:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:53:06 + git semver [Pipeline] } 12:53:06 $ docker stop --time=1 ec37620484cd37c09f937524b1571e39d3ccd03c29d3a9bf3d41bc884d0125a0 12:53:07 $ docker rm -f ec37620484cd37c09f937524b1571e39d3ccd03c29d3a9bf3d41bc884d0125a0 [Pipeline] // withDockerContainer [Pipeline] sh 12:53:07 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:53:08 Stashed 1 file(s) [Pipeline] echo 12:53:08 [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 12:53:24 Still waiting to schedule task 12:53:24 Waiting for next available executor on ‘centos7-docker-4c-2g’ 12:53:24 Still waiting to schedule task 12:53:24 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 12:55:18 Running on prd-ubuntu18.04-docker-arm64-4c-16g-15916 in /w/workspace/dgexfoundry_device-sdk-go_PR-650 [Pipeline] { [Pipeline] ws 12:55:18 Running in /w/workspace/device-sdk-go/8 [Pipeline] { [Pipeline] checkout 12:55:24 using credential edgex-jenkins-ssh 12:55:24 Cloning the remote Git repository 12:55:24 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 12:55:24 > git init /w/workspace/device-sdk-go/8 # timeout=10 12:55:24 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 12:55:24 > git --version # timeout=10 12:55:24 > git --version # 'git version 2.17.1' 12:55:24 using GIT_SSH to set credentials SSH Credentials for GitHub 12:55:24 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:55:26 Merging remotes/origin/master commit c21ff6277396b81a1001baea71274dd2dd19f737 into PR head commit d4941dddd6f73018db02df0dd3819861c1f715fc 12:55:25 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 12:55:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:55:25 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 12:55:25 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 12:55:25 using GIT_SSH to set credentials SSH Credentials for GitHub 12:55:25 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/650/head:refs/remotes/origin/PR-650 +refs/heads/master:refs/remotes/origin/master # timeout=10 12:55:26 > git config core.sparsecheckout # timeout=10 12:55:26 > git checkout -f d4941dddd6f73018db02df0dd3819861c1f715fc # timeout=10 12:55:26 > git remote # timeout=10 12:55:26 Merge succeeded, producing 60b9bef663c30cfe3f461e3bd6d1720593ab4b0f 12:55:26 Checking out Revision 60b9bef663c30cfe3f461e3bd6d1720593ab4b0f (PR-650) 12:55:26 > git config --get remote.origin.url # timeout=10 12:55:26 using GIT_SSH to set credentials SSH Credentials for GitHub 12:55:26 > git merge c21ff6277396b81a1001baea71274dd2dd19f737 # timeout=10 12:55:26 > git rev-parse HEAD^{commit} # timeout=10 12:55:26 > git config core.sparsecheckout # timeout=10 12:55:26 > git checkout -f 60b9bef663c30cfe3f461e3bd6d1720593ab4b0f # timeout=10 12:55:30 Commit message: "Merge commit 'c21ff6277396b81a1001baea71274dd2dd19f737' into HEAD" 12:55:30 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:55:30 > git rev-list --no-walk 45d7d71e4316cddffb5bfb7643e18fdc2467c961 # timeout=10 12:55:32 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 12:55:33 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 12:55:33 + true 12:55:33 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 12:55:36 provisioning config files... 12:55:36 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/8@tmp/config6862821328841711854tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:55:36 ---> docker-login.sh 12:55:36 nexus3.edgexfoundry.org:10001 12:55:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:55:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:55:37 Configure a credential helper to remove this warning. See 12:55:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:55:37 12:55:37 Login Succeeded 12:55:37 nexus3.edgexfoundry.org:10002 12:55:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:55:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:55:38 Configure a credential helper to remove this warning. See 12:55:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:55:38 12:55:38 Login Succeeded 12:55:38 nexus3.edgexfoundry.org:10003 12:55:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:55:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:55:38 Configure a credential helper to remove this warning. See 12:55:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:55:38 12:55:38 Login Succeeded 12:55:38 nexus3.edgexfoundry.org:10004 12:55:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:55:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:55:39 Configure a credential helper to remove this warning. See 12:55:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:55:39 12:55:39 Login Succeeded 12:55:39 docker.io 12:55:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:55:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:55:40 Configure a credential helper to remove this warning. See 12:55:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:55:40 12:55:40 Login Succeeded 12:55:40 ---> docker-login.sh ends [Pipeline] } 12:55:40 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:55:40 ========================================================= 12:55:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 12:55:40 ========================================================= [Pipeline] isUnix [Pipeline] sh 12:55:41 + 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 . 12:55:41 Sending build context to Docker daemon 2.4MB 12:55:41 Step 1/8 : ARG BASE=golang:1.15-alpine 12:55:41 Step 2/8 : FROM ${BASE} 12:55:41 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:55:41 5f621e34cdf4: Pulling fs layer 12:55:41 a4357932f1b6: Pulling fs layer 12:55:41 18c013af1878: Pulling fs layer 12:55:41 00ac8860ef70: Pulling fs layer 12:55:41 63d7cb157983: Pulling fs layer 12:55:41 b116817d02f9: Pulling fs layer 12:55:41 745a02a5169b: Pulling fs layer 12:55:41 00ac8860ef70: Waiting 12:55:41 b116817d02f9: Waiting 12:55:41 63d7cb157983: Waiting 12:55:41 745a02a5169b: Waiting 12:55:41 18c013af1878: Verifying Checksum 12:55:41 18c013af1878: Download complete 12:55:41 a4357932f1b6: Verifying Checksum 12:55:41 a4357932f1b6: Download complete 12:55:41 63d7cb157983: Verifying Checksum 12:55:41 63d7cb157983: Download complete 12:55:41 b116817d02f9: Verifying Checksum 12:55:41 b116817d02f9: Download complete 12:55:42 5f621e34cdf4: Verifying Checksum 12:55:42 5f621e34cdf4: Download complete 12:55:43 5f621e34cdf4: Pull complete 12:55:44 a4357932f1b6: Pull complete 12:55:44 18c013af1878: Pull complete 12:55:45 745a02a5169b: Verifying Checksum 12:55:45 745a02a5169b: Download complete 12:55:45 00ac8860ef70: Verifying Checksum 12:55:45 00ac8860ef70: Download complete 12:55:56 00ac8860ef70: Pull complete 12:55:56 63d7cb157983: Pull complete 12:55:56 b116817d02f9: Pull complete 12:55:57 Running on prd-centos7-docker-4c-2g-15917 in /w/workspace/dgexfoundry_device-sdk-go_PR-650 [Pipeline] { [Pipeline] ws 12:55:57 Running in /w/workspace/device-sdk-go/8 [Pipeline] { [Pipeline] checkout 12:55:59 using credential edgex-jenkins-ssh 12:55:59 745a02a5169b: Pull complete 12:55:59 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 12:55:59 Cloning the remote Git repository 12:55:59 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 12:55:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 12:55:59 ---> b7e6874047d6 12:55:59 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 12:55:59 > git init /w/workspace/device-sdk-go/8 # timeout=10 12:55:59 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 12:55:59 > git --version # timeout=10 12:55:59 > git --version # 'git version 2.24.3' 12:55:59 using GIT_SSH to set credentials SSH Credentials for GitHub 12:55:59 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:56:00 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 12:56:00 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:56:00 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 12:56:00 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 12:56:00 using GIT_SSH to set credentials SSH Credentials for GitHub 12:56:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/650/head:refs/remotes/origin/PR-650 +refs/heads/master:refs/remotes/origin/master # timeout=10 12:56:01 Merging remotes/origin/master commit c21ff6277396b81a1001baea71274dd2dd19f737 into PR head commit d4941dddd6f73018db02df0dd3819861c1f715fc 12:56:01 Merge succeeded, producing 6564accae6225bec71787c8f861940e3b85e5d4b 12:56:01 Checking out Revision 6564accae6225bec71787c8f861940e3b85e5d4b (PR-650) 12:56:01 > git config core.sparsecheckout # timeout=10 12:56:01 > git checkout -f d4941dddd6f73018db02df0dd3819861c1f715fc # timeout=10 12:56:01 > git remote # timeout=10 12:56:01 > git config --get remote.origin.url # timeout=10 12:56:01 using GIT_SSH to set credentials SSH Credentials for GitHub 12:56:01 > git merge c21ff6277396b81a1001baea71274dd2dd19f737 # timeout=10 12:56:01 > git rev-parse HEAD^{commit} # timeout=10 12:56:01 > git config core.sparsecheckout # timeout=10 12:56:01 > git checkout -f 6564accae6225bec71787c8f861940e3b85e5d4b # timeout=10 12:56:02 ---> Running in cadf7bf7af6c 12:56:02 Removing intermediate container cadf7bf7af6c 12:56:02 ---> 4a5e8838402f 12:56:02 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:56:02 ---> Running in 8719a07485e4 12:56:04 Commit message: "Merge commit 'c21ff6277396b81a1001baea71274dd2dd19f737' into HEAD" 12:56:04 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:56:05 Removing intermediate container 8719a07485e4 12:56:05 ---> 3eb1f844315a 12:56:05 Step 5/8 : RUN apk add --no-cache make git 12:56:05 ---> Running in 2e2ea4d14470 12:56:04 > git rev-list --no-walk 45d7d71e4316cddffb5bfb7643e18fdc2467c961 # timeout=10 12:56:05 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 12:56:06 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 12:56:06 + sudo service docker restart 12:56:06 + true 12:56:06 Redirecting to /bin/systemctl restart docker.service 12:56:06 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { 12:56:07 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [Pipeline] wrap 12:56:07 provisioning config files... 12:56:07 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/8@tmp/config5206985087133024881tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:56:08 ---> docker-login.sh 12:56:08 nexus3.edgexfoundry.org:10001 12:56:08 OK: 142 MiB in 39 packages 12:56:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:56:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:56:08 Configure a credential helper to remove this warning. See 12:56:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:56:08 12:56:08 Login Succeeded 12:56:08 nexus3.edgexfoundry.org:10002 12:56:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:56:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:56:08 Configure a credential helper to remove this warning. See 12:56:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:56:08 12:56:08 Login Succeeded 12:56:08 nexus3.edgexfoundry.org:10003 12:56:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:56:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:56:08 Configure a credential helper to remove this warning. See 12:56:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:56:08 12:56:08 Login Succeeded 12:56:08 nexus3.edgexfoundry.org:10004 12:56:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:56:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:56:09 Configure a credential helper to remove this warning. See 12:56:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:56:09 12:56:09 Login Succeeded 12:56:09 docker.io 12:56:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:56:09 Removing intermediate container 2e2ea4d14470 12:56:09 ---> c7d6306d173d 12:56:09 Step 6/8 : WORKDIR /device-sdk-go 12:56:09 ---> Running in bc393ff293d8 12:56:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:56:09 Configure a credential helper to remove this warning. See 12:56:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:56:09 12:56:09 Login Succeeded 12:56:09 ---> docker-login.sh ends [Pipeline] } 12:56:09 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:56:09 ========================================================= 12:56:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 12:56:09 ========================================================= [Pipeline] isUnix [Pipeline] sh 12:56:09 Removing intermediate container bc393ff293d8 12:56:09 ---> e300c689ff2a 12:56:09 Step 7/8 : COPY . . 12:56:09 + 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 . 12:56:09 Sending build context to Docker daemon 2.399MB 12:56:09 Step 1/8 : ARG BASE=golang:1.15-alpine 12:56:09 Step 2/8 : FROM ${BASE} 12:56:10 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 12:56:10 188c0c94c7c5: Pulling fs layer 12:56:10 0ef7d3d256c8: Pulling fs layer 12:56:10 de9db76c5a1d: Pulling fs layer 12:56:10 bca2f99d35d6: Pulling fs layer 12:56:10 93359f2a8cfa: Pulling fs layer 12:56:10 7c6f9722023f: Pulling fs layer 12:56:10 a35cf1a2eb13: Pulling fs layer 12:56:10 bca2f99d35d6: Waiting 12:56:10 93359f2a8cfa: Waiting 12:56:10 7c6f9722023f: Waiting 12:56:10 a35cf1a2eb13: Waiting 12:56:10 de9db76c5a1d: Verifying Checksum 12:56:10 de9db76c5a1d: Download complete 12:56:10 0ef7d3d256c8: Verifying Checksum 12:56:10 0ef7d3d256c8: Download complete 12:56:10 93359f2a8cfa: Verifying Checksum 12:56:10 93359f2a8cfa: Download complete 12:56:10 7c6f9722023f: Verifying Checksum 12:56:10 7c6f9722023f: Download complete 12:56:10 188c0c94c7c5: Verifying Checksum 12:56:10 188c0c94c7c5: Download complete 12:56:10 188c0c94c7c5: Pull complete 12:56:10 0ef7d3d256c8: Pull complete 12:56:10 de9db76c5a1d: Pull complete 12:56:11 ---> 2ed415432517 12:56:11 Step 8/8 : RUN go mod download 12:56:11 ---> Running in 27e644ef7937 12:56:11 a35cf1a2eb13: Verifying Checksum 12:56:11 a35cf1a2eb13: Download complete 12:56:12 bca2f99d35d6: Verifying Checksum 12:56:12 bca2f99d35d6: Download complete 12:56:18 bca2f99d35d6: Pull complete 12:56:18 93359f2a8cfa: Pull complete 12:56:18 7c6f9722023f: Pull complete 12:56:24 a35cf1a2eb13: Pull complete 12:56:24 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 12:56:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 12:56:24 ---> a62c8e92a672 12:56:24 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 12:56:25 ---> Running in c0a6c46175d7 12:56:25 Removing intermediate container c0a6c46175d7 12:56:25 ---> 7dae65a83f9e 12:56:25 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:56:25 ---> Running in c8ecf2198c4b 12:56:26 Removing intermediate container c8ecf2198c4b 12:56:26 ---> 2080c9c69c9d 12:56:26 Step 5/8 : RUN apk add --no-cache make git 12:56:26 ---> Running in 1603fdea1d43 12:56:27 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 12:56:28 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 12:56:28 OK: 166 MiB in 39 packages 12:56:29 Removing intermediate container 1603fdea1d43 12:56:29 ---> cdbefe399436 12:56:29 Step 6/8 : WORKDIR /device-sdk-go 12:56:29 ---> Running in 658d402454f8 12:56:29 Removing intermediate container 658d402454f8 12:56:29 ---> 0195406235ac 12:56:29 Step 7/8 : COPY . . 12:56:30 ---> 79c264d175f8 12:56:30 Step 8/8 : RUN go mod download 12:56:30 ---> Running in 19a3dc944d10 12:56:33 Removing intermediate container 27e644ef7937 12:56:33 ---> 31b8b7201005 12:56:33 Successfully built 31b8b7201005 12:56:33 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 12:56:33 + docker inspect -f . ci-base-image-arm64 12:56:33 . [Pipeline] withDockerContainer 12:56:34 prd-ubuntu18.04-docker-arm64-4c-16g-15916 does not seem to be running inside a container 12:56:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@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 ******** ci-base-image-arm64 cat 12:56:35 $ docker top b830477939daa60cf18d585333fd366559d59ef81289f1af8ab77d1347026de8 -eo pid,comm [Pipeline] { [Pipeline] sh 12:56:36 + go version 12:56:36 go version go1.15.5 linux/arm64 [Pipeline] } 12:56:36 $ docker stop --time=1 b830477939daa60cf18d585333fd366559d59ef81289f1af8ab77d1347026de8 12:56:38 $ docker rm -f b830477939daa60cf18d585333fd366559d59ef81289f1af8ab77d1347026de8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:56:39 + docker inspect -f . ci-base-image-arm64 12:56:39 . [Pipeline] withDockerContainer 12:56:39 prd-ubuntu18.04-docker-arm64-4c-16g-15916 does not seem to be running inside a container 12:56:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@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 ******** ci-base-image-arm64 cat 12:56:41 $ docker top 9acdc6bc483cc548c1e759c1589509d1667c1e9397bea6ce76e18ab151746cc0 -eo pid,comm [Pipeline] { [Pipeline] sh 12:56:42 + make test 12:56:42 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 12:56:49 Removing intermediate container 19a3dc944d10 12:56:49 ---> 0aa03a20c793 12:56:49 Successfully built 0aa03a20c793 12:56:49 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 12:56:49 + docker inspect -f . ci-base-image-x86_64 12:56:49 . [Pipeline] withDockerContainer 12:56:49 prd-centos7-docker-4c-2g-15917 does not seem to be running inside a container 12:56:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@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 ******** ci-base-image-x86_64 cat 12:56:50 $ docker top 0699f1dc197ad715719155fd9774e9598b4f31bdf050a99623d7d0c4de65b597 -eo pid,comm [Pipeline] { [Pipeline] sh 12:56:50 + go version 12:56:50 go version go1.15.5 linux/amd64 [Pipeline] } 12:56:50 $ docker stop --time=1 0699f1dc197ad715719155fd9774e9598b4f31bdf050a99623d7d0c4de65b597 12:56:52 $ docker rm -f 0699f1dc197ad715719155fd9774e9598b4f31bdf050a99623d7d0c4de65b597 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:56:53 + docker inspect -f . ci-base-image-x86_64 12:56:53 . [Pipeline] withDockerContainer 12:56:53 prd-centos7-docker-4c-2g-15917 does not seem to be running inside a container 12:56:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@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 ******** ci-base-image-x86_64 cat 12:56:54 $ docker top 0a46ddaddaeb4860a733f791e72c1d722488160ba6a34b2134ebca7a78b58084 -eo pid,comm [Pipeline] { [Pipeline] sh 12:56:54 + make test 12:56:54 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 12:57:02 ? github.com/edgexfoundry/device-sdk-go [no test files] 12:57:04 ? github.com/edgexfoundry/device-sdk-go [no test files] 12:57:17 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 12:57:17 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 12:57:17 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 12:57:17 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.060s coverage: 20.0% of statements 12:57:18 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.441s coverage: 97.1% of statements 12:57:43 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 12:57:43 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 12:57:43 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 12:57:43 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.131s coverage: 20.0% of statements 12:57:49 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.151s coverage: 97.1% of statements 12:57:50 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.076s coverage: 9.4% of statements 12:57:50 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.052s coverage: 21.9% of statements 12:57:50 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 12:57:50 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.220s coverage: 42.5% of statements 12:57:50 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 12:57:50 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.276s coverage: 68.9% of statements 12:57:50 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 12:57:50 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 12:57:50 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 12:57:50 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 12:57:50 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.065s coverage: 52.6% of statements 12:57:50 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 12:57:50 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 12:57:50 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 12:57:50 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.328s coverage: 68.9% of statements 12:57:50 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.053s coverage: 4.3% of statements 12:57:50 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 12:57:50 GO111MODULE=on go vet ./... 12:57:57 gofmt -l . 12:57:57 [ "`gofmt -l .`" = "" ] 12:57:57 ./bin/test-attribution-txt.sh 12:57:57 ./bin/test-go-mod-tidy.sh [Pipeline] } 12:57:57 $ docker stop --time=1 0a46ddaddaeb4860a733f791e72c1d722488160ba6a34b2134ebca7a78b58084 12:57:59 $ docker rm -f 0a46ddaddaeb4860a733f791e72c1d722488160ba6a34b2134ebca7a78b58084 [Pipeline] // withDockerContainer [Pipeline] sh 12:58:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:58:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 12:58:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:58:03 + ls -al . 12:58:03 total 208 12:58:03 drwxrwxr-x. 10 jenkins jenkins 4096 Dec 14 12:57 . 12:58:03 drwxrwxr-x. 4 jenkins jenkins 28 Dec 14 12:55 .. 12:58:03 drwxrwxr-x. 2 jenkins jenkins 64 Dec 14 12:56 bin 12:58:03 -rw-r--r--. 1 jenkins jenkins 128984 Dec 14 12:57 coverage.out 12:58:03 -rw-rw-r--. 1 jenkins jenkins 936 Dec 14 12:56 Dockerfile.build 12:58:03 -rw-rw-r--. 1 jenkins jenkins 140 Dec 14 12:56 .dockerignore 12:58:03 drwxrwxr-x. 4 jenkins jenkins 48 Dec 14 12:56 example 12:58:03 drwxrwxr-x. 8 jenkins jenkins 179 Dec 14 12:56 .git 12:58:03 drwxrwxr-x. 2 jenkins jenkins 103 Dec 14 12:56 .github 12:58:03 -rw-rw-r--. 1 jenkins jenkins 138 Dec 14 12:56 .gitignore 12:58:03 -rw-r--r--. 1 jenkins jenkins 518 Dec 14 12:57 go.mod 12:58:03 -rw-r--r--. 1 jenkins jenkins 13631 Dec 14 12:57 go.sum 12:58:03 drwxrwxr-x. 15 jenkins jenkins 211 Dec 14 12:56 internal 12:58:03 -rw-rw-r--. 1 jenkins jenkins 901 Dec 14 12:56 Jenkinsfile 12:58:03 -rw-rw-r--. 1 jenkins jenkins 11341 Dec 14 12:56 LICENSE 12:58:03 -rw-rw-r--. 1 jenkins jenkins 1013 Dec 14 12:56 Makefile 12:58:03 drwxrwxr-x. 4 jenkins jenkins 26 Dec 14 12:56 openapi 12:58:03 drwxrwxr-x. 5 jenkins jenkins 50 Dec 14 12:56 pkg 12:58:03 -rw-rw-r--. 1 jenkins jenkins 5897 Dec 14 12:56 README.md 12:58:03 -rw-rw-r--. 1 jenkins jenkins 4291 Dec 14 12:56 RELEASE-NOTES.txt 12:58:03 drwxrwxr-x. 4 jenkins jenkins 54 Dec 14 12:56 snap 12:58:03 -rw-rw-r--. 1 jenkins jenkins 5 Dec 14 12:53 VERSION 12:58:03 -rw-rw-r--. 1 jenkins jenkins 222 Dec 14 12:56 version.go [Pipeline] isUnix [Pipeline] sh 12:58:04 + 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=c31a67362c3622f7432cedd67f1e8e941d93c300 --label arch=amd64 --label version=0.0.0 . 12:58:04 Sending build context to Docker daemon 2.529MB 12:58:04 Step 1/24 : ARG BASE=golang:1.15-alpine 12:58:04 Step 2/24 : FROM ${BASE} AS builder 12:58:04 ---> 0aa03a20c793 12:58:04 Step 3/24 : ARG MAKE='make build' 12:58:04 ---> Running in 10fd3b9b0f3e 12:58:05 Removing intermediate container 10fd3b9b0f3e 12:58:05 ---> dfcd9bbd5337 12:58:05 Step 4/24 : WORKDIR /device-sdk-go 12:58:05 ---> Running in 082b5579dd81 12:58:05 Removing intermediate container 082b5579dd81 12:58:05 ---> 412874066654 12:58:05 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 12:58:05 ---> Running in 54c177871e2d 12:58:05 Removing intermediate container 54c177871e2d 12:58:05 ---> d9da98afb8f7 12:58:05 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:58:05 ---> Running in 2d018c77ade0 12:58:06 Removing intermediate container 2d018c77ade0 12:58:06 ---> 0a4f0a2cde86 12:58:06 Step 7/24 : RUN apk add --update --no-cache make git 12:58:06 ---> Running in 51d496eb2ca4 12:58:07 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 12:58:07 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 12:58:08 OK: 166 MiB in 39 packages 12:58:08 Removing intermediate container 51d496eb2ca4 12:58:08 ---> 2e6d30bb6c92 12:58:08 Step 8/24 : COPY . . 12:58:10 ---> 8796d4525af3 12:58:10 Step 9/24 : RUN ${MAKE} 12:58:10 ---> Running in 18f27377660f 12:58:10 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 12:58:16 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.135s coverage: 9.4% of statements 12:58:16 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.125s coverage: 21.9% of statements 12:58:16 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 12:58:16 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.577s coverage: 42.5% of statements 12:58:16 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 12:58:16 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.773s coverage: 68.9% of statements 12:58:16 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 12:58:16 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 12:58:16 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 12:58:16 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 12:58:16 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.198s coverage: 52.6% of statements 12:58:16 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 12:58:16 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 12:58:16 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 12:58:16 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.724s coverage: 68.9% of statements 12:58:16 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.130s coverage: 4.3% of statements 12:58:16 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 12:58:16 GO111MODULE=on go vet ./... 12:58:18 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 12:58:20 Removing intermediate container 18f27377660f 12:58:20 ---> 90e04d3f53cb 12:58:20 Step 10/24 : FROM scratch 12:58:20 ---> 12:58:20 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 12:58:20 ---> Running in c8e93d78f1e7 12:58:20 Removing intermediate container c8e93d78f1e7 12:58:20 ---> aa69665d0070 12:58:20 Step 12/24 : ENV APP_PORT=49990 12:58:20 ---> Running in 63c2e8af41f8 12:58:20 Removing intermediate container 63c2e8af41f8 12:58:20 ---> 3a60eb6462cb 12:58:20 Step 13/24 : EXPOSE $APP_PORT 12:58:21 ---> Running in 0310c494b664 12:58:21 Removing intermediate container 0310c494b664 12:58:21 ---> afcabef15cd9 12:58:21 Step 14/24 : WORKDIR / 12:58:21 ---> Running in c8199be1df30 12:58:21 Removing intermediate container c8199be1df30 12:58:21 ---> cbc6b9ec9eb0 12:58:21 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 12:58:21 ---> 4905a33a0456 12:58:21 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 12:58:22 ---> 1776adea2b13 12:58:22 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 12:58:22 ---> c93144e810f5 12:58:22 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 12:58:22 ---> 81d008ed0941 12:58:22 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 12:58:22 ---> 509c0c17b0f0 12:58:22 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 12:58:23 ---> Running in 6bada80d4cc5 12:58:23 Removing intermediate container 6bada80d4cc5 12:58:23 ---> 8bef87e1ae64 12:58:23 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 12:58:23 ---> Running in f42290e1a7c0 12:58:23 Removing intermediate container f42290e1a7c0 12:58:23 ---> 2c7f60569e9c 12:58:23 Step 22/24 : LABEL arch=amd64 12:58:23 ---> Running in cc8f6bff6bbd 12:58:23 Removing intermediate container cc8f6bff6bbd 12:58:23 ---> 100330f68c09 12:58:23 Step 23/24 : LABEL git_sha=c31a67362c3622f7432cedd67f1e8e941d93c300 12:58:23 ---> Running in bfdf3c698808 12:58:23 Removing intermediate container bfdf3c698808 12:58:23 ---> f0917591cf58 12:58:23 Step 24/24 : LABEL version=0.0.0 12:58:24 ---> Running in d4f30ad0adbe 12:58:24 Removing intermediate container d4f30ad0adbe 12:58:24 ---> ae2e4ae92b04 12:58:24 [Warning] One or more build-args [ARCH] were not consumed 12:58:24 Successfully built ae2e4ae92b04 12:58:24 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] } 12:58:48 gofmt -l . 12:58:48 [ "`gofmt -l .`" = "" ] 12:58:48 ./bin/test-attribution-txt.sh 12:58:48 ./bin/test-go-mod-tidy.sh [Pipeline] } 12:58:48 $ docker stop --time=1 9acdc6bc483cc548c1e759c1589509d1667c1e9397bea6ce76e18ab151746cc0 12:58:50 $ docker rm -f 9acdc6bc483cc548c1e759c1589509d1667c1e9397bea6ce76e18ab151746cc0 [Pipeline] // withDockerContainer [Pipeline] sh 12:58:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:58:52 Warning: overwriting stash ‘coverage-report’ 12:58:52 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 12:58:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:58:54 + ls -al . 12:58:54 total 244 12:58:54 drwxrwxr-x 10 jenkins jenkins 4096 Dec 14 12:58 . 12:58:54 drwxrwxr-x 4 jenkins jenkins 4096 Dec 14 12:55 .. 12:58:54 -rw-rw-r-- 1 jenkins jenkins 140 Dec 14 12:55 .dockerignore 12:58:54 drwxrwxr-x 8 jenkins jenkins 4096 Dec 14 12:55 .git 12:58:54 drwxrwxr-x 2 jenkins jenkins 4096 Dec 14 12:55 .github 12:58:54 -rw-rw-r-- 1 jenkins jenkins 138 Dec 14 12:55 .gitignore 12:58:54 -rw-rw-r-- 1 jenkins jenkins 936 Dec 14 12:55 Dockerfile.build 12:58:54 -rw-rw-r-- 1 jenkins jenkins 901 Dec 14 12:55 Jenkinsfile 12:58:54 -rw-rw-r-- 1 jenkins jenkins 11341 Dec 14 12:55 LICENSE 12:58:54 -rw-rw-r-- 1 jenkins jenkins 1013 Dec 14 12:55 Makefile 12:58:54 -rw-rw-r-- 1 jenkins jenkins 5897 Dec 14 12:55 README.md 12:58:54 -rw-rw-r-- 1 jenkins jenkins 4291 Dec 14 12:55 RELEASE-NOTES.txt 12:58:54 -rw-rw-r-- 1 jenkins jenkins 5 Dec 14 12:53 VERSION 12:58:54 drwxrwxr-x 2 jenkins jenkins 4096 Dec 14 12:55 bin 12:58:54 -rw-r--r-- 1 jenkins jenkins 128985 Dec 14 12:58 coverage.out 12:58:54 drwxrwxr-x 4 jenkins jenkins 4096 Dec 14 12:55 example 12:58:54 -rw-r--r-- 1 jenkins jenkins 518 Dec 14 12:58 go.mod 12:58:54 -rw-r--r-- 1 jenkins jenkins 13631 Dec 14 12:58 go.sum 12:58:54 drwxrwxr-x 15 jenkins jenkins 4096 Dec 14 12:55 internal 12:58:54 drwxrwxr-x 4 jenkins jenkins 4096 Dec 14 12:55 openapi 12:58:54 drwxrwxr-x 5 jenkins jenkins 4096 Dec 14 12:55 pkg 12:58:54 drwxrwxr-x 4 jenkins jenkins 4096 Dec 14 12:55 snap 12:58:54 -rw-rw-r-- 1 jenkins jenkins 222 Dec 14 12:55 version.go [Pipeline] isUnix [Pipeline] sh 12:58:54 + 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=c31a67362c3622f7432cedd67f1e8e941d93c300 --label arch=arm64 --label version=0.0.0 . 12:58:55 Sending build context to Docker daemon 2.529MB 12:58:55 Step 1/24 : ARG BASE=golang:1.15-alpine 12:58:55 Step 2/24 : FROM ${BASE} AS builder 12:58:55 ---> 31b8b7201005 12:58:55 Step 3/24 : ARG MAKE='make build' 12:58:55 ---> Running in 4a33530910b4 12:58:55 Removing intermediate container 4a33530910b4 12:58:55 ---> b49d9708b633 12:58:55 Step 4/24 : WORKDIR /device-sdk-go 12:58:55 ---> Running in fd3bc1cc51fd 12:58:56 Removing intermediate container fd3bc1cc51fd 12:58:56 ---> 9e7979d69ad8 12:58:56 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 12:58:56 ---> Running in 71c4663d5f8e 12:58:57 Removing intermediate container 71c4663d5f8e 12:58:57 ---> a99913a41afb 12:58:57 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:58:57 ---> Running in cc9899e86755 12:58:59 Removing intermediate container cc9899e86755 12:58:59 ---> 91f5e792dffb 12:58:59 Step 7/24 : RUN apk add --update --no-cache make git 12:58:59 ---> Running in 5783a21a59d9 12:59:00 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 12:59:01 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 12:59:01 OK: 142 MiB in 39 packages 12:59:02 Removing intermediate container 5783a21a59d9 12:59:02 ---> a3630e94da87 12:59:02 Step 8/24 : COPY . . 12:59:04 ---> 74128a2bc2dd 12:59:04 Step 9/24 : RUN ${MAKE} 12:59:04 ---> Running in 7ef5fb8c0895 12:59:05 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 12:59:32 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 12:59:32 Removing intermediate container 7ef5fb8c0895 12:59:32 ---> 0516b258adfa 12:59:32 Step 10/24 : FROM scratch 12:59:32 ---> 12:59:32 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 12:59:32 ---> Running in 2101b3ba274a 12:59:32 Removing intermediate container 2101b3ba274a 12:59:32 ---> 5622977fbf99 12:59:32 Step 12/24 : ENV APP_PORT=49990 12:59:33 ---> Running in 36315a52d893 12:59:33 Removing intermediate container 36315a52d893 12:59:33 ---> 4a4c8b258809 12:59:33 Step 13/24 : EXPOSE $APP_PORT 12:59:33 ---> Running in 7860d038f43c 12:59:34 Removing intermediate container 7860d038f43c 12:59:34 ---> c0b6411c0984 12:59:34 Step 14/24 : WORKDIR / 12:59:34 ---> Running in 74200f8fb6a8 12:59:34 Removing intermediate container 74200f8fb6a8 12:59:34 ---> 4ed504314d86 12:59:34 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 12:59:35 ---> e3254f130384 12:59:35 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 12:59:36 ---> 50ed4cacb99f 12:59:36 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 12:59:37 ---> 9cd1f435f02c 12:59:37 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 12:59:37 ---> 3abecec69f11 12:59:37 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 12:59:38 ---> ccab5eab3ac1 12:59:38 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 12:59:38 ---> Running in ca40ae5905eb 12:59:39 Removing intermediate container ca40ae5905eb 12:59:39 ---> 9525e9c20ecc 12:59:39 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 12:59:39 ---> Running in 7a8e100cf9d1 12:59:39 Removing intermediate container 7a8e100cf9d1 12:59:39 ---> fff021fe119d 12:59:39 Step 22/24 : LABEL arch=arm64 12:59:39 ---> Running in 07706cb14bea 12:59:40 Removing intermediate container 07706cb14bea 12:59:40 ---> 3dde51a39dad 12:59:40 Step 23/24 : LABEL git_sha=c31a67362c3622f7432cedd67f1e8e941d93c300 12:59:40 ---> Running in 832933cc82d8 12:59:40 Removing intermediate container 832933cc82d8 12:59:40 ---> 52e5b26b96ed 12:59:40 Step 24/24 : LABEL version=0.0.0 12:59:40 ---> Running in 9c998685a8ef 12:59:41 Removing intermediate container 9c998685a8ef 12:59:41 ---> 4e63f6c4a21b 12:59:41 [Warning] One or more build-args [ARCH] were not consumed 12:59:41 Successfully built 4e63f6c4a21b 12:59:41 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 12:59:43 provisioning config files... 12:59:43 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-650@tmp/config3234849426990062784tmp [Pipeline] { [Pipeline] sh 12:59:44 + set +x 12:59:44 + curl -s https://codecov.io/bash 12:59:44 + bash -s -- 12:59:44 12:59:44 _____ _ 12:59:44 / ____| | | 12:59:44 | | ___ __| | ___ ___ _____ __ 12:59:44 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 12:59:44 | |___| (_) | (_| | __/ (_| (_) \ V / 12:59:44 \_____\___/ \__,_|\___|\___\___/ \_/ 12:59:44 Bash-20201130-cc6d3fe 12:59:44 12:59:44 12:59:44 ==> Jenkins CI detected. 12:59:44 project root: . 12:59:44 --> token set from env 12:59:44 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 12:59:44 ==> Running gcov in . (disable via -X gcov) 12:59:44 ==> Python coveragepy not found 12:59:44 ==> Searching for coverage reports in: 12:59:44 + . 12:59:44 -> Found 1 reports 12:59:44 ==> Detecting git/mercurial file structure 12:59:44 ==> Reading reports 12:59:44 + ./coverage.out bytes=128985 12:59:44 ==> Appending adjustments 12:59:44 https://docs.codecov.io/docs/fixing-reports 12:59:45 + Found adjustments 12:59:45 ==> Gzipping contents 12:59:45 24K /tmp/codecov.4I2buQ.gz 12:59:45 ==> Uploading reports 12:59:45 url: https://codecov.io 12:59:45 query: branch=PR-650&commit=c31a67362c3622f7432cedd67f1e8e941d93c300&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-650%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=650&job=&cmd_args= 12:59:45 -> Pinging Codecov 12:59:45 https://codecov.io/upload/v4?package=bash-20201130-cc6d3fe&token=secret&branch=PR-650&commit=c31a67362c3622f7432cedd67f1e8e941d93c300&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-650%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=650&job=&cmd_args= 12:59:45 -> Uploading to 12:59:45 https://storage.googleapis.com/codecov/v4/raw/2020-12-14/7E55EF52A471D76F132DFD9A03CDDE97/c31a67362c3622f7432cedd67f1e8e941d93c300/75868b8c-12ce-455e-91fa-4a42279ec509.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201214%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201214T125945Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=70297328f2d315dcccd1cb9e049294dc0877d73a1fcb01e5c18cbefd5fcdef36 12:59:45 % Total % Received % Xferd Average Speed Time Time Time Current 12:59:45 Dload Upload Total Spent Left Speed 12:59:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21038 0 0 100 21038 0 49576 --:--:-- --:--:-- --:--:-- 49501 100 21038 0 0 100 21038 0 49557 --:--:-- --:--:-- --:--:-- 49501 12:59:46 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/c31a67362c3622f7432cedd67f1e8e941d93c300 [Pipeline] } 12:59:46 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 12:59:48 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:59:49 ---> package-listing.sh 12:59:49 ++ facter osfamily 12:59:49 ++ tr '[:upper:]' '[:lower:]' 12:59:49 + OS_FAMILY=redhat 12:59:49 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-650 12:59:49 + START_PACKAGES=/tmp/packages_start.txt 12:59:49 + END_PACKAGES=/tmp/packages_end.txt 12:59:49 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:59:49 + PACKAGES=/tmp/packages_start.txt 12:59:49 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-650 ']' 12:59:49 + PACKAGES=/tmp/packages_end.txt 12:59:49 + case "${OS_FAMILY}" in 12:59:49 + rpm -qa 12:59:49 + sort 12:59:54 + '[' -f /tmp/packages_start.txt ']' 12:59:54 + '[' -f /tmp/packages_end.txt ']' 12:59:54 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:59:54 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-650 ']' 12:59:54 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-650/archives/ 12:59:54 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-650/archives/ [Pipeline] echo 12:59:54 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-650/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 12:59:55 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 12:59:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 12:59:55 12:59:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 12:59:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 12:59:55 alpine: Pulling from edgex-lftools-log-publisher 12:59:55 df20fa9351a1: Pulling fs layer 12:59:55 36b3adc4ff6f: Pulling fs layer 12:59:55 8ad3a11d3b57: Pulling fs layer 12:59:55 46f8f816bc3b: Pulling fs layer 12:59:55 93b61091891f: Pulling fs layer 12:59:55 93b9cdb0e59b: Pulling fs layer 12:59:55 5e14af77c1be: Pulling fs layer 12:59:55 01666e4c0597: Pulling fs layer 12:59:55 aa168da1d23b: Pulling fs layer 12:59:55 46f8f816bc3b: Waiting 12:59:55 93b61091891f: Waiting 12:59:55 93b9cdb0e59b: Waiting 12:59:55 5e14af77c1be: Waiting 12:59:55 01666e4c0597: Waiting 12:59:55 aa168da1d23b: Waiting 12:59:55 36b3adc4ff6f: Verifying Checksum 12:59:55 36b3adc4ff6f: Download complete 12:59:55 46f8f816bc3b: Verifying Checksum 12:59:55 46f8f816bc3b: Download complete 12:59:55 df20fa9351a1: Download complete 12:59:55 93b9cdb0e59b: Verifying Checksum 12:59:55 93b9cdb0e59b: Download complete 12:59:55 5e14af77c1be: Download complete 12:59:55 93b61091891f: Verifying Checksum 12:59:55 93b61091891f: Download complete 12:59:55 01666e4c0597: Download complete 12:59:55 8ad3a11d3b57: Verifying Checksum 12:59:55 8ad3a11d3b57: Download complete 12:59:56 df20fa9351a1: Pull complete 12:59:56 36b3adc4ff6f: Pull complete 12:59:57 8ad3a11d3b57: Pull complete 12:59:57 46f8f816bc3b: Pull complete 12:59:57 93b61091891f: Pull complete 12:59:57 93b9cdb0e59b: Pull complete 12:59:58 5e14af77c1be: Pull complete 12:59:58 01666e4c0597: Pull complete 12:59:58 aa168da1d23b: Verifying Checksum 12:59:58 aa168da1d23b: Download complete 13:00:06 aa168da1d23b: Pull complete 13:00:06 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 13:00:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 13:00:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 13:00:07 prd-centos7-docker-4c-2g-15915 does not seem to be running inside a container 13:00:07 $ 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-650/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-650 -v /w/workspace/dgexfoundry_device-sdk-go_PR-650:/w/workspace/dgexfoundry_device-sdk-go_PR-650:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-650@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-650@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 13:00:10 $ docker top c3a83162ef3c4498388299fe72cbaca91afb9dc370aae7f83ca1560c8fdddec7 -eo pid,comm [Pipeline] { [Pipeline] sh 13:00:11 + touch /tmp/pre-build-complete [Pipeline] sh 13:00:11 + mkdir -p /var/log/sa [Pipeline] sh 13:00:11 + ls /var/log/sa-host 13:00:11 + sadf -c /var/log/sa-host/sa14 13:00:11 file_magic: OK 13:00:11 HZ: Using current value: 100 13:00:11 file_header: OK 13:00:11 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 13:00:11 Statistics: 13:00:11 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 13:00:11 File successfully converted to sysstat format version 12.2.1 13:00:11 + sadf -c /var/log/sa-host/sa23 13:00:11 file_magic: OK 13:00:11 HZ: Using current value: 100 13:00:11 file_header: OK 13:00:11 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 13:00:11 Statistics: 13:00:11 Hnuu...uuuununununu... 13:00:11 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:00:12 provisioning config files... 13:00:12 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-650@tmp/config3916778294498327146tmp [Pipeline] { [Pipeline] echo 13:00:12 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:00:12 ---> create-netrc.sh [Pipeline] } 13:00:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 13:00:12 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 13:00:12 ---> python-tools-install.sh [Pipeline] echo 13:00:12 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:00:13 ---> sudo-logs.sh 13:00:13 Archiving 'sudo' log.. [Pipeline] echo 13:00:13 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:00:13 ---> job-cost.sh 13:00:13 lf-activate-venv: SKIPPING 13:00:13 INFO: No Stack... 13:00:14 INFO: Retrieving Pricing Info for: v1-standard-2 13:00:15 INFO: Archiving Costs [Pipeline] echo 13:00:15 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:00:15 ---> logs-deploy.sh 13:00:15 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-650/8 13:00:15 INFO: archiving workspace using pattern(s): 13:00:17 Archives upload complete. 13:00:17 INFO: archiving logs to Nexus 13:00:18 ---> uname -a: 13:00:18 Linux prd-centos7-docker-4c-2g-15915.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 13:00:18 13:00:18 13:00:18 ---> lscpu: 13:00:18 Architecture: x86_64 13:00:18 CPU op-mode(s): 32-bit, 64-bit 13:00:18 Byte Order: Little Endian 13:00:18 Address sizes: 40 bits physical, 48 bits virtual 13:00:18 CPU(s): 4 13:00:18 On-line CPU(s) list: 0-3 13:00:18 Thread(s) per core: 1 13:00:18 Core(s) per socket: 1 13:00:18 Socket(s): 4 13:00:18 NUMA node(s): 1 13:00:18 Vendor ID: GenuineIntel 13:00:18 CPU family: 6 13:00:18 Model: 44 13:00:18 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 13:00:18 Stepping: 1 13:00:18 CPU MHz: 2933.438 13:00:18 BogoMIPS: 5866.87 13:00:18 Virtualization: VT-x 13:00:18 Hypervisor vendor: KVM 13:00:18 Virtualization type: full 13:00:18 L1d cache: 128 KiB 13:00:18 L1i cache: 128 KiB 13:00:18 L2 cache: 16 MiB 13:00:18 L3 cache: 64 MiB 13:00:18 NUMA node0 CPU(s): 0-3 13:00:18 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 13:00:18 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 13:00:18 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 13:00:18 Vulnerability Meltdown: Mitigation; PTI 13:00:18 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 13:00:18 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 13:00:18 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 13:00:18 Vulnerability Srbds: Not affected 13:00:18 Vulnerability Tsx async abort: Not affected 13:00:18 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 13:00:18 13:00:18 13:00:18 ---> nproc: 13:00:18 4 13:00:18 13:00:18 13:00:18 ---> df -h: 13:00:18 Filesystem Size Used Available Use% Mounted on 13:00:18 overlay 50.0G 7.3G 42.7G 15% / 13:00:18 tmpfs 64.0M 0 64.0M 0% /dev 13:00:18 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 13:00:18 shm 64.0M 0 64.0M 0% /dev/shm 13:00:18 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 13:00:18 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 13:00:18 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 13:00:18 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 13:00:18 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 13:00:18 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-650 13:00:18 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-650@tmp 13:00:18 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 13:00:18 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 13:00:18 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 13:00:18 13:00:18 13:00:18 ---> free -m: 13:00:18 total used free shared buff/cache available 13:00:18 Mem: 1837 683 113 0 1040 1049 13:00:18 Swap: 1023 1 1022 13:00:18 13:00:18 13:00:18 ---> ip addr: 13:00:18 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 13:00:18 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 13:00:18 inet 127.0.0.1/8 scope host lo 13:00:18 valid_lft forever preferred_lft forever 13:00:18 inet6 ::1/128 scope host 13:00:18 valid_lft forever preferred_lft forever 13:00:18 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 13:00:18 link/ether fa:16:3e:fb:32:9f brd ff:ff:ff:ff:ff:ff 13:00:18 inet 10.30.123.164/23 brd 10.30.123.255 scope global dynamic eth0 13:00:18 valid_lft 85916sec preferred_lft 85916sec 13:00:18 inet6 fe80::f816:3eff:fefb:329f/64 scope link 13:00:18 valid_lft forever preferred_lft forever 13:00:18 3: docker0: mtu 1500 qdisc noqueue state DOWN 13:00:18 link/ether 02:42:5d:d9:ee:42 brd ff:ff:ff:ff:ff:ff 13:00:18 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 13:00:18 valid_lft forever preferred_lft forever 13:00:18 inet6 fe80::42:5dff:fed9:ee42/64 scope link 13:00:18 valid_lft forever preferred_lft forever 13:00:18 13:00:18 13:00:18 ---> sar -b -r -n DEV: 13:00:18 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 12/14/20 _x86_64_ (4 CPU) 13:00:18 13:00:18 12:52:02 LINUX RESTART (4 CPU) 13:00:18 13:00:18 12:53:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 13:00:18 12:54:01 13.34 4.41 8.92 0.00 1078.12 292.51 0.00 13:00:18 12:55:01 1.85 0.00 1.85 0.00 0.00 37.00 0.00 13:00:18 12:56:01 0.33 0.00 0.33 0.00 0.00 5.31 0.00 13:00:18 12:57:01 0.30 0.00 0.30 0.00 0.00 4.93 0.00 13:00:18 12:58:01 0.25 0.00 0.25 0.00 0.00 3.90 0.00 13:00:18 12:59:01 0.42 0.00 0.42 0.00 0.00 6.38 0.00 13:00:18 13:00:01 72.66 50.45 22.21 0.00 4272.34 7711.04 0.00 13:00:18 Average: 12.75 7.85 4.90 0.00 765.30 1153.30 0.00 13:00:18 13:00:18 12:53:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 13:00:18 12:54:01 138396 0 589828 31.35 2620 1150700 1106468 37.76 410756 1132332 20 13:00:18 12:55:01 144264 0 583952 31.04 2620 1150708 1081948 36.93 409264 1128652 8 13:00:18 12:56:01 142916 0 585240 31.10 2620 1150768 1082236 36.93 410424 1129252 32 13:00:18 12:57:01 144708 0 583504 31.01 2620 1150712 1081948 36.93 408700 1129236 12 13:00:18 12:58:01 144684 0 583520 31.01 2620 1150720 1082032 36.93 401576 1136824 8 13:00:18 12:59:01 144724 0 583476 31.01 2620 1150724 1081984 36.93 401328 1136820 12 13:00:18 13:00:01 73704 0 686068 36.46 2620 1119152 1510192 51.54 557608 1024516 94284 13:00:18 Average: 133342 0 599370 31.86 2620 1146212 1146687 39.13 428522 1116805 13482 13:00:18 13:00:18 12:53:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 13:00:18 12:54:01 eth0 31.50 27.96 40.80 19.80 0.00 0.00 0.00 0.00 13:00:18 12:54:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:00:18 12:54:01 docker0 9.96 8.39 1.44 20.43 0.00 0.00 0.00 0.00 13:00:18 12:55:01 eth0 0.70 0.08 0.06 0.01 0.00 0.00 0.00 0.00 13:00:18 12:55:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:00:18 12:55:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:00:18 12:56:01 eth0 4.78 2.31 3.61 0.48 0.00 0.00 0.00 0.00 13:00:18 12:56:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:00:18 12:56:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:00:18 12:57:01 eth0 0.12 0.10 0.01 0.04 0.00 0.00 0.00 0.00 13:00:18 12:57:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:00:18 12:57:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:00:18 12:58:01 eth0 0.15 0.12 0.08 0.07 0.00 0.00 0.00 0.00 13:00:18 12:58:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:00:18 12:58:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:00:18 12:59:01 eth0 0.13 0.07 0.06 0.01 0.00 0.00 0.00 0.00 13:00:18 12:59:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:00:18 12:59:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:00:18 13:00:01 eth0 198.75 173.87 2166.89 18.25 0.00 0.00 0.00 0.00 13:00:18 13:00:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:00:18 13:00:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:00:18 Average: eth0 33.78 29.25 316.42 5.52 0.00 0.00 0.00 0.00 13:00:18 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:00:18 Average: docker0 1.42 1.20 0.21 2.92 0.00 0.00 0.00 0.00 13:00:18 13:00:18 13:00:18 ---> sar -P ALL: 13:00:18 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 12/14/20 _x86_64_ (4 CPU) 13:00:18 13:00:18 12:52:02 LINUX RESTART (4 CPU) 13:00:18 13:00:18 12:53:01 CPU %user %nice %system %iowait %steal %idle 13:00:18 12:54:01 all 1.29 0.00 0.94 0.12 0.00 97.66 13:00:18 12:54:01 0 1.22 0.00 0.89 0.15 0.00 97.74 13:00:18 12:54:01 1 1.09 0.00 1.09 0.07 0.00 97.76 13:00:18 12:54:01 2 1.37 0.00 0.77 0.18 0.00 97.68 13:00:18 12:54:01 3 1.47 0.00 1.02 0.07 0.00 97.44 13:00:18 12:55:01 all 0.13 0.00 0.05 0.00 0.00 99.82 13:00:18 12:55:01 0 0.05 0.00 0.05 0.00 0.00 99.90 13:00:18 12:55:01 1 0.03 0.00 0.05 0.00 0.00 99.92 13:00:18 12:55:01 2 0.02 0.00 0.03 0.00 0.00 99.95 13:00:18 12:55:01 3 0.42 0.00 0.05 0.00 0.02 99.52 13:00:18 12:56:01 all 0.18 0.00 0.06 0.00 0.00 99.76 13:00:18 12:56:01 0 0.05 0.00 0.03 0.00 0.00 99.92 13:00:18 12:56:01 1 0.08 0.00 0.07 0.00 0.00 99.85 13:00:18 12:56:01 2 0.08 0.00 0.07 0.00 0.00 99.85 13:00:18 12:56:01 3 0.50 0.00 0.07 0.00 0.00 99.43 13:00:18 12:57:01 all 0.11 0.00 0.05 0.00 0.00 99.83 13:00:18 12:57:01 0 0.02 0.00 0.02 0.00 0.00 99.97 13:00:18 12:57:01 1 0.03 0.00 0.05 0.00 0.00 99.92 13:00:18 12:57:01 2 0.02 0.00 0.02 0.00 0.00 99.97 13:00:18 12:57:01 3 0.38 0.00 0.13 0.00 0.00 99.48 13:00:18 12:58:01 all 0.05 0.00 0.09 0.00 0.01 99.85 13:00:18 12:58:01 0 0.02 0.00 0.07 0.00 0.00 99.92 13:00:18 12:58:01 1 0.07 0.00 0.08 0.00 0.02 99.83 13:00:18 12:58:01 2 0.08 0.00 0.15 0.00 0.02 99.75 13:00:18 12:58:01 3 0.03 0.00 0.05 0.00 0.00 99.92 13:00:18 12:59:01 all 0.07 0.00 0.03 0.00 0.00 99.90 13:00:18 12:59:01 0 0.02 0.00 0.02 0.00 0.00 99.97 13:00:18 12:59:01 1 0.03 0.00 0.02 0.00 0.00 99.95 13:00:18 12:59:01 2 0.03 0.00 0.05 0.00 0.00 99.92 13:00:18 12:59:01 3 0.20 0.00 0.05 0.00 0.00 99.75 13:00:18 13:00:01 all 3.98 0.00 2.50 1.45 0.02 92.05 13:00:18 13:00:01 0 3.84 0.00 2.95 1.33 0.03 91.85 13:00:18 13:00:01 1 3.53 0.00 2.06 1.51 0.02 92.89 13:00:18 13:00:01 2 3.67 0.00 2.33 1.21 0.00 92.80 13:00:18 13:00:01 3 4.87 0.00 2.68 1.76 0.03 90.65 13:00:18 Average: all 0.83 0.00 0.53 0.22 0.00 98.41 13:00:18 Average: 0 0.74 0.00 0.57 0.21 0.00 98.47 13:00:18 Average: 1 0.69 0.00 0.49 0.22 0.00 98.59 13:00:18 Average: 2 0.75 0.00 0.49 0.20 0.00 98.56 13:00:18 Average: 3 1.12 0.00 0.58 0.26 0.01 98.03 13:00:18 13:00:18 13:00:18