Branch indexing 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 gao270615179 for edgexfoundry/device-sdk-go Loading trusted files from base branch master at 84ea4a05cef1466ee67975698004463005cbf340 rather than bb3603909ab1ef3aa492044f3b646f1bb29ba67c Obtained Jenkinsfile from 84ea4a05cef1466ee67975698004463005cbf340 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 on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-24079 in /w/workspace/dgexfoundry_device-sdk-go_PR-732 [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-732 # 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 Merging remotes/origin/master commit 84ea4a05cef1466ee67975698004463005cbf340 into PR head commit bb3603909ab1ef3aa492044f3b646f1bb29ba67c > 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/732/head:refs/remotes/origin/PR-732 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bb3603909ab1ef3aa492044f3b646f1bb29ba67c # 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 84ea4a05cef1466ee67975698004463005cbf340 # timeout=10 Merge succeeded, producing 48807053613575e78c4fa610d360d65e6f880de1 Checking out Revision 48807053613575e78c4fa610d360d65e6f880de1 (PR-732) > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 48807053613575e78c4fa610d360d65e6f880de1 # timeout=10 Commit message: "Merge commit '84ea4a05cef1466ee67975698004463005cbf340' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:43:27 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:43:28 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:43:28 ========================================================= 02:43:28 EdgeX Global Pipelines Version Info 02:43:28 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 23455bfac23852930a6947f372e58b4db43b0f22 # timeout=10 02:43:30 ------------------- 02:43:30 stable info: 02:43:30 ------------------- 02:43:30 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:43:30 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 02:43:30 Message: update stable to v1.0.179 02:43:31 ------------------- 02:43:31 experimental info: 02:43:31 ------------------- 02:43:31 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:43:31 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 02:43:31 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:43:32 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 02:43:32 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 02:43:32 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:43:32 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:43:32 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:43:32 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 02:43:32 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 02:43:32 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 02:43:32 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 02:43:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:43:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:43:33 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 02:43:33 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:43:33 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:43:33 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:43:33 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 02:43:33 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:43:33 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:43:33 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:43:34 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:43:34 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 02:43:34 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 02:43:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:43:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:43:34 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:43:34 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 02:43:34 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 02:43:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-732 [Pipeline] echo 02:43:34 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-732 [Pipeline] echo 02:43:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-732 [Pipeline] echo 02:43:35 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 48807053613575e78c4fa610d360d65e6f880de1 [Pipeline] echo 02:43:35 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4880705 [Pipeline] echo 02:43:35 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:43:35 provisioning config files... 02:43:35 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp/config4000011849884901328tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:43:36 ---> docker-login.sh 02:43:36 nexus3.edgexfoundry.org:10001 02:43:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:36 Configure a credential helper to remove this warning. See 02:43:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:36 02:43:36 Login Succeeded 02:43:36 nexus3.edgexfoundry.org:10002 02:43:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:37 Configure a credential helper to remove this warning. See 02:43:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:37 02:43:37 Login Succeeded 02:43:37 nexus3.edgexfoundry.org:10003 02:43:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:37 Configure a credential helper to remove this warning. See 02:43:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:37 02:43:37 Login Succeeded 02:43:37 nexus3.edgexfoundry.org:10004 02:43:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:37 Configure a credential helper to remove this warning. See 02:43:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:37 02:43:37 Login Succeeded 02:43:37 docker.io 02:43:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:38 Configure a credential helper to remove this warning. See 02:43:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:38 02:43:38 Login Succeeded 02:43:38 ---> docker-login.sh ends [Pipeline] } 02:43:38 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:43:39 + git log --format=format:%s -1 48807053613575e78c4fa610d360d65e6f880de1 [Pipeline] echo 02:43:39 GIT_COMMIT: 48807053613575e78c4fa610d360d65e6f880de1, Commit Message: Merge commit '84ea4a05cef1466ee67975698004463005cbf340' into HEAD [Pipeline] echo 02:43:39 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 02:43:40 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:43:40 02:43:40 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:43:40 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:43:40 latest: Pulling from edgex-devops/git-semver 02:43:40 31603596830f: Pulling fs layer 02:43:40 2a8b12db71e7: Pulling fs layer 02:43:40 6ca5941a6612: Pulling fs layer 02:43:40 ecc8261a40a4: Pulling fs layer 02:43:40 ecc8261a40a4: Waiting 02:43:40 2a8b12db71e7: Verifying Checksum 02:43:40 2a8b12db71e7: Download complete 02:43:40 31603596830f: Verifying Checksum 02:43:40 31603596830f: Download complete 02:43:41 6ca5941a6612: Verifying Checksum 02:43:41 6ca5941a6612: Download complete 02:43:41 ecc8261a40a4: Verifying Checksum 02:43:41 ecc8261a40a4: Download complete 02:43:41 31603596830f: Pull complete 02:43:41 2a8b12db71e7: Pull complete 02:43:43 6ca5941a6612: Pull complete 02:43:43 ecc8261a40a4: Pull complete 02:43:43 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 02:43:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:43:43 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:43:44 prd-centos7-docker-4c-2g-24079 does not seem to be running inside a container 02:43:44 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-732 -v /w/workspace/dgexfoundry_device-sdk-go_PR-732:/w/workspace/dgexfoundry_device-sdk-go_PR-732:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-732@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 02:43:46 $ docker top bf4cea030b39fc2eff670811cae7c1c61651c74dc07017d5cba39079555eb1fa -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:43:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:43:47 [ssh-agent] Looking for ssh-agent implementation... 02:43:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:43:47 $ docker exec bf4cea030b39fc2eff670811cae7c1c61651c74dc07017d5cba39079555eb1fa ssh-agent 02:43:48 SSH_AUTH_SOCK=/tmp/ssh-1bgdobrhDCSA/agent.11 02:43:48 SSH_AGENT_PID=17 02:43:48 Running ssh-add (command line suppressed) 02:43:48 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp/private_key_9196559450207244440.key (/w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp/private_key_9196559450207244440.key) 02:43:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:43:48 + git tag --points-at HEAD [Pipeline] } 02:43:48 $ docker exec --env ******** --env ******** bf4cea030b39fc2eff670811cae7c1c61651c74dc07017d5cba39079555eb1fa ssh-agent -k 02:43:49 unset SSH_AUTH_SOCK; 02:43:49 unset SSH_AGENT_PID; 02:43:49 echo Agent pid 17 killed; 02:43:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:43:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:43:49 [ssh-agent] Looking for ssh-agent implementation... 02:43:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:43:49 $ docker exec bf4cea030b39fc2eff670811cae7c1c61651c74dc07017d5cba39079555eb1fa ssh-agent 02:43:50 SSH_AUTH_SOCK=/tmp/ssh-dhqvrXp0sPol/agent.45 02:43:50 SSH_AGENT_PID=50 02:43:50 Running ssh-add (command line suppressed) 02:43:50 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp/private_key_8968192651355941448.key (/w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp/private_key_8968192651355941448.key) 02:43:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:43:51 + git semver init 02:43:51 # -> Open(): unable to determine branch for HEAD 02:43:51 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-732/.git 02:43:51 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-732 02:43:51 # $SEMVER_REMOTE_NAME = origin 02:43:51 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:43:51 # $SEMVER_USER_NAME = edgex-jenkins 02:43:51 # $SEMVER_BRANCH = PR-732 02:43:51 # $SEMVER_TEMP = /tmp/semver-885345277 02:43:51 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 02:43:52 # '/tmp/semver-885345277' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-732/.semver' 02:43:52 # -> Force: false 02:43:52 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-732/.semver [Pipeline] } 02:43:52 $ docker exec --env ******** --env ******** bf4cea030b39fc2eff670811cae7c1c61651c74dc07017d5cba39079555eb1fa ssh-agent -k 02:43:52 unset SSH_AUTH_SOCK; 02:43:52 unset SSH_AGENT_PID; 02:43:52 echo Agent pid 50 killed; 02:43:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:43:53 + git semver [Pipeline] } 02:43:53 $ docker stop --time=1 bf4cea030b39fc2eff670811cae7c1c61651c74dc07017d5cba39079555eb1fa 02:43:54 $ docker rm -f bf4cea030b39fc2eff670811cae7c1c61651c74dc07017d5cba39079555eb1fa [Pipeline] // withDockerContainer [Pipeline] sh 02:43:55 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:43:56 Stashed 1 file(s) [Pipeline] echo 02:43:56 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 02:44:11 Still waiting to schedule task 02:44:11 Waiting for next available executor on ‘centos7-docker-4c-2g’ 02:44:11 Still waiting to schedule task 02:44:11 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-24075’ 02:46:57 Running on prd-ubuntu18.04-docker-arm64-4c-16g-24084 in /w/workspace/dgexfoundry_device-sdk-go_PR-732 [Pipeline] { [Pipeline] ws 02:46:57 Running in /w/workspace/device-sdk-go/9 [Pipeline] { [Pipeline] checkout 02:47:03 using credential edgex-jenkins-ssh 02:47:03 Cloning the remote Git repository 02:47:03 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:47:03 > git init /w/workspace/device-sdk-go/9 # timeout=10 02:47:03 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:47:03 > git --version # timeout=10 02:47:03 > git --version # 'git version 2.17.1' 02:47:03 using GIT_SSH to set credentials SSH Credentials for GitHub 02:47:03 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:47:04 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:47:04 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:47:05 Merging remotes/origin/master commit 84ea4a05cef1466ee67975698004463005cbf340 into PR head commit bb3603909ab1ef3aa492044f3b646f1bb29ba67c 02:47:06 Merge succeeded, producing a5f3d4a195f0b47898e6f9d77beb3fe8931d2bd1 02:47:06 Checking out Revision a5f3d4a195f0b47898e6f9d77beb3fe8931d2bd1 (PR-732) 02:47:04 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:47:04 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:47:04 using GIT_SSH to set credentials SSH Credentials for GitHub 02:47:04 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/732/head:refs/remotes/origin/PR-732 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:47:05 > git config core.sparsecheckout # timeout=10 02:47:05 > git checkout -f bb3603909ab1ef3aa492044f3b646f1bb29ba67c # timeout=10 02:47:05 > git remote # timeout=10 02:47:05 > git config --get remote.origin.url # timeout=10 02:47:05 using GIT_SSH to set credentials SSH Credentials for GitHub 02:47:05 > git merge 84ea4a05cef1466ee67975698004463005cbf340 # timeout=10 02:47:06 > git rev-parse HEAD^{commit} # timeout=10 02:47:06 > git config core.sparsecheckout # timeout=10 02:47:06 > git checkout -f a5f3d4a195f0b47898e6f9d77beb3fe8931d2bd1 # timeout=10 02:47:10 Commit message: "Merge commit '84ea4a05cef1466ee67975698004463005cbf340' into HEAD" 02:47:10 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:47:12 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json 02:47:10 > git rev-list --no-walk 23455bfac23852930a6947f372e58b4db43b0f22 # timeout=10 [Pipeline] sh 02:47:12 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:47:13 + sudo service docker restart 02:47:13 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:47:15 provisioning config files... 02:47:15 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/9@tmp/config3287372922085535536tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:47:16 ---> docker-login.sh 02:47:16 nexus3.edgexfoundry.org:10001 02:47:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:47:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:47:17 Configure a credential helper to remove this warning. See 02:47:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:47:17 02:47:17 Login Succeeded 02:47:17 nexus3.edgexfoundry.org:10002 02:47:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:47:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:47:18 Configure a credential helper to remove this warning. See 02:47:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:47:18 02:47:18 Login Succeeded 02:47:18 nexus3.edgexfoundry.org:10003 02:47:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:47:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:47:18 Configure a credential helper to remove this warning. See 02:47:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:47:18 02:47:18 Login Succeeded 02:47:18 nexus3.edgexfoundry.org:10004 02:47:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:47:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:47:19 Configure a credential helper to remove this warning. See 02:47:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:47:19 02:47:19 Login Succeeded 02:47:19 docker.io 02:47:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:47:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:47:20 Configure a credential helper to remove this warning. See 02:47:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:47:20 02:47:20 Login Succeeded 02:47:20 ---> docker-login.sh ends [Pipeline] } 02:47:20 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:47:20 ========================================================= 02:47:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 02:47:20 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:47:21 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 02:47:21 Sending build context to Docker daemon 2.541MB 02:47:21 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 02:47:21 Step 2/8 : FROM ${BASE} 02:47:21 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:47:21 5f621e34cdf4: Pulling fs layer 02:47:21 a4357932f1b6: Pulling fs layer 02:47:21 18c013af1878: Pulling fs layer 02:47:21 00ac8860ef70: Pulling fs layer 02:47:21 63d7cb157983: Pulling fs layer 02:47:21 b116817d02f9: Pulling fs layer 02:47:21 745a02a5169b: Pulling fs layer 02:47:21 00ac8860ef70: Waiting 02:47:21 63d7cb157983: Waiting 02:47:21 b116817d02f9: Waiting 02:47:21 745a02a5169b: Waiting 02:47:21 18c013af1878: Verifying Checksum 02:47:21 18c013af1878: Download complete 02:47:21 a4357932f1b6: Verifying Checksum 02:47:21 a4357932f1b6: Download complete 02:47:21 63d7cb157983: Verifying Checksum 02:47:21 63d7cb157983: Download complete 02:47:22 b116817d02f9: Verifying Checksum 02:47:22 b116817d02f9: Download complete 02:47:22 5f621e34cdf4: Verifying Checksum 02:47:22 5f621e34cdf4: Download complete 02:47:22 5f621e34cdf4: Pull complete 02:47:23 a4357932f1b6: Pull complete 02:47:23 18c013af1878: Pull complete 02:47:24 745a02a5169b: Verifying Checksum 02:47:24 745a02a5169b: Download complete 02:47:25 00ac8860ef70: Verifying Checksum 02:47:25 00ac8860ef70: Download complete 02:47:40 00ac8860ef70: Pull complete 02:47:40 63d7cb157983: Pull complete 02:47:40 b116817d02f9: Pull complete 02:47:43 745a02a5169b: Pull complete 02:47:43 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 02:47:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 02:47:43 ---> b7e6874047d6 02:47:43 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:47:45 ---> Running in 529e53d16cfc 02:47:46 Removing intermediate container 529e53d16cfc 02:47:46 ---> 7b8816ae4c2d 02:47:46 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:47:46 ---> Running in 2cda39a2ea40 02:47:49 Removing intermediate container 2cda39a2ea40 02:47:49 ---> a91e81aa625f 02:47:49 Step 5/8 : RUN apk add --update --no-cache make git 02:47:49 ---> Running in 1700d5777a74 02:47:50 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:47:50 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:47:51 OK: 142 MiB in 39 packages 02:47:52 Removing intermediate container 1700d5777a74 02:47:52 ---> 92edceec4d10 02:47:52 Step 6/8 : WORKDIR /device-sdk-go 02:47:52 ---> Running in d73aa6aaacdb 02:47:53 Removing intermediate container d73aa6aaacdb 02:47:53 ---> 9e6833d46a08 02:47:53 Step 7/8 : COPY . . 02:47:54 ---> 2fedca753131 02:47:54 Step 8/8 : RUN go mod download 02:47:54 ---> Running in 7b5c65212c77 02:48:10 Running on prd-centos7-docker-4c-2g-24085 in /w/workspace/dgexfoundry_device-sdk-go_PR-732 [Pipeline] { [Pipeline] ws 02:48:10 Running in /w/workspace/device-sdk-go/9 [Pipeline] { [Pipeline] checkout 02:48:13 using credential edgex-jenkins-ssh 02:48:13 Cloning the remote Git repository 02:48:12 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:48:13 > git init /w/workspace/device-sdk-go/9 # timeout=10 02:48:13 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:48:13 > git --version # timeout=10 02:48:13 > git --version # 'git version 2.24.3' 02:48:13 using GIT_SSH to set credentials SSH Credentials for GitHub 02:48:13 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:48:13 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:48:13 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:48:13 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:48:13 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:48:13 using GIT_SSH to set credentials SSH Credentials for GitHub 02:48:13 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/732/head:refs/remotes/origin/PR-732 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:48:14 Merging remotes/origin/master commit 84ea4a05cef1466ee67975698004463005cbf340 into PR head commit bb3603909ab1ef3aa492044f3b646f1bb29ba67c 02:48:14 Merge succeeded, producing 55627dccfcaa9c1869ee961086b5b70213a64237 02:48:14 Checking out Revision 55627dccfcaa9c1869ee961086b5b70213a64237 (PR-732) 02:48:14 > git config core.sparsecheckout # timeout=10 02:48:14 > git checkout -f bb3603909ab1ef3aa492044f3b646f1bb29ba67c # timeout=10 02:48:14 > git remote # timeout=10 02:48:14 > git config --get remote.origin.url # timeout=10 02:48:14 using GIT_SSH to set credentials SSH Credentials for GitHub 02:48:14 > git merge 84ea4a05cef1466ee67975698004463005cbf340 # timeout=10 02:48:14 > git rev-parse HEAD^{commit} # timeout=10 02:48:14 > git config core.sparsecheckout # timeout=10 02:48:14 > git checkout -f 55627dccfcaa9c1869ee961086b5b70213a64237 # timeout=10 02:48:17 Removing intermediate container 7b5c65212c77 02:48:17 ---> 1d43edf84476 02:48:17 Successfully built 1d43edf84476 02:48:17 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:48:17 + docker inspect -f . ci-base-image-arm64 02:48:17 . [Pipeline] withDockerContainer 02:48:17 prd-ubuntu18.04-docker-arm64-4c-16g-24084 does not seem to be running inside a container 02:48:17 $ 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 ******** -e ******** ci-base-image-arm64 cat 02:48:18 Commit message: "Merge commit '84ea4a05cef1466ee67975698004463005cbf340' into HEAD" 02:48:18 First time build. Skipping changelog. 02:48:18 > git rev-list --no-walk 23455bfac23852930a6947f372e58b4db43b0f22 # timeout=10 02:48:19 $ docker top 36319ef52a13a60f43750f692cf0a9d22ab2681c962574eea67ae2422bbcc3b7 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:48:20 + go version 02:48:20 go version go1.15.5 linux/arm64 [Pipeline] } 02:48:20 $ docker stop --time=1 36319ef52a13a60f43750f692cf0a9d22ab2681c962574eea67ae2422bbcc3b7 02:48:20 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json 02:48:22 $ docker rm -f 36319ef52a13a60f43750f692cf0a9d22ab2681c962574eea67ae2422bbcc3b7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage 02:48:22 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:48:23 + sudo service docker restart 02:48:23 + true 02:48:23 Redirecting to /bin/systemctl restart docker.service 02:48:23 + docker inspect -f . ci-base-image-arm64 02:48:23 . [Pipeline] withDockerContainer 02:48:23 prd-ubuntu18.04-docker-arm64-4c-16g-24084 does not seem to be running inside a container 02:48:23 $ 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 ******** -e ******** ci-base-image-arm64 cat 02:48:25 $ docker top f5ad2ff48be203bc7253c2c94e30b170aa159e4e4c1b2840a60f9f5c64a82435 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] wrap 02:48:25 provisioning config files... 02:48:25 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/9@tmp/config125546973479002971tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:48:26 ---> docker-login.sh 02:48:26 nexus3.edgexfoundry.org:10001 02:48:26 + make test 02:48:26 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:48:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:48:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:48:26 Configure a credential helper to remove this warning. See 02:48:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:48:26 02:48:26 Login Succeeded 02:48:26 nexus3.edgexfoundry.org:10002 02:48:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:48:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:48:26 Configure a credential helper to remove this warning. See 02:48:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:48:26 02:48:26 Login Succeeded 02:48:26 nexus3.edgexfoundry.org:10003 02:48:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:48:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:48:26 Configure a credential helper to remove this warning. See 02:48:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:48:26 02:48:26 Login Succeeded 02:48:26 nexus3.edgexfoundry.org:10004 02:48:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:48:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:48:27 Configure a credential helper to remove this warning. See 02:48:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:48:27 02:48:27 Login Succeeded 02:48:27 docker.io 02:48:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:48:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:48:27 Configure a credential helper to remove this warning. See 02:48:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:48:27 02:48:27 Login Succeeded 02:48:27 ---> docker-login.sh ends [Pipeline] } 02:48:27 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:48:27 ========================================================= 02:48:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 02:48:27 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:48:28 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 02:48:28 Sending build context to Docker daemon 2.542MB 02:48:28 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 02:48:28 Step 2/8 : FROM ${BASE} 02:48:28 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 02:48:28 188c0c94c7c5: Pulling fs layer 02:48:28 0ef7d3d256c8: Pulling fs layer 02:48:28 de9db76c5a1d: Pulling fs layer 02:48:28 bca2f99d35d6: Pulling fs layer 02:48:28 93359f2a8cfa: Pulling fs layer 02:48:28 7c6f9722023f: Pulling fs layer 02:48:28 a35cf1a2eb13: Pulling fs layer 02:48:28 93359f2a8cfa: Waiting 02:48:28 7c6f9722023f: Waiting 02:48:28 a35cf1a2eb13: Waiting 02:48:28 bca2f99d35d6: Waiting 02:48:28 de9db76c5a1d: Verifying Checksum 02:48:28 de9db76c5a1d: Download complete 02:48:28 0ef7d3d256c8: Verifying Checksum 02:48:28 0ef7d3d256c8: Download complete 02:48:28 93359f2a8cfa: Verifying Checksum 02:48:28 93359f2a8cfa: Download complete 02:48:28 7c6f9722023f: Verifying Checksum 02:48:28 7c6f9722023f: Download complete 02:48:28 188c0c94c7c5: Verifying Checksum 02:48:28 188c0c94c7c5: Download complete 02:48:29 188c0c94c7c5: Pull complete 02:48:29 0ef7d3d256c8: Pull complete 02:48:29 de9db76c5a1d: Pull complete 02:48:30 a35cf1a2eb13: Verifying Checksum 02:48:30 a35cf1a2eb13: Download complete 02:48:31 bca2f99d35d6: Verifying Checksum 02:48:31 bca2f99d35d6: Download complete 02:48:36 bca2f99d35d6: Pull complete 02:48:36 93359f2a8cfa: Pull complete 02:48:36 7c6f9722023f: Pull complete 02:48:44 a35cf1a2eb13: Pull complete 02:48:44 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 02:48:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 02:48:44 ---> a62c8e92a672 02:48:44 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:48:45 ---> Running in 559f621036aa 02:48:45 Removing intermediate container 559f621036aa 02:48:45 ---> bccd8fbe30e9 02:48:45 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:48:45 ---> Running in cfc884e9face 02:48:47 Removing intermediate container cfc884e9face 02:48:47 ---> ea1f4577dbf5 02:48:47 Step 5/8 : RUN apk add --update --no-cache make git 02:48:47 ---> Running in 8fa70e963c43 02:48:48 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:48:48 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:48:49 OK: 166 MiB in 39 packages 02:48:49 Removing intermediate container 8fa70e963c43 02:48:49 ---> 3f65580d0994 02:48:49 Step 6/8 : WORKDIR /device-sdk-go 02:48:50 ---> Running in 1c498f285780 02:48:50 Removing intermediate container 1c498f285780 02:48:50 ---> 0767238f9409 02:48:50 Step 7/8 : COPY . . 02:48:51 ---> 8a3df6e7a4df 02:48:51 Step 8/8 : RUN go mod download 02:48:51 ---> Running in fe55729489cb 02:48:53 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 02:49:09 Removing intermediate container fe55729489cb 02:49:09 ---> 7e4455f93245 02:49:09 Successfully built 7e4455f93245 02:49:09 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 02:49:10 + docker inspect -f . ci-base-image-x86_64 02:49:10 . [Pipeline] withDockerContainer 02:49:10 prd-centos7-docker-4c-2g-24085 does not seem to be running inside a container 02:49:10 $ 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 ******** -e ******** ci-base-image-x86_64 cat 02:49:11 $ docker top 8fda2c242d0e0e455237d8c0b41062e17858015390a29c2cfaf0b842323327fd -eo pid,comm [Pipeline] { [Pipeline] sh 02:49:11 + go version 02:49:11 go version go1.15.5 linux/amd64 [Pipeline] } 02:49:11 $ docker stop --time=1 8fda2c242d0e0e455237d8c0b41062e17858015390a29c2cfaf0b842323327fd 02:49:13 $ docker rm -f 8fda2c242d0e0e455237d8c0b41062e17858015390a29c2cfaf0b842323327fd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:49:14 + docker inspect -f . ci-base-image-x86_64 02:49:14 . [Pipeline] withDockerContainer 02:49:14 prd-centos7-docker-4c-2g-24085 does not seem to be running inside a container 02:49:14 $ 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 ******** -e ******** ci-base-image-x86_64 cat 02:49:14 $ docker top e5294a45df503b3e02c2d851e03aecb034c1042558e0d98c88cbb9e244426af4 -eo pid,comm [Pipeline] { [Pipeline] sh 02:49:15 + make test 02:49:15 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:49:23 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 02:49:38 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 02:49:38 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 02:49:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 02:49:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.069s coverage: 19.4% of statements 02:49:40 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 02:49:40 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 02:49:40 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 02:49:40 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.151s coverage: 19.4% of statements 02:49:40 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.451s coverage: 97.1% of statements 02:49:46 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.310s coverage: 97.1% of statements 02:50:12 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.058s coverage: 9.4% of statements 02:50:12 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.064s coverage: 21.7% of statements 02:50:12 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 02:50:12 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.229s coverage: 43.6% of statements 02:50:12 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 02:50:12 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.285s coverage: 66.5% of statements 02:50:12 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 02:50:12 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 02:50:12 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 02:50:12 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 02:50:12 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.070s coverage: 53.8% of statements 02:50:12 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 02:50:12 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 02:50:12 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.075s coverage: 25.2% of statements 02:50:12 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.341s coverage: 83.5% of statements 02:50:12 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.054s coverage: 4.2% of statements 02:50:12 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 02:50:12 GO111MODULE=on go vet ./... 02:50:13 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.145s coverage: 9.4% of statements 02:50:13 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.121s coverage: 21.7% of statements 02:50:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 02:50:13 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.670s coverage: 43.6% of statements 02:50:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 02:50:13 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.833s coverage: 66.5% of statements 02:50:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 02:50:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 02:50:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 02:50:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 02:50:13 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.232s coverage: 53.8% of statements 02:50:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 02:50:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 02:50:13 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.191s coverage: 25.2% of statements 02:50:13 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 6.081s coverage: 83.5% of statements 02:50:13 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.153s coverage: 4.2% of statements 02:50:13 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 02:50:13 GO111MODULE=on go vet ./... 02:50:21 gofmt -l . 02:50:21 [ "`gofmt -l .`" = "" ] 02:50:21 ./bin/test-attribution-txt.sh 02:50:21 ./bin/test-go-mod-tidy.sh [Pipeline] } 02:50:21 $ docker stop --time=1 e5294a45df503b3e02c2d851e03aecb034c1042558e0d98c88cbb9e244426af4 02:50:23 $ docker rm -f e5294a45df503b3e02c2d851e03aecb034c1042558e0d98c88cbb9e244426af4 [Pipeline] // withDockerContainer [Pipeline] sh 02:50:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:50:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:50:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:50:25 + ls -al . 02:50:25 total 216 02:50:25 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 30 02:50 . 02:50:25 drwxrwxr-x. 4 jenkins jenkins 28 Jan 30 02:48 .. 02:50:25 drwxrwxr-x. 2 jenkins jenkins 64 Jan 30 02:48 bin 02:50:25 -rw-r--r--. 1 jenkins jenkins 138370 Jan 30 02:50 coverage.out 02:50:25 -rw-rw-r--. 1 jenkins jenkins 949 Jan 30 02:48 Dockerfile.build 02:50:25 -rw-rw-r--. 1 jenkins jenkins 140 Jan 30 02:48 .dockerignore 02:50:25 drwxrwxr-x. 4 jenkins jenkins 48 Jan 30 02:48 example 02:50:25 drwxrwxr-x. 8 jenkins jenkins 179 Jan 30 02:48 .git 02:50:25 drwxrwxr-x. 2 jenkins jenkins 103 Jan 30 02:48 .github 02:50:25 -rw-rw-r--. 1 jenkins jenkins 138 Jan 30 02:48 .gitignore 02:50:25 -rw-r--r--. 1 jenkins jenkins 514 Jan 30 02:50 go.mod 02:50:25 -rw-r--r--. 1 jenkins jenkins 14191 Jan 30 02:50 go.sum 02:50:25 drwxrwxr-x. 15 jenkins jenkins 211 Jan 30 02:48 internal 02:50:25 -rw-rw-r--. 1 jenkins jenkins 901 Jan 30 02:48 Jenkinsfile 02:50:25 -rw-rw-r--. 1 jenkins jenkins 11341 Jan 30 02:48 LICENSE 02:50:25 -rw-rw-r--. 1 jenkins jenkins 1016 Jan 30 02:48 Makefile 02:50:25 drwxrwxr-x. 4 jenkins jenkins 26 Jan 30 02:48 openapi 02:50:25 drwxrwxr-x. 5 jenkins jenkins 50 Jan 30 02:48 pkg 02:50:25 -rw-rw-r--. 1 jenkins jenkins 5897 Jan 30 02:48 README.md 02:50:25 -rw-rw-r--. 1 jenkins jenkins 6616 Jan 30 02:48 RELEASE-NOTES.txt 02:50:25 drwxrwxr-x. 4 jenkins jenkins 54 Jan 30 02:48 snap 02:50:25 -rw-rw-r--. 1 jenkins jenkins 5 Jan 30 02:43 VERSION 02:50:25 -rw-rw-r--. 1 jenkins jenkins 222 Jan 30 02:48 version.go [Pipeline] isUnix [Pipeline] sh 02:50:26 + 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=48807053613575e78c4fa610d360d65e6f880de1 --label arch=amd64 --label version=0.0.0 . 02:50:26 Sending build context to Docker daemon 2.681MB 02:50:26 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 02:50:26 Step 2/24 : FROM ${BASE} AS builder 02:50:26 ---> 7e4455f93245 02:50:26 Step 3/24 : ARG MAKE='make build' 02:50:27 ---> Running in b7f8bc5f9578 02:50:27 Removing intermediate container b7f8bc5f9578 02:50:27 ---> e3735a94cfcb 02:50:27 Step 4/24 : WORKDIR /device-sdk-go 02:50:27 ---> Running in aaaac5891ad0 02:50:27 Removing intermediate container aaaac5891ad0 02:50:27 ---> 208428d5f3ce 02:50:27 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:50:27 ---> Running in d543b907a796 02:50:27 Removing intermediate container d543b907a796 02:50:27 ---> eae529a9caa9 02:50:27 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:50:27 ---> Running in 54ae43744e39 02:50:29 Removing intermediate container 54ae43744e39 02:50:29 ---> b53ecbc43cb9 02:50:29 Step 7/24 : RUN apk add --update --no-cache make git 02:50:29 ---> Running in 83b481ae6413 02:50:29 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:50:30 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:50:31 OK: 166 MiB in 39 packages 02:50:31 Removing intermediate container 83b481ae6413 02:50:31 ---> a87b3d667e10 02:50:31 Step 8/24 : COPY . . 02:50:32 ---> bae37031c718 02:50:32 Step 9/24 : RUN ${MAKE} 02:50:32 ---> Running in 02a492522ed4 02:50:32 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 02:50:41 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:50:43 Removing intermediate container 02a492522ed4 02:50:43 ---> b4a1457319d3 02:50:43 Step 10/24 : FROM scratch 02:50:43 ---> 02:50:43 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:50:43 ---> Running in 5078cd24b892 02:50:44 Removing intermediate container 5078cd24b892 02:50:44 ---> d732ca9215a9 02:50:44 Step 12/24 : ENV APP_PORT=49990 02:50:44 ---> Running in 0cac436435d3 02:50:44 Removing intermediate container 0cac436435d3 02:50:44 ---> e5189dff49d0 02:50:44 Step 13/24 : EXPOSE $APP_PORT 02:50:44 ---> Running in 9ba06fb9ffc0 02:50:44 Removing intermediate container 9ba06fb9ffc0 02:50:44 ---> 45a5c13c8ce8 02:50:44 Step 14/24 : WORKDIR / 02:50:44 ---> Running in 30a15020aff8 02:50:44 Removing intermediate container 30a15020aff8 02:50:44 ---> 29ac406e0979 02:50:44 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:50:45 ---> 429924f0ba05 02:50:45 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:50:45 ---> 4d25bbd5e547 02:50:45 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:50:45 ---> 719cac365ffd 02:50:45 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:50:46 ---> 8fed0e9c3218 02:50:46 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:50:46 ---> ca38f62b2d54 02:50:46 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:50:46 ---> Running in 367b74b69442 02:50:46 Removing intermediate container 367b74b69442 02:50:46 ---> 4fbe0eeef3c2 02:50:46 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:50:46 ---> Running in e96be84efc81 02:50:46 Removing intermediate container e96be84efc81 02:50:46 ---> 489890618f20 02:50:46 Step 22/24 : LABEL arch=amd64 02:50:46 ---> Running in 4773de6333f9 02:50:47 Removing intermediate container 4773de6333f9 02:50:47 ---> 359f2a466b14 02:50:47 Step 23/24 : LABEL git_sha=48807053613575e78c4fa610d360d65e6f880de1 02:50:47 ---> Running in 4dffb08021ea 02:50:47 Removing intermediate container 4dffb08021ea 02:50:47 ---> 881fc0be305b 02:50:47 Step 24/24 : LABEL version=0.0.0 02:50:47 ---> Running in a3ae0377b536 02:50:47 Removing intermediate container a3ae0377b536 02:50:47 ---> ea69b3e042b1 02:50:47 [Warning] One or more build-args [ARCH] were not consumed 02:50:47 Successfully built ea69b3e042b1 02:50:47 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 02:50:52 gofmt -l . 02:50:52 [ "`gofmt -l .`" = "" ] 02:50:52 ./bin/test-attribution-txt.sh 02:50:52 ./bin/test-go-mod-tidy.sh [Pipeline] } 02:50:52 $ docker stop --time=1 f5ad2ff48be203bc7253c2c94e30b170aa159e4e4c1b2840a60f9f5c64a82435 02:50:55 $ docker rm -f f5ad2ff48be203bc7253c2c94e30b170aa159e4e4c1b2840a60f9f5c64a82435 [Pipeline] // withDockerContainer [Pipeline] sh 02:50:56 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:50:56 Warning: overwriting stash ‘coverage-report’ 02:50:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:50:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:50:58 + ls -al . 02:50:58 total 252 02:50:58 drwxrwxr-x 10 jenkins jenkins 4096 Jan 30 02:50 . 02:50:58 drwxrwxr-x 4 jenkins jenkins 4096 Jan 30 02:47 .. 02:50:58 -rw-rw-r-- 1 jenkins jenkins 140 Jan 30 02:47 .dockerignore 02:50:58 drwxrwxr-x 8 jenkins jenkins 4096 Jan 30 02:47 .git 02:50:58 drwxrwxr-x 2 jenkins jenkins 4096 Jan 30 02:47 .github 02:50:58 -rw-rw-r-- 1 jenkins jenkins 138 Jan 30 02:47 .gitignore 02:50:58 -rw-rw-r-- 1 jenkins jenkins 949 Jan 30 02:47 Dockerfile.build 02:50:58 -rw-rw-r-- 1 jenkins jenkins 901 Jan 30 02:47 Jenkinsfile 02:50:58 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 30 02:47 LICENSE 02:50:58 -rw-rw-r-- 1 jenkins jenkins 1016 Jan 30 02:47 Makefile 02:50:58 -rw-rw-r-- 1 jenkins jenkins 5897 Jan 30 02:47 README.md 02:50:58 -rw-rw-r-- 1 jenkins jenkins 6616 Jan 30 02:47 RELEASE-NOTES.txt 02:50:58 -rw-rw-r-- 1 jenkins jenkins 5 Jan 30 02:43 VERSION 02:50:58 drwxrwxr-x 2 jenkins jenkins 4096 Jan 30 02:47 bin 02:50:58 -rw-r--r-- 1 jenkins jenkins 138370 Jan 30 02:50 coverage.out 02:50:58 drwxrwxr-x 4 jenkins jenkins 4096 Jan 30 02:47 example 02:50:58 -rw-r--r-- 1 jenkins jenkins 514 Jan 30 02:50 go.mod 02:50:58 -rw-r--r-- 1 jenkins jenkins 14191 Jan 30 02:50 go.sum 02:50:58 drwxrwxr-x 15 jenkins jenkins 4096 Jan 30 02:47 internal 02:50:58 drwxrwxr-x 4 jenkins jenkins 4096 Jan 30 02:47 openapi 02:50:58 drwxrwxr-x 5 jenkins jenkins 4096 Jan 30 02:47 pkg 02:50:58 drwxrwxr-x 4 jenkins jenkins 4096 Jan 30 02:47 snap 02:50:58 -rw-rw-r-- 1 jenkins jenkins 222 Jan 30 02:47 version.go [Pipeline] isUnix [Pipeline] sh 02:50:58 + 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=48807053613575e78c4fa610d360d65e6f880de1 --label arch=arm64 --label version=0.0.0 . 02:50:59 Sending build context to Docker daemon 2.68MB 02:50:59 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 02:50:59 Step 2/24 : FROM ${BASE} AS builder 02:50:59 ---> 1d43edf84476 02:50:59 Step 3/24 : ARG MAKE='make build' 02:50:59 ---> Running in 99814a651e21 02:51:00 Removing intermediate container 99814a651e21 02:51:00 ---> 1091e90dbdc5 02:51:00 Step 4/24 : WORKDIR /device-sdk-go 02:51:00 ---> Running in 2e70a5c2222e 02:51:00 Removing intermediate container 2e70a5c2222e 02:51:00 ---> fc33e2a54be9 02:51:00 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:51:00 ---> Running in 956a718b43ba 02:51:01 Removing intermediate container 956a718b43ba 02:51:01 ---> 7aa45a0d9deb 02:51:01 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:51:01 ---> Running in 2ec4b7290761 02:51:03 Removing intermediate container 2ec4b7290761 02:51:03 ---> 2c4ae79b4b8b 02:51:03 Step 7/24 : RUN apk add --update --no-cache make git 02:51:03 ---> Running in 604b4c8705ad 02:51:04 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:51:05 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:51:06 OK: 142 MiB in 39 packages 02:51:07 Removing intermediate container 604b4c8705ad 02:51:07 ---> 97b6b9ced961 02:51:07 Step 8/24 : COPY . . 02:51:08 ---> 69bdb5cd41d5 02:51:08 Step 9/24 : RUN ${MAKE} 02:51:09 ---> Running in 9b961dceb5c7 02:51:10 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 02:51:36 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:51:38 Removing intermediate container 9b961dceb5c7 02:51:38 ---> 30cb07203731 02:51:38 Step 10/24 : FROM scratch 02:51:38 ---> 02:51:38 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:51:38 ---> Running in 87035b8b57bf 02:51:38 Removing intermediate container 87035b8b57bf 02:51:38 ---> 72bc7d3fc1ce 02:51:38 Step 12/24 : ENV APP_PORT=49990 02:51:39 ---> Running in 567356659f71 02:51:39 Removing intermediate container 567356659f71 02:51:39 ---> 06e2cd2c55e6 02:51:39 Step 13/24 : EXPOSE $APP_PORT 02:51:39 ---> Running in 26222cbdbbfe 02:51:39 Removing intermediate container 26222cbdbbfe 02:51:39 ---> 5c1686333056 02:51:39 Step 14/24 : WORKDIR / 02:51:40 ---> Running in 6711126fdd23 02:51:40 Removing intermediate container 6711126fdd23 02:51:40 ---> ddd4dd3df93d 02:51:40 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:51:41 ---> e21c32fe3af7 02:51:41 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:51:42 ---> 2a11f0da5437 02:51:42 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:51:43 ---> 4c16f6ce37ba 02:51:43 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:51:43 ---> 46a58be178d8 02:51:43 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:51:44 ---> cebad77ac301 02:51:44 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:51:44 ---> Running in 5d6585322a49 02:51:44 Removing intermediate container 5d6585322a49 02:51:44 ---> ec75e98f222f 02:51:44 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:51:45 ---> Running in 5701804e6e82 02:51:45 Removing intermediate container 5701804e6e82 02:51:45 ---> fb446c9f4a66 02:51:45 Step 22/24 : LABEL arch=arm64 02:51:45 ---> Running in a5aa800119b9 02:51:46 Removing intermediate container a5aa800119b9 02:51:46 ---> e8434ca5e2ec 02:51:46 Step 23/24 : LABEL git_sha=48807053613575e78c4fa610d360d65e6f880de1 02:51:46 ---> Running in b4ce88a3176b 02:51:46 Removing intermediate container b4ce88a3176b 02:51:46 ---> 8e7d38cd3824 02:51:46 Step 24/24 : LABEL version=0.0.0 02:51:46 ---> Running in ec37e7bbdbbe 02:51:47 Removing intermediate container ec37e7bbdbbe 02:51:47 ---> 41a797b8da72 02:51:47 [Warning] One or more build-args [ARCH] were not consumed 02:51:47 Successfully built 41a797b8da72 02:51:47 Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 02:51:48 provisioning config files... 02:51:48 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp/config7730117349246685152tmp [Pipeline] { [Pipeline] sh 02:51:49 + set +x 02:51:49 + curl -s https://codecov.io/bash 02:51:49 + bash -s -- 02:51:49 02:51:49 _____ _ 02:51:49 / ____| | | 02:51:49 | | ___ __| | ___ ___ _____ __ 02:51:49 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:51:49 | |___| (_) | (_| | __/ (_| (_) \ V / 02:51:49 \_____\___/ \__,_|\___|\___\___/ \_/ 02:51:49 Bash-20210129-7c25fce 02:51:49 02:51:49 02:51:49 ==> git version 2.24.3 found 02:51:49 ==> 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 02:51:49 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 02:51:49 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 02:51:49 ==> Jenkins CI detected. 02:51:49 project root: . 02:51:49 --> token set from env 02:51:49 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:51:49 ==> Running gcov in . (disable via -X gcov) 02:51:49 ==> Python coveragepy not found 02:51:49 ==> Searching for coverage reports in: 02:51:49 + . 02:51:49 -> Found 1 reports 02:51:49 ==> Detecting git/mercurial file structure 02:51:49 ==> Reading reports 02:51:49 + ./coverage.out bytes=138370 02:51:49 ==> Appending adjustments 02:51:49 https://docs.codecov.io/docs/fixing-reports 02:51:50 + Found adjustments 02:51:50 ==> Gzipping contents 02:51:50 24K /tmp/codecov.LVrp2b.gz 02:51:50 ==> Uploading reports 02:51:50 url: https://codecov.io 02:51:50 query: branch=PR-732&commit=48807053613575e78c4fa610d360d65e6f880de1&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-732%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=732&job=&cmd_args= 02:51:50 -> Pinging Codecov 02:51:50 https://codecov.io/upload/v4?package=bash-20210129-7c25fce&token=secret&branch=PR-732&commit=48807053613575e78c4fa610d360d65e6f880de1&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-732%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=732&job=&cmd_args= 02:51:50 -> Uploading to 02:51:50 https://storage.googleapis.com/codecov/v4/raw/2021-01-30/7E55EF52A471D76F132DFD9A03CDDE97/48807053613575e78c4fa610d360d65e6f880de1/f98e277d-114a-4a4c-91db-037a4edf7ddd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210130%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210130T025150Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=223e75ba2091cbe29cab4dcbbf1753554a623ca68ec513873d8a23345239850a 02:51:50 % Total % Received % Xferd Average Speed Time Time Time Current 02:51:50 Dload Upload Total Spent Left Speed 02:51:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21732 0 0 100 21732 0 42411 --:--:-- --:--:-- --:--:-- 42362 100 21732 0 0 100 21732 0 42380 --:--:-- --:--:-- --:--:-- 42362 02:51:51 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/48807053613575e78c4fa610d360d65e6f880de1 [Pipeline] } 02:51:51 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 02:51:53 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:51:54 ---> package-listing.sh 02:51:54 ++ facter osfamily 02:51:54 ++ tr '[:upper:]' '[:lower:]' 02:51:54 + OS_FAMILY=redhat 02:51:54 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-732 02:51:54 + START_PACKAGES=/tmp/packages_start.txt 02:51:54 + END_PACKAGES=/tmp/packages_end.txt 02:51:54 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:51:54 + PACKAGES=/tmp/packages_start.txt 02:51:54 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-732 ']' 02:51:54 + PACKAGES=/tmp/packages_end.txt 02:51:54 + case "${OS_FAMILY}" in 02:51:54 + rpm -qa 02:51:54 + sort 02:52:01 + '[' -f /tmp/packages_start.txt ']' 02:52:01 + '[' -f /tmp/packages_end.txt ']' 02:52:01 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:52:01 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-732 ']' 02:52:01 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-732/archives/ 02:52:01 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-732/archives/ [Pipeline] echo 02:52:01 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-732/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:52:02 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 02:52:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:52:03 02:52:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 02:52:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:52:03 alpine: Pulling from edgex-lftools-log-publisher 02:52:03 df20fa9351a1: Pulling fs layer 02:52:03 36b3adc4ff6f: Pulling fs layer 02:52:03 8ad3a11d3b57: Pulling fs layer 02:52:03 46f8f816bc3b: Pulling fs layer 02:52:03 93b61091891f: Pulling fs layer 02:52:03 93b9cdb0e59b: Pulling fs layer 02:52:03 5e14af77c1be: Pulling fs layer 02:52:03 01666e4c0597: Pulling fs layer 02:52:03 aa168da1d23b: Pulling fs layer 02:52:03 93b9cdb0e59b: Waiting 02:52:03 5e14af77c1be: Waiting 02:52:03 01666e4c0597: Waiting 02:52:03 aa168da1d23b: Waiting 02:52:03 46f8f816bc3b: Waiting 02:52:03 93b61091891f: Waiting 02:52:03 36b3adc4ff6f: Verifying Checksum 02:52:03 36b3adc4ff6f: Download complete 02:52:03 46f8f816bc3b: Download complete 02:52:03 df20fa9351a1: Download complete 02:52:03 93b9cdb0e59b: Download complete 02:52:03 5e14af77c1be: Verifying Checksum 02:52:03 5e14af77c1be: Download complete 02:52:03 01666e4c0597: Download complete 02:52:03 93b61091891f: Verifying Checksum 02:52:03 93b61091891f: Download complete 02:52:04 8ad3a11d3b57: Verifying Checksum 02:52:04 8ad3a11d3b57: Download complete 02:52:04 df20fa9351a1: Pull complete 02:52:05 36b3adc4ff6f: Pull complete 02:52:06 8ad3a11d3b57: Pull complete 02:52:07 46f8f816bc3b: Pull complete 02:52:08 93b61091891f: Pull complete 02:52:08 93b9cdb0e59b: Pull complete 02:52:08 5e14af77c1be: Pull complete 02:52:08 01666e4c0597: Pull complete 02:52:09 aa168da1d23b: Verifying Checksum 02:52:09 aa168da1d23b: Download complete 02:52:21 aa168da1d23b: Pull complete 02:52:21 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 02:52:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:52:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 02:52:22 prd-centos7-docker-4c-2g-24079 does not seem to be running inside a container 02:52:22 $ 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-732/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-732 -v /w/workspace/dgexfoundry_device-sdk-go_PR-732:/w/workspace/dgexfoundry_device-sdk-go_PR-732:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-732@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:10003/edgex-lftools-log-publisher:alpine cat 02:52:26 $ docker top 875cb6996ba5fd7545c6176d8b62be508e02088188aa8c7dc90aa99dfddfcca3 -eo pid,comm [Pipeline] { [Pipeline] sh 02:52:27 + touch /tmp/pre-build-complete [Pipeline] sh 02:52:27 + mkdir -p /var/log/sa [Pipeline] sh 02:52:27 + ls /var/log/sa-host 02:52:27 + sadf -c /var/log/sa-host/sa23 02:52:27 file_magic: OK 02:52:27 HZ: Using current value: 100 02:52:27 file_header: OK 02:52:27 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 02:52:27 Statistics: 02:52:27 Hnuu...uuuununununu... 02:52:27 File successfully converted to sysstat format version 12.2.1 02:52:27 + sadf -c /var/log/sa-host/sa30 02:52:27 file_magic: OK 02:52:27 HZ: Using current value: 100 02:52:27 file_header: OK 02:52:27 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 02:52:27 Statistics: 02:52:27 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 02:52:27 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:52:28 provisioning config files... 02:52:28 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp/config6405657487415046512tmp [Pipeline] { [Pipeline] echo 02:52:28 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:52:28 ---> create-netrc.sh [Pipeline] } 02:52:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 02:52:28 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 02:52:28 ---> python-tools-install.sh [Pipeline] echo 02:52:28 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:52:29 ---> sudo-logs.sh 02:52:29 Archiving 'sudo' log.. [Pipeline] echo 02:52:29 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:52:30 ---> job-cost.sh 02:52:30 lf-activate-venv: SKIPPING 02:52:30 INFO: No Stack... 02:52:31 INFO: Retrieving Pricing Info for: v1-standard-2 02:52:31 INFO: Archiving Costs [Pipeline] echo 02:52:31 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:52:32 ---> logs-deploy.sh 02:52:32 lf-activate-venv: SKIPPING 02:52:32 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-732/9 02:52:32 INFO: archiving workspace using pattern(s): 02:52:35 Archives upload complete. 02:52:35 INFO: archiving logs to Nexus 02:52:37 ---> uname -a: 02:52:37 Linux prd-centos7-docker-4c-2g-24079.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 02:52:37 02:52:37 02:52:37 ---> lscpu: 02:52:37 Architecture: x86_64 02:52:37 CPU op-mode(s): 32-bit, 64-bit 02:52:37 Byte Order: Little Endian 02:52:37 Address sizes: 40 bits physical, 48 bits virtual 02:52:37 CPU(s): 4 02:52:37 On-line CPU(s) list: 0-3 02:52:37 Thread(s) per core: 1 02:52:37 Core(s) per socket: 1 02:52:37 Socket(s): 4 02:52:37 NUMA node(s): 1 02:52:37 Vendor ID: GenuineIntel 02:52:37 CPU family: 6 02:52:37 Model: 44 02:52:37 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 02:52:37 Stepping: 1 02:52:37 CPU MHz: 2933.438 02:52:37 BogoMIPS: 5866.87 02:52:37 Virtualization: VT-x 02:52:37 Hypervisor vendor: KVM 02:52:37 Virtualization type: full 02:52:37 L1d cache: 128 KiB 02:52:37 L1i cache: 128 KiB 02:52:37 L2 cache: 16 MiB 02:52:37 L3 cache: 64 MiB 02:52:37 NUMA node0 CPU(s): 0-3 02:52:37 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 02:52:37 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 02:52:37 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 02:52:37 Vulnerability Meltdown: Mitigation; PTI 02:52:37 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 02:52:37 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 02:52:37 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 02:52:37 Vulnerability Srbds: Not affected 02:52:37 Vulnerability Tsx async abort: Not affected 02:52:37 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 02:52:37 02:52:37 02:52:37 ---> nproc: 02:52:37 4 02:52:37 02:52:37 02:52:37 ---> df -h: 02:52:37 Filesystem Size Used Available Use% Mounted on 02:52:37 overlay 50.0G 7.3G 42.7G 15% / 02:52:37 tmpfs 64.0M 0 64.0M 0% /dev 02:52:37 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 02:52:37 shm 64.0M 0 64.0M 0% /dev/shm 02:52:37 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 02:52:37 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 02:52:37 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 02:52:37 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 02:52:37 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-732 02:52:37 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp 02:52:37 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 02:52:37 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 02:52:37 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 02:52:37 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 02:52:37 02:52:37 02:52:37 ---> free -m: 02:52:37 total used free shared buff/cache available 02:52:37 Mem: 1837 693 104 0 1039 1039 02:52:37 Swap: 1023 1 1022 02:52:37 02:52:37 02:52:37 ---> ip addr: 02:52:37 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 02:52:37 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 02:52:37 inet 127.0.0.1/8 scope host lo 02:52:37 valid_lft forever preferred_lft forever 02:52:37 inet6 ::1/128 scope host 02:52:37 valid_lft forever preferred_lft forever 02:52:37 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 02:52:37 link/ether fa:16:3e:bc:7f:ab brd ff:ff:ff:ff:ff:ff 02:52:37 inet 10.30.123.152/23 brd 10.30.123.255 scope global dynamic eth0 02:52:37 valid_lft 85803sec preferred_lft 85803sec 02:52:37 inet6 fe80::f816:3eff:febc:7fab/64 scope link 02:52:37 valid_lft forever preferred_lft forever 02:52:37 3: docker0: mtu 1500 qdisc noqueue state DOWN 02:52:37 link/ether 02:42:b3:1e:90:96 brd ff:ff:ff:ff:ff:ff 02:52:37 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 02:52:37 valid_lft forever preferred_lft forever 02:52:37 inet6 fe80::42:b3ff:fe1e:9096/64 scope link 02:52:37 valid_lft forever preferred_lft forever 02:52:37 02:52:37 02:52:37 ---> sar -b -r -n DEV: 02:52:37 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/30/21 _x86_64_ (4 CPU) 02:52:37 02:52:37 02:42:28 LINUX RESTART (4 CPU) 02:52:37 02:52:37 02:43:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 02:52:37 02:44:01 90.63 50.26 40.38 0.00 7877.29 3873.63 0.00 02:52:37 02:45:01 0.83 0.00 0.83 0.00 0.00 21.44 0.00 02:52:37 02:46:01 0.33 0.00 0.33 0.00 0.00 5.41 0.00 02:52:37 02:47:01 0.27 0.00 0.27 0.00 0.00 3.73 0.00 02:52:37 02:48:01 0.23 0.00 0.23 0.00 0.00 2.50 0.00 02:52:37 02:49:01 0.27 0.00 0.27 0.00 0.00 3.38 0.00 02:52:37 02:50:02 0.28 0.00 0.28 0.00 0.00 3.33 0.00 02:52:37 02:51:01 0.30 0.00 0.30 0.00 0.00 3.47 0.00 02:52:37 02:52:01 49.01 46.90 2.11 0.00 3907.95 53.83 0.00 02:52:37 Average: 15.84 10.83 5.01 0.00 1312.91 442.06 0.00 02:52:37 02:52:37 02:43:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 02:52:37 02:44:01 175592 0 588384 31.27 2620 1114948 1134484 38.72 397644 1109444 128 02:52:37 02:45:01 183372 0 580512 30.85 2620 1115040 1072132 36.59 394452 1106048 20 02:52:37 02:46:01 182596 0 581228 30.89 2620 1115100 1072288 36.60 405880 1095528 28 02:52:37 02:47:01 181104 0 582772 30.97 2620 1115048 1072372 36.60 408328 1094864 16 02:52:37 02:48:01 182324 0 581548 30.91 2620 1115052 1072132 36.59 416816 1084968 16 02:52:37 02:49:01 181620 0 582248 30.95 2620 1115056 1072324 36.60 417300 1085660 8 02:52:37 02:50:02 182380 0 581484 30.90 2620 1115060 1072132 36.59 426996 1074928 8 02:52:37 02:51:01 182652 0 581208 30.89 2620 1115064 1072132 36.59 427000 1074928 8 02:52:37 02:52:01 72684 0 605716 32.19 2620 1200524 1108484 37.83 448284 1163308 8 02:52:37 Average: 169369 0 585011 31.09 2620 1124544 1083164 36.97 415856 1098853 27 02:52:37 02:52:37 02:43:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 02:52:37 02:44:01 eth0 269.04 187.24 1079.23 95.27 0.00 0.00 0.00 0.00 02:52:37 02:44:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:37 02:44:01 docker0 10.53 8.72 1.41 21.89 0.00 0.00 0.00 0.00 02:52:37 02:45:01 eth0 0.72 0.07 0.06 0.01 0.00 0.00 0.00 0.00 02:52:37 02:45:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:37 02:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:37 02:46:01 eth0 1.88 0.38 0.39 0.17 0.00 0.00 0.00 0.00 02:52:37 02:46:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:37 02:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:37 02:47:01 eth0 0.98 0.73 0.54 0.41 0.00 0.00 0.00 0.00 02:52:37 02:47:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:37 02:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:37 02:48:01 eth0 0.62 0.08 0.06 0.04 0.00 0.00 0.00 0.00 02:52:37 02:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:37 02:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:37 02:49:01 eth0 0.72 0.42 0.41 0.26 0.00 0.00 0.00 0.00 02:52:37 02:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:37 02:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:37 02:50:02 eth0 0.08 0.08 0.01 0.01 0.00 0.00 0.00 0.00 02:52:37 02:50:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:37 02:50:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:37 02:51:01 eth0 0.14 0.08 0.01 0.01 0.00 0.00 0.00 0.00 02:52:37 02:51:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:37 02:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:37 02:52:01 eth0 11.46 7.29 11.14 4.50 0.00 0.00 0.00 0.00 02:52:37 02:52:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:37 02:52:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:37 Average: eth0 31.80 21.86 121.56 11.21 0.00 0.00 0.00 0.00 02:52:37 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:37 Average: docker0 1.17 0.97 0.16 2.44 0.00 0.00 0.00 0.00 02:52:37 02:52:37 02:52:37 ---> sar -P ALL: 02:52:37 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/30/21 _x86_64_ (4 CPU) 02:52:37 02:52:37 02:42:28 LINUX RESTART (4 CPU) 02:52:37 02:52:37 02:43:01 CPU %user %nice %system %iowait %steal %idle 02:52:37 02:44:01 all 14.21 0.00 6.84 2.59 12.21 64.14 02:52:37 02:44:01 0 15.88 0.00 7.13 1.92 12.08 62.99 02:52:37 02:44:01 1 12.93 0.00 6.31 3.07 11.95 65.73 02:52:37 02:44:01 2 15.44 0.00 6.74 2.00 12.09 63.72 02:52:37 02:44:01 3 12.60 0.00 7.18 3.36 12.74 64.11 02:52:37 02:45:01 all 0.11 0.00 0.08 0.00 0.35 99.46 02:52:37 02:45:01 0 0.08 0.00 0.10 0.00 0.32 99.50 02:52:37 02:45:01 1 0.08 0.00 0.05 0.00 0.27 99.60 02:52:37 02:45:01 2 0.20 0.00 0.07 0.00 0.47 99.27 02:52:37 02:45:01 3 0.08 0.00 0.10 0.00 0.37 99.45 02:52:37 02:46:01 all 0.10 0.00 0.17 0.00 0.94 98.79 02:52:37 02:46:01 0 0.02 0.00 0.07 0.00 0.91 99.01 02:52:37 02:46:01 1 0.07 0.00 0.27 0.00 1.03 98.64 02:52:37 02:46:01 2 0.28 0.00 0.22 0.00 1.01 98.49 02:52:37 02:46:01 3 0.03 0.00 0.12 0.00 0.83 99.02 02:52:37 02:47:01 all 0.07 0.00 0.04 0.00 0.53 99.36 02:52:37 02:47:01 0 0.07 0.00 0.08 0.00 1.01 98.84 02:52:37 02:47:01 1 0.02 0.00 0.02 0.00 0.46 99.50 02:52:37 02:47:01 2 0.02 0.00 0.02 0.00 0.15 99.82 02:52:37 02:47:01 3 0.20 0.00 0.03 0.00 0.48 99.29 02:52:37 02:48:01 all 0.12 0.00 0.07 0.00 0.33 99.48 02:52:37 02:48:01 0 0.03 0.00 0.03 0.00 0.28 99.65 02:52:37 02:48:01 1 0.12 0.00 0.13 0.00 0.33 99.42 02:52:37 02:48:01 2 0.07 0.00 0.12 0.00 0.50 99.32 02:52:37 02:48:01 3 0.25 0.00 0.02 0.00 0.22 99.52 02:52:37 02:49:01 all 0.17 0.00 0.14 0.00 0.48 99.21 02:52:37 02:49:01 0 0.05 0.00 0.15 0.00 0.32 99.48 02:52:37 02:49:01 1 0.42 0.00 0.30 0.00 0.53 98.75 02:52:37 02:49:01 2 0.15 0.00 0.08 0.00 0.70 99.07 02:52:37 02:49:01 3 0.05 0.00 0.03 0.00 0.38 99.53 02:52:37 02:50:02 all 0.10 0.00 0.07 0.00 0.30 99.53 02:52:37 02:50:02 0 0.00 0.00 0.02 0.00 0.17 99.82 02:52:37 02:50:02 1 0.03 0.00 0.13 0.00 0.27 99.57 02:52:37 02:50:02 2 0.35 0.00 0.10 0.00 0.48 99.07 02:52:37 02:50:02 3 0.02 0.00 0.03 0.00 0.27 99.68 02:52:37 02:51:01 all 0.10 0.00 0.03 0.00 0.69 99.18 02:52:37 02:51:01 0 0.02 0.00 0.02 0.00 0.22 99.75 02:52:37 02:51:01 1 0.03 0.00 0.05 0.00 0.67 99.24 02:52:37 02:51:01 2 0.34 0.00 0.03 0.00 0.99 98.64 02:52:37 02:51:01 3 0.00 0.00 0.00 0.00 0.89 99.11 02:52:37 02:52:01 all 1.13 0.00 0.52 1.69 1.49 95.17 02:52:37 02:52:01 0 0.61 0.00 0.51 0.02 1.34 97.52 02:52:37 02:52:01 1 1.94 0.00 0.68 4.07 1.38 91.93 02:52:37 02:52:01 2 0.94 0.00 0.26 0.08 1.82 96.90 02:52:37 02:52:01 3 1.05 0.00 0.62 2.62 1.42 94.29 02:52:37 Average: all 1.76 0.00 0.87 0.47 1.90 95.00 02:52:37 Average: 0 1.82 0.00 0.88 0.21 1.82 95.27 02:52:37 Average: 1 1.72 0.00 0.87 0.79 1.86 94.75 02:52:37 Average: 2 1.94 0.00 0.84 0.23 2.00 94.99 02:52:37 Average: 3 1.55 0.00 0.88 0.66 1.92 94.99 02:52:37 02:52:37 02:52:37