Pull request #763 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 839fdd7188bef012f192c564795a109cda929347+d510da1b257a72a1ecadf2ee4e04e7d54b2df89d (15ab028e93a01ce3876d5d967c700f4088b43be1) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 69a7e166112f335804d9fea76440e5140e47f034 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 69a7e166112f335804d9fea76440e5140e47f034 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 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 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 # timeout=10 Commit message: "Add license check to tox" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-centos7-docker-4c-2g-23930 in /w/workspace/dgexfoundry_device-sdk-go_PR-763 [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-763 # 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/763/head:refs/remotes/origin/PR-763 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit d510da1b257a72a1ecadf2ee4e04e7d54b2df89d into PR head commit 839fdd7188bef012f192c564795a109cda929347 Merge succeeded, producing 839fdd7188bef012f192c564795a109cda929347 Checking out Revision 839fdd7188bef012f192c564795a109cda929347 (PR-763) > git config core.sparsecheckout # timeout=10 > git checkout -f 839fdd7188bef012f192c564795a109cda929347 # 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 d510da1b257a72a1ecadf2ee4e04e7d54b2df89d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 839fdd7188bef012f192c564795a109cda929347 # timeout=10 Commit message: "refactor: leverage go-mod-core-contracts constants" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:22:37 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:22:37 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { > git rev-list --no-walk 6314f6a1791ab47c2c0b5ee80d5fc0d231d945ca # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:22:37 ========================================================= 08:22:37 EdgeX Global Pipelines Version Info 08:22:37 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:22:39 ------------------- 08:22:39 stable info: 08:22:39 ------------------- 08:22:39 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:22:39 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 08:22:39 Message: update stable to v1.0.179 08:22:40 ------------------- 08:22:40 experimental info: 08:22:40 ------------------- 08:22:40 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:22:40 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 08:22:40 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:22:40 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 08:22:40 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 08:22:40 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:22:40 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:22:41 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:22:41 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 08:22:41 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 08:22:41 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 08:22:41 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 08:22:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:22:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:22:41 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 08:22:41 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:22:41 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:22:42 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:22:42 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 08:22:42 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:22:42 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:22:42 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:22:42 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:22:42 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 08:22:42 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 08:22:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:22:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:22:43 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 08:22:43 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 08:22:43 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 08:22:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-763 [Pipeline] echo 08:22:43 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-763 [Pipeline] echo 08:22:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-763 [Pipeline] echo 08:22:43 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 839fdd7188bef012f192c564795a109cda929347 [Pipeline] echo 08:22:43 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 839fdd7 [Pipeline] echo 08:22:44 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 08:22:44 provisioning config files... 08:22:44 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp/config6763852778513419454tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:22:44 ---> docker-login.sh 08:22:44 nexus3.edgexfoundry.org:10001 08:22:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:22:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:22:45 Configure a credential helper to remove this warning. See 08:22:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:22:45 08:22:45 Login Succeeded 08:22:45 nexus3.edgexfoundry.org:10002 08:22:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:22:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:22:45 Configure a credential helper to remove this warning. See 08:22:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:22:45 08:22:45 Login Succeeded 08:22:45 nexus3.edgexfoundry.org:10003 08:22:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:22:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:22:45 Configure a credential helper to remove this warning. See 08:22:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:22:45 08:22:45 Login Succeeded 08:22:45 nexus3.edgexfoundry.org:10004 08:22:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:22:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:22:45 Configure a credential helper to remove this warning. See 08:22:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:22:45 08:22:45 Login Succeeded 08:22:45 docker.io 08:22:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:22:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:22:46 Configure a credential helper to remove this warning. See 08:22:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:22:46 08:22:46 Login Succeeded 08:22:46 ---> docker-login.sh ends [Pipeline] } 08:22:46 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:22:47 + git log --format=format:%s -1 839fdd7188bef012f192c564795a109cda929347 [Pipeline] echo 08:22:47 GIT_COMMIT: 839fdd7188bef012f192c564795a109cda929347, Commit Message: refactor: leverage go-mod-core-contracts constants [Pipeline] echo 08:22:47 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 08:22:48 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:22:48 08:22:48 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 08:22:48 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:22:48 latest: Pulling from edgex-devops/git-semver 08:22:48 31603596830f: Pulling fs layer 08:22:48 2a8b12db71e7: Pulling fs layer 08:22:48 6ca5941a6612: Pulling fs layer 08:22:48 ecc8261a40a4: Pulling fs layer 08:22:48 ecc8261a40a4: Waiting 08:22:48 2a8b12db71e7: Download complete 08:22:48 31603596830f: Verifying Checksum 08:22:48 31603596830f: Download complete 08:22:48 6ca5941a6612: Verifying Checksum 08:22:48 6ca5941a6612: Download complete 08:22:48 ecc8261a40a4: Verifying Checksum 08:22:48 ecc8261a40a4: Download complete 08:22:49 31603596830f: Pull complete 08:22:49 2a8b12db71e7: Pull complete 08:22:50 6ca5941a6612: Pull complete 08:22:50 ecc8261a40a4: Pull complete 08:22:50 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 08:22:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:22:50 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 08:22:50 prd-centos7-docker-4c-2g-23930 does not seem to be running inside a container 08:22:50 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-763 -v /w/workspace/dgexfoundry_device-sdk-go_PR-763:/w/workspace/dgexfoundry_device-sdk-go_PR-763:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 08:22:52 $ docker top 6f2c789a90f5d3da127dde52284065258bb4f44042faf4e8e1098f68b2c457e0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:22:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:22:53 [ssh-agent] Looking for ssh-agent implementation... 08:22:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:22:53 $ docker exec 6f2c789a90f5d3da127dde52284065258bb4f44042faf4e8e1098f68b2c457e0 ssh-agent 08:22:53 SSH_AUTH_SOCK=/tmp/ssh-xlm77SYxf63p/agent.12 08:22:53 SSH_AGENT_PID=17 08:22:53 Running ssh-add (command line suppressed) 08:22:53 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp/private_key_6743879259026098104.key (/w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp/private_key_6743879259026098104.key) 08:22:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:22:54 + git tag --points-at HEAD [Pipeline] } 08:22:54 $ docker exec --env ******** --env ******** 6f2c789a90f5d3da127dde52284065258bb4f44042faf4e8e1098f68b2c457e0 ssh-agent -k 08:22:54 unset SSH_AUTH_SOCK; 08:22:54 unset SSH_AGENT_PID; 08:22:54 echo Agent pid 17 killed; 08:22:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:22:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:22:54 [ssh-agent] Looking for ssh-agent implementation... 08:22:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:22:54 $ docker exec 6f2c789a90f5d3da127dde52284065258bb4f44042faf4e8e1098f68b2c457e0 ssh-agent 08:22:54 SSH_AUTH_SOCK=/tmp/ssh-E4qVqQbic2Lv/agent.47 08:22:54 SSH_AGENT_PID=52 08:22:54 Running ssh-add (command line suppressed) 08:22:55 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp/private_key_943579327956612593.key (/w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp/private_key_943579327956612593.key) 08:22:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:22:55 + git semver init 08:22:55 # -> Open(): unable to determine branch for HEAD 08:22:55 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-763/.git 08:22:55 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-763 08:22:55 # $SEMVER_REMOTE_NAME = origin 08:22:55 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:22:55 # $SEMVER_USER_NAME = edgex-jenkins 08:22:55 # $SEMVER_BRANCH = PR-763 08:22:55 # $SEMVER_TEMP = /tmp/semver-565257028 08:22:55 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 08:22:56 # '/tmp/semver-565257028' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-763/.semver' 08:22:56 # -> Force: false 08:22:56 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-763/.semver [Pipeline] } 08:22:56 $ docker exec --env ******** --env ******** 6f2c789a90f5d3da127dde52284065258bb4f44042faf4e8e1098f68b2c457e0 ssh-agent -k 08:22:56 unset SSH_AUTH_SOCK; 08:22:56 unset SSH_AGENT_PID; 08:22:56 echo Agent pid 52 killed; 08:22:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:22:57 + git semver [Pipeline] } 08:22:57 $ docker stop --time=1 6f2c789a90f5d3da127dde52284065258bb4f44042faf4e8e1098f68b2c457e0 08:22:58 $ docker rm -f 6f2c789a90f5d3da127dde52284065258bb4f44042faf4e8e1098f68b2c457e0 [Pipeline] // withDockerContainer [Pipeline] sh 08:22:59 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:22:59 Stashed 1 file(s) [Pipeline] echo 08:22:59 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 08:23:15 Still waiting to schedule task 08:23:15 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-23930’ 08:23:15 Still waiting to schedule task 08:23:15 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 08:25:08 Running on prd-ubuntu18.04-docker-arm64-4c-16g-23931 in /w/workspace/dgexfoundry_device-sdk-go_PR-763 [Pipeline] { [Pipeline] ws 08:25:08 Running in /w/workspace/device-sdk-go/8 [Pipeline] { [Pipeline] checkout 08:25:13 using credential edgex-jenkins-ssh 08:25:13 Cloning the remote Git repository 08:25:14 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 08:25:14 > git init /w/workspace/device-sdk-go/8 # timeout=10 08:25:14 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:25:14 > git --version # timeout=10 08:25:14 > git --version # 'git version 2.17.1' 08:25:14 using GIT_SSH to set credentials SSH Credentials for GitHub 08:25:14 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:25:15 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:25:15 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:25:15 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:25:15 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:25:15 using GIT_SSH to set credentials SSH Credentials for GitHub 08:25:15 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/763/head:refs/remotes/origin/PR-763 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:25:16 Merging remotes/origin/master commit d510da1b257a72a1ecadf2ee4e04e7d54b2df89d into PR head commit 839fdd7188bef012f192c564795a109cda929347 08:25:16 Merge succeeded, producing 839fdd7188bef012f192c564795a109cda929347 08:25:16 Checking out Revision 839fdd7188bef012f192c564795a109cda929347 (PR-763) 08:25:16 > git config core.sparsecheckout # timeout=10 08:25:16 > git checkout -f 839fdd7188bef012f192c564795a109cda929347 # timeout=10 08:25:16 > git remote # timeout=10 08:25:16 > git config --get remote.origin.url # timeout=10 08:25:16 using GIT_SSH to set credentials SSH Credentials for GitHub 08:25:16 > git merge d510da1b257a72a1ecadf2ee4e04e7d54b2df89d # timeout=10 08:25:16 > git rev-parse HEAD^{commit} # timeout=10 08:25:16 > git config core.sparsecheckout # timeout=10 08:25:16 > git checkout -f 839fdd7188bef012f192c564795a109cda929347 # timeout=10 08:25:17 Running on prd-centos7-docker-4c-2g-23932 in /w/workspace/dgexfoundry_device-sdk-go_PR-763 [Pipeline] { [Pipeline] ws 08:25:18 Running in /w/workspace/device-sdk-go/8 [Pipeline] { [Pipeline] checkout 08:25:20 Commit message: "refactor: leverage go-mod-core-contracts constants" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:25:22 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 08:25:22 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 08:25:23 + sudo service docker restart 08:25:23 + true 08:25:23 using credential edgex-jenkins-ssh 08:25:23 Cloning the remote Git repository 08:25:23 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 08:25:23 > git init /w/workspace/device-sdk-go/8 # timeout=10 08:25:23 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:25:23 > git --version # timeout=10 08:25:23 > git --version # 'git version 2.24.3' 08:25:23 using GIT_SSH to set credentials SSH Credentials for GitHub 08:25:23 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:25:24 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:25:24 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:25:24 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:25:24 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:25:24 using GIT_SSH to set credentials SSH Credentials for GitHub 08:25:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/763/head:refs/remotes/origin/PR-763 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:25:24 Merging remotes/origin/master commit d510da1b257a72a1ecadf2ee4e04e7d54b2df89d into PR head commit 839fdd7188bef012f192c564795a109cda929347 08:25:25 Merge succeeded, producing 839fdd7188bef012f192c564795a109cda929347 08:25:25 Checking out Revision 839fdd7188bef012f192c564795a109cda929347 (PR-763) 08:25:24 > git config core.sparsecheckout # timeout=10 08:25:24 > git checkout -f 839fdd7188bef012f192c564795a109cda929347 # timeout=10 08:25:24 > git remote # timeout=10 08:25:24 > git config --get remote.origin.url # timeout=10 08:25:25 using GIT_SSH to set credentials SSH Credentials for GitHub 08:25:25 > git merge d510da1b257a72a1ecadf2ee4e04e7d54b2df89d # timeout=10 08:25:25 > git rev-parse HEAD^{commit} # timeout=10 08:25:25 > git config core.sparsecheckout # timeout=10 08:25:25 > git checkout -f 839fdd7188bef012f192c564795a109cda929347 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 08:25:25 provisioning config files... 08:25:25 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/8@tmp/config4474583413728806434tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:25:26 ---> docker-login.sh 08:25:26 nexus3.edgexfoundry.org:10001 08:25:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:25:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:25:27 Configure a credential helper to remove this warning. See 08:25:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:25:27 08:25:27 Login Succeeded 08:25:27 nexus3.edgexfoundry.org:10002 08:25:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:25:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:25:28 Configure a credential helper to remove this warning. See 08:25:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:25:28 08:25:28 Login Succeeded 08:25:28 nexus3.edgexfoundry.org:10003 08:25:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:25:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:25:28 Configure a credential helper to remove this warning. See 08:25:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:25:28 08:25:28 Login Succeeded 08:25:28 nexus3.edgexfoundry.org:10004 08:25:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:25:29 Commit message: "refactor: leverage go-mod-core-contracts constants" 08:25:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:25:29 Configure a credential helper to remove this warning. See 08:25:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:25:29 08:25:29 Login Succeeded 08:25:29 docker.io [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) 08:25:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] script [Pipeline] { [Pipeline] sh 08:25:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:25:29 Configure a credential helper to remove this warning. See 08:25:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:25:29 08:25:29 Login Succeeded 08:25:30 ---> docker-login.sh ends [Pipeline] } 08:25:30 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 08:25:30 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [Pipeline] echo 08:25:31 ========================================================= 08:25:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 08:25:31 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:25:31 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 08:25:31 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 08:25:31 + sudo service docker restart 08:25:31 + true 08:25:31 Redirecting to /bin/systemctl restart docker.service 08:25:32 Sending build context to Docker daemon 2.57MB 08:25:32 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 08:25:32 Step 2/8 : FROM ${BASE} 08:25:32 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:25:32 5f621e34cdf4: Pulling fs layer 08:25:32 a4357932f1b6: Pulling fs layer 08:25:32 18c013af1878: Pulling fs layer 08:25:32 00ac8860ef70: Pulling fs layer 08:25:32 63d7cb157983: Pulling fs layer 08:25:32 b116817d02f9: Pulling fs layer 08:25:32 745a02a5169b: Pulling fs layer 08:25:32 00ac8860ef70: Waiting 08:25:32 63d7cb157983: Waiting 08:25:32 b116817d02f9: Waiting 08:25:32 745a02a5169b: Waiting 08:25:32 18c013af1878: Verifying Checksum 08:25:32 18c013af1878: Download complete 08:25:32 a4357932f1b6: Verifying Checksum 08:25:32 a4357932f1b6: Download complete 08:25:32 63d7cb157983: Verifying Checksum 08:25:32 63d7cb157983: Download complete 08:25:32 5f621e34cdf4: Verifying Checksum 08:25:32 5f621e34cdf4: Download complete 08:25:32 b116817d02f9: Verifying Checksum 08:25:32 b116817d02f9: Download complete 08:25:33 5f621e34cdf4: Pull complete [Pipeline] withEnv [Pipeline] { 08:25:33 a4357932f1b6: Pull complete [Pipeline] wrap 08:25:33 provisioning config files... 08:25:33 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/8@tmp/config8075887477286836649tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:25:33 18c013af1878: Pull complete 08:25:34 ---> docker-login.sh 08:25:34 nexus3.edgexfoundry.org:10001 08:25:34 745a02a5169b: Verifying Checksum 08:25:34 745a02a5169b: Download complete 08:25:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:25:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:25:34 Configure a credential helper to remove this warning. See 08:25:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:25:34 08:25:34 Login Succeeded 08:25:34 nexus3.edgexfoundry.org:10002 08:25:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:25:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:25:35 Configure a credential helper to remove this warning. See 08:25:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:25:35 08:25:35 Login Succeeded 08:25:35 nexus3.edgexfoundry.org:10003 08:25:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:25:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:25:35 Configure a credential helper to remove this warning. See 08:25:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:25:35 08:25:35 Login Succeeded 08:25:35 nexus3.edgexfoundry.org:10004 08:25:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:25:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:25:35 Configure a credential helper to remove this warning. See 08:25:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:25:35 08:25:35 Login Succeeded 08:25:35 docker.io 08:25:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:25:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:25:36 Configure a credential helper to remove this warning. See 08:25:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:25:36 08:25:36 Login Succeeded 08:25:36 ---> docker-login.sh ends [Pipeline] } 08:25:36 Deleting 1 temporary files [Pipeline] // wrap 08:25:36 00ac8860ef70: Verifying Checksum 08:25:36 00ac8860ef70: Download complete [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:25:36 ========================================================= 08:25:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 08:25:36 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:25:37 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 08:25:37 Sending build context to Docker daemon 2.571MB 08:25:37 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 08:25:37 Step 2/8 : FROM ${BASE} 08:25:37 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 08:25:37 188c0c94c7c5: Pulling fs layer 08:25:37 0ef7d3d256c8: Pulling fs layer 08:25:37 de9db76c5a1d: Pulling fs layer 08:25:37 bca2f99d35d6: Pulling fs layer 08:25:37 93359f2a8cfa: Pulling fs layer 08:25:37 7c6f9722023f: Pulling fs layer 08:25:37 a35cf1a2eb13: Pulling fs layer 08:25:37 bca2f99d35d6: Waiting 08:25:37 7c6f9722023f: Waiting 08:25:37 a35cf1a2eb13: Waiting 08:25:37 93359f2a8cfa: Waiting 08:25:37 de9db76c5a1d: Verifying Checksum 08:25:37 de9db76c5a1d: Download complete 08:25:37 0ef7d3d256c8: Verifying Checksum 08:25:37 0ef7d3d256c8: Download complete 08:25:37 93359f2a8cfa: Verifying Checksum 08:25:37 93359f2a8cfa: Download complete 08:25:37 7c6f9722023f: Verifying Checksum 08:25:37 7c6f9722023f: Download complete 08:25:37 188c0c94c7c5: Verifying Checksum 08:25:37 188c0c94c7c5: Download complete 08:25:38 188c0c94c7c5: Pull complete 08:25:39 0ef7d3d256c8: Pull complete 08:25:39 de9db76c5a1d: Pull complete 08:25:41 a35cf1a2eb13: Verifying Checksum 08:25:41 a35cf1a2eb13: Download complete 08:25:42 bca2f99d35d6: Verifying Checksum 08:25:42 bca2f99d35d6: Download complete 08:25:46 00ac8860ef70: Pull complete 08:25:46 63d7cb157983: Pull complete 08:25:46 b116817d02f9: Pull complete 08:25:51 745a02a5169b: Pull complete 08:25:51 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 08:25:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 08:25:51 ---> b7e6874047d6 08:25:51 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:25:53 ---> Running in d0d6169ed7ea 08:25:54 Removing intermediate container d0d6169ed7ea 08:25:54 ---> ae2dd69f1acf 08:25:54 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:25:54 ---> Running in f1ac8c4a628c 08:25:54 bca2f99d35d6: Pull complete 08:25:54 93359f2a8cfa: Pull complete 08:25:54 7c6f9722023f: Pull complete 08:25:56 Removing intermediate container f1ac8c4a628c 08:25:56 ---> ca2c77d12893 08:25:56 Step 5/8 : RUN apk add --update --no-cache make git 08:25:56 ---> Running in 178e90701a38 08:25:57 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 08:25:58 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 08:25:59 a35cf1a2eb13: Pull complete 08:25:59 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 08:25:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 08:25:59 ---> a62c8e92a672 08:25:59 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:25:59 OK: 142 MiB in 39 packages 08:25:59 ---> Running in aec379de7df4 08:25:59 Removing intermediate container aec379de7df4 08:25:59 ---> c1a8e4895ca6 08:25:59 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:26:00 ---> Running in 3d611026632c 08:26:00 Removing intermediate container 178e90701a38 08:26:00 ---> ac39b090a118 08:26:00 Step 6/8 : WORKDIR /device-sdk-go 08:26:00 ---> Running in aa65a4635b80 08:26:01 Removing intermediate container aa65a4635b80 08:26:01 ---> f1cc1369b92f 08:26:01 Step 7/8 : COPY . . 08:26:02 Removing intermediate container 3d611026632c 08:26:02 ---> 2794949897d1 08:26:02 Step 5/8 : RUN apk add --update --no-cache make git 08:26:02 ---> Running in ecbb257faa86 08:26:02 ---> 5589928408fe 08:26:02 Step 8/8 : RUN go mod download 08:26:02 ---> Running in bf076010bb8a 08:26:03 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 08:26:03 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 08:26:04 OK: 166 MiB in 39 packages 08:26:04 Removing intermediate container ecbb257faa86 08:26:04 ---> 54f467538d9c 08:26:04 Step 6/8 : WORKDIR /device-sdk-go 08:26:04 ---> Running in 213dfb68acde 08:26:04 Removing intermediate container 213dfb68acde 08:26:04 ---> e65f14551336 08:26:04 Step 7/8 : COPY . . 08:26:07 ---> e38beddfbd66 08:26:07 Step 8/8 : RUN go mod download 08:26:07 ---> Running in 03b2cab31894 08:26:24 Removing intermediate container bf076010bb8a 08:26:24 ---> 08179e80b616 08:26:24 Successfully built 08179e80b616 08:26:24 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 08:26:25 + docker inspect -f . ci-base-image-arm64 08:26:25 . [Pipeline] withDockerContainer 08:26:25 prd-ubuntu18.04-docker-arm64-4c-16g-23931 does not seem to be running inside a container 08:26:25 $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat 08:26:27 $ docker top 2e936b02f6e40f91dd45c6fd55ef26d512d9063cf3a75f560d21f79e47b512ed -eo pid,comm [Pipeline] { [Pipeline] sh 08:26:28 + go version 08:26:28 go version go1.15.5 linux/arm64 [Pipeline] } 08:26:28 $ docker stop --time=1 2e936b02f6e40f91dd45c6fd55ef26d512d9063cf3a75f560d21f79e47b512ed 08:26:29 Removing intermediate container 03b2cab31894 08:26:29 ---> 590323738016 08:26:29 Successfully built 590323738016 08:26:29 Successfully tagged ci-base-image-x86_64:latest 08:26:30 $ docker rm -f 2e936b02f6e40f91dd45c6fd55ef26d512d9063cf3a75f560d21f79e47b512ed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:26:30 + docker inspect -f . ci-base-image-x86_64 08:26:30 . [Pipeline] withDockerContainer 08:26:31 + docker inspect -f . ci-base-image-arm64 08:26:31 . 08:26:31 prd-centos7-docker-4c-2g-23932 does not seem to be running inside a container 08:26:31 $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:26:32 $ docker top eae6f139763638120a83fbfda7b8fcbfe62cb2022ce729ffed990c99a81b09a3 -eo pid,comm [Pipeline] { [Pipeline] withDockerContainer 08:26:33 prd-ubuntu18.04-docker-arm64-4c-16g-23931 does not seem to be running inside a container 08:26:33 $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat 08:26:34 $ docker top 8fd3b26a02b46c9c066b0ae743e0686caac6e4c603bc7b17431385fcef8e85a1 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh 08:26:35 + go version 08:26:35 go version go1.15.5 linux/amd64 [Pipeline] } 08:26:35 $ docker stop --time=1 eae6f139763638120a83fbfda7b8fcbfe62cb2022ce729ffed990c99a81b09a3 08:26:35 + make test 08:26:35 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 08:26:36 $ docker rm -f eae6f139763638120a83fbfda7b8fcbfe62cb2022ce729ffed990c99a81b09a3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:26:37 + docker inspect -f . ci-base-image-x86_64 08:26:37 . [Pipeline] withDockerContainer 08:26:37 prd-centos7-docker-4c-2g-23932 does not seem to be running inside a container 08:26:38 $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:26:39 $ docker top 2bda98501e5fe83eb65b3687f4c9d6d58b0023aebf6b7777c296677d826b53b4 -eo pid,comm [Pipeline] { [Pipeline] sh 08:26:39 + make test 08:26:39 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 08:26:52 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 08:26:57 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 08:27:19 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 08:27:19 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 08:27:19 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 08:27:19 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.109s coverage: 19.4% of statements 08:27:23 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.695s coverage: 97.1% of statements 08:27:36 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 08:27:36 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 08:27:36 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 08:27:37 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.157s coverage: 19.4% of statements 08:27:43 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.229s coverage: 97.1% of statements 08:27:50 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.074s coverage: 9.4% of statements 08:27:50 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.104s coverage: 21.7% of statements 08:27:50 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 08:27:50 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.293s coverage: 43.6% of statements 08:27:50 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 08:27:50 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.394s coverage: 68.9% of statements 08:27:50 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 08:27:50 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 08:27:50 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 08:27:50 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 08:27:50 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.101s coverage: 53.8% of statements 08:27:50 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 08:27:50 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 08:27:50 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.091s coverage: 25.2% of statements 08:27:50 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.594s coverage: 83.5% of statements 08:27:50 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.079s coverage: 4.2% of statements 08:27:50 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 08:27:50 GO111MODULE=on go vet ./... 08:28:10 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.125s coverage: 9.4% of statements 08:28:10 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.112s coverage: 21.7% of statements 08:28:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 08:28:10 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.567s coverage: 43.6% of statements 08:28:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 08:28:10 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.750s coverage: 68.9% of statements 08:28:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 08:28:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 08:28:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 08:28:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 08:28:10 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.198s coverage: 53.8% of statements 08:28:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 08:28:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 08:28:10 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.163s coverage: 25.2% of statements 08:28:10 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.772s coverage: 83.5% of statements 08:28:10 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.135s coverage: 4.2% of statements 08:28:10 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 08:28:10 GO111MODULE=on go vet ./... 08:28:12 gofmt -l . 08:28:12 [ "`gofmt -l .`" = "" ] 08:28:12 ./bin/test-attribution-txt.sh 08:28:12 ./bin/test-go-mod-tidy.sh [Pipeline] } 08:28:12 $ docker stop --time=1 2bda98501e5fe83eb65b3687f4c9d6d58b0023aebf6b7777c296677d826b53b4 08:28:14 $ docker rm -f 2bda98501e5fe83eb65b3687f4c9d6d58b0023aebf6b7777c296677d826b53b4 [Pipeline] // withDockerContainer [Pipeline] sh 08:28:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:28:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 08:28:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:28:19 + ls -al . 08:28:19 total 216 08:28:19 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 29 08:28 . 08:28:19 drwxrwxr-x. 4 jenkins jenkins 28 Jan 29 08:25 .. 08:28:19 drwxrwxr-x. 2 jenkins jenkins 64 Jan 29 08:25 bin 08:28:19 -rw-r--r--. 1 jenkins jenkins 137332 Jan 29 08:27 coverage.out 08:28:19 -rw-rw-r--. 1 jenkins jenkins 949 Jan 29 08:25 Dockerfile.build 08:28:19 -rw-rw-r--. 1 jenkins jenkins 140 Jan 29 08:25 .dockerignore 08:28:19 drwxrwxr-x. 4 jenkins jenkins 48 Jan 29 08:25 example 08:28:19 drwxrwxr-x. 8 jenkins jenkins 179 Jan 29 08:25 .git 08:28:19 drwxrwxr-x. 2 jenkins jenkins 103 Jan 29 08:25 .github 08:28:19 -rw-rw-r--. 1 jenkins jenkins 138 Jan 29 08:25 .gitignore 08:28:19 -rw-r--r--. 1 jenkins jenkins 514 Jan 29 08:28 go.mod 08:28:19 -rw-r--r--. 1 jenkins jenkins 14191 Jan 29 08:28 go.sum 08:28:19 drwxrwxr-x. 15 jenkins jenkins 211 Jan 29 08:25 internal 08:28:19 -rw-rw-r--. 1 jenkins jenkins 901 Jan 29 08:25 Jenkinsfile 08:28:19 -rw-rw-r--. 1 jenkins jenkins 11341 Jan 29 08:25 LICENSE 08:28:19 -rw-rw-r--. 1 jenkins jenkins 1016 Jan 29 08:25 Makefile 08:28:19 drwxrwxr-x. 4 jenkins jenkins 26 Jan 29 08:25 openapi 08:28:19 drwxrwxr-x. 5 jenkins jenkins 50 Jan 29 08:25 pkg 08:28:19 -rw-rw-r--. 1 jenkins jenkins 5897 Jan 29 08:25 README.md 08:28:19 -rw-rw-r--. 1 jenkins jenkins 6616 Jan 29 08:25 RELEASE-NOTES.txt 08:28:19 drwxrwxr-x. 4 jenkins jenkins 54 Jan 29 08:25 snap 08:28:19 -rw-rw-r--. 1 jenkins jenkins 5 Jan 29 08:22 VERSION 08:28:19 -rw-rw-r--. 1 jenkins jenkins 222 Jan 29 08:25 version.go [Pipeline] isUnix [Pipeline] sh 08:28:20 + 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=839fdd7188bef012f192c564795a109cda929347 --label arch=amd64 --label version=0.0.0 . 08:28:20 Sending build context to Docker daemon 2.71MB 08:28:20 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 08:28:20 Step 2/24 : FROM ${BASE} AS builder 08:28:20 ---> 590323738016 08:28:20 Step 3/24 : ARG MAKE='make build' 08:28:21 ---> Running in 01cc284822d1 08:28:21 Removing intermediate container 01cc284822d1 08:28:21 ---> b3c5d381e0ed 08:28:21 Step 4/24 : WORKDIR /device-sdk-go 08:28:21 ---> Running in 632e16d07446 08:28:22 Removing intermediate container 632e16d07446 08:28:22 ---> c40686623422 08:28:22 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:28:22 ---> Running in d8871927f593 08:28:22 Removing intermediate container d8871927f593 08:28:22 ---> a7b4617b5152 08:28:22 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:28:22 ---> Running in a255168a3f71 08:28:24 Removing intermediate container a255168a3f71 08:28:24 ---> 162e5322320a 08:28:24 Step 7/24 : RUN apk add --update --no-cache make git 08:28:24 ---> Running in 7641f74ad10b 08:28:25 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 08:28:25 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 08:28:25 OK: 166 MiB in 39 packages 08:28:26 Removing intermediate container 7641f74ad10b 08:28:26 ---> 68c818ad72c4 08:28:26 Step 8/24 : COPY . . 08:28:27 ---> eaaea3d58938 08:28:27 Step 9/24 : RUN ${MAKE} 08:28:27 ---> Running in 54d683e07493 08:28:28 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 08:28:43 gofmt -l . 08:28:43 [ "`gofmt -l .`" = "" ] 08:28:43 ./bin/test-attribution-txt.sh 08:28:44 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 08:28:44 ./bin/test-go-mod-tidy.sh [Pipeline] } 08:28:44 $ docker stop --time=1 8fd3b26a02b46c9c066b0ae743e0686caac6e4c603bc7b17431385fcef8e85a1 08:28:45 Removing intermediate container 54d683e07493 08:28:45 ---> bc4c2e55b460 08:28:45 Step 10/24 : FROM scratch 08:28:45 ---> 08:28:45 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:28:45 ---> Running in 8ee67044e63f 08:28:45 Removing intermediate container 8ee67044e63f 08:28:45 ---> f7a021049064 08:28:45 Step 12/24 : ENV APP_PORT=49990 08:28:45 ---> Running in 5a5f9ed6aebb 08:28:45 Removing intermediate container 5a5f9ed6aebb 08:28:45 ---> 8dc1937bdbd9 08:28:45 Step 13/24 : EXPOSE $APP_PORT 08:28:45 ---> Running in 32d6731c65a0 08:28:46 Removing intermediate container 32d6731c65a0 08:28:46 ---> 022ee4315d0a 08:28:46 Step 14/24 : WORKDIR / 08:28:46 ---> Running in 5899afb29994 08:28:46 Removing intermediate container 5899afb29994 08:28:46 ---> a62934a93eb7 08:28:46 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 08:28:46 $ docker rm -f 8fd3b26a02b46c9c066b0ae743e0686caac6e4c603bc7b17431385fcef8e85a1 08:28:47 ---> acbd90d911ab 08:28:47 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [Pipeline] // withDockerContainer [Pipeline] sh 08:28:47 ---> caa1d64a8bf5 08:28:47 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 08:28:48 + sudo chown -R jenkins:jenkins . 08:28:48 ---> 27ec7933535d 08:28:48 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [Pipeline] stash 08:28:48 Warning: overwriting stash ‘coverage-report’ 08:28:48 ---> f7dcf3968287 08:28:48 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 08:28:48 ---> 54f77c16db51 08:28:48 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 08:28:48 ---> Running in 9cdef6ca940b 08:28:48 Removing intermediate container 9cdef6ca940b 08:28:48 ---> 55cb7d626d69 08:28:48 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 08:28:48 ---> Running in 3685da4fe404 08:28:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 08:28:49 Removing intermediate container 3685da4fe404 08:28:49 ---> 9ed10ee4f93c 08:28:49 Step 22/24 : LABEL arch=amd64 08:28:49 ---> Running in f0075a2025f9 [Pipeline] script [Pipeline] { [Pipeline] sh 08:28:49 Removing intermediate container f0075a2025f9 08:28:49 ---> 26be841ca0aa 08:28:49 Step 23/24 : LABEL git_sha=839fdd7188bef012f192c564795a109cda929347 08:28:49 ---> Running in 2b4ec8b75dff 08:28:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:28:49 Removing intermediate container 2b4ec8b75dff 08:28:49 ---> 9b728c5edbca 08:28:49 Step 24/24 : LABEL version=0.0.0 08:28:49 ---> Running in f94f98ad41ba 08:28:49 Removing intermediate container f94f98ad41ba 08:28:49 ---> f7d9bc137e83 08:28:49 [Warning] One or more build-args [ARCH] were not consumed 08:28:49 Successfully built f7d9bc137e83 08:28:49 Successfully tagged docker-device-sdk-simple:latest 08:28:50 + ls -al . 08:28:50 total 252 08:28:50 drwxrwxr-x 10 jenkins jenkins 4096 Jan 29 08:28 . 08:28:50 drwxrwxr-x 4 jenkins jenkins 4096 Jan 29 08:25 .. 08:28:50 -rw-rw-r-- 1 jenkins jenkins 140 Jan 29 08:25 .dockerignore 08:28:50 drwxrwxr-x 8 jenkins jenkins 4096 Jan 29 08:25 .git 08:28:50 drwxrwxr-x 2 jenkins jenkins 4096 Jan 29 08:25 .github 08:28:50 -rw-rw-r-- 1 jenkins jenkins 138 Jan 29 08:25 .gitignore 08:28:50 -rw-rw-r-- 1 jenkins jenkins 949 Jan 29 08:25 Dockerfile.build 08:28:50 -rw-rw-r-- 1 jenkins jenkins 901 Jan 29 08:25 Jenkinsfile 08:28:50 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 29 08:25 LICENSE 08:28:50 -rw-rw-r-- 1 jenkins jenkins 1016 Jan 29 08:25 Makefile 08:28:50 -rw-rw-r-- 1 jenkins jenkins 5897 Jan 29 08:25 README.md 08:28:50 -rw-rw-r-- 1 jenkins jenkins 6616 Jan 29 08:25 RELEASE-NOTES.txt 08:28:50 -rw-rw-r-- 1 jenkins jenkins 5 Jan 29 08:22 VERSION 08:28:50 drwxrwxr-x 2 jenkins jenkins 4096 Jan 29 08:25 bin 08:28:50 -rw-r--r-- 1 jenkins jenkins 137332 Jan 29 08:28 coverage.out 08:28:50 drwxrwxr-x 4 jenkins jenkins 4096 Jan 29 08:25 example 08:28:50 -rw-r--r-- 1 jenkins jenkins 514 Jan 29 08:28 go.mod 08:28:50 -rw-r--r-- 1 jenkins jenkins 14191 Jan 29 08:28 go.sum 08:28:50 drwxrwxr-x 15 jenkins jenkins 4096 Jan 29 08:25 internal 08:28:50 drwxrwxr-x 4 jenkins jenkins 4096 Jan 29 08:25 openapi 08:28:50 drwxrwxr-x 5 jenkins jenkins 4096 Jan 29 08:25 pkg 08:28:50 drwxrwxr-x 4 jenkins jenkins 4096 Jan 29 08:25 snap 08:28:50 -rw-rw-r-- 1 jenkins jenkins 222 Jan 29 08:25 version.go [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] isUnix [Pipeline] sh Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) 08:28:50 + 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=839fdd7188bef012f192c564795a109cda929347 --label arch=arm64 --label version=0.0.0 . Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node 08:28:51 Sending build context to Docker daemon 2.708MB 08:28:51 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 08:28:51 Step 2/24 : FROM ${BASE} AS builder 08:28:51 ---> 08179e80b616 08:28:51 Step 3/24 : ARG MAKE='make build' [Pipeline] } [Pipeline] // stage [Pipeline] } 08:28:51 ---> Running in da027e1beab1 08:28:51 Removing intermediate container da027e1beab1 08:28:51 ---> eae8ab6cecb9 08:28:51 Step 4/24 : WORKDIR /device-sdk-go 08:28:52 ---> Running in 82ac97db2df1 08:28:52 Removing intermediate container 82ac97db2df1 08:28:52 ---> fc364e383f71 08:28:52 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:28:52 ---> Running in b837cbde8c51 08:28:52 Removing intermediate container b837cbde8c51 08:28:52 ---> 9edbdef4890b 08:28:52 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:28:53 ---> Running in 61f314c39e2c 08:28:55 Removing intermediate container 61f314c39e2c 08:28:55 ---> 74ec819f19a2 08:28:55 Step 7/24 : RUN apk add --update --no-cache make git 08:28:55 ---> Running in 7385bdd94e94 08:28:56 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 08:28:57 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 08:28:57 OK: 142 MiB in 39 packages 08:28:58 Removing intermediate container 7385bdd94e94 08:28:58 ---> 27bd078bf033 08:28:58 Step 8/24 : COPY . . 08:29:00 ---> 354c4467f851 08:29:00 Step 9/24 : RUN ${MAKE} 08:29:00 ---> Running in 5305bf01e3bf 08:29:01 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 08:29:28 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 08:29:28 Removing intermediate container 5305bf01e3bf 08:29:28 ---> 447033196734 08:29:28 Step 10/24 : FROM scratch 08:29:28 ---> 08:29:28 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:29:28 ---> Running in 1477efb83349 08:29:29 Removing intermediate container 1477efb83349 08:29:29 ---> 1a77fe13e362 08:29:29 Step 12/24 : ENV APP_PORT=49990 08:29:29 ---> Running in 92ecb2954393 08:29:29 Removing intermediate container 92ecb2954393 08:29:29 ---> 0edcdeec6aa4 08:29:29 Step 13/24 : EXPOSE $APP_PORT 08:29:29 ---> Running in 5fa765519585 08:29:29 Removing intermediate container 5fa765519585 08:29:29 ---> 9837fb7d3aa2 08:29:29 Step 14/24 : WORKDIR / 08:29:30 ---> Running in e67d6104c144 08:29:30 Removing intermediate container e67d6104c144 08:29:30 ---> dcdc3ca14b68 08:29:30 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 08:29:31 ---> 77fe5685db00 08:29:31 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 08:29:32 ---> 4b75fdb1daea 08:29:32 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 08:29:33 ---> 993a39ac421e 08:29:33 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 08:29:33 ---> 6f847c3346e4 08:29:33 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 08:29:34 ---> 8e55fdf7f897 08:29:34 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 08:29:34 ---> Running in d5368fd16e99 08:29:35 Removing intermediate container d5368fd16e99 08:29:35 ---> e2efe6c0cbea 08:29:35 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 08:29:35 ---> Running in a2d807442833 08:29:35 Removing intermediate container a2d807442833 08:29:35 ---> 20895419b2fd 08:29:35 Step 22/24 : LABEL arch=arm64 08:29:35 ---> Running in 6d65cf384c17 08:29:36 Removing intermediate container 6d65cf384c17 08:29:36 ---> c9f0cbefbca2 08:29:36 Step 23/24 : LABEL git_sha=839fdd7188bef012f192c564795a109cda929347 08:29:36 ---> Running in 8db99849224f 08:29:37 Removing intermediate container 8db99849224f 08:29:37 ---> 760a8100cf15 08:29:37 Step 24/24 : LABEL version=0.0.0 08:29:37 ---> Running in bd44f3437a10 08:29:37 Removing intermediate container bd44f3437a10 08:29:37 ---> 3dd8411f4a16 08:29:37 [Warning] One or more build-args [ARCH] were not consumed 08:29:37 Successfully built 3dd8411f4a16 08:29:37 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 08:29:39 provisioning config files... 08:29:39 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp/config670547206710957437tmp [Pipeline] { [Pipeline] sh 08:29:39 + set +x 08:29:39 + curl -s https://codecov.io/bash 08:29:39 + bash -s -- 08:29:39 08:29:39 _____ _ 08:29:39 / ____| | | 08:29:39 | | ___ __| | ___ ___ _____ __ 08:29:39 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:29:39 | |___| (_) | (_| | __/ (_| (_) \ V / 08:29:39 \_____\___/ \__,_|\___|\___\___/ \_/ 08:29:39 Bash-20210128-d4071a2 08:29:39 08:29:39 08:29:39 ==> git version 2.24.3 found 08:29:39 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 08:29:39 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 08:29:39 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 08:29:39 ==> Jenkins CI detected. 08:29:39 project root: . 08:29:39 --> token set from env 08:29:39 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 08:29:39 ==> Running gcov in . (disable via -X gcov) 08:29:39 ==> Python coveragepy not found 08:29:39 ==> Searching for coverage reports in: 08:29:39 + . 08:29:39 -> Found 1 reports 08:29:39 ==> Detecting git/mercurial file structure 08:29:40 ==> Reading reports 08:29:40 + ./coverage.out bytes=137332 08:29:40 ==> Appending adjustments 08:29:40 https://docs.codecov.io/docs/fixing-reports 08:29:40 + Found adjustments 08:29:40 ==> Gzipping contents 08:29:40 24K /tmp/codecov.boaLpc.gz 08:29:40 ==> Uploading reports 08:29:40 url: https://codecov.io 08:29:40 query: branch=PR-763&commit=839fdd7188bef012f192c564795a109cda929347&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-763%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=763&job=&cmd_args= 08:29:40 -> Pinging Codecov 08:29:40 https://codecov.io/upload/v4?package=bash-20210128-d4071a2&token=secret&branch=PR-763&commit=839fdd7188bef012f192c564795a109cda929347&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-763%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=763&job=&cmd_args= 08:29:41 -> Uploading to 08:29:41 https://storage.googleapis.com/codecov/v4/raw/2021-01-29/7E55EF52A471D76F132DFD9A03CDDE97/839fdd7188bef012f192c564795a109cda929347/8028eb61-70bf-4f3e-afad-e33e2161537d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210129%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210129T082940Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b0d6c03b96a9976b0a9541244033378f140948cb82747b6725137c5629c438a7 08:29:41 % Total % Received % Xferd Average Speed Time Time Time Current 08:29:41 Dload Upload Total Spent Left Speed 08:29:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21633 0 0 100 21633 0 42193 --:--:-- --:--:-- --:--:-- 42251 08:29:41 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/839fdd7188bef012f192c564795a109cda929347 [Pipeline] } 08:29:41 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 08:29:44 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:29:44 ---> package-listing.sh 08:29:44 ++ facter osfamily 08:29:44 ++ tr '[:upper:]' '[:lower:]' 08:29:44 + OS_FAMILY=redhat 08:29:44 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-763 08:29:44 + START_PACKAGES=/tmp/packages_start.txt 08:29:44 + END_PACKAGES=/tmp/packages_end.txt 08:29:44 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:29:44 + PACKAGES=/tmp/packages_start.txt 08:29:44 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-763 ']' 08:29:44 + PACKAGES=/tmp/packages_end.txt 08:29:44 + case "${OS_FAMILY}" in 08:29:44 + rpm -qa 08:29:44 + sort 08:29:50 + '[' -f /tmp/packages_start.txt ']' 08:29:50 + '[' -f /tmp/packages_end.txt ']' 08:29:50 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:29:50 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-763 ']' 08:29:50 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-763/archives/ 08:29:50 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-763/archives/ [Pipeline] echo 08:29:50 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-763/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 08:29:50 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 08:29:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:29:50 08:29:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 08:29:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:29:51 alpine: Pulling from edgex-lftools-log-publisher 08:29:51 df20fa9351a1: Pulling fs layer 08:29:51 36b3adc4ff6f: Pulling fs layer 08:29:51 8ad3a11d3b57: Pulling fs layer 08:29:51 46f8f816bc3b: Pulling fs layer 08:29:51 93b61091891f: Pulling fs layer 08:29:51 93b9cdb0e59b: Pulling fs layer 08:29:51 5e14af77c1be: Pulling fs layer 08:29:51 01666e4c0597: Pulling fs layer 08:29:51 aa168da1d23b: Pulling fs layer 08:29:51 46f8f816bc3b: Waiting 08:29:51 93b61091891f: Waiting 08:29:51 93b9cdb0e59b: Waiting 08:29:51 5e14af77c1be: Waiting 08:29:51 01666e4c0597: Waiting 08:29:51 aa168da1d23b: Waiting 08:29:51 36b3adc4ff6f: Verifying Checksum 08:29:51 36b3adc4ff6f: Download complete 08:29:51 46f8f816bc3b: Verifying Checksum 08:29:51 46f8f816bc3b: Download complete 08:29:51 df20fa9351a1: Verifying Checksum 08:29:51 df20fa9351a1: Download complete 08:29:51 93b9cdb0e59b: Download complete 08:29:51 5e14af77c1be: Verifying Checksum 08:29:51 5e14af77c1be: Download complete 08:29:51 93b61091891f: Verifying Checksum 08:29:51 93b61091891f: Download complete 08:29:51 01666e4c0597: Download complete 08:29:51 8ad3a11d3b57: Verifying Checksum 08:29:51 8ad3a11d3b57: Download complete 08:29:51 df20fa9351a1: Pull complete 08:29:51 36b3adc4ff6f: Pull complete 08:29:52 8ad3a11d3b57: Pull complete 08:29:53 46f8f816bc3b: Pull complete 08:29:53 aa168da1d23b: Verifying Checksum 08:29:53 aa168da1d23b: Download complete 08:29:53 93b61091891f: Pull complete 08:29:53 93b9cdb0e59b: Pull complete 08:29:54 5e14af77c1be: Pull complete 08:29:54 01666e4c0597: Pull complete 08:30:00 aa168da1d23b: Pull complete 08:30:00 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 08:30:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:30:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 08:30:00 prd-centos7-docker-4c-2g-23930 does not seem to be running inside a container 08:30:00 $ 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-763/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-763 -v /w/workspace/dgexfoundry_device-sdk-go_PR-763:/w/workspace/dgexfoundry_device-sdk-go_PR-763:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 08:30:04 $ docker top bdf351f266b7c0ce43a5525244b3181190eae848b0397074bd601e3ed3065994 -eo pid,comm [Pipeline] { [Pipeline] sh 08:30:05 + touch /tmp/pre-build-complete [Pipeline] sh 08:30:05 + mkdir -p /var/log/sa [Pipeline] sh 08:30:05 + ls /var/log/sa-host 08:30:05 + sadf -c /var/log/sa-host/sa23 08:30:05 file_magic: OK 08:30:05 HZ: Using current value: 100 08:30:05 file_header: OK 08:30:05 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 08:30:05 Statistics: 08:30:05 Hnuu...uuuununununu... 08:30:05 File successfully converted to sysstat format version 12.2.1 08:30:05 + sadf -c /var/log/sa-host/sa29 08:30:05 file_magic: OK 08:30:05 HZ: Using current value: 100 08:30:05 file_header: OK 08:30:05 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 08:30:05 Statistics: 08:30:05 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 08:30:05 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:30:06 provisioning config files... 08:30:06 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp/config8994806778494924027tmp [Pipeline] { [Pipeline] echo 08:30:06 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:30:06 ---> create-netrc.sh [Pipeline] } 08:30:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 08:30:06 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 08:30:07 ---> python-tools-install.sh [Pipeline] echo 08:30:07 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:30:07 ---> sudo-logs.sh 08:30:07 Archiving 'sudo' log.. [Pipeline] echo 08:30:07 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:30:07 ---> job-cost.sh 08:30:07 lf-activate-venv: SKIPPING 08:30:07 INFO: No Stack... 08:30:09 INFO: Retrieving Pricing Info for: v1-standard-2 08:30:09 INFO: Archiving Costs [Pipeline] echo 08:30:09 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:30:10 ---> logs-deploy.sh 08:30:10 lf-activate-venv: SKIPPING 08:30:10 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-763/8 08:30:10 INFO: archiving workspace using pattern(s): 08:30:12 Archives upload complete. 08:30:12 INFO: archiving logs to Nexus 08:30:13 ---> uname -a: 08:30:13 Linux prd-centos7-docker-4c-2g-23930.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 08:30:13 08:30:13 08:30:13 ---> lscpu: 08:30:13 Architecture: x86_64 08:30:13 CPU op-mode(s): 32-bit, 64-bit 08:30:13 Byte Order: Little Endian 08:30:13 Address sizes: 40 bits physical, 48 bits virtual 08:30:13 CPU(s): 4 08:30:13 On-line CPU(s) list: 0-3 08:30:13 Thread(s) per core: 1 08:30:13 Core(s) per socket: 1 08:30:13 Socket(s): 4 08:30:13 NUMA node(s): 1 08:30:13 Vendor ID: GenuineIntel 08:30:13 CPU family: 6 08:30:13 Model: 44 08:30:13 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 08:30:13 Stepping: 1 08:30:13 CPU MHz: 2933.436 08:30:13 BogoMIPS: 5866.87 08:30:13 Virtualization: VT-x 08:30:13 Hypervisor vendor: KVM 08:30:13 Virtualization type: full 08:30:13 L1d cache: 128 KiB 08:30:13 L1i cache: 128 KiB 08:30:13 L2 cache: 16 MiB 08:30:13 L3 cache: 64 MiB 08:30:13 NUMA node0 CPU(s): 0-3 08:30:13 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 08:30:13 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 08:30:13 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 08:30:13 Vulnerability Meltdown: Mitigation; PTI 08:30:13 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 08:30:13 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 08:30:13 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 08:30:13 Vulnerability Srbds: Not affected 08:30:13 Vulnerability Tsx async abort: Not affected 08:30:13 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 08:30:13 08:30:13 08:30:13 ---> nproc: 08:30:13 4 08:30:13 08:30:13 08:30:13 ---> df -h: 08:30:13 Filesystem Size Used Available Use% Mounted on 08:30:13 overlay 50.0G 7.3G 42.7G 15% / 08:30:13 tmpfs 64.0M 0 64.0M 0% /dev 08:30:13 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 08:30:13 shm 64.0M 0 64.0M 0% /dev/shm 08:30:13 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 08:30:13 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 08:30:13 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 08:30:13 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 08:30:13 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 08:30:13 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 08:30:13 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 08:30:13 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 08:30:13 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-763 08:30:13 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp 08:30:13 08:30:13 08:30:13 ---> free -m: 08:30:13 total used free shared buff/cache available 08:30:13 Mem: 1837 689 102 0 1045 1043 08:30:13 Swap: 1023 1 1022 08:30:13 08:30:13 08:30:13 ---> ip addr: 08:30:13 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 08:30:13 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 08:30:13 inet 127.0.0.1/8 scope host lo 08:30:13 valid_lft forever preferred_lft forever 08:30:13 inet6 ::1/128 scope host 08:30:13 valid_lft forever preferred_lft forever 08:30:13 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 08:30:13 link/ether fa:16:3e:83:f5:2d brd ff:ff:ff:ff:ff:ff 08:30:13 inet 10.30.122.188/23 brd 10.30.123.255 scope global dynamic eth0 08:30:13 valid_lft 85908sec preferred_lft 85908sec 08:30:13 inet6 fe80::f816:3eff:fe83:f52d/64 scope link 08:30:13 valid_lft forever preferred_lft forever 08:30:13 3: docker0: mtu 1500 qdisc noqueue state DOWN 08:30:13 link/ether 02:42:7a:2d:90:37 brd ff:ff:ff:ff:ff:ff 08:30:13 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 08:30:13 valid_lft forever preferred_lft forever 08:30:13 inet6 fe80::42:7aff:fe2d:9037/64 scope link 08:30:13 valid_lft forever preferred_lft forever 08:30:13 08:30:13 08:30:13 ---> sar -b -r -n DEV: 08:30:13 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/29/21 _x86_64_ (4 CPU) 08:30:13 08:30:13 08:21:48 LINUX RESTART (4 CPU) 08:30:13 08:30:13 08:23:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 08:30:13 08:24:01 3.68 0.03 3.64 0.00 1.08 114.21 0.00 08:30:13 08:25:01 0.43 0.00 0.43 0.00 0.00 6.18 0.00 08:30:13 08:26:01 0.20 0.00 0.20 0.00 0.00 2.60 0.00 08:30:13 08:27:01 0.28 0.00 0.28 0.00 0.00 3.20 0.00 08:30:13 08:28:01 0.30 0.00 0.30 0.00 0.00 4.20 0.00 08:30:13 08:29:01 0.25 0.00 0.25 0.00 0.00 2.60 0.00 08:30:13 08:30:02 120.15 74.60 45.55 0.00 5893.82 16457.22 0.00 08:30:13 Average: 18.04 10.76 7.29 0.00 849.57 2390.56 0.00 08:30:13 08:30:13 08:23:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 08:30:13 08:24:01 144676 0 579344 30.79 2620 1154904 1079408 36.84 430420 1107260 16 08:30:13 08:25:01 143064 0 580948 30.88 2620 1154912 1079408 36.84 432128 1107516 8 08:30:13 08:26:01 140300 0 583708 31.02 2620 1154916 1079576 36.84 434140 1108628 8 08:30:13 08:27:01 140240 0 583768 31.03 2620 1154916 1079588 36.84 432676 1110228 16 08:30:13 08:28:01 138432 0 585568 31.12 2620 1154924 1079516 36.84 430796 1114192 8 08:30:13 08:29:01 138092 0 585904 31.14 2620 1154928 1079456 36.84 430480 1114192 12 08:30:13 08:30:02 166868 0 686304 36.48 2620 1025752 1283268 43.80 449380 1000992 44020 08:30:13 Average: 144525 0 597935 31.78 2620 1136465 1108603 37.83 434289 1094715 6298 08:30:13 08:30:13 08:23:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 08:30:13 08:24:01 eth0 0.34 0.08 0.02 0.01 0.00 0.00 0.00 0.00 08:30:13 08:24:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:30:13 08:24:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:30:13 08:25:01 eth0 1.20 0.08 0.11 0.01 0.00 0.00 0.00 0.00 08:30:13 08:25:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:30:13 08:25:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:30:13 08:26:01 eth0 1.50 0.73 0.62 0.41 0.00 0.00 0.00 0.00 08:30:13 08:26:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:30:13 08:26:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:30:13 08:27:01 eth0 0.50 0.32 0.27 0.20 0.00 0.00 0.00 0.00 08:30:13 08:27:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:30:13 08:27:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:30:13 08:28:01 eth0 0.20 0.18 0.08 0.07 0.00 0.00 0.00 0.00 08:30:13 08:28:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:30:13 08:28:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:30:13 08:29:01 eth0 0.80 0.13 0.12 0.01 0.00 0.00 0.00 0.00 08:30:13 08:29:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:30:13 08:29:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:30:13 08:30:02 eth0 205.26 167.31 2159.60 19.27 0.00 0.00 0.00 0.00 08:30:13 08:30:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:30:13 08:30:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:30:13 Average: eth0 30.23 24.33 311.42 2.88 0.00 0.00 0.00 0.00 08:30:13 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:30:13 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:30:13 08:30:13 08:30:13 ---> sar -P ALL: 08:30:13 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/29/21 _x86_64_ (4 CPU) 08:30:13 08:30:13 08:21:48 LINUX RESTART (4 CPU) 08:30:13 08:30:13 08:23:02 CPU %user %nice %system %iowait %steal %idle 08:30:13 08:24:01 all 0.14 0.00 0.07 0.00 0.01 99.78 08:30:13 08:24:01 0 0.07 0.00 0.07 0.00 0.02 99.85 08:30:13 08:24:01 1 0.14 0.00 0.05 0.00 0.00 99.81 08:30:13 08:24:01 2 0.08 0.00 0.10 0.00 0.00 99.81 08:30:13 08:24:01 3 0.29 0.00 0.05 0.00 0.02 99.64 08:30:13 08:25:01 all 0.10 0.00 0.03 0.00 0.00 99.87 08:30:13 08:25:01 0 0.03 0.00 0.05 0.00 0.00 99.92 08:30:13 08:25:01 1 0.17 0.00 0.03 0.00 0.00 99.80 08:30:13 08:25:01 2 0.02 0.00 0.02 0.00 0.00 99.97 08:30:13 08:25:01 3 0.17 0.00 0.02 0.00 0.00 99.82 08:30:13 08:26:01 all 0.13 0.00 0.04 0.00 0.00 99.83 08:30:13 08:26:01 0 0.05 0.00 0.03 0.00 0.00 99.92 08:30:13 08:26:01 1 0.35 0.00 0.05 0.00 0.00 99.60 08:30:13 08:26:01 2 0.07 0.00 0.07 0.00 0.00 99.87 08:30:13 08:26:01 3 0.03 0.00 0.02 0.00 0.00 99.95 08:30:13 08:27:01 all 0.15 0.00 0.05 0.00 0.01 99.79 08:30:13 08:27:01 0 0.03 0.00 0.03 0.00 0.00 99.93 08:30:13 08:27:01 1 0.45 0.00 0.03 0.00 0.02 99.50 08:30:13 08:27:01 2 0.08 0.00 0.05 0.00 0.00 99.87 08:30:13 08:27:01 3 0.05 0.00 0.07 0.00 0.02 99.87 08:30:13 08:28:01 all 0.15 0.00 0.05 0.00 0.02 99.77 08:30:13 08:28:01 0 0.48 0.00 0.03 0.00 0.02 99.47 08:30:13 08:28:01 1 0.05 0.00 0.07 0.00 0.02 99.87 08:30:13 08:28:01 2 0.03 0.00 0.03 0.00 0.02 99.92 08:30:13 08:28:01 3 0.05 0.00 0.07 0.00 0.03 99.85 08:30:13 08:29:01 all 0.15 0.00 0.04 0.00 0.00 99.81 08:30:13 08:29:01 0 0.42 0.00 0.03 0.00 0.00 99.55 08:30:13 08:29:01 1 0.03 0.00 0.05 0.00 0.00 99.92 08:30:13 08:29:01 2 0.12 0.00 0.03 0.00 0.00 99.85 08:30:13 08:29:01 3 0.03 0.00 0.05 0.00 0.00 99.92 08:30:13 08:30:02 all 5.84 0.00 3.86 2.07 0.05 88.17 08:30:13 08:30:02 0 6.03 0.00 3.85 2.92 0.03 87.16 08:30:13 08:30:02 1 5.53 0.00 3.99 1.24 0.07 89.18 08:30:13 08:30:02 2 6.19 0.00 3.65 1.62 0.07 88.47 08:30:13 08:30:02 3 5.61 0.00 3.97 2.49 0.05 87.89 08:30:13 Average: all 0.95 0.00 0.59 0.29 0.01 98.15 08:30:13 Average: 0 1.02 0.00 0.59 0.42 0.01 97.97 08:30:13 Average: 1 0.96 0.00 0.61 0.18 0.01 98.24 08:30:13 Average: 2 0.94 0.00 0.56 0.23 0.01 98.25 08:30:13 Average: 3 0.89 0.00 0.60 0.35 0.02 98.14 08:30:13 08:30:13 08:30:13