Pull request #720 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 7f9fab5afdf02143f468fd7fcc0985681ec1d95b+909cc88fb1ad949568bf33336c87c0ea6bd2f5d5 (32e810efd389d94298db04f02a0c2fa35c2cc5b7) 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd # timeout=10 Commit message: "Merge pull request #306 from ernestojeda/disable-snyk-scan" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org 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-19260 in /w/workspace/dgexfoundry_device-sdk-go_PR-720 [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-720 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/720/head:refs/remotes/origin/PR-720 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 909cc88fb1ad949568bf33336c87c0ea6bd2f5d5 into PR head commit 7f9fab5afdf02143f468fd7fcc0985681ec1d95b Merge succeeded, producing 7f9fab5afdf02143f468fd7fcc0985681ec1d95b Checking out Revision 7f9fab5afdf02143f468fd7fcc0985681ec1d95b (PR-720) > git config core.sparsecheckout # timeout=10 > git checkout -f 7f9fab5afdf02143f468fd7fcc0985681ec1d95b # 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 909cc88fb1ad949568bf33336c87c0ea6bd2f5d5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7f9fab5afdf02143f468fd7fcc0985681ec1d95b # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:22:34 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:22:34 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { > git rev-list --no-walk b2a7f5277469ef6d625da12ae42ca404d4ee5c6b # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:22:34 ========================================================= 13:22:34 EdgeX Global Pipelines Version Info 13:22:34 ========================================================= [Pipeline] libraryResource [Pipeline] sh 13:22:36 ------------------- 13:22:36 stable info: 13:22:36 ------------------- 13:22:36 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:22:36 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 13:22:36 Message: update stable to v1.0.173 13:22:37 ------------------- 13:22:37 experimental info: 13:22:37 ------------------- 13:22:37 Commited By: **** collab-it+edgex@linuxfoundation.org 13:22:37 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 13:22:37 Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 13:22:37 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 13:22:37 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 13:22:37 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:22:37 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:22:37 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:22:37 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 13:22:37 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 13:22:38 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 13:22:38 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 13:22:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 13:22:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:22:38 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 13:22:38 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:22:38 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:22:38 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 13:22:38 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 13:22:38 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 13:22:38 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 13:22:39 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:22:39 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 13:22:39 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 13:22:39 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 13:22:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 13:22:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 13:22:39 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 13:22:39 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 13:22:39 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 13:22:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-720 [Pipeline] echo 13:22:39 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-720 [Pipeline] echo 13:22:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-720 [Pipeline] echo 13:22:40 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7f9fab5afdf02143f468fd7fcc0985681ec1d95b [Pipeline] echo 13:22:40 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7f9fab5 [Pipeline] echo 13:22:40 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 13:22:40 provisioning config files... 13:22:40 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-720@tmp/config4319483457595841122tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:22:41 ---> docker-login.sh 13:22:41 nexus3.edgexfoundry.org:10001 13:22:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:22:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:22:41 Configure a credential helper to remove this warning. See 13:22:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:22:41 13:22:41 Login Succeeded 13:22:41 nexus3.edgexfoundry.org:10002 13:22:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:22:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:22:41 Configure a credential helper to remove this warning. See 13:22:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:22:41 13:22:41 Login Succeeded 13:22:41 nexus3.edgexfoundry.org:10003 13:22:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:22:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:22:42 Configure a credential helper to remove this warning. See 13:22:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:22:42 13:22:42 Login Succeeded 13:22:42 nexus3.edgexfoundry.org:10004 13:22:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:22:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:22:42 Configure a credential helper to remove this warning. See 13:22:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:22:42 13:22:42 Login Succeeded 13:22:42 docker.io 13:22:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:22:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:22:42 Configure a credential helper to remove this warning. See 13:22:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:22:42 13:22:42 Login Succeeded 13:22:42 ---> docker-login.sh ends [Pipeline] } 13:22:42 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:22:43 + git log --format=format:%s -1 7f9fab5afdf02143f468fd7fcc0985681ec1d95b [Pipeline] echo 13:22:43 GIT_COMMIT: 7f9fab5afdf02143f468fd7fcc0985681ec1d95b, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts [Pipeline] echo 13:22:43 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 13:22:44 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:22:44 13:22:44 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 13:22:44 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:22:44 latest: Pulling from edgex-devops/git-semver 13:22:44 31603596830f: Pulling fs layer 13:22:44 2a8b12db71e7: Pulling fs layer 13:22:44 6ca5941a6612: Pulling fs layer 13:22:44 ecc8261a40a4: Pulling fs layer 13:22:44 ecc8261a40a4: Waiting 13:22:44 2a8b12db71e7: Verifying Checksum 13:22:44 2a8b12db71e7: Download complete 13:22:44 31603596830f: Verifying Checksum 13:22:44 31603596830f: Download complete 13:22:44 ecc8261a40a4: Verifying Checksum 13:22:44 ecc8261a40a4: Download complete 13:22:44 6ca5941a6612: Verifying Checksum 13:22:44 6ca5941a6612: Download complete 13:22:45 31603596830f: Pull complete 13:22:45 2a8b12db71e7: Pull complete 13:22:46 6ca5941a6612: Pull complete 13:22:46 ecc8261a40a4: Pull complete 13:22:46 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 13:22:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:22:46 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 13:22:46 prd-centos7-docker-4c-2g-19260 does not seem to be running inside a container 13:22:46 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-720 -v /w/workspace/dgexfoundry_device-sdk-go_PR-720:/w/workspace/dgexfoundry_device-sdk-go_PR-720:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-720@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-720@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 13:22:48 $ docker top 7cf07682e2b967b30b1d4fd051e0a2dd6307f92a91ecf618a56db8d1f95f80f8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:22:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:22:48 [ssh-agent] Looking for ssh-agent implementation... 13:22:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:22:48 $ docker exec 7cf07682e2b967b30b1d4fd051e0a2dd6307f92a91ecf618a56db8d1f95f80f8 ssh-agent 13:22:49 SSH_AUTH_SOCK=/tmp/ssh-0ofYIQZa2Nli/agent.12 13:22:49 SSH_AGENT_PID=17 13:22:49 Running ssh-add (command line suppressed) 13:22:49 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-720@tmp/private_key_139911706287236902.key (/w/workspace/dgexfoundry_device-sdk-go_PR-720@tmp/private_key_139911706287236902.key) 13:22:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:22:49 + git tag --points-at HEAD [Pipeline] } 13:22:49 $ docker exec --env ******** --env ******** 7cf07682e2b967b30b1d4fd051e0a2dd6307f92a91ecf618a56db8d1f95f80f8 ssh-agent -k 13:22:49 unset SSH_AUTH_SOCK; 13:22:49 unset SSH_AGENT_PID; 13:22:49 echo Agent pid 17 killed; 13:22:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 13:22:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:22:50 [ssh-agent] Looking for ssh-agent implementation... 13:22:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:22:50 $ docker exec 7cf07682e2b967b30b1d4fd051e0a2dd6307f92a91ecf618a56db8d1f95f80f8 ssh-agent 13:22:50 SSH_AUTH_SOCK=/tmp/ssh-WqE2TaXUHxJx/agent.47 13:22:50 SSH_AGENT_PID=52 13:22:50 Running ssh-add (command line suppressed) 13:22:50 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-720@tmp/private_key_5107536918890129235.key (/w/workspace/dgexfoundry_device-sdk-go_PR-720@tmp/private_key_5107536918890129235.key) 13:22:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:22:50 + git semver init 13:22:50 # -> Open(): unable to determine branch for HEAD 13:22:50 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-720/.git 13:22:50 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-720 13:22:50 # $SEMVER_REMOTE_NAME = origin 13:22:50 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 13:22:50 # $SEMVER_USER_NAME = edgex-jenkins 13:22:50 # $SEMVER_BRANCH = PR-720 13:22:50 # $SEMVER_TEMP = /tmp/semver-005445706 13:22:50 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 13:22:51 # '/tmp/semver-005445706' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-720/.semver' 13:22:51 # -> Force: false 13:22:51 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-720/.semver [Pipeline] } 13:22:51 $ docker exec --env ******** --env ******** 7cf07682e2b967b30b1d4fd051e0a2dd6307f92a91ecf618a56db8d1f95f80f8 ssh-agent -k 13:22:51 unset SSH_AUTH_SOCK; 13:22:51 unset SSH_AGENT_PID; 13:22:51 echo Agent pid 52 killed; 13:22:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:22:52 + git semver [Pipeline] } 13:22:52 $ docker stop --time=1 7cf07682e2b967b30b1d4fd051e0a2dd6307f92a91ecf618a56db8d1f95f80f8 13:22:53 $ docker rm -f 7cf07682e2b967b30b1d4fd051e0a2dd6307f92a91ecf618a56db8d1f95f80f8 [Pipeline] // withDockerContainer [Pipeline] sh 13:22:54 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 13:22:54 Stashed 1 file(s) [Pipeline] echo 13:22:54 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 13:23:10 Still waiting to schedule task 13:23:10 ‘prd-centos7-blackbox-4c-2g-19234’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-19248’ is offline; ‘prd-centos7-docker-4c-2g-19250’ is offline; ‘prd-centos7-docker-4c-2g-19251’ is offline; ‘prd-centos7-docker-4c-2g-19257’ is offline; ‘prd-centos7-docker-4c-2g-19261’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-19254’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-19255’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-19256’ doesn’t have label ‘centos7-docker-4c-2g’ 13:23:10 Still waiting to schedule task 13:23:10 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 13:25:02 Running on prd-centos7-docker-4c-2g-19262 in /w/workspace/dgexfoundry_device-sdk-go_PR-720 [Pipeline] { [Pipeline] ws 13:25:02 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 13:25:09 using credential edgex-jenkins-ssh 13:25:09 Cloning the remote Git repository 13:25:09 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 13:25:09 > git init /w/workspace/device-sdk-go/2 # timeout=10 13:25:09 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 13:25:09 > git --version # timeout=10 13:25:09 > git --version # 'git version 2.24.3' 13:25:09 using GIT_SSH to set credentials SSH Credentials for GitHub 13:25:10 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:25:11 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 13:25:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:25:11 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 13:25:11 Merging remotes/origin/master commit 909cc88fb1ad949568bf33336c87c0ea6bd2f5d5 into PR head commit 7f9fab5afdf02143f468fd7fcc0985681ec1d95b 13:25:11 Merge succeeded, producing 7f9fab5afdf02143f468fd7fcc0985681ec1d95b 13:25:11 Checking out Revision 7f9fab5afdf02143f468fd7fcc0985681ec1d95b (PR-720) 13:25:11 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 13:25:11 using GIT_SSH to set credentials SSH Credentials for GitHub 13:25:11 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/720/head:refs/remotes/origin/PR-720 +refs/heads/master:refs/remotes/origin/master # timeout=10 13:25:11 > git config core.sparsecheckout # timeout=10 13:25:11 > git checkout -f 7f9fab5afdf02143f468fd7fcc0985681ec1d95b # timeout=10 13:25:11 > git remote # timeout=10 13:25:11 > git config --get remote.origin.url # timeout=10 13:25:11 using GIT_SSH to set credentials SSH Credentials for GitHub 13:25:11 > git merge 909cc88fb1ad949568bf33336c87c0ea6bd2f5d5 # timeout=10 13:25:11 > git rev-parse HEAD^{commit} # timeout=10 13:25:11 > git config core.sparsecheckout # timeout=10 13:25:11 > git checkout -f 7f9fab5afdf02143f468fd7fcc0985681ec1d95b # timeout=10 13:25:16 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:25:17 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 13:25:18 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 13:25:18 + sudo service docker restart 13:25:18 + true 13:25:18 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 13:25:20 provisioning config files... 13:25:20 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config9147968654377128919tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:25:21 ---> docker-login.sh 13:25:21 nexus3.edgexfoundry.org:10001 13:25:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:25:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:25:22 Configure a credential helper to remove this warning. See 13:25:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:25:22 13:25:22 Login Succeeded 13:25:22 nexus3.edgexfoundry.org:10002 13:25:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:25:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:25:23 Configure a credential helper to remove this warning. See 13:25:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:25:23 13:25:23 Login Succeeded 13:25:23 nexus3.edgexfoundry.org:10003 13:25:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:25:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:25:23 Configure a credential helper to remove this warning. See 13:25:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:25:23 13:25:23 Login Succeeded 13:25:23 nexus3.edgexfoundry.org:10004 13:25:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:25:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:25:23 Configure a credential helper to remove this warning. See 13:25:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:25:23 13:25:23 Login Succeeded 13:25:23 docker.io 13:25:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:25:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:25:23 Configure a credential helper to remove this warning. See 13:25:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:25:23 13:25:23 Login Succeeded 13:25:23 ---> docker-login.sh ends [Pipeline] } 13:25:23 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:25:24 ========================================================= 13:25:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 13:25:24 ========================================================= [Pipeline] isUnix [Pipeline] sh 13:25:24 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 13:25:25 Sending build context to Docker daemon 2.441MB 13:25:25 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 13:25:25 Step 2/8 : FROM ${BASE} 13:25:25 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 13:25:25 188c0c94c7c5: Pulling fs layer 13:25:25 0ef7d3d256c8: Pulling fs layer 13:25:25 de9db76c5a1d: Pulling fs layer 13:25:25 bca2f99d35d6: Pulling fs layer 13:25:25 93359f2a8cfa: Pulling fs layer 13:25:25 7c6f9722023f: Pulling fs layer 13:25:25 a35cf1a2eb13: Pulling fs layer 13:25:25 93359f2a8cfa: Waiting 13:25:25 7c6f9722023f: Waiting 13:25:25 a35cf1a2eb13: Waiting 13:25:25 bca2f99d35d6: Waiting 13:25:25 de9db76c5a1d: Verifying Checksum 13:25:25 de9db76c5a1d: Download complete 13:25:25 0ef7d3d256c8: Verifying Checksum 13:25:25 0ef7d3d256c8: Download complete 13:25:25 93359f2a8cfa: Verifying Checksum 13:25:25 93359f2a8cfa: Download complete 13:25:25 7c6f9722023f: Verifying Checksum 13:25:25 7c6f9722023f: Download complete 13:25:25 188c0c94c7c5: Verifying Checksum 13:25:25 188c0c94c7c5: Download complete 13:25:26 188c0c94c7c5: Pull complete 13:25:26 0ef7d3d256c8: Pull complete 13:25:27 de9db76c5a1d: Pull complete 13:25:28 a35cf1a2eb13: Verifying Checksum 13:25:28 a35cf1a2eb13: Download complete 13:25:30 bca2f99d35d6: Verifying Checksum 13:25:30 bca2f99d35d6: Download complete 13:25:45 bca2f99d35d6: Pull complete 13:25:45 93359f2a8cfa: Pull complete 13:25:45 7c6f9722023f: Pull complete 13:25:50 a35cf1a2eb13: Pull complete 13:25:50 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 13:25:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 13:25:50 ---> a62c8e92a672 13:25:50 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 13:25:50 ---> Running in 3e86b14b1b0b 13:25:51 Removing intermediate container 3e86b14b1b0b 13:25:51 ---> 98b1c16a24bc 13:25:51 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:25:51 ---> Running in ad2729308e7a 13:25:53 Removing intermediate container ad2729308e7a 13:25:53 ---> a968952bfeb7 13:25:53 Step 5/8 : RUN apk add --update --no-cache make git 13:25:53 ---> Running in 9d6cfe7c6973 13:25:54 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 13:25:55 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 13:25:56 OK: 166 MiB in 39 packages 13:25:56 Running on prd-ubuntu18.04-docker-arm64-4c-16g-19263 in /w/workspace/dgexfoundry_device-sdk-go_PR-720 [Pipeline] { [Pipeline] ws 13:25:56 Running in /w/workspace/device-sdk-go/2 [Pipeline] { 13:25:56 Removing intermediate container 9d6cfe7c6973 13:25:56 ---> 6100dd4949c9 13:25:56 Step 6/8 : WORKDIR /device-sdk-go [Pipeline] checkout 13:25:57 ---> Running in dc7672ab72cf 13:25:57 Removing intermediate container dc7672ab72cf 13:25:57 ---> 0f68cc05314d 13:25:57 Step 7/8 : COPY . . 13:25:58 ---> cc645bb9d528 13:25:58 Step 8/8 : RUN go mod download 13:25:58 ---> Running in d04dad1fea60 13:26:02 using credential edgex-jenkins-ssh 13:26:02 Cloning the remote Git repository 13:26:02 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 13:26:02 > git init /w/workspace/device-sdk-go/2 # timeout=10 13:26:02 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 13:26:02 > git --version # timeout=10 13:26:02 > git --version # 'git version 2.17.1' 13:26:02 using GIT_SSH to set credentials SSH Credentials for GitHub 13:26:02 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:26:04 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 13:26:04 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:26:04 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 13:26:04 Merging remotes/origin/master commit 909cc88fb1ad949568bf33336c87c0ea6bd2f5d5 into PR head commit 7f9fab5afdf02143f468fd7fcc0985681ec1d95b 13:26:05 Merge succeeded, producing 7f9fab5afdf02143f468fd7fcc0985681ec1d95b 13:26:05 Checking out Revision 7f9fab5afdf02143f468fd7fcc0985681ec1d95b (PR-720) 13:26:04 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 13:26:04 using GIT_SSH to set credentials SSH Credentials for GitHub 13:26:04 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/720/head:refs/remotes/origin/PR-720 +refs/heads/master:refs/remotes/origin/master # timeout=10 13:26:04 > git config core.sparsecheckout # timeout=10 13:26:04 > git checkout -f 7f9fab5afdf02143f468fd7fcc0985681ec1d95b # timeout=10 13:26:04 > git remote # timeout=10 13:26:04 > git config --get remote.origin.url # timeout=10 13:26:04 using GIT_SSH to set credentials SSH Credentials for GitHub 13:26:04 > git merge 909cc88fb1ad949568bf33336c87c0ea6bd2f5d5 # timeout=10 13:26:05 > git rev-parse HEAD^{commit} # timeout=10 13:26:05 > git config core.sparsecheckout # timeout=10 13:26:05 > git checkout -f 7f9fab5afdf02143f468fd7fcc0985681ec1d95b # timeout=10 13:26:09 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:26:11 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 13:26:11 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 13:26:11 + sudo service docker+ restart 13:26:11 true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 13:26:14 provisioning config files... 13:26:14 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config7920134642412715238tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:26:14 ---> docker-login.sh 13:26:14 nexus3.edgexfoundry.org:10001 13:26:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:26:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:26:16 Configure a credential helper to remove this warning. See 13:26:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:26:16 13:26:16 Login Succeeded 13:26:16 nexus3.edgexfoundry.org:10002 13:26:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:26:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:26:16 Configure a credential helper to remove this warning. See 13:26:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:26:16 13:26:16 Login Succeeded 13:26:16 nexus3.edgexfoundry.org:10003 13:26:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:26:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:26:17 Configure a credential helper to remove this warning. See 13:26:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:26:17 13:26:17 Login Succeeded 13:26:17 nexus3.edgexfoundry.org:10004 13:26:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:26:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:26:17 Configure a credential helper to remove this warning. See 13:26:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:26:17 13:26:17 Login Succeeded 13:26:17 docker.io 13:26:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:26:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:26:18 Configure a credential helper to remove this warning. See 13:26:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:26:18 13:26:18 Login Succeeded 13:26:18 ---> docker-login.sh ends [Pipeline] } 13:26:18 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:26:18 ========================================================= 13:26:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 13:26:18 ========================================================= [Pipeline] isUnix [Pipeline] sh 13:26:19 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 13:26:19 Sending build context to Docker daemon 2.44MB 13:26:19 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 13:26:19 Step 2/8 : FROM ${BASE} 13:26:19 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:26:19 5f621e34cdf4: Pulling fs layer 13:26:19 a4357932f1b6: Pulling fs layer 13:26:19 18c013af1878: Pulling fs layer 13:26:19 00ac8860ef70: Pulling fs layer 13:26:19 63d7cb157983: Pulling fs layer 13:26:19 b116817d02f9: Pulling fs layer 13:26:19 745a02a5169b: Pulling fs layer 13:26:19 63d7cb157983: Waiting 13:26:19 b116817d02f9: Waiting 13:26:19 00ac8860ef70: Waiting 13:26:19 745a02a5169b: Waiting 13:26:19 18c013af1878: Download complete 13:26:19 a4357932f1b6: Verifying Checksum 13:26:19 a4357932f1b6: Download complete 13:26:19 63d7cb157983: Verifying Checksum 13:26:19 63d7cb157983: Download complete 13:26:19 b116817d02f9: Verifying Checksum 13:26:19 b116817d02f9: Download complete 13:26:19 5f621e34cdf4: Verifying Checksum 13:26:19 5f621e34cdf4: Download complete 13:26:20 Removing intermediate container d04dad1fea60 13:26:20 ---> b752f92a136c 13:26:20 Successfully built b752f92a136c 13:26:20 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 13:26:20 5f621e34cdf4: Pull complete 13:26:21 + docker inspect -f . ci-base-image-x86_64 13:26:21 . [Pipeline] withDockerContainer 13:26:21 a4357932f1b6: Pull complete 13:26:21 18c013af1878: Pull complete 13:26:22 prd-centos7-docker-4c-2g-19262 does not seem to be running inside a container 13:26:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 13:26:22 745a02a5169b: Verifying Checksum 13:26:22 745a02a5169b: Download complete 13:26:23 00ac8860ef70: Verifying Checksum 13:26:23 00ac8860ef70: Download complete 13:26:24 $ docker top f1d728c97ac02bff9f60df16c49f6bfbab68a314e73d7b97e843163966e4c4dc -eo pid,comm [Pipeline] { [Pipeline] sh 13:26:25 + go version 13:26:25 go version go1.15.5 linux/amd64 [Pipeline] } 13:26:25 $ docker stop --time=1 f1d728c97ac02bff9f60df16c49f6bfbab68a314e73d7b97e843163966e4c4dc 13:26:27 $ docker rm -f f1d728c97ac02bff9f60df16c49f6bfbab68a314e73d7b97e843163966e4c4dc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 13:26:28 + docker inspect -f . ci-base-image-x86_64 13:26:28 . [Pipeline] withDockerContainer 13:26:28 prd-centos7-docker-4c-2g-19262 does not seem to be running inside a container 13:26:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 13:26:29 $ docker top 7a4d45294984eae050c1494d8c48ceb7c2d70d17b283f673ddd1a758a37bcb18 -eo pid,comm [Pipeline] { [Pipeline] sh 13:26:30 + make test 13:26:30 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 13:26:33 00ac8860ef70: Pull complete 13:26:33 63d7cb157983: Pull complete 13:26:34 b116817d02f9: Pull complete 13:26:38 745a02a5169b: Pull complete 13:26:38 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 13:26:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 13:26:38 ---> b7e6874047d6 13:26:38 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 13:26:41 ---> Running in ad33bba86378 13:26:41 Removing intermediate container ad33bba86378 13:26:41 ---> 6d034310c338 13:26:41 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:26:41 ---> Running in dccd9187bde0 13:26:44 Removing intermediate container dccd9187bde0 13:26:44 ---> 684e316a7a80 13:26:44 Step 5/8 : RUN apk add --update --no-cache make git 13:26:44 ---> Running in 1f5c429c8e63 13:26:45 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 13:26:45 ? github.com/edgexfoundry/device-sdk-go [no test files] 13:26:45 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 13:26:46 OK: 142 MiB in 39 packages 13:26:47 Removing intermediate container 1f5c429c8e63 13:26:47 ---> 3d2f06254425 13:26:47 Step 6/8 : WORKDIR /device-sdk-go 13:26:47 ---> Running in ffe5bc1aed23 13:26:48 Removing intermediate container ffe5bc1aed23 13:26:48 ---> 5bce5f3d8cc3 13:26:48 Step 7/8 : COPY . . 13:26:49 ---> 5f01d85f275c 13:26:49 Step 8/8 : RUN go mod download 13:26:49 ---> Running in 29aca36f2900 13:27:16 Removing intermediate container 29aca36f2900 13:27:16 ---> 96d28c1e32b8 13:27:16 Successfully built 96d28c1e32b8 13:27:16 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 13:27:16 + docker inspect -f . ci-base-image-arm64 13:27:16 . [Pipeline] withDockerContainer 13:27:17 prd-ubuntu18.04-docker-arm64-4c-16g-19263 does not seem to be running inside a container 13:27:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 13:27:18 $ docker top 1aae3fbb80ea0daed79760760a20930315463ef6790135e5ac634e7d988d8977 -eo pid,comm 13:27:18 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 13:27:18 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 13:27:18 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 13:27:18 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.181s coverage: 19.4% of statements 13:27:18 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.699s coverage: 97.1% of statements [Pipeline] { [Pipeline] sh 13:27:19 + go version 13:27:19 go version go1.15.5 linux/arm64 [Pipeline] } 13:27:19 $ docker stop --time=1 1aae3fbb80ea0daed79760760a20930315463ef6790135e5ac634e7d988d8977 13:27:21 $ docker rm -f 1aae3fbb80ea0daed79760760a20930315463ef6790135e5ac634e7d988d8977 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 13:27:22 + docker inspect -f . ci-base-image-arm64 13:27:22 . [Pipeline] withDockerContainer 13:27:22 prd-ubuntu18.04-docker-arm64-4c-16g-19263 does not seem to be running inside a container 13:27:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 13:27:24 $ docker top 91d39c748c4c03934c82d20f63f81c90572d03428534fbd975e3362873634881 -eo pid,comm [Pipeline] { [Pipeline] sh 13:27:25 + make test 13:27:25 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 13:27:47 ? github.com/edgexfoundry/device-sdk-go [no test files] 13:27:51 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.080s coverage: 9.4% of statements 13:27:51 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.091s coverage: 21.7% of statements 13:27:51 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 13:27:51 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.411s coverage: 42.5% of statements 13:27:51 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 13:27:51 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.475s coverage: 68.9% of statements 13:27:51 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 13:27:51 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 13:27:51 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 13:27:51 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 13:27:51 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.102s coverage: 53.8% of statements 13:27:51 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 13:27:51 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 13:27:51 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 13:27:51 ok github.com/edgexfoundry/device-sdk-go/pkg/models 3.808s coverage: 68.9% of statements 13:27:51 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.128s coverage: 4.2% of statements 13:27:51 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 13:27:51 GO111MODULE=on go vet ./... 13:28:10 gofmt -l . 13:28:10 [ "`gofmt -l .`" = "" ] 13:28:10 ./bin/test-attribution-txt.sh 13:28:10 ./bin/test-go-mod-tidy.sh [Pipeline] } 13:28:11 $ docker stop --time=1 7a4d45294984eae050c1494d8c48ceb7c2d70d17b283f673ddd1a758a37bcb18 13:28:13 $ docker rm -f 7a4d45294984eae050c1494d8c48ceb7c2d70d17b283f673ddd1a758a37bcb18 [Pipeline] // withDockerContainer [Pipeline] sh 13:28:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:28:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 13:28:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:28:16 + ls -al . 13:28:16 total 208 13:28:16 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 9 13:28 . 13:28:16 drwxrwxr-x. 4 jenkins jenkins 28 Jan 9 13:25 .. 13:28:16 drwxrwxr-x. 2 jenkins jenkins 64 Jan 9 13:25 bin 13:28:16 -rw-r--r--. 1 jenkins jenkins 130605 Jan 9 13:27 coverage.out 13:28:16 -rw-rw-r--. 1 jenkins jenkins 949 Jan 9 13:25 Dockerfile.build 13:28:16 -rw-rw-r--. 1 jenkins jenkins 140 Jan 9 13:25 .dockerignore 13:28:16 drwxrwxr-x. 4 jenkins jenkins 48 Jan 9 13:25 example 13:28:16 drwxrwxr-x. 8 jenkins jenkins 179 Jan 9 13:25 .git 13:28:16 drwxrwxr-x. 2 jenkins jenkins 103 Jan 9 13:25 .github 13:28:16 -rw-rw-r--. 1 jenkins jenkins 138 Jan 9 13:25 .gitignore 13:28:16 -rw-r--r--. 1 jenkins jenkins 488 Jan 9 13:28 go.mod 13:28:16 -rw-r--r--. 1 jenkins jenkins 14209 Jan 9 13:28 go.sum 13:28:16 drwxrwxr-x. 15 jenkins jenkins 211 Jan 9 13:25 internal 13:28:16 -rw-rw-r--. 1 jenkins jenkins 901 Jan 9 13:25 Jenkinsfile 13:28:16 -rw-rw-r--. 1 jenkins jenkins 11341 Jan 9 13:25 LICENSE 13:28:16 -rw-rw-r--. 1 jenkins jenkins 1013 Jan 9 13:25 Makefile 13:28:16 drwxrwxr-x. 4 jenkins jenkins 26 Jan 9 13:25 openapi 13:28:16 drwxrwxr-x. 5 jenkins jenkins 50 Jan 9 13:25 pkg 13:28:16 -rw-rw-r--. 1 jenkins jenkins 5897 Jan 9 13:25 README.md 13:28:16 -rw-rw-r--. 1 jenkins jenkins 6616 Jan 9 13:25 RELEASE-NOTES.txt 13:28:16 drwxrwxr-x. 4 jenkins jenkins 54 Jan 9 13:25 snap 13:28:16 -rw-rw-r--. 1 jenkins jenkins 5 Jan 9 13:22 VERSION 13:28:16 -rw-rw-r--. 1 jenkins jenkins 222 Jan 9 13:25 version.go [Pipeline] isUnix [Pipeline] sh 13:28:17 + 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=7f9fab5afdf02143f468fd7fcc0985681ec1d95b --label arch=amd64 --label version=0.0.0 . 13:28:17 Sending build context to Docker daemon 2.572MB 13:28:17 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 13:28:17 Step 2/24 : FROM ${BASE} AS builder 13:28:17 ---> b752f92a136c 13:28:17 Step 3/24 : ARG MAKE='make build' 13:28:18 ---> Running in a4b6ece5baf5 13:28:18 Removing intermediate container a4b6ece5baf5 13:28:18 ---> 164fafa523f7 13:28:18 Step 4/24 : WORKDIR /device-sdk-go 13:28:18 ---> Running in c3a92a2c58c7 13:28:19 Removing intermediate container c3a92a2c58c7 13:28:19 ---> e1ac8412f745 13:28:19 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 13:28:19 ---> Running in 92f3076b395f 13:28:19 Removing intermediate container 92f3076b395f 13:28:19 ---> 02a1cfff14f3 13:28:19 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:28:19 ---> Running in 1e37515551f5 13:28:20 Removing intermediate container 1e37515551f5 13:28:20 ---> af26747ede9c 13:28:20 Step 7/24 : RUN apk add --update --no-cache make git 13:28:21 ---> Running in b4883ab57b22 13:28:22 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 13:28:23 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 13:28:26 OK: 166 MiB in 39 packages 13:28:26 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 13:28:26 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 13:28:26 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 13:28:27 Removing intermediate container b4883ab57b22 13:28:27 ---> 994df155d7f8 13:28:27 Step 8/24 : COPY . . 13:28:27 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.144s coverage: 19.4% of statements 13:28:28 ---> f3a326c686c9 13:28:28 Step 9/24 : RUN ${MAKE} 13:28:28 ---> Running in 008cffa6a6f2 13:28:29 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 13:28:32 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.163s coverage: 97.1% of statements 13:28:44 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 13:28:47 Removing intermediate container 008cffa6a6f2 13:28:47 ---> d23338a26a95 13:28:47 Step 10/24 : FROM scratch 13:28:47 ---> 13:28:47 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 13:28:47 ---> Running in 822b26325a0c 13:28:47 Removing intermediate container 822b26325a0c 13:28:47 ---> 99f39c97a802 13:28:47 Step 12/24 : ENV APP_PORT=49990 13:28:47 ---> Running in cc981d7bae98 13:28:48 Removing intermediate container cc981d7bae98 13:28:48 ---> 32c2474d9f7f 13:28:48 Step 13/24 : EXPOSE $APP_PORT 13:28:48 ---> Running in 8945c7bdb2ef 13:28:48 Removing intermediate container 8945c7bdb2ef 13:28:48 ---> 36a66c7aed59 13:28:48 Step 14/24 : WORKDIR / 13:28:48 ---> Running in a6aedcf148b8 13:28:48 Removing intermediate container a6aedcf148b8 13:28:48 ---> 4c109496726e 13:28:48 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 13:28:49 ---> e2444d2d3127 13:28:49 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 13:28:49 ---> 6362c049c742 13:28:49 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 13:28:50 ---> 97335b638d70 13:28:50 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 13:28:50 ---> edf8df83316b 13:28:50 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 13:28:50 ---> 9c9068234483 13:28:50 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 13:28:51 ---> Running in c505c5c164ce 13:28:51 Removing intermediate container c505c5c164ce 13:28:51 ---> dba98b4b5cd3 13:28:51 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 13:28:51 ---> Running in 72cf65721fc1 13:28:51 Removing intermediate container 72cf65721fc1 13:28:51 ---> 05abcc9a026d 13:28:51 Step 22/24 : LABEL arch=amd64 13:28:51 ---> Running in 071fed851182 13:28:51 Removing intermediate container 071fed851182 13:28:51 ---> 6dfbf53b3e03 13:28:51 Step 23/24 : LABEL git_sha=7f9fab5afdf02143f468fd7fcc0985681ec1d95b 13:28:51 ---> Running in 38948d9602e3 13:28:52 Removing intermediate container 38948d9602e3 13:28:52 ---> ace601ac1659 13:28:52 Step 24/24 : LABEL version=0.0.0 13:28:52 ---> Running in cc68c9e5c993 13:28:52 Removing intermediate container cc68c9e5c993 13:28:52 ---> 337c6de43c2a 13:28:52 [Warning] One or more build-args [ARCH] were not consumed 13:28:52 Successfully built 337c6de43c2a 13:28:52 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 13:29:05 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.143s coverage: 9.4% of statements 13:29:05 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.107s coverage: 21.7% of statements 13:29:05 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 13:29:05 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.623s coverage: 42.5% of statements 13:29:05 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 13:29:05 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.700s coverage: 68.9% of statements 13:29:05 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 13:29:05 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 13:29:05 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 13:29:05 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 13:29:05 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.191s coverage: 53.8% of statements 13:29:05 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 13:29:05 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 13:29:05 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 13:29:05 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.715s coverage: 68.9% of statements 13:29:05 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.139s coverage: 4.2% of statements 13:29:05 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 13:29:05 GO111MODULE=on go vet ./... 13:29:31 gofmt -l . 13:29:31 [ "`gofmt -l .`" = "" ] 13:29:31 ./bin/test-attribution-txt.sh 13:29:32 ./bin/test-go-mod-tidy.sh [Pipeline] } 13:29:33 $ docker stop --time=1 91d39c748c4c03934c82d20f63f81c90572d03428534fbd975e3362873634881 13:29:35 $ docker rm -f 91d39c748c4c03934c82d20f63f81c90572d03428534fbd975e3362873634881 [Pipeline] // withDockerContainer [Pipeline] sh 13:29:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:29:36 Warning: overwriting stash ‘coverage-report’ 13:29:37 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:29:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:29:38 + ls -al . 13:29:38 total 244 13:29:38 drwxrwxr-x 10 jenkins jenkins 4096 Jan 9 13:29 . 13:29:38 drwxrwxr-x 4 jenkins jenkins 4096 Jan 9 13:26 .. 13:29:38 -rw-rw-r-- 1 jenkins jenkins 140 Jan 9 13:26 .dockerignore 13:29:38 drwxrwxr-x 8 jenkins jenkins 4096 Jan 9 13:26 .git 13:29:38 drwxrwxr-x 2 jenkins jenkins 4096 Jan 9 13:26 .github 13:29:38 -rw-rw-r-- 1 jenkins jenkins 138 Jan 9 13:26 .gitignore 13:29:38 -rw-rw-r-- 1 jenkins jenkins 949 Jan 9 13:26 Dockerfile.build 13:29:38 -rw-rw-r-- 1 jenkins jenkins 901 Jan 9 13:26 Jenkinsfile 13:29:38 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 9 13:26 LICENSE 13:29:38 -rw-rw-r-- 1 jenkins jenkins 1013 Jan 9 13:26 Makefile 13:29:38 -rw-rw-r-- 1 jenkins jenkins 5897 Jan 9 13:26 README.md 13:29:38 -rw-rw-r-- 1 jenkins jenkins 6616 Jan 9 13:26 RELEASE-NOTES.txt 13:29:38 -rw-rw-r-- 1 jenkins jenkins 5 Jan 9 13:22 VERSION 13:29:38 drwxrwxr-x 2 jenkins jenkins 4096 Jan 9 13:26 bin 13:29:38 -rw-r--r-- 1 jenkins jenkins 130605 Jan 9 13:28 coverage.out 13:29:38 drwxrwxr-x 4 jenkins jenkins 4096 Jan 9 13:26 example 13:29:38 -rw-r--r-- 1 jenkins jenkins 488 Jan 9 13:29 go.mod 13:29:38 -rw-r--r-- 1 jenkins jenkins 14209 Jan 9 13:29 go.sum 13:29:38 drwxrwxr-x 15 jenkins jenkins 4096 Jan 9 13:26 internal 13:29:38 drwxrwxr-x 4 jenkins jenkins 4096 Jan 9 13:26 openapi 13:29:38 drwxrwxr-x 5 jenkins jenkins 4096 Jan 9 13:26 pkg 13:29:38 drwxrwxr-x 4 jenkins jenkins 4096 Jan 9 13:26 snap 13:29:38 -rw-rw-r-- 1 jenkins jenkins 222 Jan 9 13:26 version.go [Pipeline] isUnix [Pipeline] sh 13:29:38 + 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=7f9fab5afdf02143f468fd7fcc0985681ec1d95b --label arch=arm64 --label version=0.0.0 . 13:29:39 Sending build context to Docker daemon 2.571MB 13:29:39 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 13:29:39 Step 2/24 : FROM ${BASE} AS builder 13:29:39 ---> 96d28c1e32b8 13:29:39 Step 3/24 : ARG MAKE='make build' 13:29:39 ---> Running in 461ddcb0fbaf 13:29:40 Removing intermediate container 461ddcb0fbaf 13:29:40 ---> 6c0db640d64c 13:29:40 Step 4/24 : WORKDIR /device-sdk-go 13:29:40 ---> Running in ea47034c1562 13:29:40 Removing intermediate container ea47034c1562 13:29:40 ---> 81a25b33c820 13:29:40 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 13:29:40 ---> Running in 4aaa5fbe7947 13:29:41 Removing intermediate container 4aaa5fbe7947 13:29:41 ---> a072c43d6cb3 13:29:41 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:29:41 ---> Running in 464d51b21814 13:29:43 Removing intermediate container 464d51b21814 13:29:43 ---> 8ecc5f27ae33 13:29:43 Step 7/24 : RUN apk add --update --no-cache make git 13:29:43 ---> Running in 293f53987e25 13:29:44 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 13:29:46 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 13:29:48 OK: 142 MiB in 39 packages 13:29:49 Removing intermediate container 293f53987e25 13:29:49 ---> b55621d770b1 13:29:49 Step 8/24 : COPY . . 13:29:50 ---> 1142bc0de89a 13:29:50 Step 9/24 : RUN ${MAKE} 13:29:50 ---> Running in 9cf477f4fd4d 13:29:51 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 13:30:18 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 13:30:18 Removing intermediate container 9cf477f4fd4d 13:30:18 ---> 6b483265cfac 13:30:18 Step 10/24 : FROM scratch 13:30:18 ---> 13:30:18 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 13:30:18 ---> Running in f8de454426cf 13:30:18 Removing intermediate container f8de454426cf 13:30:18 ---> ca1071c8744c 13:30:18 Step 12/24 : ENV APP_PORT=49990 13:30:18 ---> Running in 8934b05dd3fe 13:30:19 Removing intermediate container 8934b05dd3fe 13:30:19 ---> e7441588007c 13:30:19 Step 13/24 : EXPOSE $APP_PORT 13:30:19 ---> Running in 9ddf65f79b61 13:30:19 Removing intermediate container 9ddf65f79b61 13:30:19 ---> 4fd45d013221 13:30:19 Step 14/24 : WORKDIR / 13:30:20 ---> Running in 54d4d460d4f6 13:30:20 Removing intermediate container 54d4d460d4f6 13:30:20 ---> 313c98a06c01 13:30:20 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 13:30:21 ---> dc0b880a34f2 13:30:21 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 13:30:22 ---> dfcb69291640 13:30:22 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 13:30:23 ---> e3d2cc43d269 13:30:23 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 13:30:23 ---> 2c0f055b1264 13:30:23 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 13:30:24 ---> 7833823b5d43 13:30:24 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 13:30:24 ---> Running in d29dc548d5ac 13:30:24 Removing intermediate container d29dc548d5ac 13:30:24 ---> cba73c7529cf 13:30:24 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 13:30:25 ---> Running in 4c4242a59512 13:30:25 Removing intermediate container 4c4242a59512 13:30:25 ---> 5f8e6715e5e7 13:30:25 Step 22/24 : LABEL arch=arm64 13:30:25 ---> Running in 7418c84d4c03 13:30:26 Removing intermediate container 7418c84d4c03 13:30:26 ---> d4b6b67f22f7 13:30:26 Step 23/24 : LABEL git_sha=7f9fab5afdf02143f468fd7fcc0985681ec1d95b 13:30:26 ---> Running in c418caf4dd13 13:30:26 Removing intermediate container c418caf4dd13 13:30:26 ---> f0d2691127c0 13:30:26 Step 24/24 : LABEL version=0.0.0 13:30:26 ---> Running in ee8150ed05e9 13:30:27 Removing intermediate container ee8150ed05e9 13:30:27 ---> 113ee143aa49 13:30:27 [Warning] One or more build-args [ARCH] were not consumed 13:30:27 Successfully built 113ee143aa49 13:30:27 Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 13:30:28 provisioning config files... 13:30:29 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-720@tmp/config684445213701318612tmp [Pipeline] { [Pipeline] sh 13:30:29 + set +x 13:30:29 + curl -s https://codecov.io/bash 13:30:29 + bash -s -- 13:30:29 13:30:29 _____ _ 13:30:29 / ____| | | 13:30:29 | | ___ __| | ___ ___ _____ __ 13:30:29 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 13:30:29 | |___| (_) | (_| | __/ (_| (_) \ V / 13:30:29 \_____\___/ \__,_|\___|\___\___/ \_/ 13:30:29 Bash-20201231-23d4836 13:30:29 13:30:29 13:30:29 ==> git version 2.24.3 found 13:30:29 ==> 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 13:30:29 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 13:30:29 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 13:30:29 ==> Jenkins CI detected. 13:30:29 project root: . 13:30:29 --> token set from env 13:30:29 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 13:30:29 ==> Running gcov in . (disable via -X gcov) 13:30:29 ==> Python coveragepy not found 13:30:29 ==> Searching for coverage reports in: 13:30:29 + . 13:30:29 -> Found 1 reports 13:30:29 ==> Detecting git/mercurial file structure 13:30:29 ==> Reading reports 13:30:29 + ./coverage.out bytes=130605 13:30:29 ==> Appending adjustments 13:30:29 https://docs.codecov.io/docs/fixing-reports 13:30:30 + Found adjustments 13:30:30 ==> Gzipping contents 13:30:30 24K /tmp/codecov.QTcKNA.gz 13:30:30 ==> Uploading reports 13:30:30 url: https://codecov.io 13:30:30 query: branch=PR-720&commit=7f9fab5afdf02143f468fd7fcc0985681ec1d95b&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-720%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=720&job=&cmd_args= 13:30:30 -> Pinging Codecov 13:30:30 https://codecov.io/upload/v4?package=bash-20201231-23d4836&token=secret&branch=PR-720&commit=7f9fab5afdf02143f468fd7fcc0985681ec1d95b&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-720%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=720&job=&cmd_args= 13:30:30 -> Uploading to 13:30:30 https://storage.googleapis.com/codecov/v4/raw/2021-01-09/7E55EF52A471D76F132DFD9A03CDDE97/7f9fab5afdf02143f468fd7fcc0985681ec1d95b/22ccbe75-9fd9-42e5-a89f-3faa31d26bff.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210109%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210109T133030Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=96e9cdc408f354a294f5092e0df21443715c0d38b997e3f0fd66e75e0dddc16e 13:30:30 % Total % Received % Xferd Average Speed Time Time Time Current 13:30:30 Dload Upload Total Spent Left Speed 13:30:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21284 0 0 100 21284 0 48505 --:--:-- --:--:-- --:--:-- 48482 100 21284 0 0 100 21284 0 48487 --:--:-- --:--:-- --:--:-- 48482 13:30:31 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/7f9fab5afdf02143f468fd7fcc0985681ec1d95b [Pipeline] } 13:30:31 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 13:30:33 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:30:34 ---> package-listing.sh 13:30:34 ++ facter osfamily 13:30:34 ++ tr '[:upper:]' '[:lower:]' 13:30:34 + OS_FAMILY=redhat 13:30:34 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-720 13:30:34 + START_PACKAGES=/tmp/packages_start.txt 13:30:34 + END_PACKAGES=/tmp/packages_end.txt 13:30:34 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:30:34 + PACKAGES=/tmp/packages_start.txt 13:30:34 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-720 ']' 13:30:34 + PACKAGES=/tmp/packages_end.txt 13:30:34 + case "${OS_FAMILY}" in 13:30:34 + rpm -qa 13:30:34 + sort 13:30:39 + '[' -f /tmp/packages_start.txt ']' 13:30:39 + '[' -f /tmp/packages_end.txt ']' 13:30:39 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:30:39 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-720 ']' 13:30:39 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-720/archives/ 13:30:39 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-720/archives/ [Pipeline] echo 13:30:39 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-720/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 13:30:39 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 13:30:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 13:30:40 13:30:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 13:30:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 13:30:40 alpine: Pulling from edgex-lftools-log-publisher 13:30:40 df20fa9351a1: Pulling fs layer 13:30:40 36b3adc4ff6f: Pulling fs layer 13:30:40 8ad3a11d3b57: Pulling fs layer 13:30:40 46f8f816bc3b: Pulling fs layer 13:30:40 93b61091891f: Pulling fs layer 13:30:40 93b9cdb0e59b: Pulling fs layer 13:30:40 5e14af77c1be: Pulling fs layer 13:30:40 01666e4c0597: Pulling fs layer 13:30:40 aa168da1d23b: Pulling fs layer 13:30:40 46f8f816bc3b: Waiting 13:30:40 93b61091891f: Waiting 13:30:40 93b9cdb0e59b: Waiting 13:30:40 5e14af77c1be: Waiting 13:30:40 01666e4c0597: Waiting 13:30:40 aa168da1d23b: Waiting 13:30:40 36b3adc4ff6f: Verifying Checksum 13:30:40 36b3adc4ff6f: Download complete 13:30:40 46f8f816bc3b: Verifying Checksum 13:30:40 46f8f816bc3b: Download complete 13:30:40 df20fa9351a1: Verifying Checksum 13:30:40 df20fa9351a1: Download complete 13:30:40 93b9cdb0e59b: Verifying Checksum 13:30:40 93b9cdb0e59b: Download complete 13:30:40 5e14af77c1be: Verifying Checksum 13:30:40 5e14af77c1be: Download complete 13:30:40 01666e4c0597: Download complete 13:30:40 93b61091891f: Verifying Checksum 13:30:40 93b61091891f: Download complete 13:30:40 8ad3a11d3b57: Verifying Checksum 13:30:40 8ad3a11d3b57: Download complete 13:30:41 df20fa9351a1: Pull complete 13:30:41 36b3adc4ff6f: Pull complete 13:30:42 8ad3a11d3b57: Pull complete 13:30:42 aa168da1d23b: Verifying Checksum 13:30:42 aa168da1d23b: Download complete 13:30:42 46f8f816bc3b: Pull complete 13:30:43 93b61091891f: Pull complete 13:30:43 93b9cdb0e59b: Pull complete 13:30:43 5e14af77c1be: Pull complete 13:30:43 01666e4c0597: Pull complete 13:30:51 aa168da1d23b: Pull complete 13:30:51 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 13:30:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 13:30:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 13:30:52 prd-centos7-docker-4c-2g-19260 does not seem to be running inside a container 13:30:52 $ 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-720/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-720 -v /w/workspace/dgexfoundry_device-sdk-go_PR-720:/w/workspace/dgexfoundry_device-sdk-go_PR-720:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-720@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-720@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:10003/edgex-lftools-log-publisher:alpine cat 13:30:55 $ docker top 0ba5c939ea4ae161e457f630a37f8667160bf8d62aaf149adf0d5875e24f2607 -eo pid,comm [Pipeline] { [Pipeline] sh 13:30:55 + touch /tmp/pre-build-complete [Pipeline] sh 13:30:55 + mkdir -p /var/log/sa [Pipeline] sh 13:30:56 + ls /var/log/sa-host 13:30:56 + sadf -c /var/log/sa-host/sa09 13:30:56 file_magic: OK 13:30:56 HZ: Using current value: 100 13:30:56 file_header: OK 13:30:56 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 13:30:56 Statistics: 13:30:56 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 13:30:56 File successfully converted to sysstat format version 12.2.1 13:30:56 + sadf -c /var/log/sa-host/sa23 13:30:56 file_magic: OK 13:30:56 HZ: Using current value: 100 13:30:56 file_header: OK 13:30:56 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 13:30:56 Statistics: 13:30:56 Hnuu...uuuununununu... 13:30:56 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:30:56 provisioning config files... 13:30:56 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-720@tmp/config3861830705768081995tmp [Pipeline] { [Pipeline] echo 13:30:56 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:30:56 ---> create-netrc.sh [Pipeline] } 13:30:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 13:30:56 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 13:30:57 ---> python-tools-install.sh [Pipeline] echo 13:30:57 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:30:57 ---> sudo-logs.sh 13:30:57 Archiving 'sudo' log.. [Pipeline] echo 13:30:57 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:30:57 ---> job-cost.sh 13:30:57 lf-activate-venv: SKIPPING 13:30:57 INFO: No Stack... 13:30:58 INFO: Retrieving Pricing Info for: v1-standard-2 13:30:59 INFO: Archiving Costs [Pipeline] echo 13:30:59 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:30:59 ---> logs-deploy.sh 13:30:59 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-720/2 13:30:59 INFO: archiving workspace using pattern(s): 13:31:01 Archives upload complete. 13:31:01 INFO: archiving logs to Nexus 13:31:02 ---> uname -a: 13:31:02 Linux prd-centos7-docker-4c-2g-19260.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 13:31:02 13:31:02 13:31:02 ---> lscpu: 13:31:02 Architecture: x86_64 13:31:02 CPU op-mode(s): 32-bit, 64-bit 13:31:02 Byte Order: Little Endian 13:31:02 Address sizes: 40 bits physical, 48 bits virtual 13:31:02 CPU(s): 4 13:31:02 On-line CPU(s) list: 0-3 13:31:02 Thread(s) per core: 1 13:31:02 Core(s) per socket: 1 13:31:02 Socket(s): 4 13:31:02 NUMA node(s): 1 13:31:02 Vendor ID: GenuineIntel 13:31:02 CPU family: 6 13:31:02 Model: 44 13:31:02 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 13:31:02 Stepping: 1 13:31:02 CPU MHz: 2933.442 13:31:02 BogoMIPS: 5866.88 13:31:02 Virtualization: VT-x 13:31:02 Hypervisor vendor: KVM 13:31:02 Virtualization type: full 13:31:02 L1d cache: 128 KiB 13:31:02 L1i cache: 128 KiB 13:31:02 L2 cache: 16 MiB 13:31:02 L3 cache: 64 MiB 13:31:02 NUMA node0 CPU(s): 0-3 13:31:02 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 13:31:02 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 13:31:02 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 13:31:02 Vulnerability Meltdown: Mitigation; PTI 13:31:02 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 13:31:02 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 13:31:02 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 13:31:02 Vulnerability Srbds: Not affected 13:31:02 Vulnerability Tsx async abort: Not affected 13:31:02 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 13:31:02 13:31:02 13:31:02 ---> nproc: 13:31:02 4 13:31:02 13:31:02 13:31:02 ---> df -h: 13:31:02 Filesystem Size Used Available Use% Mounted on 13:31:02 overlay 50.0G 7.3G 42.7G 15% / 13:31:02 tmpfs 64.0M 0 64.0M 0% /dev 13:31:02 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 13:31:02 shm 64.0M 0 64.0M 0% /dev/shm 13:31:02 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 13:31:02 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 13:31:02 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 13:31:02 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 13:31:02 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 13:31:02 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 13:31:02 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 13:31:02 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 13:31:02 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-720 13:31:02 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-720@tmp 13:31:02 13:31:02 13:31:02 ---> free -m: 13:31:02 total used free shared buff/cache available 13:31:02 Mem: 1837 726 109 0 1001 1005 13:31:02 Swap: 1023 1 1022 13:31:02 13:31:02 13:31:02 ---> ip addr: 13:31:02 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 13:31:02 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 13:31:02 inet 127.0.0.1/8 scope host lo 13:31:02 valid_lft forever preferred_lft forever 13:31:02 inet6 ::1/128 scope host 13:31:02 valid_lft forever preferred_lft forever 13:31:02 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 13:31:02 link/ether fa:16:3e:5b:cb:40 brd ff:ff:ff:ff:ff:ff 13:31:02 inet 10.30.122.221/23 brd 10.30.123.255 scope global dynamic eth0 13:31:02 valid_lft 85858sec preferred_lft 85858sec 13:31:02 inet6 fe80::f816:3eff:fe5b:cb40/64 scope link 13:31:02 valid_lft forever preferred_lft forever 13:31:02 3: docker0: mtu 1500 qdisc noqueue state DOWN 13:31:02 link/ether 02:42:7e:17:7a:4f brd ff:ff:ff:ff:ff:ff 13:31:02 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 13:31:02 valid_lft forever preferred_lft forever 13:31:02 inet6 fe80::42:7eff:fe17:7a4f/64 scope link 13:31:02 valid_lft forever preferred_lft forever 13:31:02 13:31:02 13:31:02 ---> sar -b -r -n DEV: 13:31:02 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/09/21 _x86_64_ (4 CPU) 13:31:02 13:31:02 13:21:49 LINUX RESTART (4 CPU) 13:31:02 13:31:02 13:23:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 13:31:02 13:24:01 2.13 0.00 2.13 0.00 0.00 49.40 0.00 13:31:02 13:25:01 0.40 0.00 0.40 0.00 0.00 5.98 0.00 13:31:02 13:26:01 0.32 0.00 0.32 0.00 0.00 3.63 0.00 13:31:02 13:27:01 0.43 0.00 0.43 0.00 0.00 4.43 0.00 13:31:02 13:28:01 0.48 0.00 0.48 0.00 0.00 6.83 0.00 13:31:02 13:29:01 0.17 0.00 0.17 0.00 0.00 1.48 0.00 13:31:02 13:30:01 0.23 0.00 0.23 0.00 0.00 2.00 0.00 13:31:02 Average: 0.59 0.00 0.59 0.00 0.00 10.54 0.00 13:31:02 13:31:02 13:23:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 13:31:02 13:24:01 142920 0 625704 33.25 2620 1110300 1101988 37.61 430972 1108384 12 13:31:02 13:25:01 144400 0 624216 33.18 2620 1110308 1077720 36.78 442220 1095804 8 13:31:02 13:26:01 144152 0 624460 33.19 2620 1110312 1077876 36.79 443120 1095800 16 13:31:02 13:27:01 144004 0 624608 33.20 2620 1110312 1077720 36.78 448044 1091144 12 13:31:02 13:28:01 143340 0 625264 33.23 2620 1110320 1077780 36.78 448632 1090992 8 13:31:02 13:29:01 143860 0 624740 33.20 2620 1110324 1077756 36.78 450316 1088944 12 13:31:02 13:30:01 144312 0 624284 33.18 2620 1110328 1077720 36.78 450260 1088944 12 13:31:02 Average: 143855 0 624754 33.20 2620 1110315 1081223 36.90 444795 1094287 11 13:31:02 13:31:02 13:23:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 13:31:02 13:24:01 eth0 0.97 0.48 0.53 0.39 0.00 0.00 0.00 0.00 13:31:02 13:24:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:31:02 13:24:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:31:02 13:25:01 eth0 1.13 0.08 0.09 0.01 0.00 0.00 0.00 0.00 13:31:02 13:25:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:31:02 13:25:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:31:02 13:26:01 eth0 1.13 0.63 0.56 0.37 0.00 0.00 0.00 0.00 13:31:02 13:26:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:31:02 13:26:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:31:02 13:27:01 eth0 0.15 0.10 0.01 0.04 0.00 0.00 0.00 0.00 13:31:02 13:27:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:31:02 13:27:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:31:02 13:28:01 eth0 0.30 0.20 0.14 0.07 0.00 0.00 0.00 0.00 13:31:02 13:28:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:31:02 13:28:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:31:02 13:29:01 eth0 0.18 0.12 0.07 0.01 0.00 0.00 0.00 0.00 13:31:02 13:29:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:31:02 13:29:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:31:02 13:30:01 eth0 0.10 0.07 0.01 0.01 0.00 0.00 0.00 0.00 13:31:02 13:30:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:31:02 13:30:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:31:02 Average: eth0 0.57 0.24 0.20 0.13 0.00 0.00 0.00 0.00 13:31:02 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:31:02 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:31:02 13:31:02 13:31:02 ---> sar -P ALL: 13:31:02 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/09/21 _x86_64_ (4 CPU) 13:31:02 13:31:02 13:21:49 LINUX RESTART (4 CPU) 13:31:02 13:31:02 13:23:01 CPU %user %nice %system %iowait %steal %idle 13:31:02 13:24:01 all 0.20 0.00 0.05 0.00 0.00 99.75 13:31:02 13:24:01 0 0.03 0.00 0.03 0.00 0.00 99.93 13:31:02 13:24:01 1 0.58 0.00 0.07 0.00 0.00 99.35 13:31:02 13:24:01 2 0.08 0.00 0.05 0.00 0.00 99.87 13:31:02 13:24:01 3 0.10 0.00 0.05 0.00 0.00 99.85 13:31:02 13:25:01 all 0.16 0.00 0.05 0.00 0.01 99.78 13:31:02 13:25:01 0 0.03 0.00 0.07 0.00 0.02 99.88 13:31:02 13:25:01 1 0.48 0.00 0.07 0.00 0.00 99.45 13:31:02 13:25:01 2 0.07 0.00 0.03 0.00 0.02 99.88 13:31:02 13:25:01 3 0.05 0.00 0.03 0.00 0.00 99.92 13:31:02 13:26:01 all 0.16 0.00 0.03 0.00 0.00 99.81 13:31:02 13:26:01 0 0.02 0.00 0.03 0.00 0.00 99.95 13:31:02 13:26:01 1 0.52 0.00 0.03 0.00 0.00 99.45 13:31:02 13:26:01 2 0.07 0.00 0.05 0.00 0.00 99.88 13:31:02 13:26:01 3 0.03 0.00 0.02 0.00 0.00 99.95 13:31:02 13:27:01 all 0.15 0.00 0.03 0.00 0.00 99.82 13:31:02 13:27:01 0 0.02 0.00 0.03 0.00 0.00 99.95 13:31:02 13:27:01 1 0.53 0.00 0.03 0.00 0.00 99.43 13:31:02 13:27:01 2 0.05 0.00 0.03 0.00 0.00 99.92 13:31:02 13:27:01 3 0.00 0.00 0.02 0.00 0.00 99.98 13:31:02 13:28:01 all 0.15 0.00 0.04 0.00 0.00 99.82 13:31:02 13:28:01 0 0.00 0.00 0.03 0.00 0.00 99.97 13:31:02 13:28:01 1 0.03 0.00 0.07 0.00 0.00 99.90 13:31:02 13:28:01 2 0.52 0.00 0.03 0.00 0.00 99.45 13:31:02 13:28:01 3 0.03 0.00 0.02 0.00 0.00 99.95 13:31:02 13:29:01 all 0.14 0.00 0.03 0.00 0.00 99.83 13:31:02 13:29:01 0 0.02 0.00 0.03 0.00 0.00 99.95 13:31:02 13:29:01 1 0.02 0.00 0.05 0.00 0.00 99.93 13:31:02 13:29:01 2 0.52 0.00 0.02 0.00 0.00 99.47 13:31:02 13:29:01 3 0.02 0.00 0.02 0.00 0.00 99.97 13:31:02 13:30:01 all 0.16 0.00 0.04 0.00 0.00 99.80 13:31:02 13:30:01 0 0.05 0.00 0.07 0.00 0.00 99.88 13:31:02 13:30:01 1 0.05 0.00 0.03 0.00 0.00 99.92 13:31:02 13:30:01 2 0.52 0.00 0.05 0.00 0.00 99.43 13:31:02 13:30:01 3 0.02 0.00 0.02 0.00 0.00 99.97 13:31:02 Average: all 0.16 0.00 0.04 0.00 0.00 99.80 13:31:02 Average: 0 0.02 0.00 0.04 0.00 0.00 99.93 13:31:02 Average: 1 0.32 0.00 0.05 0.00 0.00 99.63 13:31:02 Average: 2 0.26 0.00 0.04 0.00 0.00 99.70 13:31:02 Average: 3 0.04 0.00 0.02 0.00 0.00 99.94 13:31:02 13:31:02 13:31:02