Pull request #733 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 25c82065bc1dbeb4acd280c74cf209eaf1a0d8d6+1f15288997641a3d0d3a625c9b3944aa45f594eb (0137cfeb7a52dea267e1c5f837acf4ad5a187cb7) Running in Durability level: MAX_SURVIVABILITY 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 f82e9360b4159668f7e3e090307a6179e9a8e48d 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 f82e9360b4159668f7e3e090307a6179e9a8e48d using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-733/workspace@libs/edgex-global-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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 f82e9360b4159668f7e3e090307a6179e9a8e48d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f82e9360b4159668f7e3e090307a6179e9a8e48d # timeout=10 Commit message: "Merge pull request #311 from ernestojeda/fix-data-binary" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-733/workspace@libs/lf-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object f82e9360b4159668f7e3e090307a6179e9a8e48d 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 ‘prd-centos7-docker-4c-2g-15505’ is offline Running on prd-centos7-docker-4c-2g-20400 in /w/workspace/dgexfoundry_device-sdk-go_PR-733 [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-733 # 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/733/head:refs/remotes/origin/PR-733 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 1f15288997641a3d0d3a625c9b3944aa45f594eb into PR head commit 25c82065bc1dbeb4acd280c74cf209eaf1a0d8d6 Merge succeeded, producing 25c82065bc1dbeb4acd280c74cf209eaf1a0d8d6 Checking out Revision 25c82065bc1dbeb4acd280c74cf209eaf1a0d8d6 (PR-733) > git config core.sparsecheckout # timeout=10 > git checkout -f 25c82065bc1dbeb4acd280c74cf209eaf1a0d8d6 # 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 1f15288997641a3d0d3a625c9b3944aa45f594eb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 25c82065bc1dbeb4acd280c74cf209eaf1a0d8d6 # timeout=10 Commit message: "build(deps): bump github.com/google/uuid from 1.1.4 to 1.1.5" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object f82e9360b4159668f7e3e090307a6179e9a8e48d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:16:31 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:16:31 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:16:31 ========================================================= 06:16:31 EdgeX Global Pipelines Version Info 06:16:31 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:16:33 ------------------- 06:16:33 stable info: 06:16:33 ------------------- 06:16:33 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:16:33 Commit SHA: f82e9360b4159668f7e3e090307a6179e9a8e48d 06:16:33 Message: update stable to v1.0.177 06:16:34 ------------------- 06:16:34 experimental info: 06:16:34 ------------------- 06:16:34 Commited By: **** collab-it+edgex@linuxfoundation.org 06:16:34 Commit SHA: f82e9360b4159668f7e3e090307a6179e9a8e48d 06:16:34 Message: update experimental to v1.0.177 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:16:34 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 06:16:34 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 06:16:34 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:16:35 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:16:35 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:16:35 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 06:16:35 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 06:16:35 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 06:16:35 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 06:16:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:16:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:16:36 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 06:16:36 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:16:36 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:16:36 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:16:36 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 06:16:36 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:16:36 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:16:37 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:16:37 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:16:37 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 06:16:37 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 06:16:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:16:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:16:37 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:16:37 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 06:16:38 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 06:16:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-733 [Pipeline] echo 06:16:38 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-733 [Pipeline] echo 06:16:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-733 [Pipeline] echo 06:16:38 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 25c82065bc1dbeb4acd280c74cf209eaf1a0d8d6 [Pipeline] echo 06:16:38 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 25c8206 [Pipeline] echo 06:16:38 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:16:39 provisioning config files... 06:16:39 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-733@tmp/config6144893804562712712tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:16:39 ---> docker-login.sh 06:16:39 nexus3.edgexfoundry.org:10001 06:16:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:16:39 Configure a credential helper to remove this warning. See 06:16:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:16:39 06:16:39 Login Succeeded 06:16:39 nexus3.edgexfoundry.org:10002 06:16:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:16:40 Configure a credential helper to remove this warning. See 06:16:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:16:40 06:16:40 Login Succeeded 06:16:40 nexus3.edgexfoundry.org:10003 06:16:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:16:40 Configure a credential helper to remove this warning. See 06:16:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:16:40 06:16:40 Login Succeeded 06:16:40 nexus3.edgexfoundry.org:10004 06:16:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:16:40 Configure a credential helper to remove this warning. See 06:16:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:16:40 06:16:40 Login Succeeded 06:16:40 docker.io 06:16:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:16:41 Configure a credential helper to remove this warning. See 06:16:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:16:41 06:16:41 Login Succeeded 06:16:41 ---> docker-login.sh ends [Pipeline] } 06:16:41 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 06:16:42 + git log --format=format:%s -1 25c82065bc1dbeb4acd280c74cf209eaf1a0d8d6 [Pipeline] echo 06:16:42 GIT_COMMIT: 25c82065bc1dbeb4acd280c74cf209eaf1a0d8d6, Commit Message: build(deps): bump github.com/google/uuid from 1.1.4 to 1.1.5 [Pipeline] echo 06:16:42 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 06:16:43 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:16:43 06:16:43 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:16:43 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:16:43 latest: Pulling from edgex-devops/git-semver 06:16:43 31603596830f: Pulling fs layer 06:16:43 2a8b12db71e7: Pulling fs layer 06:16:43 6ca5941a6612: Pulling fs layer 06:16:43 ecc8261a40a4: Pulling fs layer 06:16:43 ecc8261a40a4: Waiting 06:16:43 2a8b12db71e7: Verifying Checksum 06:16:43 2a8b12db71e7: Download complete 06:16:43 31603596830f: Verifying Checksum 06:16:43 31603596830f: Download complete 06:16:43 ecc8261a40a4: Verifying Checksum 06:16:43 ecc8261a40a4: Download complete 06:16:43 6ca5941a6612: Verifying Checksum 06:16:43 6ca5941a6612: Download complete 06:16:44 31603596830f: Pull complete 06:16:44 2a8b12db71e7: Pull complete 06:16:45 6ca5941a6612: Pull complete 06:16:45 ecc8261a40a4: Pull complete 06:16:45 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 06:16:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:16:45 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:16:45 prd-centos7-docker-4c-2g-20400 does not seem to be running inside a container 06:16:45 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-733 -v /w/workspace/dgexfoundry_device-sdk-go_PR-733:/w/workspace/dgexfoundry_device-sdk-go_PR-733:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-733@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-733@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:16:47 $ docker top 16de589f6f0d894c396c134e60890b2c6b1f9f891fd234c6e7305041d20e481d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:16:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:16:48 [ssh-agent] Looking for ssh-agent implementation... 06:16:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:16:48 $ docker exec 16de589f6f0d894c396c134e60890b2c6b1f9f891fd234c6e7305041d20e481d ssh-agent 06:16:48 SSH_AUTH_SOCK=/tmp/ssh-OlBoQsD4BGRp/agent.13 06:16:48 SSH_AGENT_PID=18 06:16:48 Running ssh-add (command line suppressed) 06:16:48 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-733@tmp/private_key_5059296881861244220.key (/w/workspace/dgexfoundry_device-sdk-go_PR-733@tmp/private_key_5059296881861244220.key) 06:16:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:16:49 + git tag --points-at HEAD [Pipeline] } 06:16:49 $ docker exec --env ******** --env ******** 16de589f6f0d894c396c134e60890b2c6b1f9f891fd234c6e7305041d20e481d ssh-agent -k 06:16:49 unset SSH_AUTH_SOCK; 06:16:49 unset SSH_AGENT_PID; 06:16:49 echo Agent pid 18 killed; 06:16:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:16:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:16:49 [ssh-agent] Looking for ssh-agent implementation... 06:16:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:16:49 $ docker exec 16de589f6f0d894c396c134e60890b2c6b1f9f891fd234c6e7305041d20e481d ssh-agent 06:16:49 SSH_AUTH_SOCK=/tmp/ssh-t0XxPq7BhrAT/agent.47 06:16:49 SSH_AGENT_PID=53 06:16:49 Running ssh-add (command line suppressed) 06:16:50 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-733@tmp/private_key_4937734030423097964.key (/w/workspace/dgexfoundry_device-sdk-go_PR-733@tmp/private_key_4937734030423097964.key) 06:16:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:16:50 + git semver init 06:16:50 # -> Open(): unable to determine branch for HEAD 06:16:50 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-733/.git 06:16:50 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-733 06:16:50 # $SEMVER_REMOTE_NAME = origin 06:16:50 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:16:50 # $SEMVER_USER_NAME = edgex-jenkins 06:16:50 # $SEMVER_BRANCH = PR-733 06:16:50 # $SEMVER_TEMP = /tmp/semver-870891363 06:16:50 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 06:16:51 # '/tmp/semver-870891363' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-733/.semver' 06:16:51 # -> Force: false 06:16:51 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-733/.semver [Pipeline] } 06:16:51 $ docker exec --env ******** --env ******** 16de589f6f0d894c396c134e60890b2c6b1f9f891fd234c6e7305041d20e481d ssh-agent -k 06:16:51 unset SSH_AUTH_SOCK; 06:16:51 unset SSH_AGENT_PID; 06:16:51 echo Agent pid 53 killed; 06:16:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:16:51 + git semver [Pipeline] } 06:16:51 $ docker stop --time=1 16de589f6f0d894c396c134e60890b2c6b1f9f891fd234c6e7305041d20e481d 06:16:53 $ docker rm -f 16de589f6f0d894c396c134e60890b2c6b1f9f891fd234c6e7305041d20e481d [Pipeline] // withDockerContainer [Pipeline] sh 06:16:53 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:16:54 Stashed 1 file(s) [Pipeline] echo 06:16: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 06:17:10 Still waiting to schedule task 06:17: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-20401’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’ 06:17:10 Still waiting to schedule task 06:17:10 ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ is offline 06:18:58 Running on prd-ubuntu18.04-docker-arm64-4c-16g-20402 in /w/workspace/dgexfoundry_device-sdk-go_PR-733 [Pipeline] { [Pipeline] ws 06:18:58 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 06:19:03 Running on prd-centos7-docker-4c-2g-20403 in /w/workspace/dgexfoundry_device-sdk-go_PR-733 [Pipeline] { [Pipeline] ws 06:19:03 Running in /w/workspace/device-sdk-go/1 [Pipeline] { 06:19:03 using credential edgex-jenkins-ssh 06:19:03 Cloning the remote Git repository [Pipeline] checkout 06:19:03 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:19:04 > git init /w/workspace/device-sdk-go/1 # timeout=10 06:19:04 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:19:04 > git --version # timeout=10 06:19:04 > git --version # 'git version 2.17.1' 06:19:04 using GIT_SSH to set credentials SSH Credentials for GitHub 06:19:04 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:19:05 Merging remotes/origin/master commit 1f15288997641a3d0d3a625c9b3944aa45f594eb into PR head commit 25c82065bc1dbeb4acd280c74cf209eaf1a0d8d6 06:19:06 using credential edgex-jenkins-ssh 06:19:05 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:19:05 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:19:05 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:19:05 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:19:05 using GIT_SSH to set credentials SSH Credentials for GitHub 06:19:05 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/733/head:refs/remotes/origin/PR-733 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:19:05 > git config core.sparsecheckout # timeout=10 06:19:06 > git checkout -f 25c82065bc1dbeb4acd280c74cf209eaf1a0d8d6 # timeout=10 06:19:06 > git remote # timeout=10 06:19:06 Cloning the remote Git repository 06:19:06 Merge succeeded, producing 25c82065bc1dbeb4acd280c74cf209eaf1a0d8d6 06:19:06 Checking out Revision 25c82065bc1dbeb4acd280c74cf209eaf1a0d8d6 (PR-733) 06:19:06 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:19:06 > git init /w/workspace/device-sdk-go/1 # timeout=10 06:19:06 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:19:06 > git --version # timeout=10 06:19:06 > git --version # 'git version 2.24.3' 06:19:06 using GIT_SSH to set credentials SSH Credentials for GitHub 06:19:06 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:19:07 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:19:07 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:19:07 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:19:07 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:19:07 using GIT_SSH to set credentials SSH Credentials for GitHub 06:19:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/733/head:refs/remotes/origin/PR-733 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:19:06 > git config --get remote.origin.url # timeout=10 06:19:06 using GIT_SSH to set credentials SSH Credentials for GitHub 06:19:06 > git merge 1f15288997641a3d0d3a625c9b3944aa45f594eb # timeout=10 06:19:06 > git rev-parse HEAD^{commit} # timeout=10 06:19:06 > git config core.sparsecheckout # timeout=10 06:19:06 > git checkout -f 25c82065bc1dbeb4acd280c74cf209eaf1a0d8d6 # timeout=10 06:19:07 Merging remotes/origin/master commit 1f15288997641a3d0d3a625c9b3944aa45f594eb into PR head commit 25c82065bc1dbeb4acd280c74cf209eaf1a0d8d6 06:19:07 Merge succeeded, producing 25c82065bc1dbeb4acd280c74cf209eaf1a0d8d6 06:19:07 Checking out Revision 25c82065bc1dbeb4acd280c74cf209eaf1a0d8d6 (PR-733) 06:19:07 > git config core.sparsecheckout # timeout=10 06:19:07 > git checkout -f 25c82065bc1dbeb4acd280c74cf209eaf1a0d8d6 # timeout=10 06:19:07 > git remote # timeout=10 06:19:07 > git config --get remote.origin.url # timeout=10 06:19:07 using GIT_SSH to set credentials SSH Credentials for GitHub 06:19:07 > git merge 1f15288997641a3d0d3a625c9b3944aa45f594eb # timeout=10 06:19:07 > git rev-parse HEAD^{commit} # timeout=10 06:19:07 > git config core.sparsecheckout # timeout=10 06:19:07 > git checkout -f 25c82065bc1dbeb4acd280c74cf209eaf1a0d8d6 # timeout=10 06:19:10 Commit message: "build(deps): bump github.com/google/uuid from 1.1.4 to 1.1.5" 06:19:10 > git --version # timeout=10 06:19:10 > git --version # 'git version 2.17.1' 06:19:10 fatal: bad object f82e9360b4159668f7e3e090307a6179e9a8e48d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) 06:19:11 Commit message: "build(deps): bump github.com/google/uuid from 1.1.4 to 1.1.5" [Pipeline] script [Pipeline] { 06:19:11 > git --version # timeout=10 06:19:11 > git --version # 'git version 2.24.3' 06:19:11 fatal: bad object f82e9360b4159668f7e3e090307a6179e9a8e48d [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script 06:19:12 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] { [Pipeline] sh [Pipeline] sh 06:19:12 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:19:13 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 06:19:13 + sudo service docker restart 06:19:13 + true 06:19:13 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:19:14 + sudo service docker restart 06:19:14 + true 06:19:14 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:19:15 provisioning config files... 06:19:15 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config8935899401317608645tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { 06:19:15 ---> docker-login.sh 06:19:15 nexus3.edgexfoundry.org:10001 [Pipeline] wrap 06:19:15 provisioning config files... 06:19:15 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config2724851786628529324tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:19:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:19:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:19:15 Configure a credential helper to remove this warning. See 06:19:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:19:15 06:19:15 Login Succeeded 06:19:15 nexus3.edgexfoundry.org:10002 06:19:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:19:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:19:16 Configure a credential helper to remove this warning. See 06:19:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:19:16 06:19:16 Login Succeeded 06:19:16 nexus3.edgexfoundry.org:10003 06:19:16 ---> docker-login.sh 06:19:16 nexus3.edgexfoundry.org:10001 06:19:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:19:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:19:16 Configure a credential helper to remove this warning. See 06:19:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:19:16 06:19:16 Login Succeeded 06:19:16 nexus3.edgexfoundry.org:10004 06:19:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:19:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:19:16 Configure a credential helper to remove this warning. See 06:19:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:19:16 06:19:16 Login Succeeded 06:19:16 docker.io 06:19:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:19:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:19:16 Configure a credential helper to remove this warning. See 06:19:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:19:16 06:19:16 Login Succeeded 06:19:16 ---> docker-login.sh ends [Pipeline] } 06:19:16 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv 06:19:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] unstash 06:19:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:19:17 Configure a credential helper to remove this warning. See 06:19:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:19:17 06:19:17 Login Succeeded 06:19:17 nexus3.edgexfoundry.org:10002 [Pipeline] echo 06:19:17 ========================================================= 06:19:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 06:19:17 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:19:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:19:17 + 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 . 06:19:17 Sending build context to Docker daemon 2.478MB 06:19:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:19:18 Configure a credential helper to remove this warning. See 06:19:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:19:18 06:19:18 Login Succeeded 06:19:18 nexus3.edgexfoundry.org:10003 06:19:18 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 06:19:18 Step 2/8 : FROM ${BASE} 06:19:18 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 06:19:18 188c0c94c7c5: Pulling fs layer 06:19:18 0ef7d3d256c8: Pulling fs layer 06:19:18 de9db76c5a1d: Pulling fs layer 06:19:18 bca2f99d35d6: Pulling fs layer 06:19:18 93359f2a8cfa: Pulling fs layer 06:19:18 7c6f9722023f: Pulling fs layer 06:19:18 a35cf1a2eb13: Pulling fs layer 06:19:18 93359f2a8cfa: Waiting 06:19:18 7c6f9722023f: Waiting 06:19:18 a35cf1a2eb13: Waiting 06:19:18 bca2f99d35d6: Waiting 06:19:18 de9db76c5a1d: Verifying Checksum 06:19:18 de9db76c5a1d: Download complete 06:19:18 0ef7d3d256c8: Verifying Checksum 06:19:18 0ef7d3d256c8: Download complete 06:19:18 93359f2a8cfa: Verifying Checksum 06:19:18 93359f2a8cfa: Download complete 06:19:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:19:18 188c0c94c7c5: Verifying Checksum 06:19:18 7c6f9722023f: Verifying Checksum 06:19:18 7c6f9722023f: Download complete 06:19:19 188c0c94c7c5: Pull complete 06:19:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:19:19 Configure a credential helper to remove this warning. See 06:19:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:19:19 06:19:19 Login Succeeded 06:19:19 nexus3.edgexfoundry.org:10004 06:19:19 0ef7d3d256c8: Pull complete 06:19:19 de9db76c5a1d: Pull complete 06:19:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:19:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:19:19 Configure a credential helper to remove this warning. See 06:19:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:19:19 06:19:19 Login Succeeded 06:19:19 docker.io 06:19:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:19:20 a35cf1a2eb13: Verifying Checksum 06:19:20 a35cf1a2eb13: Download complete 06:19:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:19:20 Configure a credential helper to remove this warning. See 06:19:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:19:20 06:19:20 Login Succeeded 06:19:20 ---> docker-login.sh ends [Pipeline] } 06:19:20 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:19:20 ========================================================= 06:19:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 06:19:20 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:19:21 bca2f99d35d6: Verifying Checksum 06:19:21 bca2f99d35d6: Download complete 06:19: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 . 06:19:21 Sending build context to Docker daemon 2.477MB 06:19:21 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 06:19:21 Step 2/8 : FROM ${BASE} 06:19:21 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:19:21 5f621e34cdf4: Pulling fs layer 06:19:21 a4357932f1b6: Pulling fs layer 06:19:21 18c013af1878: Pulling fs layer 06:19:21 00ac8860ef70: Pulling fs layer 06:19:21 63d7cb157983: Pulling fs layer 06:19:21 b116817d02f9: Pulling fs layer 06:19:21 745a02a5169b: Pulling fs layer 06:19:21 63d7cb157983: Waiting 06:19:21 00ac8860ef70: Waiting 06:19:21 b116817d02f9: Waiting 06:19:21 745a02a5169b: Waiting 06:19:21 18c013af1878: Download complete 06:19:21 a4357932f1b6: Verifying Checksum 06:19:21 a4357932f1b6: Download complete 06:19:21 63d7cb157983: Download complete 06:19:21 b116817d02f9: Verifying Checksum 06:19:21 b116817d02f9: Download complete 06:19:21 5f621e34cdf4: Verifying Checksum 06:19:21 5f621e34cdf4: Download complete 06:19:22 5f621e34cdf4: Pull complete 06:19:23 a4357932f1b6: Pull complete 06:19:23 18c013af1878: Pull complete 06:19:24 745a02a5169b: Verifying Checksum 06:19:24 745a02a5169b: Download complete 06:19:25 00ac8860ef70: Verifying Checksum 06:19:25 00ac8860ef70: Download complete 06:19:26 bca2f99d35d6: Pull complete 06:19:26 93359f2a8cfa: Pull complete 06:19:26 7c6f9722023f: Pull complete 06:19:34 a35cf1a2eb13: Pull complete 06:19:34 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 06:19:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 06:19:34 ---> a62c8e92a672 06:19:34 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:19:34 ---> Running in 4bbab34a2efc 06:19:34 Removing intermediate container 4bbab34a2efc 06:19:34 ---> cb87e2168e84 06:19:34 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:19:34 ---> Running in 402c446bd90a 06:19:35 00ac8860ef70: Pull complete 06:19:35 Removing intermediate container 402c446bd90a 06:19:35 ---> 279b9ac39bf9 06:19:35 Step 5/8 : RUN apk add --update --no-cache make git 06:19:35 63d7cb157983: Pull complete 06:19:35 ---> Running in 556fd54c93dc 06:19:35 b116817d02f9: Pull complete 06:19:36 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:19:37 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:19:37 OK: 166 MiB in 39 packages 06:19:37 Removing intermediate container 556fd54c93dc 06:19:37 ---> d7acf08f27f7 06:19:37 Step 6/8 : WORKDIR /device-sdk-go 06:19:38 ---> Running in 288dc7527d9e 06:19:38 Removing intermediate container 288dc7527d9e 06:19:38 ---> 752ec518644b 06:19:38 Step 7/8 : COPY . . 06:19:39 745a02a5169b: Pull complete 06:19:39 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 06:19:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 06:19:39 ---> b7e6874047d6 06:19:39 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:19:39 ---> 31634ba82454 06:19:39 Step 8/8 : RUN go mod download 06:19:39 ---> Running in 4020385e7fd2 06:19:42 ---> Running in 9f3daa838757 06:19:42 Removing intermediate container 9f3daa838757 06:19:42 ---> 56638c035f69 06:19:42 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:19:43 ---> Running in 1b449d5b2da3 06:19:45 Removing intermediate container 1b449d5b2da3 06:19:45 ---> e8c3af2b65cb 06:19:45 Step 5/8 : RUN apk add --update --no-cache make git 06:19:45 ---> Running in 749c40e82a47 06:19:46 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:19:47 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:19:48 OK: 142 MiB in 39 packages 06:19:49 Removing intermediate container 749c40e82a47 06:19:49 ---> 956ab5e79524 06:19:49 Step 6/8 : WORKDIR /device-sdk-go 06:19:49 ---> Running in 02bf6870500c 06:19:50 Removing intermediate container 02bf6870500c 06:19:50 ---> b18a28f0c0bc 06:19:50 Step 7/8 : COPY . . 06:19:51 ---> 20535ebb13c9 06:19:51 Step 8/8 : RUN go mod download 06:19:51 ---> Running in 732d1e1e7fb2 06:19:57 Removing intermediate container 4020385e7fd2 06:19:57 ---> b2de14815d34 06:19:57 Successfully built b2de14815d34 06:19:57 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:19:58 + docker inspect -f . ci-base-image-x86_64 06:19:58 . [Pipeline] withDockerContainer 06:19:58 prd-centos7-docker-4c-2g-20403 does not seem to be running inside a container 06:19:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-x86_64 cat 06:19:59 $ docker top 2e8babdd9ea0249cbc7822de234ee9c8e2f025ff7cdfa243ef1fae82d8d9c8b1 -eo pid,comm [Pipeline] { [Pipeline] sh 06:19:59 + go version 06:19:59 go version go1.15.5 linux/amd64 [Pipeline] } 06:19:59 $ docker stop --time=1 2e8babdd9ea0249cbc7822de234ee9c8e2f025ff7cdfa243ef1fae82d8d9c8b1 06:20:01 $ docker rm -f 2e8babdd9ea0249cbc7822de234ee9c8e2f025ff7cdfa243ef1fae82d8d9c8b1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:20:02 + docker inspect -f . ci-base-image-x86_64 06:20:02 . [Pipeline] withDockerContainer 06:20:02 prd-centos7-docker-4c-2g-20403 does not seem to be running inside a container 06:20:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-x86_64 cat 06:20:03 $ docker top 49476901dc315d012f379840eace07bafe68654666b393388563a6559a5f89c1 -eo pid,comm [Pipeline] { [Pipeline] sh 06:20:03 + make test 06:20:03 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:20:10 ? github.com/edgexfoundry/device-sdk-go [no test files] 06:20:13 Removing intermediate container 732d1e1e7fb2 06:20:13 ---> e7091386b336 06:20:13 Successfully built e7091386b336 06:20:13 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:20:14 + docker inspect -f . ci-base-image-arm64 06:20:14 . [Pipeline] withDockerContainer 06:20:14 prd-ubuntu18.04-docker-arm64-4c-16g-20402 does not seem to be running inside a container 06:20:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-arm64 cat 06:20:16 $ docker top f77b7dc52aed2ee76efb40cba983130d4902d7d2a5ef4fff372cd8d3b344186f -eo pid,comm [Pipeline] { [Pipeline] sh 06:20:17 + go version 06:20:17 go version go1.15.5 linux/arm64 [Pipeline] } 06:20:17 $ docker stop --time=1 f77b7dc52aed2ee76efb40cba983130d4902d7d2a5ef4fff372cd8d3b344186f 06:20:19 $ docker rm -f f77b7dc52aed2ee76efb40cba983130d4902d7d2a5ef4fff372cd8d3b344186f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:20:20 + docker inspect -f . ci-base-image-arm64 06:20:20 . [Pipeline] withDockerContainer 06:20:20 prd-ubuntu18.04-docker-arm64-4c-16g-20402 does not seem to be running inside a container 06:20:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-arm64 cat 06:20:22 $ docker top 6806a7bf8c1fb73b494dd7fd87bfb1c7d3b6855771d92daa6e10ed9087b9418c -eo pid,comm [Pipeline] { [Pipeline] sh 06:20:23 + make test 06:20:23 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:20:25 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 06:20:25 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 06:20:25 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 06:20:25 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.078s coverage: 19.4% of statements 06:20:28 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.464s coverage: 97.1% of statements 06:20:45 ? github.com/edgexfoundry/device-sdk-go [no test files] 06:20:55 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.055s coverage: 9.4% of statements 06:20:55 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.058s coverage: 21.7% of statements 06:20:55 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 06:20:55 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.209s coverage: 42.9% of statements 06:20:55 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 06:20:55 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.289s coverage: 68.9% of statements 06:20:55 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 06:20:55 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 06:20:55 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 06:20:55 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 06:20:55 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.078s coverage: 53.8% of statements 06:20:55 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 06:20:55 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 06:20:55 ok github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http 0.066s coverage: 31.3% of statements 06:20:55 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.719s coverage: 68.9% of statements 06:20:55 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.054s coverage: 4.2% of statements 06:20:55 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 06:20:55 GO111MODULE=on go vet ./... 06:21:06 gofmt -l . 06:21:06 [ "`gofmt -l .`" = "" ] 06:21:06 ./bin/test-attribution-txt.sh 06:21:06 ./bin/test-go-mod-tidy.sh [Pipeline] } 06:21:07 $ docker stop --time=1 49476901dc315d012f379840eace07bafe68654666b393388563a6559a5f89c1 06:21:09 $ docker rm -f 49476901dc315d012f379840eace07bafe68654666b393388563a6559a5f89c1 [Pipeline] // withDockerContainer [Pipeline] sh 06:21:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:21:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:21:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:21:13 + ls -al . 06:21:13 total 216 06:21:13 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 15 06:21 . 06:21:13 drwxrwxr-x. 4 jenkins jenkins 28 Jan 15 06:19 .. 06:21:13 drwxrwxr-x. 2 jenkins jenkins 64 Jan 15 06:19 bin 06:21:13 -rw-r--r--. 1 jenkins jenkins 137952 Jan 15 06:20 coverage.out 06:21:13 -rw-rw-r--. 1 jenkins jenkins 949 Jan 15 06:19 Dockerfile.build 06:21:13 -rw-rw-r--. 1 jenkins jenkins 140 Jan 15 06:19 .dockerignore 06:21:13 drwxrwxr-x. 4 jenkins jenkins 48 Jan 15 06:19 example 06:21:13 drwxrwxr-x. 8 jenkins jenkins 179 Jan 15 06:19 .git 06:21:13 drwxrwxr-x. 2 jenkins jenkins 103 Jan 15 06:19 .github 06:21:13 -rw-rw-r--. 1 jenkins jenkins 138 Jan 15 06:19 .gitignore 06:21:13 -rw-r--r--. 1 jenkins jenkins 488 Jan 15 06:21 go.mod 06:21:13 -rw-r--r--. 1 jenkins jenkins 14209 Jan 15 06:21 go.sum 06:21:13 drwxrwxr-x. 15 jenkins jenkins 211 Jan 15 06:19 internal 06:21:13 -rw-rw-r--. 1 jenkins jenkins 901 Jan 15 06:19 Jenkinsfile 06:21:13 -rw-rw-r--. 1 jenkins jenkins 11341 Jan 15 06:19 LICENSE 06:21:13 -rw-rw-r--. 1 jenkins jenkins 1013 Jan 15 06:19 Makefile 06:21:13 drwxrwxr-x. 4 jenkins jenkins 26 Jan 15 06:19 openapi 06:21:13 drwxrwxr-x. 5 jenkins jenkins 50 Jan 15 06:19 pkg 06:21:13 -rw-rw-r--. 1 jenkins jenkins 5897 Jan 15 06:19 README.md 06:21:13 -rw-rw-r--. 1 jenkins jenkins 6616 Jan 15 06:19 RELEASE-NOTES.txt 06:21:13 drwxrwxr-x. 4 jenkins jenkins 54 Jan 15 06:19 snap 06:21:13 -rw-rw-r--. 1 jenkins jenkins 5 Jan 15 06:16 VERSION 06:21:13 -rw-rw-r--. 1 jenkins jenkins 222 Jan 15 06:19 version.go [Pipeline] isUnix [Pipeline] sh 06:21:14 + 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=25c82065bc1dbeb4acd280c74cf209eaf1a0d8d6 --label arch=amd64 --label version=0.0.0 . 06:21:14 Sending build context to Docker daemon 2.616MB 06:21:14 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 06:21:14 Step 2/24 : FROM ${BASE} AS builder 06:21:14 ---> b2de14815d34 06:21:14 Step 3/24 : ARG MAKE='make build' 06:21:14 ---> Running in 206e8e89b534 06:21:14 Removing intermediate container 206e8e89b534 06:21:14 ---> d9e48b1de8a1 06:21:14 Step 4/24 : WORKDIR /device-sdk-go 06:21:15 ---> Running in ec787b598e40 06:21:15 Removing intermediate container ec787b598e40 06:21:15 ---> b49300166a6b 06:21:15 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:21:15 ---> Running in ac101aca26be 06:21:15 Removing intermediate container ac101aca26be 06:21:15 ---> 233ef30d0fa0 06:21:15 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:21:15 ---> Running in ab8902b0a5cb 06:21:16 Removing intermediate container ab8902b0a5cb 06:21:16 ---> 496ca8ece7a4 06:21:16 Step 7/24 : RUN apk add --update --no-cache make git 06:21:16 ---> Running in 00a4a8017eba 06:21:17 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:21:17 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:21:18 OK: 166 MiB in 39 packages 06:21:18 Removing intermediate container 00a4a8017eba 06:21:18 ---> 547b48e3a1c2 06:21:18 Step 8/24 : COPY . . 06:21:19 ---> 455e7f1697f8 06:21:19 Step 9/24 : RUN ${MAKE} 06:21:19 ---> Running in 80b15f05f1cb 06:21:20 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 06:21:24 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 06:21:24 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 06:21:24 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 06:21:24 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.225s coverage: 19.4% of statements 06:21:28 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 06:21:30 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.171s coverage: 97.1% of statements 06:21:30 Removing intermediate container 80b15f05f1cb 06:21:30 ---> 560270050a5f 06:21:30 Step 10/24 : FROM scratch 06:21:30 ---> 06:21:30 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:21:30 ---> Running in 3ad6611a033a 06:21:30 Removing intermediate container 3ad6611a033a 06:21:30 ---> 9ee6bb06402b 06:21:30 Step 12/24 : ENV APP_PORT=49990 06:21:30 ---> Running in 91301cae1707 06:21:30 Removing intermediate container 91301cae1707 06:21:30 ---> 88db25669aaa 06:21:30 Step 13/24 : EXPOSE $APP_PORT 06:21:30 ---> Running in 9fc8114f7149 06:21:31 Removing intermediate container 9fc8114f7149 06:21:31 ---> 6d7908ffb0d4 06:21:31 Step 14/24 : WORKDIR / 06:21:31 ---> Running in 60dc72b31f2e 06:21:31 Removing intermediate container 60dc72b31f2e 06:21:31 ---> 1068634c8aae 06:21:31 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 06:21:31 ---> b5761edff691 06:21:31 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 06:21:31 ---> 55a1b688d3d6 06:21:31 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 06:21:32 ---> cb3bf3cc7070 06:21:32 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 06:21:33 ---> 70cba52721d9 06:21:33 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 06:21:33 ---> 0da42f057302 06:21:33 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 06:21:33 ---> Running in 5f442c79b7d1 06:21:33 Removing intermediate container 5f442c79b7d1 06:21:33 ---> 77a8d94a3e2e 06:21:33 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:21:33 ---> Running in 297a56284981 06:21:33 Removing intermediate container 297a56284981 06:21:33 ---> 78dd0512dfc5 06:21:33 Step 22/24 : LABEL arch=amd64 06:21:33 ---> Running in 42eca801c2bf 06:21:33 Removing intermediate container 42eca801c2bf 06:21:33 ---> 09fc9f79a71a 06:21:33 Step 23/24 : LABEL git_sha=25c82065bc1dbeb4acd280c74cf209eaf1a0d8d6 06:21:33 ---> Running in 9824dff47719 06:21:34 Removing intermediate container 9824dff47719 06:21:34 ---> 8d25228ebd76 06:21:34 Step 24/24 : LABEL version=0.0.0 06:21:34 ---> Running in d37c5f75df5e 06:21:34 Removing intermediate container d37c5f75df5e 06:21:34 ---> 365b615f1e61 06:21:34 [Warning] One or more build-args [ARCH] were not consumed 06:21:34 Successfully built 365b615f1e61 06:21:34 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] } 06:21:57 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.125s coverage: 9.4% of statements 06:21:57 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.132s coverage: 21.7% of statements 06:21:57 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 06:21:57 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.863s coverage: 42.9% of statements 06:21:57 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 06:21:57 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.757s coverage: 68.9% of statements 06:21:57 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 06:21:57 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 06:21:57 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 06:21:57 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 06:21:57 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.241s coverage: 53.8% of statements 06:21:57 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 06:21:57 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 06:21:57 ok github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http 0.163s coverage: 31.3% of statements 06:21:57 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.880s coverage: 68.9% of statements 06:21:57 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.138s coverage: 4.2% of statements 06:21:57 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 06:21:57 GO111MODULE=on go vet ./... 06:22:36 gofmt -l . 06:22:36 [ "`gofmt -l .`" = "" ] 06:22:36 ./bin/test-attribution-txt.sh 06:22:36 ./bin/test-go-mod-tidy.sh [Pipeline] } 06:22:36 $ docker stop --time=1 6806a7bf8c1fb73b494dd7fd87bfb1c7d3b6855771d92daa6e10ed9087b9418c 06:22:38 $ docker rm -f 6806a7bf8c1fb73b494dd7fd87bfb1c7d3b6855771d92daa6e10ed9087b9418c [Pipeline] // withDockerContainer [Pipeline] sh 06:22:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:22:39 Warning: overwriting stash ‘coverage-report’ 06:22:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:22:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:22:41 + ls -al . 06:22:41 total 252 06:22:41 drwxrwxr-x 10 jenkins jenkins 4096 Jan 15 06:22 . 06:22:41 drwxrwxr-x 4 jenkins jenkins 4096 Jan 15 06:19 .. 06:22:41 -rw-rw-r-- 1 jenkins jenkins 140 Jan 15 06:19 .dockerignore 06:22:41 drwxrwxr-x 8 jenkins jenkins 4096 Jan 15 06:19 .git 06:22:41 drwxrwxr-x 2 jenkins jenkins 4096 Jan 15 06:19 .github 06:22:41 -rw-rw-r-- 1 jenkins jenkins 138 Jan 15 06:19 .gitignore 06:22:41 -rw-rw-r-- 1 jenkins jenkins 949 Jan 15 06:19 Dockerfile.build 06:22:41 -rw-rw-r-- 1 jenkins jenkins 901 Jan 15 06:19 Jenkinsfile 06:22:41 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 15 06:19 LICENSE 06:22:41 -rw-rw-r-- 1 jenkins jenkins 1013 Jan 15 06:19 Makefile 06:22:41 -rw-rw-r-- 1 jenkins jenkins 5897 Jan 15 06:19 README.md 06:22:41 -rw-rw-r-- 1 jenkins jenkins 6616 Jan 15 06:19 RELEASE-NOTES.txt 06:22:41 -rw-rw-r-- 1 jenkins jenkins 5 Jan 15 06:16 VERSION 06:22:41 drwxrwxr-x 2 jenkins jenkins 4096 Jan 15 06:19 bin 06:22:41 -rw-r--r-- 1 jenkins jenkins 137952 Jan 15 06:21 coverage.out 06:22:41 drwxrwxr-x 4 jenkins jenkins 4096 Jan 15 06:19 example 06:22:41 -rw-r--r-- 1 jenkins jenkins 488 Jan 15 06:22 go.mod 06:22:41 -rw-r--r-- 1 jenkins jenkins 14209 Jan 15 06:22 go.sum 06:22:41 drwxrwxr-x 15 jenkins jenkins 4096 Jan 15 06:19 internal 06:22:41 drwxrwxr-x 4 jenkins jenkins 4096 Jan 15 06:19 openapi 06:22:41 drwxrwxr-x 5 jenkins jenkins 4096 Jan 15 06:19 pkg 06:22:41 drwxrwxr-x 4 jenkins jenkins 4096 Jan 15 06:19 snap 06:22:41 -rw-rw-r-- 1 jenkins jenkins 222 Jan 15 06:19 version.go [Pipeline] isUnix [Pipeline] sh 06:22:42 + 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=25c82065bc1dbeb4acd280c74cf209eaf1a0d8d6 --label arch=arm64 --label version=0.0.0 . 06:22:42 Sending build context to Docker daemon 2.615MB 06:22:42 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 06:22:42 Step 2/24 : FROM ${BASE} AS builder 06:22:42 ---> e7091386b336 06:22:42 Step 3/24 : ARG MAKE='make build' 06:22:43 ---> Running in 000c2bf3249d 06:22:43 Removing intermediate container 000c2bf3249d 06:22:43 ---> 5eb33cf76071 06:22:43 Step 4/24 : WORKDIR /device-sdk-go 06:22:43 ---> Running in 171bb8239ecf 06:22:44 Removing intermediate container 171bb8239ecf 06:22:44 ---> d3906fb7e07b 06:22:44 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:22:44 ---> Running in f8ec00ad949d 06:22:44 Removing intermediate container f8ec00ad949d 06:22:44 ---> fafcfedbcfe0 06:22:44 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:22:44 ---> Running in 5bdffcd12848 06:22:47 Removing intermediate container 5bdffcd12848 06:22:47 ---> 183bc2e6dc12 06:22:47 Step 7/24 : RUN apk add --update --no-cache make git 06:22:47 ---> Running in 81ce73284c8f 06:22:48 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:22:49 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:22:49 OK: 142 MiB in 39 packages 06:22:51 Removing intermediate container 81ce73284c8f 06:22:51 ---> dc1805c39315 06:22:51 Step 8/24 : COPY . . 06:22:52 ---> 157e7ad73b7e 06:22:52 Step 9/24 : RUN ${MAKE} 06:22:52 ---> Running in 2a979fdfadc0 06:22:53 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 06:23:20 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 06:23:20 Removing intermediate container 2a979fdfadc0 06:23:20 ---> 0c20f435abb2 06:23:20 Step 10/24 : FROM scratch 06:23:20 ---> 06:23:20 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:23:20 ---> Running in e3eba9783c84 06:23:20 Removing intermediate container e3eba9783c84 06:23:20 ---> 811193211d4a 06:23:20 Step 12/24 : ENV APP_PORT=49990 06:23:20 ---> Running in 33d355ed4160 06:23:21 Removing intermediate container 33d355ed4160 06:23:21 ---> 8ec96620aaa6 06:23:21 Step 13/24 : EXPOSE $APP_PORT 06:23:21 ---> Running in 9a48694c095b 06:23:21 Removing intermediate container 9a48694c095b 06:23:21 ---> 0a7c2a0ad3a1 06:23:21 Step 14/24 : WORKDIR / 06:23:21 ---> Running in abf4b68be7f2 06:23:22 Removing intermediate container abf4b68be7f2 06:23:22 ---> 0b9261efe11a 06:23:22 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 06:23:23 ---> 379a049da28a 06:23:23 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 06:23:24 ---> 7bce774e5047 06:23:24 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 06:23:24 ---> ab47b20e4f5b 06:23:24 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 06:23:25 ---> 7ee80471e188 06:23:25 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 06:23:26 ---> 31f04cb755b8 06:23:26 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 06:23:26 ---> Running in 6960f116cbbe 06:23:26 Removing intermediate container 6960f116cbbe 06:23:26 ---> f52b28daf5b2 06:23:26 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:23:26 ---> Running in 45c8882700e0 06:23:27 Removing intermediate container 45c8882700e0 06:23:27 ---> 2bed803681ca 06:23:27 Step 22/24 : LABEL arch=arm64 06:23:27 ---> Running in 9fda2369378a 06:23:27 Removing intermediate container 9fda2369378a 06:23:27 ---> 121d8ea37944 06:23:27 Step 23/24 : LABEL git_sha=25c82065bc1dbeb4acd280c74cf209eaf1a0d8d6 06:23:27 ---> Running in 3b97bbb3885e 06:23:28 Removing intermediate container 3b97bbb3885e 06:23:28 ---> 4a10611e53e2 06:23:28 Step 24/24 : LABEL version=0.0.0 06:23:28 ---> Running in 7527d6e06069 06:23:29 Removing intermediate container 7527d6e06069 06:23:29 ---> 1d351d292c80 06:23:29 [Warning] One or more build-args [ARCH] were not consumed 06:23:29 Successfully built 1d351d292c80 06:23:29 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 06:23:31 provisioning config files... 06:23:31 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-733@tmp/config3966384531091858018tmp [Pipeline] { [Pipeline] sh 06:23:32 + set +x 06:23:32 + curl -s https://codecov.io/bash 06:23:32 + bash -s -- 06:23:32 06:23:32 _____ _ 06:23:32 / ____| | | 06:23:32 | | ___ __| | ___ ___ _____ __ 06:23:32 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:23:32 | |___| (_) | (_| | __/ (_| (_) \ V / 06:23:32 \_____\___/ \__,_|\___|\___\___/ \_/ 06:23:32 Bash-20201231-23d4836 06:23:32 06:23:32 06:23:32 ==> git version 2.24.3 found 06:23:32 ==> 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 06:23:32 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 06:23:32 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 06:23:32 ==> Jenkins CI detected. 06:23:32 project root: . 06:23:32 --> token set from env 06:23:32 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:23:32 ==> Running gcov in . (disable via -X gcov) 06:23:32 ==> Python coveragepy not found 06:23:32 ==> Searching for coverage reports in: 06:23:32 + . 06:23:32 -> Found 1 reports 06:23:32 ==> Detecting git/mercurial file structure 06:23:32 ==> Reading reports 06:23:32 + ./coverage.out bytes=137952 06:23:32 ==> Appending adjustments 06:23:32 https://docs.codecov.io/docs/fixing-reports 06:23:32 + Found adjustments 06:23:32 ==> Gzipping contents 06:23:32 24K /tmp/codecov.Y7qNrn.gz 06:23:32 ==> Uploading reports 06:23:32 url: https://codecov.io 06:23:32 query: branch=PR-733&commit=25c82065bc1dbeb4acd280c74cf209eaf1a0d8d6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-733%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=733&job=&cmd_args= 06:23:32 -> Pinging Codecov 06:23:32 https://codecov.io/upload/v4?package=bash-20201231-23d4836&token=secret&branch=PR-733&commit=25c82065bc1dbeb4acd280c74cf209eaf1a0d8d6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-733%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=733&job=&cmd_args= 06:23:33 -> Uploading to 06:23:33 https://storage.googleapis.com/codecov/v4/raw/2021-01-15/7E55EF52A471D76F132DFD9A03CDDE97/25c82065bc1dbeb4acd280c74cf209eaf1a0d8d6/8599a053-f6af-44d8-83bd-8fd9ea1c4bfb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210115%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210115T062333Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=094a3be6ccfc38626e511dc6f2a68cc240c22b16ea38a450a7755425cdbadfcb 06:23:33 % Total % Received % Xferd Average Speed Time Time Time Current 06:23:33 Dload Upload Total Spent Left Speed 06:23:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 22068 0 0 100 22068 0 43717 --:--:-- --:--:-- --:--:-- 43785 06:23:34 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/25c82065bc1dbeb4acd280c74cf209eaf1a0d8d6 [Pipeline] } 06:23:34 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 06:23:37 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:23:37 ---> package-listing.sh 06:23:37 ++ facter osfamily 06:23:37 ++ tr '[:upper:]' '[:lower:]' 06:23:37 + OS_FAMILY=redhat 06:23:37 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-733 06:23:37 + START_PACKAGES=/tmp/packages_start.txt 06:23:37 + END_PACKAGES=/tmp/packages_end.txt 06:23:37 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:23:37 + PACKAGES=/tmp/packages_start.txt 06:23:37 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-733 ']' 06:23:37 + PACKAGES=/tmp/packages_end.txt 06:23:37 + case "${OS_FAMILY}" in 06:23:37 + rpm -qa 06:23:37 + sort 06:23:43 + '[' -f /tmp/packages_start.txt ']' 06:23:43 + '[' -f /tmp/packages_end.txt ']' 06:23:43 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:23:43 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-733 ']' 06:23:43 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-733/archives/ 06:23:43 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-733/archives/ [Pipeline] echo 06:23:43 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-733/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:23:43 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:23:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:23:43 06:23:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:23:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:23:44 alpine: Pulling from edgex-lftools-log-publisher 06:23:44 df20fa9351a1: Pulling fs layer 06:23:44 36b3adc4ff6f: Pulling fs layer 06:23:44 8ad3a11d3b57: Pulling fs layer 06:23:44 46f8f816bc3b: Pulling fs layer 06:23:44 93b61091891f: Pulling fs layer 06:23:44 93b9cdb0e59b: Pulling fs layer 06:23:44 5e14af77c1be: Pulling fs layer 06:23:44 01666e4c0597: Pulling fs layer 06:23:44 aa168da1d23b: Pulling fs layer 06:23:44 46f8f816bc3b: Waiting 06:23:44 93b61091891f: Waiting 06:23:44 5e14af77c1be: Waiting 06:23:44 93b9cdb0e59b: Waiting 06:23:44 01666e4c0597: Waiting 06:23:44 aa168da1d23b: Waiting 06:23:44 36b3adc4ff6f: Verifying Checksum 06:23:44 36b3adc4ff6f: Download complete 06:23:44 46f8f816bc3b: Verifying Checksum 06:23:44 46f8f816bc3b: Download complete 06:23:44 df20fa9351a1: Verifying Checksum 06:23:44 93b9cdb0e59b: Download complete 06:23:44 5e14af77c1be: Verifying Checksum 06:23:44 5e14af77c1be: Download complete 06:23:44 01666e4c0597: Verifying Checksum 06:23:44 01666e4c0597: Download complete 06:23:44 df20fa9351a1: Pull complete 06:23:45 36b3adc4ff6f: Pull complete 06:23:45 93b61091891f: Download complete 06:23:45 8ad3a11d3b57: Verifying Checksum 06:23:45 8ad3a11d3b57: Download complete 06:23:46 8ad3a11d3b57: Pull complete 06:23:46 46f8f816bc3b: Pull complete 06:23:46 93b61091891f: Pull complete 06:23:46 aa168da1d23b: Verifying Checksum 06:23:46 aa168da1d23b: Download complete 06:23:47 93b9cdb0e59b: Pull complete 06:23:47 5e14af77c1be: Pull complete 06:23:47 01666e4c0597: Pull complete 06:23:54 aa168da1d23b: Pull complete 06:23:54 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 06:23:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:23:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:23:54 prd-centos7-docker-4c-2g-20400 does not seem to be running inside a container 06:23:54 $ 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-733/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-733 -v /w/workspace/dgexfoundry_device-sdk-go_PR-733:/w/workspace/dgexfoundry_device-sdk-go_PR-733:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-733@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-733@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 06:23:57 $ docker top ade2147d8ecc001585ca781fb2b762620178815d7ceec1e209e90b524c80142a -eo pid,comm [Pipeline] { [Pipeline] sh 06:23:58 + touch /tmp/pre-build-complete [Pipeline] sh 06:23:58 + mkdir -p /var/log/sa [Pipeline] sh 06:23:59 + ls /var/log/sa-host 06:23:59 + sadf -c /var/log/sa-host/sa15 06:23:59 file_magic: OK 06:23:59 HZ: Using current value: 100 06:23:59 file_header: OK 06:23:59 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 06:23:59 Statistics: 06:23:59 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:23:59 File successfully converted to sysstat format version 12.2.1 06:23:59 + sadf -c /var/log/sa-host/sa23 06:23:59 file_magic: OK 06:23:59 HZ: Using current value: 100 06:23:59 file_header: OK 06:23:59 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 06:23:59 Statistics: 06:23:59 Hnuu...uuuununununu... 06:23:59 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:24:01 provisioning config files... 06:24:01 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-733@tmp/config7121263436670214362tmp [Pipeline] { [Pipeline] echo 06:24:01 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:24:01 ---> create-netrc.sh [Pipeline] } 06:24:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:24:01 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:24:02 ---> python-tools-install.sh [Pipeline] echo 06:24:02 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:24:02 ---> sudo-logs.sh 06:24:02 Archiving 'sudo' log.. [Pipeline] echo 06:24:02 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:24:03 ---> job-cost.sh 06:24:03 lf-activate-venv: SKIPPING 06:24:03 INFO: No Stack... 06:24:04 INFO: Retrieving Pricing Info for: v1-standard-2 06:24:04 INFO: Archiving Costs [Pipeline] echo 06:24:04 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:24:05 ---> logs-deploy.sh 06:24:05 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-733/1 06:24:05 INFO: archiving workspace using pattern(s): 06:24:06 Archives upload complete. 06:24:06 INFO: archiving logs to Nexus 06:24:07 ---> uname -a: 06:24:07 Linux prd-centos7-docker-4c-2g-20400.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 06:24:07 06:24:07 06:24:07 ---> lscpu: 06:24:07 Architecture: x86_64 06:24:07 CPU op-mode(s): 32-bit, 64-bit 06:24:07 Byte Order: Little Endian 06:24:07 Address sizes: 40 bits physical, 48 bits virtual 06:24:07 CPU(s): 4 06:24:07 On-line CPU(s) list: 0-3 06:24:07 Thread(s) per core: 1 06:24:07 Core(s) per socket: 1 06:24:07 Socket(s): 4 06:24:07 NUMA node(s): 1 06:24:07 Vendor ID: GenuineIntel 06:24:07 CPU family: 6 06:24:07 Model: 44 06:24:07 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 06:24:07 Stepping: 1 06:24:07 CPU MHz: 2933.442 06:24:07 BogoMIPS: 5866.88 06:24:07 Virtualization: VT-x 06:24:07 Hypervisor vendor: KVM 06:24:07 Virtualization type: full 06:24:07 L1d cache: 128 KiB 06:24:07 L1i cache: 128 KiB 06:24:07 L2 cache: 16 MiB 06:24:07 L3 cache: 64 MiB 06:24:07 NUMA node0 CPU(s): 0-3 06:24:07 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 06:24:07 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 06:24:07 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 06:24:07 Vulnerability Meltdown: Mitigation; PTI 06:24:07 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 06:24:07 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 06:24:07 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 06:24:07 Vulnerability Srbds: Not affected 06:24:07 Vulnerability Tsx async abort: Not affected 06:24:07 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 06:24:07 06:24:07 06:24:07 ---> nproc: 06:24:07 4 06:24:07 06:24:07 06:24:07 ---> df -h: 06:24:07 Filesystem Size Used Available Use% Mounted on 06:24:07 overlay 50.0G 7.3G 42.7G 15% / 06:24:07 tmpfs 64.0M 0 64.0M 0% /dev 06:24:07 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 06:24:07 shm 64.0M 0 64.0M 0% /dev/shm 06:24:07 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 06:24:07 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 06:24:07 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 06:24:07 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 06:24:07 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 06:24:07 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 06:24:07 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-733 06:24:07 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-733@tmp 06:24:07 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 06:24:07 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 06:24:07 06:24:07 06:24:07 ---> free -m: 06:24:07 total used free shared buff/cache available 06:24:07 Mem: 1837 708 67 0 1061 1024 06:24:07 Swap: 1023 1 1022 06:24:07 06:24:07 06:24:07 ---> ip addr: 06:24:07 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 06:24:07 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 06:24:07 inet 127.0.0.1/8 scope host lo 06:24:07 valid_lft forever preferred_lft forever 06:24:07 inet6 ::1/128 scope host 06:24:07 valid_lft forever preferred_lft forever 06:24:07 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 06:24:07 link/ether fa:16:3e:15:43:20 brd ff:ff:ff:ff:ff:ff 06:24:07 inet 10.30.123.205/23 brd 10.30.123.255 scope global dynamic eth0 06:24:07 valid_lft 85911sec preferred_lft 85911sec 06:24:07 inet6 fe80::f816:3eff:fe15:4320/64 scope link 06:24:07 valid_lft forever preferred_lft forever 06:24:07 3: docker0: mtu 1500 qdisc noqueue state DOWN 06:24:07 link/ether 02:42:74:06:dc:a2 brd ff:ff:ff:ff:ff:ff 06:24:07 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 06:24:07 valid_lft forever preferred_lft forever 06:24:07 inet6 fe80::42:74ff:fe06:dca2/64 scope link 06:24:07 valid_lft forever preferred_lft forever 06:24:07 06:24:07 06:24:07 ---> sar -b -r -n DEV: 06:24:07 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/15/21 _x86_64_ (4 CPU) 06:24:07 06:24:07 06:15:47 LINUX RESTART (4 CPU) 06:24:07 06:24:07 06:17:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 06:24:07 06:18:01 3.16 0.00 3.16 0.00 0.00 107.99 0.00 06:24:07 06:19:01 0.48 0.00 0.48 0.00 0.00 6.03 0.00 06:24:07 06:20:01 0.62 0.00 0.62 0.00 0.00 6.68 0.00 06:24:07 06:21:01 0.30 0.00 0.30 0.00 0.00 5.13 0.00 06:24:07 06:22:01 0.23 0.00 0.23 0.00 0.00 2.91 0.00 06:24:07 06:23:02 0.33 0.00 0.33 0.00 0.00 3.50 0.00 06:24:07 Average: 0.85 0.00 0.85 0.00 0.00 22.04 0.00 06:24:07 06:24:07 06:17:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 06:24:07 06:18:01 164976 0 565848 30.07 2620 1148100 1086172 37.07 428548 1087828 16 06:24:07 06:19:01 169972 0 560848 29.81 2620 1148104 1061092 36.21 421944 1090508 20 06:24:07 06:20:01 168484 0 562328 29.89 2620 1148112 1060996 36.21 430148 1083792 16 06:24:07 06:21:01 166624 0 564188 29.99 2620 1148112 1061044 36.21 427964 1088164 8 06:24:07 06:22:01 165424 0 565380 30.05 2620 1148120 1061008 36.21 440764 1076520 8 06:24:07 06:23:02 165936 0 564864 30.02 2620 1148124 1060900 36.21 440096 1076592 8 06:24:07 Average: 166903 0 563909 29.97 2620 1148112 1065202 36.35 431577 1083901 13 06:24:07 06:24:07 06:17:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 06:24:07 06:18:01 eth0 0.97 0.35 0.30 0.21 0.00 0.00 0.00 0.00 06:24:07 06:18:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:24:07 06:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:24:07 06:19:01 eth0 1.17 0.43 0.37 0.18 0.00 0.00 0.00 0.00 06:24:07 06:19:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:24:07 06:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:24:07 06:20:01 eth0 1.82 0.30 0.38 0.23 0.00 0.00 0.00 0.00 06:24:07 06:20:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:24:07 06:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:24:07 06:21:01 eth0 0.93 0.53 0.53 0.39 0.00 0.00 0.00 0.00 06:24:07 06:21:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:24:07 06:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:24:07 06:22:01 eth0 0.35 0.25 0.15 0.08 0.00 0.00 0.00 0.00 06:24:07 06:22:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:24:07 06:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:24:07 06:23:02 eth0 0.65 0.08 0.06 0.01 0.00 0.00 0.00 0.00 06:24:07 06:23:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:24:07 06:23:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:24:07 Average: eth0 0.98 0.32 0.30 0.18 0.00 0.00 0.00 0.00 06:24:07 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:24:07 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:24:07 06:24:07 06:24:07 ---> sar -P ALL: 06:24:07 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/15/21 _x86_64_ (4 CPU) 06:24:07 06:24:07 06:15:47 LINUX RESTART (4 CPU) 06:24:07 06:24:07 06:17:01 CPU %user %nice %system %iowait %steal %idle 06:24:07 06:18:01 all 0.19 0.00 0.05 0.00 0.00 99.76 06:24:07 06:18:01 0 0.12 0.00 0.05 0.00 0.00 99.83 06:24:07 06:18:01 1 0.05 0.00 0.07 0.00 0.00 99.88 06:24:07 06:18:01 2 0.07 0.00 0.05 0.00 0.00 99.88 06:24:07 06:18:01 3 0.52 0.00 0.03 0.00 0.00 99.45 06:24:07 06:19:01 all 0.16 0.00 0.05 0.00 0.00 99.80 06:24:07 06:19:01 0 0.07 0.00 0.05 0.00 0.00 99.88 06:24:07 06:19:01 1 0.48 0.00 0.05 0.00 0.00 99.47 06:24:07 06:19:01 2 0.05 0.00 0.05 0.00 0.00 99.90 06:24:07 06:19:01 3 0.03 0.00 0.03 0.00 0.00 99.93 06:24:07 06:20:01 all 0.15 0.00 0.04 0.00 0.00 99.81 06:24:07 06:20:01 0 0.02 0.00 0.03 0.00 0.00 99.95 06:24:07 06:20:01 1 0.53 0.00 0.03 0.00 0.00 99.43 06:24:07 06:20:01 2 0.03 0.00 0.07 0.00 0.00 99.90 06:24:07 06:20:01 3 0.02 0.00 0.02 0.00 0.00 99.97 06:24:07 06:21:01 all 0.19 0.00 0.05 0.00 0.00 99.76 06:24:07 06:21:01 0 0.05 0.00 0.05 0.00 0.00 99.90 06:24:07 06:21:01 1 0.55 0.00 0.05 0.00 0.00 99.40 06:24:07 06:21:01 2 0.08 0.00 0.05 0.00 0.00 99.87 06:24:07 06:21:01 3 0.07 0.00 0.05 0.00 0.02 99.87 06:24:07 06:22:01 all 0.13 0.00 0.07 0.00 0.00 99.80 06:24:07 06:22:01 0 0.03 0.00 0.03 0.00 0.00 99.93 06:24:07 06:22:01 1 0.45 0.00 0.10 0.00 0.00 99.45 06:24:07 06:22:01 2 0.03 0.00 0.12 0.00 0.00 99.85 06:24:07 06:22:01 3 0.02 0.00 0.02 0.00 0.00 99.97 06:24:07 06:23:02 all 0.05 0.00 0.06 0.00 0.00 99.89 06:24:07 06:23:02 0 0.02 0.00 0.05 0.00 0.00 99.93 06:24:07 06:23:02 1 0.15 0.00 0.10 0.00 0.00 99.75 06:24:07 06:23:02 2 0.03 0.00 0.07 0.00 0.00 99.90 06:24:07 06:23:02 3 0.02 0.00 0.02 0.00 0.00 99.97 06:24:07 Average: all 0.15 0.00 0.05 0.00 0.00 99.80 06:24:07 Average: 0 0.05 0.00 0.04 0.00 0.00 99.91 06:24:07 Average: 1 0.37 0.00 0.07 0.00 0.00 99.56 06:24:07 Average: 2 0.05 0.00 0.07 0.00 0.00 99.88 06:24:07 Average: 3 0.11 0.00 0.03 0.00 0.00 99.86 06:24:07 06:24:07 06:24:07