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 1fe98612d91ad7067da65148900ec19dd95b7b76 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 ‘prd-centos7-docker-4c-2g-15505’ is offline Running on prd-centos7-docker-4c-2g-15919 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 1fe98612d91ad7067da65148900ec19dd95b7b76 Merge succeeded, producing 1fe98612d91ad7067da65148900ec19dd95b7b76 Checking out Revision 1fe98612d91ad7067da65148900ec19dd95b7b76 (PR-650) > git config core.sparsecheckout # timeout=10 > git checkout -f 1fe98612d91ad7067da65148900ec19dd95b7b76 # 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 1fe98612d91ad7067da65148900ec19dd95b7b76 # timeout=10 Commit message: "feat(sdk): Implement Device AutoEvents SDK APIs" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:17:02 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk c31a67362c3622f7432cedd67f1e8e941d93c300 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:17:03 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:17:03 ========================================================= 13:17:03 EdgeX Global Pipelines Version Info 13:17:03 ========================================================= [Pipeline] libraryResource [Pipeline] sh 13:17:05 ------------------- 13:17:05 stable info: 13:17:05 ------------------- 13:17:05 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:17:05 Commit SHA: 025b6483f761633eb525fab7d6a8b6537d6ee4a4 13:17:05 Message: update stable to v1.0.172 13:17:06 ------------------- 13:17:06 experimental info: 13:17:06 ------------------- 13:17:06 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:17:06 Commit SHA: 025b6483f761633eb525fab7d6a8b6537d6ee4a4 13:17:06 Message: update experimental to v1.0.172 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 13:17:06 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 13:17:07 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 13:17:07 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:17:07 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:17:07 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:17:07 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 13:17:07 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 13:17:07 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 13:17:07 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 13:17:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 13:17:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:17:08 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 13:17:08 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:17:08 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:17:08 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 13:17:08 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 13:17:08 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 13:17:08 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 13:17:09 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:17:09 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 13:17:09 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 13:17:09 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 13:17:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 13:17:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 13:17:09 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 13:17:09 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 13:17:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-650 [Pipeline] echo 13:17:10 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-650 [Pipeline] echo 13:17:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-650 [Pipeline] echo 13:17:10 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1fe98612d91ad7067da65148900ec19dd95b7b76 [Pipeline] echo 13:17:10 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1fe9861 [Pipeline] echo 13:17:10 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 13:17:11 provisioning config files... 13:17:11 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-650@tmp/config8818843926740858920tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:17:11 ---> docker-login.sh 13:17:11 nexus3.edgexfoundry.org:10001 13:17:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:17:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:17:13 Configure a credential helper to remove this warning. See 13:17:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:17:13 13:17:13 Login Succeeded 13:17:13 nexus3.edgexfoundry.org:10002 13:17:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:17:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:17:13 Configure a credential helper to remove this warning. See 13:17:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:17:13 13:17:13 Login Succeeded 13:17:13 nexus3.edgexfoundry.org:10003 13:17:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:17:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:17:14 Configure a credential helper to remove this warning. See 13:17:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:17:14 13:17:14 Login Succeeded 13:17:14 nexus3.edgexfoundry.org:10004 13:17:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:17:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:17:14 Configure a credential helper to remove this warning. See 13:17:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:17:14 13:17:14 Login Succeeded 13:17:14 docker.io 13:17:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:17:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:17:15 Configure a credential helper to remove this warning. See 13:17:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:17:15 13:17:15 Login Succeeded 13:17:15 ---> docker-login.sh ends [Pipeline] } 13:17:15 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 13:17:16 + git log --format=format:%s -1 1fe98612d91ad7067da65148900ec19dd95b7b76 [Pipeline] echo 13:17:16 GIT_COMMIT: 1fe98612d91ad7067da65148900ec19dd95b7b76, Commit Message: feat(sdk): Implement Device AutoEvents SDK APIs [Pipeline] echo 13:17:16 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 13:17:17 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:17:17 13:17:17 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 13:17:18 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:17:18 latest: Pulling from edgex-devops/git-semver 13:17:18 31603596830f: Pulling fs layer 13:17:18 2a8b12db71e7: Pulling fs layer 13:17:18 6ca5941a6612: Pulling fs layer 13:17:18 ecc8261a40a4: Pulling fs layer 13:17:18 ecc8261a40a4: Waiting 13:17:18 2a8b12db71e7: Verifying Checksum 13:17:18 2a8b12db71e7: Download complete 13:17:18 31603596830f: Verifying Checksum 13:17:18 31603596830f: Download complete 13:17:19 ecc8261a40a4: Verifying Checksum 13:17:19 ecc8261a40a4: Download complete 13:17:19 6ca5941a6612: Verifying Checksum 13:17:19 6ca5941a6612: Download complete 13:17:20 31603596830f: Pull complete 13:17:20 2a8b12db71e7: Pull complete 13:17:21 6ca5941a6612: Pull complete 13:17:22 ecc8261a40a4: Pull complete 13:17:22 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 13:17:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:17:22 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 13:17:22 prd-centos7-docker-4c-2g-15919 does not seem to be running inside a container 13:17:23 $ 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 13:17:25 $ docker top 26ff2735921471b733a12c9381339a1d7b3499bd5ceb4643e40fd790bca1289d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:17:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:17:26 [ssh-agent] Looking for ssh-agent implementation... 13:17:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:17:26 $ docker exec 26ff2735921471b733a12c9381339a1d7b3499bd5ceb4643e40fd790bca1289d ssh-agent 13:17:26 SSH_AUTH_SOCK=/tmp/ssh-3U6gWa5ec6Nm/agent.11 13:17:26 SSH_AGENT_PID=16 13:17:26 Running ssh-add (command line suppressed) 13:17:27 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-650@tmp/private_key_1893972768360897855.key (/w/workspace/dgexfoundry_device-sdk-go_PR-650@tmp/private_key_1893972768360897855.key) 13:17:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:17:27 + git tag --points-at HEAD [Pipeline] } 13:17:27 $ docker exec --env ******** --env ******** 26ff2735921471b733a12c9381339a1d7b3499bd5ceb4643e40fd790bca1289d ssh-agent -k 13:17:28 unset SSH_AUTH_SOCK; 13:17:28 unset SSH_AGENT_PID; 13:17:28 echo Agent pid 16 killed; 13:17:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 13:17:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:17:28 [ssh-agent] Looking for ssh-agent implementation... 13:17:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:17:28 $ docker exec 26ff2735921471b733a12c9381339a1d7b3499bd5ceb4643e40fd790bca1289d ssh-agent 13:17:28 SSH_AUTH_SOCK=/tmp/ssh-b6QZkph6mYan/agent.47 13:17:28 SSH_AGENT_PID=53 13:17:28 Running ssh-add (command line suppressed) 13:17:29 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-650@tmp/private_key_1028396270223038047.key (/w/workspace/dgexfoundry_device-sdk-go_PR-650@tmp/private_key_1028396270223038047.key) 13:17:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:17:29 + git semver init 13:17:29 # -> Open(): unable to determine branch for HEAD 13:17:29 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-650/.git 13:17:29 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-650 13:17:29 # $SEMVER_REMOTE_NAME = origin 13:17:29 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 13:17:29 # $SEMVER_USER_NAME = edgex-jenkins 13:17:29 # $SEMVER_BRANCH = PR-650 13:17:29 # $SEMVER_TEMP = /tmp/semver-216773013 13:17:29 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 13:17:31 # '/tmp/semver-216773013' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-650/.semver' 13:17:31 # -> Force: false 13:17:31 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-650/.semver [Pipeline] } 13:17:31 $ docker exec --env ******** --env ******** 26ff2735921471b733a12c9381339a1d7b3499bd5ceb4643e40fd790bca1289d ssh-agent -k 13:17:31 unset SSH_AUTH_SOCK; 13:17:31 unset SSH_AGENT_PID; 13:17:31 echo Agent pid 53 killed; 13:17:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:17:32 + git semver [Pipeline] } 13:17:32 $ docker stop --time=1 26ff2735921471b733a12c9381339a1d7b3499bd5ceb4643e40fd790bca1289d 13:17:34 $ docker rm -f 26ff2735921471b733a12c9381339a1d7b3499bd5ceb4643e40fd790bca1289d [Pipeline] // withDockerContainer [Pipeline] sh 13:17:34 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 13:17:35 Stashed 1 file(s) [Pipeline] echo 13:17:35 [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 13:17:51 Still waiting to schedule task 13:17:51 Waiting for next available executor on ‘centos7-docker-4c-2g’ 13:17:51 Still waiting to schedule task 13:17:51 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 13:19:42 Running on prd-ubuntu18.04-docker-arm64-4c-16g-15920 in /w/workspace/dgexfoundry_device-sdk-go_PR-650 [Pipeline] { [Pipeline] ws 13:19:42 Running in /w/workspace/device-sdk-go/9 [Pipeline] { [Pipeline] checkout 13:19:47 using credential edgex-jenkins-ssh 13:19:47 Cloning the remote Git repository 13:19:47 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 13:19:47 > git init /w/workspace/device-sdk-go/9 # timeout=10 13:19:47 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 13:19:47 > git --version # timeout=10 13:19:47 > git --version # 'git version 2.17.1' 13:19:47 using GIT_SSH to set credentials SSH Credentials for GitHub 13:19:47 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:19:49 Merging remotes/origin/master commit c21ff6277396b81a1001baea71274dd2dd19f737 into PR head commit 1fe98612d91ad7067da65148900ec19dd95b7b76 13:19:49 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 13:19:49 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:19:49 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 13:19:49 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 13:19:49 using GIT_SSH to set credentials SSH Credentials for GitHub 13:19:49 > 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 13:19:49 > git config core.sparsecheckout # timeout=10 13:19:49 > git checkout -f 1fe98612d91ad7067da65148900ec19dd95b7b76 # timeout=10 13:19:49 > git remote # timeout=10 13:19:50 > git config --get remote.origin.url # timeout=10 13:19:50 using GIT_SSH to set credentials SSH Credentials for GitHub 13:19:50 > git merge c21ff6277396b81a1001baea71274dd2dd19f737 # timeout=10 13:19:50 > git rev-parse HEAD^{commit} # timeout=10 13:19:50 Merge succeeded, producing 1fe98612d91ad7067da65148900ec19dd95b7b76 13:19:50 Checking out Revision 1fe98612d91ad7067da65148900ec19dd95b7b76 (PR-650) 13:19:50 > git config core.sparsecheckout # timeout=10 13:19:50 > git checkout -f 1fe98612d91ad7067da65148900ec19dd95b7b76 # timeout=10 13:19:54 Commit message: "feat(sdk): Implement Device AutoEvents SDK APIs" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:19:56 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 13:19:56 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 13:19:56 + sudo service docker restart 13:19:56 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 13:19:59 provisioning config files... 13:19:59 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/9@tmp/config5233450685008052235tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:19:59 ---> docker-login.sh 13:19:59 nexus3.edgexfoundry.org:10001 13:20:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:20:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:20:00 Configure a credential helper to remove this warning. See 13:20:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:20:00 13:20:00 Login Succeeded 13:20:00 nexus3.edgexfoundry.org:10002 13:20:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:20:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:20:01 Configure a credential helper to remove this warning. See 13:20:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:20:01 13:20:01 Login Succeeded 13:20:01 nexus3.edgexfoundry.org:10003 13:20:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:20:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:20:01 Configure a credential helper to remove this warning. See 13:20:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:20:01 13:20:01 Login Succeeded 13:20:01 nexus3.edgexfoundry.org:10004 13:20:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:20:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:20:02 Configure a credential helper to remove this warning. See 13:20:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:20:02 13:20:02 Login Succeeded 13:20:02 docker.io 13:20:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:20:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:20:03 Configure a credential helper to remove this warning. See 13:20:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:20:03 13:20:03 Login Succeeded 13:20:03 ---> docker-login.sh ends [Pipeline] } 13:20:03 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:20:03 ========================================================= 13:20:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 13:20:03 ========================================================= [Pipeline] isUnix [Pipeline] sh 13:20:04 + 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 . 13:20:04 Sending build context to Docker daemon 2.394MB 13:20:04 Step 1/8 : ARG BASE=golang:1.15-alpine 13:20:04 Step 2/8 : FROM ${BASE} 13:20:04 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:20:04 5f621e34cdf4: Pulling fs layer 13:20:04 a4357932f1b6: Pulling fs layer 13:20:04 18c013af1878: Pulling fs layer 13:20:04 00ac8860ef70: Pulling fs layer 13:20:04 63d7cb157983: Pulling fs layer 13:20:04 b116817d02f9: Pulling fs layer 13:20:04 745a02a5169b: Pulling fs layer 13:20:04 00ac8860ef70: Waiting 13:20:04 63d7cb157983: Waiting 13:20:04 b116817d02f9: Waiting 13:20:04 745a02a5169b: Waiting 13:20:04 a4357932f1b6: Verifying Checksum 13:20:04 a4357932f1b6: Download complete 13:20:04 18c013af1878: Download complete 13:20:04 63d7cb157983: Verifying Checksum 13:20:04 63d7cb157983: Download complete 13:20:05 b116817d02f9: Verifying Checksum 13:20:05 b116817d02f9: Download complete 13:20:05 5f621e34cdf4: Verifying Checksum 13:20:05 5f621e34cdf4: Download complete 13:20:06 5f621e34cdf4: Pull complete 13:20:06 a4357932f1b6: Pull complete 13:20:06 18c013af1878: Pull complete 13:20:07 745a02a5169b: Verifying Checksum 13:20:07 745a02a5169b: Download complete 13:20:09 00ac8860ef70: Verifying Checksum 13:20:09 00ac8860ef70: Download complete 13:20:19 00ac8860ef70: Pull complete 13:20:19 63d7cb157983: Pull complete 13:20:19 b116817d02f9: Pull complete 13:20:24 745a02a5169b: Pull complete 13:20:24 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 13:20:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 13:20:24 ---> b7e6874047d6 13:20:24 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 13:20:26 ---> Running in c388996bdd2d 13:20:26 Removing intermediate container c388996bdd2d 13:20:26 ---> 7ccab3166f52 13:20:26 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:20:27 ---> Running in ee29f45b1fd8 13:20:28 Running on prd-centos7-docker-4c-2g-15921 in /w/workspace/dgexfoundry_device-sdk-go_PR-650 [Pipeline] { [Pipeline] ws 13:20:28 Running in /w/workspace/device-sdk-go/9 [Pipeline] { [Pipeline] checkout 13:20:29 Removing intermediate container ee29f45b1fd8 13:20:29 ---> 46d299ff8d99 13:20:29 Step 5/8 : RUN apk add --no-cache make git 13:20:29 ---> Running in 274014eb980c 13:20:30 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 13:20:30 using credential edgex-jenkins-ssh 13:20:30 Cloning the remote Git repository 13:20:31 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 13:20:30 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 13:20:30 > git init /w/workspace/device-sdk-go/9 # timeout=10 13:20:31 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 13:20:31 > git --version # timeout=10 13:20:31 > git --version # 'git version 2.24.3' 13:20:31 using GIT_SSH to set credentials SSH Credentials for GitHub 13:20:31 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:20:31 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 13:20:31 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:20:31 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 13:20:31 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 13:20:31 using GIT_SSH to set credentials SSH Credentials for GitHub 13:20:31 > 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 13:20:31 OK: 142 MiB in 39 packages 13:20:32 Merging remotes/origin/master commit c21ff6277396b81a1001baea71274dd2dd19f737 into PR head commit 1fe98612d91ad7067da65148900ec19dd95b7b76 13:20:32 Merge succeeded, producing 1fe98612d91ad7067da65148900ec19dd95b7b76 13:20:32 Checking out Revision 1fe98612d91ad7067da65148900ec19dd95b7b76 (PR-650) 13:20:32 > git config core.sparsecheckout # timeout=10 13:20:32 > git checkout -f 1fe98612d91ad7067da65148900ec19dd95b7b76 # timeout=10 13:20:32 > git remote # timeout=10 13:20:32 > git config --get remote.origin.url # timeout=10 13:20:32 using GIT_SSH to set credentials SSH Credentials for GitHub 13:20:32 > git merge c21ff6277396b81a1001baea71274dd2dd19f737 # timeout=10 13:20:32 > git rev-parse HEAD^{commit} # timeout=10 13:20:32 > git config core.sparsecheckout # timeout=10 13:20:32 > git checkout -f 1fe98612d91ad7067da65148900ec19dd95b7b76 # timeout=10 13:20:33 Removing intermediate container 274014eb980c 13:20:33 ---> f4e307fea7cf 13:20:33 Step 6/8 : WORKDIR /device-sdk-go 13:20:33 ---> Running in 407499c094b7 13:20:33 Removing intermediate container 407499c094b7 13:20:33 ---> cfe24894390a 13:20:33 Step 7/8 : COPY . . 13:20:35 ---> 18a415a32680 13:20:35 Step 8/8 : RUN go mod download 13:20:35 ---> Running in 59fc875fba32 13:20:36 Commit message: "feat(sdk): Implement Device AutoEvents SDK APIs" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:20:37 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 13:20:37 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 13:20:37 + true 13:20:37 + sudo service docker restart 13:20:37 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 13:20:38 provisioning config files... 13:20:38 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/9@tmp/config4703198253489037594tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:20:39 ---> docker-login.sh 13:20:39 nexus3.edgexfoundry.org:10001 13:20:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:20:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:20:39 Configure a credential helper to remove this warning. See 13:20:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:20:39 13:20:39 Login Succeeded 13:20:39 nexus3.edgexfoundry.org:10002 13:20:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:20:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:20:39 Configure a credential helper to remove this warning. See 13:20:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:20:39 13:20:39 Login Succeeded 13:20:39 nexus3.edgexfoundry.org:10003 13:20:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:20:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:20:40 Configure a credential helper to remove this warning. See 13:20:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:20:40 13:20:40 Login Succeeded 13:20:40 nexus3.edgexfoundry.org:10004 13:20:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:20:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:20:40 Configure a credential helper to remove this warning. See 13:20:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:20:40 13:20:40 Login Succeeded 13:20:40 docker.io 13:20:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:20:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:20:40 Configure a credential helper to remove this warning. See 13:20:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:20:40 13:20:40 Login Succeeded 13:20:40 ---> docker-login.sh ends [Pipeline] } 13:20:40 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:20:40 ========================================================= 13:20:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 13:20:40 ========================================================= [Pipeline] isUnix [Pipeline] sh 13:20:41 + 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 . 13:20:41 Sending build context to Docker daemon 2.393MB 13:20:41 Step 1/8 : ARG BASE=golang:1.15-alpine 13:20:41 Step 2/8 : FROM ${BASE} 13:20:41 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 13:20:41 188c0c94c7c5: Pulling fs layer 13:20:41 0ef7d3d256c8: Pulling fs layer 13:20:41 de9db76c5a1d: Pulling fs layer 13:20:41 bca2f99d35d6: Pulling fs layer 13:20:41 93359f2a8cfa: Pulling fs layer 13:20:41 7c6f9722023f: Pulling fs layer 13:20:41 a35cf1a2eb13: Pulling fs layer 13:20:41 93359f2a8cfa: Waiting 13:20:41 7c6f9722023f: Waiting 13:20:41 a35cf1a2eb13: Waiting 13:20:41 bca2f99d35d6: Waiting 13:20:41 de9db76c5a1d: Verifying Checksum 13:20:41 de9db76c5a1d: Download complete 13:20:41 0ef7d3d256c8: Verifying Checksum 13:20:41 0ef7d3d256c8: Download complete 13:20:41 93359f2a8cfa: Verifying Checksum 13:20:41 93359f2a8cfa: Download complete 13:20:41 7c6f9722023f: Download complete 13:20:41 188c0c94c7c5: Verifying Checksum 13:20:41 188c0c94c7c5: Download complete 13:20:41 188c0c94c7c5: Pull complete 13:20:42 0ef7d3d256c8: Pull complete 13:20:42 de9db76c5a1d: Pull complete 13:20:44 a35cf1a2eb13: Verifying Checksum 13:20:44 a35cf1a2eb13: Download complete 13:20:44 bca2f99d35d6: Verifying Checksum 13:20:44 bca2f99d35d6: Download complete 13:20:49 bca2f99d35d6: Pull complete 13:20:49 93359f2a8cfa: Pull complete 13:20:49 7c6f9722023f: Pull complete 13:20:55 a35cf1a2eb13: Pull complete 13:20:55 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 13:20:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 13:20:55 ---> a62c8e92a672 13:20:55 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 13:20:55 ---> Running in 6b1dee569a34 13:20:56 Removing intermediate container 6b1dee569a34 13:20:56 ---> 5216ce8772a2 13:20:56 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:20:56 ---> Running in df1661da7046 13:20:57 Removing intermediate container df1661da7046 13:20:57 ---> bfdf5cdc75b1 13:20:57 Step 5/8 : RUN apk add --no-cache make git 13:20:57 ---> Running in 7d4a4818c050 13:20:57 Removing intermediate container 59fc875fba32 13:20:57 ---> 35b62edeb39d 13:20:57 Successfully built 35b62edeb39d 13:20:57 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 13:20:57 + docker inspect -f . ci-base-image-arm64 13:20:57 . [Pipeline] withDockerContainer 13:20:58 prd-ubuntu18.04-docker-arm64-4c-16g-15920 does not seem to be running inside a container 13:20:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@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-arm64 cat 13:20:58 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 13:20:59 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 13:20:59 OK: 166 MiB in 39 packages 13:20:59 $ docker top 3904a263384ca029f9b012e4e3a0fd8b385bf18f669cfd8d21dd788b9a1f0765 -eo pid,comm [Pipeline] { 13:21:00 Removing intermediate container 7d4a4818c050 13:21:00 ---> a0c4e934dfce 13:21:00 Step 6/8 : WORKDIR /device-sdk-go 13:21:00 ---> Running in 51cc82e25cd9 13:21:00 Removing intermediate container 51cc82e25cd9 13:21:00 ---> 69245d375c16 13:21:00 Step 7/8 : COPY . . [Pipeline] sh 13:21:00 + go version 13:21:00 go version go1.15.5 linux/arm64 [Pipeline] } 13:21:00 $ docker stop --time=1 3904a263384ca029f9b012e4e3a0fd8b385bf18f669cfd8d21dd788b9a1f0765 13:21:01 ---> cfec25eaecc7 13:21:01 Step 8/8 : RUN go mod download 13:21:01 ---> Running in de5a2803a6b2 13:21:02 $ docker rm -f 3904a263384ca029f9b012e4e3a0fd8b385bf18f669cfd8d21dd788b9a1f0765 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 13:21:03 + docker inspect -f . ci-base-image-arm64 13:21:03 . [Pipeline] withDockerContainer 13:21:03 prd-ubuntu18.04-docker-arm64-4c-16g-15920 does not seem to be running inside a container 13:21:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@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-arm64 cat 13:21:05 $ docker top 0e26f484816ff24ac034c9a2521d6b46d641817a719cf5962931bdf441b6c35d -eo pid,comm [Pipeline] { [Pipeline] sh 13:21:06 + make test 13:21:06 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 13:21:19 Removing intermediate container de5a2803a6b2 13:21:19 ---> e50c46a22208 13:21:19 Successfully built e50c46a22208 13:21:19 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 13:21:19 + docker inspect -f . ci-base-image-x86_64 13:21:19 . [Pipeline] withDockerContainer 13:21:20 prd-centos7-docker-4c-2g-15921 does not seem to be running inside a container 13:21:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@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-x86_64 cat 13:21:20 $ docker top 4d85089a79ff0febe2e8e2746ed7b835087544900d2935413c5ec5271db6b80e -eo pid,comm [Pipeline] { [Pipeline] sh 13:21:21 + go version 13:21:21 go version go1.15.5 linux/amd64 [Pipeline] } 13:21:21 $ docker stop --time=1 4d85089a79ff0febe2e8e2746ed7b835087544900d2935413c5ec5271db6b80e 13:21:22 $ docker rm -f 4d85089a79ff0febe2e8e2746ed7b835087544900d2935413c5ec5271db6b80e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 13:21:23 + docker inspect -f . ci-base-image-x86_64 13:21:23 . [Pipeline] withDockerContainer 13:21:23 prd-centos7-docker-4c-2g-15921 does not seem to be running inside a container 13:21:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@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-x86_64 cat 13:21:24 $ docker top a822bfd515242ff66f649426506ca6d67197e979f39b6da548f33ef68fd0bb70 -eo pid,comm [Pipeline] { [Pipeline] sh 13:21:25 + make test 13:21:25 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 13:21:28 ? github.com/edgexfoundry/device-sdk-go [no test files] 13:21:33 ? github.com/edgexfoundry/device-sdk-go [no test files] 13:21:48 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 13:21:48 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 13:21:48 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 13:21:48 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.070s coverage: 20.0% of statements 13:21:49 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.428s coverage: 97.1% of statements 13:22:07 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 13:22:07 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 13:22:07 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 13:22:07 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.147s coverage: 20.0% of statements 13:22:10 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.108s coverage: 97.1% of statements 13:22:21 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.059s coverage: 9.4% of statements 13:22:21 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.048s coverage: 21.9% of statements 13:22:21 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 13:22:21 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.215s coverage: 42.5% of statements 13:22:21 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 13:22:21 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.280s coverage: 68.9% of statements 13:22:21 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 13:22:21 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 13:22:21 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 13:22:21 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 13:22:21 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.074s coverage: 52.6% of statements 13:22:21 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 13:22:21 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 13:22:21 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 13:22:21 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.245s coverage: 68.9% of statements 13:22:21 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.055s coverage: 4.3% of statements 13:22:21 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 13:22:21 GO111MODULE=on go vet ./... 13:22:27 gofmt -l . 13:22:27 [ "`gofmt -l .`" = "" ] 13:22:27 ./bin/test-attribution-txt.sh 13:22:27 ./bin/test-go-mod-tidy.sh [Pipeline] } 13:22:27 $ docker stop --time=1 a822bfd515242ff66f649426506ca6d67197e979f39b6da548f33ef68fd0bb70 13:22:29 $ docker rm -f a822bfd515242ff66f649426506ca6d67197e979f39b6da548f33ef68fd0bb70 [Pipeline] // withDockerContainer [Pipeline] sh 13:22:30 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:22:30 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 13:22:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:22:33 + ls -al . 13:22:33 total 208 13:22:33 drwxrwxr-x. 10 jenkins jenkins 4096 Dec 14 13:22 . 13:22:33 drwxrwxr-x. 4 jenkins jenkins 28 Dec 14 13:20 .. 13:22:33 drwxrwxr-x. 2 jenkins jenkins 64 Dec 14 13:20 bin 13:22:33 -rw-r--r--. 1 jenkins jenkins 128984 Dec 14 13:22 coverage.out 13:22:33 -rw-rw-r--. 1 jenkins jenkins 936 Dec 14 13:20 Dockerfile.build 13:22:33 -rw-rw-r--. 1 jenkins jenkins 140 Dec 14 13:20 .dockerignore 13:22:33 drwxrwxr-x. 4 jenkins jenkins 48 Dec 14 13:20 example 13:22:33 drwxrwxr-x. 8 jenkins jenkins 179 Dec 14 13:20 .git 13:22:33 drwxrwxr-x. 2 jenkins jenkins 103 Dec 14 13:20 .github 13:22:33 -rw-rw-r--. 1 jenkins jenkins 138 Dec 14 13:20 .gitignore 13:22:33 -rw-r--r--. 1 jenkins jenkins 518 Dec 14 13:22 go.mod 13:22:33 -rw-r--r--. 1 jenkins jenkins 13631 Dec 14 13:22 go.sum 13:22:33 drwxrwxr-x. 15 jenkins jenkins 211 Dec 14 13:20 internal 13:22:33 -rw-rw-r--. 1 jenkins jenkins 901 Dec 14 13:20 Jenkinsfile 13:22:33 -rw-rw-r--. 1 jenkins jenkins 11341 Dec 14 13:20 LICENSE 13:22:33 -rw-rw-r--. 1 jenkins jenkins 1013 Dec 14 13:20 Makefile 13:22:33 drwxrwxr-x. 4 jenkins jenkins 26 Dec 14 13:20 openapi 13:22:33 drwxrwxr-x. 5 jenkins jenkins 50 Dec 14 13:20 pkg 13:22:33 -rw-rw-r--. 1 jenkins jenkins 5897 Dec 14 13:20 README.md 13:22:33 -rw-rw-r--. 1 jenkins jenkins 4291 Dec 14 13:20 RELEASE-NOTES.txt 13:22:33 drwxrwxr-x. 4 jenkins jenkins 54 Dec 14 13:20 snap 13:22:33 -rw-rw-r--. 1 jenkins jenkins 5 Dec 14 13:17 VERSION 13:22:33 -rw-rw-r--. 1 jenkins jenkins 222 Dec 14 13:20 version.go [Pipeline] isUnix [Pipeline] sh 13:22:33 + 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=1fe98612d91ad7067da65148900ec19dd95b7b76 --label arch=amd64 --label version=0.0.0 . 13:22:34 Sending build context to Docker daemon 2.522MB 13:22:34 Step 1/24 : ARG BASE=golang:1.15-alpine 13:22:34 Step 2/24 : FROM ${BASE} AS builder 13:22:34 ---> e50c46a22208 13:22:34 Step 3/24 : ARG MAKE='make build' 13:22:34 ---> Running in 59aad5542170 13:22:35 Removing intermediate container 59aad5542170 13:22:35 ---> 83cf908664e9 13:22:35 Step 4/24 : WORKDIR /device-sdk-go 13:22:35 ---> Running in 211d46a9cbed 13:22:35 Removing intermediate container 211d46a9cbed 13:22:35 ---> 224bb0e831ca 13:22:35 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 13:22:35 ---> Running in f4664dfde413 13:22:35 Removing intermediate container f4664dfde413 13:22:35 ---> e9457b486c17 13:22:35 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:22:35 ---> Running in b149c954a8cf 13:22:36 Removing intermediate container b149c954a8cf 13:22:36 ---> 48be06514366 13:22:36 Step 7/24 : RUN apk add --update --no-cache make git 13:22:36 ---> Running in 46375ebee64b 13:22:37 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 13:22:37 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 13:22:37 OK: 166 MiB in 39 packages 13:22:38 Removing intermediate container 46375ebee64b 13:22:38 ---> 4a3ef828daae 13:22:38 Step 8/24 : COPY . . 13:22:39 ---> 0f2eb3a3130b 13:22:39 Step 9/24 : RUN ${MAKE} 13:22:39 ---> Running in 823468b1612b 13:22:40 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 13:22:42 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.134s coverage: 9.4% of statements 13:22:42 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.141s coverage: 21.9% of statements 13:22:42 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 13:22:42 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.644s coverage: 42.5% of statements 13:22:42 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 13:22:42 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.772s coverage: 68.9% of statements 13:22:42 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 13:22:42 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 13:22:42 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 13:22:42 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 13:22:42 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.171s coverage: 52.6% of statements 13:22:42 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 13:22:42 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 13:22:42 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 13:22:42 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.717s coverage: 68.9% of statements 13:22:42 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.140s coverage: 4.3% of statements 13:22:42 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 13:22:42 GO111MODULE=on go vet ./... 13:22:48 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 13:22:49 Removing intermediate container 823468b1612b 13:22:49 ---> 8d3b2b777240 13:22:49 Step 10/24 : FROM scratch 13:22:49 ---> 13:22:49 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 13:22:49 ---> Running in 4741d982c089 13:22:49 Removing intermediate container 4741d982c089 13:22:49 ---> 9fe5d9edf795 13:22:49 Step 12/24 : ENV APP_PORT=49990 13:22:49 ---> Running in 5734fc864287 13:22:50 Removing intermediate container 5734fc864287 13:22:50 ---> 78b7c11d622b 13:22:50 Step 13/24 : EXPOSE $APP_PORT 13:22:50 ---> Running in 19b67b985f54 13:22:50 Removing intermediate container 19b67b985f54 13:22:50 ---> f3bb7bb88b9f 13:22:50 Step 14/24 : WORKDIR / 13:22:50 ---> Running in 64a423686106 13:22:50 Removing intermediate container 64a423686106 13:22:50 ---> 26b5f4a7031a 13:22:50 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 13:22:51 ---> b27da6b4f2ae 13:22:51 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 13:22:51 ---> 8ba2ac45fca7 13:22:51 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 13:22:51 ---> d52975e13669 13:22:51 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 13:22:51 ---> e62ce783f57e 13:22:51 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 13:22:52 ---> bf488e811eac 13:22:52 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 13:22:52 ---> Running in e8ba2db38eae 13:22:52 Removing intermediate container e8ba2db38eae 13:22:52 ---> b51450545a71 13:22:52 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 13:22:52 ---> Running in 46146ec586e7 13:22:52 Removing intermediate container 46146ec586e7 13:22:52 ---> 32bb30e98e4a 13:22:52 Step 22/24 : LABEL arch=amd64 13:22:52 ---> Running in f4f9ea50bc29 13:22:52 Removing intermediate container f4f9ea50bc29 13:22:52 ---> 2d4646f39184 13:22:52 Step 23/24 : LABEL git_sha=1fe98612d91ad7067da65148900ec19dd95b7b76 13:22:52 ---> Running in 21579b99b38e 13:22:53 Removing intermediate container 21579b99b38e 13:22:53 ---> bee80404a7a0 13:22:53 Step 24/24 : LABEL version=0.0.0 13:22:53 ---> Running in 1ee3ac58884b 13:22:53 Removing intermediate container 1ee3ac58884b 13:22:53 ---> 39fb147d3935 13:22:53 [Warning] One or more build-args [ARCH] were not consumed 13:22:53 Successfully built 39fb147d3935 13:22:53 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] } 13:23:09 gofmt -l . 13:23:09 [ "`gofmt -l .`" = "" ] 13:23:09 ./bin/test-attribution-txt.sh 13:23:09 ./bin/test-go-mod-tidy.sh [Pipeline] } 13:23:09 $ docker stop --time=1 0e26f484816ff24ac034c9a2521d6b46d641817a719cf5962931bdf441b6c35d 13:23:12 $ docker rm -f 0e26f484816ff24ac034c9a2521d6b46d641817a719cf5962931bdf441b6c35d [Pipeline] // withDockerContainer [Pipeline] sh 13:23:13 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:23:13 Warning: overwriting stash ‘coverage-report’ 13:23:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:23:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:23:15 + ls -al . 13:23:15 total 244 13:23:15 drwxrwxr-x 10 jenkins jenkins 4096 Dec 14 13:23 . 13:23:15 drwxrwxr-x 4 jenkins jenkins 4096 Dec 14 13:19 .. 13:23:15 -rw-rw-r-- 1 jenkins jenkins 140 Dec 14 13:19 .dockerignore 13:23:15 drwxrwxr-x 8 jenkins jenkins 4096 Dec 14 13:19 .git 13:23:15 drwxrwxr-x 2 jenkins jenkins 4096 Dec 14 13:19 .github 13:23:15 -rw-rw-r-- 1 jenkins jenkins 138 Dec 14 13:19 .gitignore 13:23:15 -rw-rw-r-- 1 jenkins jenkins 936 Dec 14 13:19 Dockerfile.build 13:23:15 -rw-rw-r-- 1 jenkins jenkins 901 Dec 14 13:19 Jenkinsfile 13:23:15 -rw-rw-r-- 1 jenkins jenkins 11341 Dec 14 13:19 LICENSE 13:23:15 -rw-rw-r-- 1 jenkins jenkins 1013 Dec 14 13:19 Makefile 13:23:15 -rw-rw-r-- 1 jenkins jenkins 5897 Dec 14 13:19 README.md 13:23:15 -rw-rw-r-- 1 jenkins jenkins 4291 Dec 14 13:19 RELEASE-NOTES.txt 13:23:15 -rw-rw-r-- 1 jenkins jenkins 5 Dec 14 13:17 VERSION 13:23:15 drwxrwxr-x 2 jenkins jenkins 4096 Dec 14 13:19 bin 13:23:15 -rw-r--r-- 1 jenkins jenkins 128984 Dec 14 13:22 coverage.out 13:23:15 drwxrwxr-x 4 jenkins jenkins 4096 Dec 14 13:19 example 13:23:15 -rw-r--r-- 1 jenkins jenkins 518 Dec 14 13:23 go.mod 13:23:15 -rw-r--r-- 1 jenkins jenkins 13631 Dec 14 13:23 go.sum 13:23:15 drwxrwxr-x 15 jenkins jenkins 4096 Dec 14 13:19 internal 13:23:15 drwxrwxr-x 4 jenkins jenkins 4096 Dec 14 13:19 openapi 13:23:15 drwxrwxr-x 5 jenkins jenkins 4096 Dec 14 13:19 pkg 13:23:15 drwxrwxr-x 4 jenkins jenkins 4096 Dec 14 13:19 snap 13:23:15 -rw-rw-r-- 1 jenkins jenkins 222 Dec 14 13:19 version.go [Pipeline] isUnix [Pipeline] sh 13:23:15 + 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=1fe98612d91ad7067da65148900ec19dd95b7b76 --label arch=arm64 --label version=0.0.0 . 13:23:16 Sending build context to Docker daemon 2.523MB 13:23:16 Step 1/24 : ARG BASE=golang:1.15-alpine 13:23:16 Step 2/24 : FROM ${BASE} AS builder 13:23:16 ---> 35b62edeb39d 13:23:16 Step 3/24 : ARG MAKE='make build' 13:23:16 ---> Running in 6c76a83c2d8e 13:23:17 Removing intermediate container 6c76a83c2d8e 13:23:17 ---> a1b1b78481a5 13:23:17 Step 4/24 : WORKDIR /device-sdk-go 13:23:17 ---> Running in 81fcd1c4a3a3 13:23:17 Removing intermediate container 81fcd1c4a3a3 13:23:17 ---> b5df213fa034 13:23:17 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 13:23:17 ---> Running in f3ba6fc01a15 13:23:18 Removing intermediate container f3ba6fc01a15 13:23:18 ---> db850e05954e 13:23:18 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:23:18 ---> Running in 3ba88b84fd11 13:23:20 Removing intermediate container 3ba88b84fd11 13:23:20 ---> 00cbb049c8f8 13:23:20 Step 7/24 : RUN apk add --update --no-cache make git 13:23:20 ---> Running in f1690abc54da 13:23:21 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 13:23:22 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 13:23:23 OK: 142 MiB in 39 packages 13:23:24 Removing intermediate container f1690abc54da 13:23:24 ---> e9b43b655833 13:23:24 Step 8/24 : COPY . . 13:23:25 ---> 98f8063800dc 13:23:25 Step 9/24 : RUN ${MAKE} 13:23:25 ---> Running in 865793144cce 13:23:27 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 13:23:54 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 13:23:54 Removing intermediate container 865793144cce 13:23:54 ---> a1a30e157bc9 13:23:54 Step 10/24 : FROM scratch 13:23:54 ---> 13:23:54 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 13:23:54 ---> Running in 8daaca9979c6 13:23:54 Removing intermediate container 8daaca9979c6 13:23:54 ---> 2d60bdea5aa6 13:23:54 Step 12/24 : ENV APP_PORT=49990 13:23:54 ---> Running in 2435ed9827d5 13:23:54 Removing intermediate container 2435ed9827d5 13:23:54 ---> 37dad2ac4352 13:23:54 Step 13/24 : EXPOSE $APP_PORT 13:23:54 ---> Running in 7c8dd4fa9d48 13:23:54 Removing intermediate container 7c8dd4fa9d48 13:23:54 ---> f03ce8a24595 13:23:54 Step 14/24 : WORKDIR / 13:23:54 ---> Running in 82ce61e9a634 13:23:55 Removing intermediate container 82ce61e9a634 13:23:55 ---> aac5d4247f79 13:23:55 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 13:23:56 ---> cdeb4e1dcbe1 13:23:56 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 13:23:57 ---> 279844a9d042 13:23:57 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 13:23:57 ---> 3ae9f165c0fe 13:23:57 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 13:23:58 ---> 7c504ad82faa 13:23:58 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 13:23:59 ---> 0ed1f40f1acf 13:23:59 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 13:23:59 ---> Running in 2ad38f8a600b 13:23:59 Removing intermediate container 2ad38f8a600b 13:23:59 ---> 79cd775bfeb5 13:23:59 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 13:23:59 ---> Running in fdc3741956b8 13:24:00 Removing intermediate container fdc3741956b8 13:24:00 ---> 7b0dd65238c8 13:24:00 Step 22/24 : LABEL arch=arm64 13:24:00 ---> Running in 36d020abc61e 13:24:01 Removing intermediate container 36d020abc61e 13:24:01 ---> 70a7360eaddb 13:24:01 Step 23/24 : LABEL git_sha=1fe98612d91ad7067da65148900ec19dd95b7b76 13:24:01 ---> Running in f5a7fdeca47d 13:24:01 Removing intermediate container f5a7fdeca47d 13:24:01 ---> 07c9cd908143 13:24:01 Step 24/24 : LABEL version=0.0.0 13:24:01 ---> Running in a74f11e65c5d 13:24:02 Removing intermediate container a74f11e65c5d 13:24:02 ---> 4b3b77de2677 13:24:02 [Warning] One or more build-args [ARCH] were not consumed 13:24:02 Successfully built 4b3b77de2677 13:24:02 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 13:24:04 provisioning config files... 13:24:04 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-650@tmp/config6300523733153680403tmp [Pipeline] { [Pipeline] sh 13:24:04 + set +x 13:24:04 + curl -s https://codecov.io/bash 13:24:04 + bash -s -- 13:24:04 13:24:04 _____ _ 13:24:04 / ____| | | 13:24:04 | | ___ __| | ___ ___ _____ __ 13:24:04 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 13:24:04 | |___| (_) | (_| | __/ (_| (_) \ V / 13:24:04 \_____\___/ \__,_|\___|\___\___/ \_/ 13:24:04 Bash-20201130-cc6d3fe 13:24:04 13:24:04 13:24:04 ==> Jenkins CI detected. 13:24:04 project root: . 13:24:04 --> token set from env 13:24:04 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 13:24:04 ==> Running gcov in . (disable via -X gcov) 13:24:04 ==> Python coveragepy not found 13:24:04 ==> Searching for coverage reports in: 13:24:04 + . 13:24:05 -> Found 1 reports 13:24:05 ==> Detecting git/mercurial file structure 13:24:05 ==> Reading reports 13:24:05 + ./coverage.out bytes=128984 13:24:05 ==> Appending adjustments 13:24:05 https://docs.codecov.io/docs/fixing-reports 13:24:06 + Found adjustments 13:24:06 ==> Gzipping contents 13:24:06 24K /tmp/codecov.0cx98Y.gz 13:24:06 ==> Uploading reports 13:24:06 url: https://codecov.io 13:24:06 query: branch=PR-650&commit=1fe98612d91ad7067da65148900ec19dd95b7b76&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-650%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=650&job=&cmd_args= 13:24:06 -> Pinging Codecov 13:24:06 https://codecov.io/upload/v4?package=bash-20201130-cc6d3fe&token=secret&branch=PR-650&commit=1fe98612d91ad7067da65148900ec19dd95b7b76&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-650%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=650&job=&cmd_args= 13:24:06 -> Uploading to 13:24:06 https://storage.googleapis.com/codecov/v4/raw/2020-12-14/7E55EF52A471D76F132DFD9A03CDDE97/1fe98612d91ad7067da65148900ec19dd95b7b76/492bbe66-70fa-4193-9982-0b570d14eace.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201214%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201214T132406Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9b8860e7c92b963f64fe4092d433b806b975537c5ce7d78d426bb250f87ba49a 13:24:06 % Total % Received % Xferd Average Speed Time Time Time Current 13:24:06 Dload Upload Total Spent Left Speed 13:24:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21031 0 0 100 21031 0 36037 --:--:-- --:--:-- --:--:-- 36073 13:24:07 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/1fe98612d91ad7067da65148900ec19dd95b7b76 [Pipeline] } 13:24:07 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 13:24:10 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:24:10 ---> package-listing.sh 13:24:10 ++ facter osfamily 13:24:10 ++ tr '[:upper:]' '[:lower:]' 13:24:10 + OS_FAMILY=redhat 13:24:10 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-650 13:24:10 + START_PACKAGES=/tmp/packages_start.txt 13:24:10 + END_PACKAGES=/tmp/packages_end.txt 13:24:10 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:24:10 + PACKAGES=/tmp/packages_start.txt 13:24:10 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-650 ']' 13:24:10 + PACKAGES=/tmp/packages_end.txt 13:24:10 + case "${OS_FAMILY}" in 13:24:10 + rpm -qa 13:24:10 + sort 13:24:17 + '[' -f /tmp/packages_start.txt ']' 13:24:17 + '[' -f /tmp/packages_end.txt ']' 13:24:17 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:24:17 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-650 ']' 13:24:17 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-650/archives/ 13:24:17 + 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 13:24:17 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 13:24:18 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 13:24:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 13:24:18 13:24:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 13:24:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 13:24:19 alpine: Pulling from edgex-lftools-log-publisher 13:24:19 df20fa9351a1: Pulling fs layer 13:24:19 36b3adc4ff6f: Pulling fs layer 13:24:19 8ad3a11d3b57: Pulling fs layer 13:24:19 46f8f816bc3b: Pulling fs layer 13:24:19 93b61091891f: Pulling fs layer 13:24:19 93b9cdb0e59b: Pulling fs layer 13:24:19 5e14af77c1be: Pulling fs layer 13:24:19 01666e4c0597: Pulling fs layer 13:24:19 aa168da1d23b: Pulling fs layer 13:24:19 93b9cdb0e59b: Waiting 13:24:19 5e14af77c1be: Waiting 13:24:19 01666e4c0597: Waiting 13:24:19 aa168da1d23b: Waiting 13:24:19 46f8f816bc3b: Waiting 13:24:19 93b61091891f: Waiting 13:24:19 36b3adc4ff6f: Verifying Checksum 13:24:19 36b3adc4ff6f: Download complete 13:24:19 46f8f816bc3b: Download complete 13:24:19 df20fa9351a1: Download complete 13:24:19 93b9cdb0e59b: Download complete 13:24:19 5e14af77c1be: Verifying Checksum 13:24:19 5e14af77c1be: Download complete 13:24:19 01666e4c0597: Verifying Checksum 13:24:19 01666e4c0597: Download complete 13:24:19 df20fa9351a1: Pull complete 13:24:20 36b3adc4ff6f: Pull complete 13:24:20 93b61091891f: Verifying Checksum 13:24:20 93b61091891f: Download complete 13:24:20 8ad3a11d3b57: Verifying Checksum 13:24:20 8ad3a11d3b57: Download complete 13:24:22 8ad3a11d3b57: Pull complete 13:24:22 46f8f816bc3b: Pull complete 13:24:23 93b61091891f: Pull complete 13:24:24 93b9cdb0e59b: Pull complete 13:24:24 aa168da1d23b: Verifying Checksum 13:24:24 aa168da1d23b: Download complete 13:24:24 5e14af77c1be: Pull complete 13:24:24 01666e4c0597: Pull complete 13:24:37 aa168da1d23b: Pull complete 13:24:37 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 13:24:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 13:24:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 13:24:37 prd-centos7-docker-4c-2g-15919 does not seem to be running inside a container 13:24:37 $ 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:24:41 $ docker top 62bb1c2adf2ab8e97cfb0a5705432e527813514988f5d57769c2923cc9e232a7 -eo pid,comm [Pipeline] { [Pipeline] sh 13:24:42 + touch /tmp/pre-build-complete [Pipeline] sh 13:24:42 + mkdir -p /var/log/sa [Pipeline] sh 13:24:43 + ls /var/log/sa-host 13:24:43 + sadf -c /var/log/sa-host/sa14 13:24:43 file_magic: OK 13:24:43 HZ: Using current value: 100 13:24:43 file_header: OK 13:24:43 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:24:43 Statistics: 13:24:43 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 13:24:43 File successfully converted to sysstat format version 12.2.1 13:24:43 + sadf -c /var/log/sa-host/sa23 13:24:43 file_magic: OK 13:24:43 HZ: Using current value: 100 13:24:43 file_header: OK 13:24:43 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:24:43 Statistics: 13:24:43 Hnuu...uuuununununu... 13:24:43 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:24:43 provisioning config files... 13:24:43 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-650@tmp/config4749582133905942488tmp [Pipeline] { [Pipeline] echo 13:24:43 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:24:44 ---> create-netrc.sh [Pipeline] } 13:24:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 13:24:44 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 13:24:45 ---> python-tools-install.sh [Pipeline] echo 13:24:45 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:24:45 ---> sudo-logs.sh 13:24:45 Archiving 'sudo' log.. [Pipeline] echo 13:24:45 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:24:45 ---> job-cost.sh 13:24:46 lf-activate-venv: SKIPPING 13:24:46 INFO: No Stack... 13:24:47 INFO: Retrieving Pricing Info for: v1-standard-2 13:24:47 INFO: Archiving Costs [Pipeline] echo 13:24:47 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:24:48 ---> logs-deploy.sh 13:24:48 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-650/9 13:24:48 INFO: archiving workspace using pattern(s): 13:24:50 Archives upload complete. 13:24:50 INFO: archiving logs to Nexus 13:24:52 ---> uname -a: 13:24:52 Linux prd-centos7-docker-4c-2g-15919.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:24:52 13:24:52 13:24:52 ---> lscpu: 13:24:52 Architecture: x86_64 13:24:52 CPU op-mode(s): 32-bit, 64-bit 13:24:52 Byte Order: Little Endian 13:24:52 Address sizes: 40 bits physical, 48 bits virtual 13:24:52 CPU(s): 4 13:24:52 On-line CPU(s) list: 0-3 13:24:52 Thread(s) per core: 1 13:24:52 Core(s) per socket: 1 13:24:52 Socket(s): 4 13:24:52 NUMA node(s): 1 13:24:52 Vendor ID: GenuineIntel 13:24:52 CPU family: 6 13:24:52 Model: 44 13:24:52 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 13:24:52 Stepping: 1 13:24:52 CPU MHz: 2933.438 13:24:52 BogoMIPS: 5866.87 13:24:52 Virtualization: VT-x 13:24:52 Hypervisor vendor: KVM 13:24:52 Virtualization type: full 13:24:52 L1d cache: 128 KiB 13:24:52 L1i cache: 128 KiB 13:24:52 L2 cache: 16 MiB 13:24:52 L3 cache: 64 MiB 13:24:52 NUMA node0 CPU(s): 0-3 13:24:52 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 13:24:52 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 13:24:52 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 13:24:52 Vulnerability Meltdown: Mitigation; PTI 13:24:52 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 13:24:52 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 13:24:52 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 13:24:52 Vulnerability Srbds: Not affected 13:24:52 Vulnerability Tsx async abort: Not affected 13:24:52 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:24:52 13:24:52 13:24:52 ---> nproc: 13:24:52 4 13:24:52 13:24:52 13:24:52 ---> df -h: 13:24:52 Filesystem Size Used Available Use% Mounted on 13:24:52 overlay 50.0G 7.3G 42.7G 15% / 13:24:52 tmpfs 64.0M 0 64.0M 0% /dev 13:24:52 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 13:24:52 shm 64.0M 0 64.0M 0% /dev/shm 13:24:52 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 13:24:52 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 13:24:52 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 13:24:52 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 13:24:52 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 13:24:52 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 13:24:52 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 13:24:52 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 13:24:52 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-650 13:24:52 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-650@tmp 13:24:52 13:24:52 13:24:52 ---> free -m: 13:24:52 total used free shared buff/cache available 13:24:52 Mem: 1837 721 114 0 1001 1010 13:24:52 Swap: 1023 1 1022 13:24:52 13:24:52 13:24:52 ---> ip addr: 13:24:52 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 13:24:52 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 13:24:52 inet 127.0.0.1/8 scope host lo 13:24:52 valid_lft forever preferred_lft forever 13:24:52 inet6 ::1/128 scope host 13:24:52 valid_lft forever preferred_lft forever 13:24:52 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 13:24:52 link/ether fa:16:3e:8d:d5:f5 brd ff:ff:ff:ff:ff:ff 13:24:52 inet 10.30.123.72/23 brd 10.30.123.255 scope global dynamic eth0 13:24:52 valid_lft 85876sec preferred_lft 85876sec 13:24:52 inet6 fe80::f816:3eff:fe8d:d5f5/64 scope link 13:24:52 valid_lft forever preferred_lft forever 13:24:52 3: docker0: mtu 1500 qdisc noqueue state DOWN 13:24:52 link/ether 02:42:6c:10:b4:24 brd ff:ff:ff:ff:ff:ff 13:24:52 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 13:24:52 valid_lft forever preferred_lft forever 13:24:52 inet6 fe80::42:6cff:fe10:b424/64 scope link 13:24:52 valid_lft forever preferred_lft forever 13:24:52 13:24:52 13:24:52 ---> sar -b -r -n DEV: 13:24:52 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:24:52 13:24:52 13:15:53 LINUX RESTART (4 CPU) 13:24:52 13:24:52 13:17:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 13:24:52 13:18:01 34.91 12.64 22.27 0.00 4559.45 2618.96 0.00 13:24:52 13:19:01 1.36 0.00 1.36 0.00 0.00 25.05 0.00 13:24:52 13:20:01 0.60 0.00 0.60 0.00 0.00 6.39 0.00 13:24:52 13:21:01 0.30 0.00 0.30 0.00 0.00 5.00 0.00 13:24:52 13:22:01 0.23 0.00 0.23 0.00 0.00 3.03 0.00 13:24:52 13:23:02 0.28 0.00 0.28 0.00 0.00 3.34 0.00 13:24:52 13:24:01 0.30 0.00 0.30 0.00 0.00 2.98 0.00 13:24:52 Average: 5.44 1.81 3.63 0.00 653.12 381.70 0.00 13:24:52 13:24:52 13:17:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 13:24:52 13:18:01 134820 0 636888 33.85 2620 1107216 1157668 39.51 444940 1102188 8 13:24:52 13:19:01 148044 0 623600 33.14 2620 1107280 1071724 36.58 454292 1081912 20 13:24:52 13:20:01 146148 0 625548 33.25 2620 1107228 1072320 36.60 454756 1082896 8 13:24:52 13:21:01 144960 0 626732 33.31 2620 1107232 1072356 36.60 464736 1074316 8 13:24:52 13:22:01 146076 0 625612 33.25 2620 1107236 1072164 36.59 462892 1075128 16 13:24:52 13:23:02 146892 0 624792 33.21 2620 1107240 1072092 36.59 462384 1075128 16 13:24:52 13:24:01 146884 0 624796 33.21 2620 1107244 1072044 36.59 462152 1075124 12 13:24:52 Average: 144832 0 626853 33.32 2620 1107239 1084338 37.01 458022 1080956 13 13:24:52 13:24:52 13:17:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 13:24:52 13:18:01 eth0 111.67 88.86 472.98 49.62 0.00 0.00 0.00 0.00 13:24:52 13:18:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:24:52 13:18:01 docker0 8.73 7.25 1.33 20.56 0.00 0.00 0.00 0.00 13:24:52 13:19:01 eth0 0.77 0.08 0.06 0.02 0.00 0.00 0.00 0.00 13:24:52 13:19:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:24:52 13:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:24:52 13:20:01 eth0 2.56 1.13 3.20 0.25 0.00 0.00 0.00 0.00 13:24:52 13:20:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:24:52 13:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:24:52 13:21:01 eth0 0.57 0.40 0.30 0.21 0.00 0.00 0.00 0.00 13:24:52 13:21:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:24:52 13:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:24:52 13:22:01 eth0 0.22 0.20 0.08 0.07 0.00 0.00 0.00 0.00 13:24:52 13:22:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:24:52 13:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:24:52 13:23:02 eth0 0.20 0.17 0.07 0.01 0.00 0.00 0.00 0.00 13:24:52 13:23:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:24:52 13:23:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:24:52 13:24:01 eth0 0.02 0.02 0.00 0.00 0.00 0.00 0.00 0.00 13:24:52 13:24:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:24:52 13:24:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:24:52 Average: eth0 16.62 13.01 68.28 7.19 0.00 0.00 0.00 0.00 13:24:52 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:24:52 Average: docker0 1.25 1.04 0.19 2.94 0.00 0.00 0.00 0.00 13:24:52 13:24:52 13:24:52 ---> sar -P ALL: 13:24:52 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:24:52 13:24:52 13:15:53 LINUX RESTART (4 CPU) 13:24:52 13:24:52 13:17:01 CPU %user %nice %system %iowait %steal %idle 13:24:52 13:18:01 all 3.23 0.00 2.67 0.88 8.47 84.75 13:24:52 13:18:01 0 3.60 0.00 2.39 1.09 8.77 84.14 13:24:52 13:18:01 1 2.97 0.00 2.69 0.31 8.33 85.70 13:24:52 13:18:01 2 2.63 0.00 2.40 1.45 8.20 85.32 13:24:52 13:18:01 3 3.71 0.00 3.20 0.68 8.58 83.84 13:24:52 13:19:01 all 0.07 0.00 0.05 0.00 0.59 99.29 13:24:52 13:19:01 0 0.03 0.00 0.05 0.00 0.78 99.14 13:24:52 13:19:01 1 0.23 0.00 0.07 0.00 0.90 98.81 13:24:52 13:19:01 2 0.02 0.00 0.05 0.00 0.23 99.70 13:24:52 13:19:01 3 0.02 0.00 0.03 0.00 0.45 99.50 13:24:52 13:20:01 all 0.11 0.00 0.07 0.00 0.60 99.22 13:24:52 13:20:01 0 0.03 0.00 0.02 0.00 0.61 99.34 13:24:52 13:20:01 1 0.30 0.00 0.10 0.00 0.63 98.97 13:24:52 13:20:01 2 0.07 0.00 0.08 0.00 0.63 99.22 13:24:52 13:20:01 3 0.03 0.00 0.10 0.00 0.51 99.35 13:24:52 13:21:01 all 0.09 0.00 0.05 0.00 0.27 99.59 13:24:52 13:21:01 0 0.03 0.00 0.02 0.00 0.42 99.53 13:24:52 13:21:01 1 0.28 0.00 0.05 0.00 0.38 99.28 13:24:52 13:21:01 2 0.03 0.00 0.03 0.00 0.12 99.82 13:24:52 13:21:01 3 0.02 0.00 0.08 0.00 0.18 99.72 13:24:52 13:22:01 all 0.12 0.00 0.14 0.00 0.49 99.24 13:24:52 13:22:01 0 0.03 0.00 0.08 0.00 0.42 99.47 13:24:52 13:22:01 1 0.35 0.00 0.08 0.00 0.61 98.95 13:24:52 13:22:01 2 0.05 0.00 0.27 0.00 0.53 99.15 13:24:52 13:22:01 3 0.05 0.00 0.13 0.00 0.42 99.40 13:24:52 13:23:02 all 0.11 0.00 0.04 0.00 0.39 99.46 13:24:52 13:23:02 0 0.03 0.00 0.05 0.00 0.41 99.50 13:24:52 13:23:02 1 0.35 0.00 0.02 0.00 0.32 99.32 13:24:52 13:23:02 2 0.05 0.00 0.07 0.00 0.55 99.34 13:24:52 13:23:02 3 0.02 0.00 0.02 0.00 0.28 99.69 13:24:52 13:24:01 all 0.09 0.00 0.04 0.00 0.35 99.51 13:24:52 13:24:01 0 0.02 0.00 0.03 0.00 0.29 99.66 13:24:52 13:24:01 1 0.27 0.00 0.03 0.00 0.39 99.31 13:24:52 13:24:01 2 0.05 0.00 0.05 0.00 0.57 99.33 13:24:52 13:24:01 3 0.03 0.00 0.03 0.00 0.17 99.76 13:24:52 Average: all 0.55 0.00 0.44 0.13 1.61 97.26 13:24:52 Average: 0 0.55 0.00 0.38 0.16 1.69 97.21 13:24:52 Average: 1 0.69 0.00 0.44 0.05 1.67 97.16 13:24:52 Average: 2 0.42 0.00 0.43 0.21 1.56 97.39 13:24:52 Average: 3 0.56 0.00 0.52 0.10 1.52 97.30 13:24:52 13:24:52 13:24:52