Pull request #737 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from e04106a2c023468aa2652ed208468b54ad9b615b+619f260ee4c0648af817c78e3551f454d78ccf58 (7b528666ff3d1ac420855466e78bbc3182fe9bcc) 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-737/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-737/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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-20636 in /w/workspace/dgexfoundry_device-sdk-go_PR-737 [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-737 # 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/737/head:refs/remotes/origin/PR-737 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 619f260ee4c0648af817c78e3551f454d78ccf58 into PR head commit e04106a2c023468aa2652ed208468b54ad9b615b Merge succeeded, producing e04106a2c023468aa2652ed208468b54ad9b615b Checking out Revision e04106a2c023468aa2652ed208468b54ad9b615b (PR-737) > git config core.sparsecheckout # timeout=10 > git checkout -f e04106a2c023468aa2652ed208468b54ad9b615b # 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 619f260ee4c0648af817c78e3551f454d78ccf58 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e04106a2c023468aa2652ed208468b54ad9b615b # timeout=10 Commit message: "refactor: Make SDK a V2 Go Module" 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 21:34:52 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:34:52 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:34:52 ========================================================= 21:34:52 EdgeX Global Pipelines Version Info 21:34:52 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:34:54 ------------------- 21:34:54 stable info: 21:34:54 ------------------- 21:34:54 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:34:54 Commit SHA: f82e9360b4159668f7e3e090307a6179e9a8e48d 21:34:54 Message: update stable to v1.0.177 21:34:55 ------------------- 21:34:55 experimental info: 21:34:55 ------------------- 21:34:55 Commited By: **** collab-it+edgex@linuxfoundation.org 21:34:55 Commit SHA: e10e8b1c2921d3c8fd668fd9f38a05cab6ea93a3 21:34:55 Message: update experimental to v1.0.178 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:34:55 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 21:34:55 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 21:34:55 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:34:56 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:34:56 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:34:56 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 21:34:56 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 21:34:56 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 21:34:56 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 21:34:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:34:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:34:57 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 21:34:57 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:34:57 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:34:57 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:34:57 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 21:34:57 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:34:57 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:34:58 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:34:58 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:34:58 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 21:34:58 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 21:34:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:34:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:34:58 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:34:58 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 21:34:59 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 21:34:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-737 [Pipeline] echo 21:34:59 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-737 [Pipeline] echo 21:34:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-737 [Pipeline] echo 21:34:59 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e04106a2c023468aa2652ed208468b54ad9b615b [Pipeline] echo 21:34:59 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e04106a [Pipeline] echo 21:34:59 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 21:35:00 provisioning config files... 21:35:00 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-737@tmp/config6482744461962975284tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:35:00 ---> docker-login.sh 21:35:00 nexus3.edgexfoundry.org:10001 21:35:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:35:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:35:01 Configure a credential helper to remove this warning. See 21:35:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:35:01 21:35:01 Login Succeeded 21:35:01 nexus3.edgexfoundry.org:10002 21:35:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:35:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:35:01 Configure a credential helper to remove this warning. See 21:35:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:35:01 21:35:01 Login Succeeded 21:35:01 nexus3.edgexfoundry.org:10003 21:35:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:35:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:35:01 Configure a credential helper to remove this warning. See 21:35:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:35:01 21:35:01 Login Succeeded 21:35:01 nexus3.edgexfoundry.org:10004 21:35:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:35:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:35:01 Configure a credential helper to remove this warning. See 21:35:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:35:01 21:35:01 Login Succeeded 21:35:01 docker.io 21:35:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:35:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:35:02 Configure a credential helper to remove this warning. See 21:35:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:35:02 21:35:02 Login Succeeded 21:35:02 ---> docker-login.sh ends [Pipeline] } 21:35:02 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 21:35:03 + git log --format=format:%s -1 e04106a2c023468aa2652ed208468b54ad9b615b [Pipeline] echo 21:35:03 GIT_COMMIT: e04106a2c023468aa2652ed208468b54ad9b615b, Commit Message: refactor: Make SDK a V2 Go Module [Pipeline] echo 21:35:03 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 21:35:04 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:35:04 21:35:04 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 21:35:04 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:35:04 latest: Pulling from edgex-devops/git-semver 21:35:04 31603596830f: Pulling fs layer 21:35:04 2a8b12db71e7: Pulling fs layer 21:35:04 6ca5941a6612: Pulling fs layer 21:35:04 ecc8261a40a4: Pulling fs layer 21:35:04 ecc8261a40a4: Waiting 21:35:04 2a8b12db71e7: Verifying Checksum 21:35:04 2a8b12db71e7: Download complete 21:35:04 31603596830f: Download complete 21:35:04 ecc8261a40a4: Verifying Checksum 21:35:04 ecc8261a40a4: Download complete 21:35:04 6ca5941a6612: Verifying Checksum 21:35:04 6ca5941a6612: Download complete 21:35:05 31603596830f: Pull complete 21:35:05 2a8b12db71e7: Pull complete 21:35:06 6ca5941a6612: Pull complete 21:35:06 ecc8261a40a4: Pull complete 21:35:06 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 21:35:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:35:06 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 21:35:06 prd-centos7-docker-4c-2g-20636 does not seem to be running inside a container 21:35:06 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-737 -v /w/workspace/dgexfoundry_device-sdk-go_PR-737:/w/workspace/dgexfoundry_device-sdk-go_PR-737:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-737@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-737@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 21:35:09 $ docker top 00a6d39e778d1ca5233bebe81722b80a6118bc9f37009241498a2e59fdc40744 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:35:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:35:10 [ssh-agent] Looking for ssh-agent implementation... 21:35:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:35:10 $ docker exec 00a6d39e778d1ca5233bebe81722b80a6118bc9f37009241498a2e59fdc40744 ssh-agent 21:35:10 SSH_AUTH_SOCK=/tmp/ssh-Hp1zx4GQXzNC/agent.11 21:35:10 SSH_AGENT_PID=16 21:35:10 Running ssh-add (command line suppressed) 21:35:10 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-737@tmp/private_key_4436372343332085877.key (/w/workspace/dgexfoundry_device-sdk-go_PR-737@tmp/private_key_4436372343332085877.key) 21:35:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:35:11 + git tag --points-at HEAD [Pipeline] } 21:35:11 $ docker exec --env ******** --env ******** 00a6d39e778d1ca5233bebe81722b80a6118bc9f37009241498a2e59fdc40744 ssh-agent -k 21:35:11 unset SSH_AUTH_SOCK; 21:35:11 unset SSH_AGENT_PID; 21:35:11 echo Agent pid 16 killed; 21:35:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:35:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:35:11 [ssh-agent] Looking for ssh-agent implementation... 21:35:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:35:11 $ docker exec 00a6d39e778d1ca5233bebe81722b80a6118bc9f37009241498a2e59fdc40744 ssh-agent 21:35:12 SSH_AUTH_SOCK=/tmp/ssh-5pmc3sbxZSda/agent.46 21:35:12 SSH_AGENT_PID=51 21:35:12 Running ssh-add (command line suppressed) 21:35:12 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-737@tmp/private_key_1276624505771999678.key (/w/workspace/dgexfoundry_device-sdk-go_PR-737@tmp/private_key_1276624505771999678.key) 21:35:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:35:12 + git semver init 21:35:12 # -> Open(): unable to determine branch for HEAD 21:35:12 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-737/.git 21:35:12 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-737 21:35:12 # $SEMVER_REMOTE_NAME = origin 21:35:12 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 21:35:12 # $SEMVER_USER_NAME = edgex-jenkins 21:35:12 # $SEMVER_BRANCH = PR-737 21:35:12 # $SEMVER_TEMP = /tmp/semver-961514647 21:35:12 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 21:35:13 # '/tmp/semver-961514647' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-737/.semver' 21:35:13 # -> Force: false 21:35:13 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-737/.semver [Pipeline] } 21:35:13 $ docker exec --env ******** --env ******** 00a6d39e778d1ca5233bebe81722b80a6118bc9f37009241498a2e59fdc40744 ssh-agent -k 21:35:13 unset SSH_AUTH_SOCK; 21:35:13 unset SSH_AGENT_PID; 21:35:13 echo Agent pid 51 killed; 21:35:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:35:13 + git semver [Pipeline] } 21:35:13 $ docker stop --time=1 00a6d39e778d1ca5233bebe81722b80a6118bc9f37009241498a2e59fdc40744 21:35:15 $ docker rm -f 00a6d39e778d1ca5233bebe81722b80a6118bc9f37009241498a2e59fdc40744 [Pipeline] // withDockerContainer [Pipeline] sh 21:35:16 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:35:16 Stashed 1 file(s) [Pipeline] echo 21:35:16 [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 21:35:32 Still waiting to schedule task 21:35:32 Waiting for next available executor on ‘centos7-docker-4c-2g’ 21:35:32 Still waiting to schedule task 21:35:32 ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ is offline 21:37:14 Running on prd-ubuntu18.04-docker-arm64-4c-16g-20637 in /w/workspace/dgexfoundry_device-sdk-go_PR-737 [Pipeline] { [Pipeline] ws 21:37:14 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 21:37:19 using credential edgex-jenkins-ssh 21:37:19 Cloning the remote Git repository 21:37:19 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 21:37:19 > git init /w/workspace/device-sdk-go/1 # timeout=10 21:37:20 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 21:37:20 > git --version # timeout=10 21:37:20 > git --version # 'git version 2.17.1' 21:37:20 using GIT_SSH to set credentials SSH Credentials for GitHub 21:37:20 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:37:22 Merging remotes/origin/master commit 619f260ee4c0648af817c78e3551f454d78ccf58 into PR head commit e04106a2c023468aa2652ed208468b54ad9b615b 21:37:21 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 21:37:21 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:37:21 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 21:37:21 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 21:37:21 using GIT_SSH to set credentials SSH Credentials for GitHub 21:37:21 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/737/head:refs/remotes/origin/PR-737 +refs/heads/master:refs/remotes/origin/master # timeout=10 21:37:22 > git config core.sparsecheckout # timeout=10 21:37:22 > git checkout -f e04106a2c023468aa2652ed208468b54ad9b615b # timeout=10 21:37:22 Merge succeeded, producing e04106a2c023468aa2652ed208468b54ad9b615b 21:37:22 Checking out Revision e04106a2c023468aa2652ed208468b54ad9b615b (PR-737) 21:37:22 > git remote # timeout=10 21:37:22 > git config --get remote.origin.url # timeout=10 21:37:22 using GIT_SSH to set credentials SSH Credentials for GitHub 21:37:22 > git merge 619f260ee4c0648af817c78e3551f454d78ccf58 # timeout=10 21:37:22 > git rev-parse HEAD^{commit} # timeout=10 21:37:22 > git config core.sparsecheckout # timeout=10 21:37:22 > git checkout -f e04106a2c023468aa2652ed208468b54ad9b615b # timeout=10 21:37:26 Commit message: "refactor: Make SDK a V2 Go Module" 21:37:26 > git --version # timeout=10 21:37:26 > git --version # 'git version 2.17.1' 21:37:26 fatal: bad object f82e9360b4159668f7e3e090307a6179e9a8e48d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:37:28 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 21:37:29 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 21:37:29 + sudo+ service docker restarttrue 21:37:29 [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 21:37:32 provisioning config files... 21:37:32 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config6918873716139642477tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:37:32 ---> docker-login.sh 21:37:32 nexus3.edgexfoundry.org:10001 21:37:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:37:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:37:34 Configure a credential helper to remove this warning. See 21:37:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:37:34 21:37:34 Login Succeeded 21:37:34 nexus3.edgexfoundry.org:10002 21:37:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:37:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:37:34 Configure a credential helper to remove this warning. See 21:37:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:37:34 21:37:34 Login Succeeded 21:37:34 nexus3.edgexfoundry.org:10003 21:37:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:37:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:37:35 Configure a credential helper to remove this warning. See 21:37:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:37:35 21:37:35 Login Succeeded 21:37:35 nexus3.edgexfoundry.org:10004 21:37:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:37:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:37:35 Configure a credential helper to remove this warning. See 21:37:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:37:35 21:37:35 Login Succeeded 21:37:35 docker.io 21:37:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:37:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:37:36 Configure a credential helper to remove this warning. See 21:37:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:37:36 21:37:36 Login Succeeded 21:37:36 ---> docker-login.sh ends [Pipeline] } 21:37:36 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:37:37 ========================================================= 21:37:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 21:37:37 ========================================================= [Pipeline] isUnix [Pipeline] sh 21:37:37 + 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 . 21:37:38 Sending build context to Docker daemon 2.7MB 21:37:38 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 21:37:38 Step 2/8 : FROM ${BASE} 21:37:38 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:37:38 5f621e34cdf4: Pulling fs layer 21:37:38 a4357932f1b6: Pulling fs layer 21:37:38 18c013af1878: Pulling fs layer 21:37:38 00ac8860ef70: Pulling fs layer 21:37:38 63d7cb157983: Pulling fs layer 21:37:38 b116817d02f9: Pulling fs layer 21:37:38 745a02a5169b: Pulling fs layer 21:37:38 00ac8860ef70: Waiting 21:37:38 b116817d02f9: Waiting 21:37:38 63d7cb157983: Waiting 21:37:38 18c013af1878: Verifying Checksum 21:37:38 18c013af1878: Download complete 21:37:38 a4357932f1b6: Verifying Checksum 21:37:38 a4357932f1b6: Download complete 21:37:38 63d7cb157983: Verifying Checksum 21:37:38 63d7cb157983: Download complete 21:37:38 b116817d02f9: Verifying Checksum 21:37:38 b116817d02f9: Download complete 21:37:38 5f621e34cdf4: Verifying Checksum 21:37:38 5f621e34cdf4: Download complete 21:37:38 5f621e34cdf4: Pull complete 21:37:39 a4357932f1b6: Pull complete 21:37:39 18c013af1878: Pull complete 21:37:41 745a02a5169b: Verifying Checksum 21:37:41 745a02a5169b: Download complete 21:37:42 00ac8860ef70: Verifying Checksum 21:37:42 00ac8860ef70: Download complete 21:37:52 00ac8860ef70: Pull complete 21:37:52 63d7cb157983: Pull complete 21:37:52 b116817d02f9: Pull complete 21:37:56 Running on prd-centos7-docker-4c-2g-20638 in /w/workspace/dgexfoundry_device-sdk-go_PR-737 [Pipeline] { [Pipeline] ws 21:37:56 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 21:37:57 745a02a5169b: Pull complete 21:37:57 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 21:37:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 21:37:57 ---> b7e6874047d6 21:37:57 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:37:58 using credential edgex-jenkins-ssh 21:37:58 Cloning the remote Git repository 21:37:58 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 21:37:58 > git init /w/workspace/device-sdk-go/1 # timeout=10 21:37:58 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 21:37:58 > git --version # timeout=10 21:37:58 > git --version # 'git version 2.24.3' 21:37:58 using GIT_SSH to set credentials SSH Credentials for GitHub 21:37:58 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:37:59 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 21:37:59 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:37:59 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 21:37:59 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 21:37:59 using GIT_SSH to set credentials SSH Credentials for GitHub 21:37:59 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/737/head:refs/remotes/origin/PR-737 +refs/heads/master:refs/remotes/origin/master # timeout=10 21:37:59 ---> Running in f271a1a89517 21:37:59 Removing intermediate container f271a1a89517 21:37:59 ---> cc40f4d54f99 21:37:59 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:38:00 Merging remotes/origin/master commit 619f260ee4c0648af817c78e3551f454d78ccf58 into PR head commit e04106a2c023468aa2652ed208468b54ad9b615b 21:38:00 ---> Running in 83bb4d725bc4 21:38:00 Merge succeeded, producing e04106a2c023468aa2652ed208468b54ad9b615b 21:38:00 Checking out Revision e04106a2c023468aa2652ed208468b54ad9b615b (PR-737) 21:38:00 > git config core.sparsecheckout # timeout=10 21:38:00 > git checkout -f e04106a2c023468aa2652ed208468b54ad9b615b # timeout=10 21:38:00 > git remote # timeout=10 21:38:00 > git config --get remote.origin.url # timeout=10 21:38:00 using GIT_SSH to set credentials SSH Credentials for GitHub 21:38:00 > git merge 619f260ee4c0648af817c78e3551f454d78ccf58 # timeout=10 21:38:00 > git rev-parse HEAD^{commit} # timeout=10 21:38:00 > git config core.sparsecheckout # timeout=10 21:38:00 > git checkout -f e04106a2c023468aa2652ed208468b54ad9b615b # timeout=10 21:38:02 Removing intermediate container 83bb4d725bc4 21:38:02 ---> 461f45862ecd 21:38:02 Step 5/8 : RUN apk add --update --no-cache make git 21:38:03 ---> Running in 2fe7681064e4 21:38:03 Commit message: "refactor: Make SDK a V2 Go Module" 21:38:03 > git --version # timeout=10 21:38:04 > git --version # 'git version 2.24.3' 21:38:04 fatal: bad object f82e9360b4159668f7e3e090307a6179e9a8e48d 21:38:04 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { 21:38:04 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:38:05 OK: 142 MiB in 39 packages 21:38:05 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 21:38:05 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 21:38:06 + sudo service docker restart 21:38:06 + true 21:38:06 Redirecting to /bin/systemctl restart docker.service 21:38:06 Removing intermediate container 2fe7681064e4 21:38:06 ---> be611db20642 21:38:06 Step 6/8 : WORKDIR /device-sdk-go 21:38:07 ---> Running in 492c3d0af322 21:38:07 Removing intermediate container 492c3d0af322 21:38:07 ---> 0d888e168045 21:38:07 Step 7/8 : COPY . . [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 21:38:07 provisioning config files... 21:38:07 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config1098529048477954672tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:38:08 ---> docker-login.sh 21:38:08 nexus3.edgexfoundry.org:10001 21:38:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:38:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:38:08 Configure a credential helper to remove this warning. See 21:38:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:38:08 21:38:08 Login Succeeded 21:38:08 nexus3.edgexfoundry.org:10002 21:38:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:38:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:38:08 Configure a credential helper to remove this warning. See 21:38:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:38:08 21:38:08 Login Succeeded 21:38:08 nexus3.edgexfoundry.org:10003 21:38:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:38:09 ---> fc1762d76d8e 21:38:09 Step 8/8 : RUN go mod download 21:38:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:38:09 Configure a credential helper to remove this warning. See 21:38:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:38:09 21:38:09 Login Succeeded 21:38:09 nexus3.edgexfoundry.org:10004 21:38:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:38:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:38:09 Configure a credential helper to remove this warning. See 21:38:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:38:09 21:38:09 Login Succeeded 21:38:09 docker.io 21:38:09 ---> Running in 194293081e04 21:38:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:38:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:38:09 Configure a credential helper to remove this warning. See 21:38:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:38:09 21:38:09 Login Succeeded 21:38:09 ---> docker-login.sh ends [Pipeline] } 21:38:09 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:38:10 ========================================================= 21:38:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 21:38:10 ========================================================= [Pipeline] isUnix [Pipeline] sh 21:38:10 + 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 . 21:38:10 Sending build context to Docker daemon 2.701MB 21:38:10 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 21:38:10 Step 2/8 : FROM ${BASE} 21:38:10 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 21:38:10 188c0c94c7c5: Pulling fs layer 21:38:10 0ef7d3d256c8: Pulling fs layer 21:38:10 de9db76c5a1d: Pulling fs layer 21:38:10 bca2f99d35d6: Pulling fs layer 21:38:10 93359f2a8cfa: Pulling fs layer 21:38:10 7c6f9722023f: Pulling fs layer 21:38:10 a35cf1a2eb13: Pulling fs layer 21:38:10 7c6f9722023f: Waiting 21:38:10 a35cf1a2eb13: Waiting 21:38:10 de9db76c5a1d: Download complete 21:38:10 0ef7d3d256c8: Download complete 21:38:10 93359f2a8cfa: Verifying Checksum 21:38:10 93359f2a8cfa: Download complete 21:38:10 7c6f9722023f: Verifying Checksum 21:38:10 7c6f9722023f: Download complete 21:38:10 188c0c94c7c5: Verifying Checksum 21:38:10 188c0c94c7c5: Download complete 21:38:11 188c0c94c7c5: Pull complete 21:38:11 0ef7d3d256c8: Pull complete 21:38:11 de9db76c5a1d: Pull complete 21:38:12 a35cf1a2eb13: Verifying Checksum 21:38:12 a35cf1a2eb13: Download complete 21:38:13 bca2f99d35d6: Verifying Checksum 21:38:13 bca2f99d35d6: Download complete 21:38:18 bca2f99d35d6: Pull complete 21:38:18 93359f2a8cfa: Pull complete 21:38:18 7c6f9722023f: Pull complete 21:38:22 a35cf1a2eb13: Pull complete 21:38:22 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 21:38:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 21:38:22 ---> a62c8e92a672 21:38:22 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:38:23 ---> Running in 73156e4b9380 21:38:23 Removing intermediate container 73156e4b9380 21:38:23 ---> 12c8da8aa1de 21:38:23 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:38:23 ---> Running in d6e8ea5c92d1 21:38:24 Removing intermediate container d6e8ea5c92d1 21:38:24 ---> e73aefa2b892 21:38:24 Step 5/8 : RUN apk add --update --no-cache make git 21:38:24 ---> Running in 0781e3e73cee 21:38:25 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 21:38:26 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 21:38:26 OK: 166 MiB in 39 packages 21:38:27 Removing intermediate container 0781e3e73cee 21:38:27 ---> 4c595156ec98 21:38:27 Step 6/8 : WORKDIR /device-sdk-go 21:38:27 ---> Running in cc5030f48b3b 21:38:27 Removing intermediate container cc5030f48b3b 21:38:27 ---> 9df04aa32079 21:38:27 Step 7/8 : COPY . . 21:38:28 ---> 535f6f57ebcc 21:38:28 Step 8/8 : RUN go mod download 21:38:29 ---> Running in 4e0e00af91e5 21:38:31 Removing intermediate container 194293081e04 21:38:31 ---> 82cd8b6d8b24 21:38:31 Successfully built 82cd8b6d8b24 21:38:31 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 21:38:31 + docker inspect -f . ci-base-image-arm64 21:38:31 . [Pipeline] withDockerContainer 21:38:32 prd-ubuntu18.04-docker-arm64-4c-16g-20637 does not seem to be running inside a container 21:38:32 $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat 21:38:33 $ docker top ac0e294bf197569e77fd2b52577a788e4bb673ed417386a32c57a9d08a74fe68 -eo pid,comm [Pipeline] { [Pipeline] sh 21:38:34 + go version 21:38:34 go version go1.15.5 linux/arm64 [Pipeline] } 21:38:34 $ docker stop --time=1 ac0e294bf197569e77fd2b52577a788e4bb673ed417386a32c57a9d08a74fe68 21:38:37 $ docker rm -f ac0e294bf197569e77fd2b52577a788e4bb673ed417386a32c57a9d08a74fe68 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:38:38 + docker inspect -f . ci-base-image-arm64 21:38:38 . [Pipeline] withDockerContainer 21:38:38 prd-ubuntu18.04-docker-arm64-4c-16g-20637 does not seem to be running inside a container 21:38:38 $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat 21:38:40 $ docker top d1233e32551e054aae6b1a2fd2fcd9991af36254edda607129af8b3cfde3d87e -eo pid,comm [Pipeline] { [Pipeline] sh 21:38:41 + make test 21:38:41 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 21:38:47 Removing intermediate container 4e0e00af91e5 21:38:47 ---> a5d9b839328a 21:38:47 Successfully built a5d9b839328a 21:38:47 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 21:38:47 + docker inspect -f . ci-base-image-x86_64 21:38:47 . [Pipeline] withDockerContainer 21:38:48 prd-centos7-docker-4c-2g-20638 does not seem to be running inside a container 21:38:48 $ 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 ******** -e ******** ci-base-image-x86_64 cat 21:38:49 $ docker top 1daae4ad1e83bb1537fb17f36c8fed7f7623e9c5d755d16542f1cb4c151e8152 -eo pid,comm [Pipeline] { [Pipeline] sh 21:38:50 + go version 21:38:50 go version go1.15.5 linux/amd64 [Pipeline] } 21:38:50 $ docker stop --time=1 1daae4ad1e83bb1537fb17f36c8fed7f7623e9c5d755d16542f1cb4c151e8152 21:38:51 $ docker rm -f 1daae4ad1e83bb1537fb17f36c8fed7f7623e9c5d755d16542f1cb4c151e8152 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:38:52 + docker inspect -f . ci-base-image-x86_64 21:38:52 . [Pipeline] withDockerContainer 21:38:53 prd-centos7-docker-4c-2g-20638 does not seem to be running inside a container 21:38:53 $ 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 ******** -e ******** ci-base-image-x86_64 cat 21:38:53 $ docker top fc97a31372ef7928d673a28fb17358aad74ca648b0999987880ae0a73c113909 -eo pid,comm [Pipeline] { [Pipeline] sh 21:38:54 + make test 21:38:54 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 21:39:01 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 21:39:03 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 21:39:16 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 21:39:16 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 21:39:16 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 21:39:16 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.055s coverage: 19.4% of statements 21:39:18 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.482s coverage: 97.1% of statements 21:39:42 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 21:39:42 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 21:39:42 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 21:39:42 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.122s coverage: 19.4% of statements 21:39:48 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.182s coverage: 97.1% of statements 21:39:50 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.085s coverage: 9.4% of statements 21:39:50 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.056s coverage: 21.7% of statements 21:39:50 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 21:39:50 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.223s coverage: 42.9% of statements 21:39:50 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 21:39:50 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.278s coverage: 68.9% of statements 21:39:50 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 21:39:50 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 21:39:50 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 21:39:50 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 21:39:50 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.072s coverage: 53.8% of statements 21:39:50 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 21:39:50 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 21:39:50 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.076s coverage: 30.4% of statements 21:39:50 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.273s coverage: 68.9% of statements 21:39:50 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.054s coverage: 4.2% of statements 21:39:50 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 21:39:50 GO111MODULE=on go vet ./... 21:40:00 gofmt -l . 21:40:00 [ "`gofmt -l .`" = "" ] 21:40:00 ./bin/test-attribution-txt.sh 21:40:00 ./bin/test-go-mod-tidy.sh [Pipeline] } 21:40:00 $ docker stop --time=1 fc97a31372ef7928d673a28fb17358aad74ca648b0999987880ae0a73c113909 21:40:02 $ docker rm -f fc97a31372ef7928d673a28fb17358aad74ca648b0999987880ae0a73c113909 [Pipeline] // withDockerContainer [Pipeline] sh 21:40:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:40:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:40:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:40:06 + ls -al . 21:40:06 total 220 21:40:06 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 15 21:39 . 21:40:06 drwxrwxr-x. 4 jenkins jenkins 28 Jan 15 21:37 .. 21:40:06 drwxrwxr-x. 2 jenkins jenkins 64 Jan 15 21:38 bin 21:40:06 -rw-r--r--. 1 jenkins jenkins 142787 Jan 15 21:39 coverage.out 21:40:06 -rw-rw-r--. 1 jenkins jenkins 949 Jan 15 21:38 Dockerfile.build 21:40:06 -rw-rw-r--. 1 jenkins jenkins 140 Jan 15 21:38 .dockerignore 21:40:06 drwxrwxr-x. 4 jenkins jenkins 48 Jan 15 21:38 example 21:40:06 drwxrwxr-x. 8 jenkins jenkins 179 Jan 15 21:38 .git 21:40:06 drwxrwxr-x. 2 jenkins jenkins 103 Jan 15 21:38 .github 21:40:06 -rw-rw-r--. 1 jenkins jenkins 138 Jan 15 21:38 .gitignore 21:40:06 -rw-r--r--. 1 jenkins jenkins 491 Jan 15 21:39 go.mod 21:40:06 -rw-r--r--. 1 jenkins jenkins 14124 Jan 15 21:39 go.sum 21:40:06 drwxrwxr-x. 15 jenkins jenkins 211 Jan 15 21:38 internal 21:40:06 -rw-rw-r--. 1 jenkins jenkins 901 Jan 15 21:38 Jenkinsfile 21:40:06 -rw-rw-r--. 1 jenkins jenkins 11341 Jan 15 21:38 LICENSE 21:40:06 -rw-rw-r--. 1 jenkins jenkins 1016 Jan 15 21:38 Makefile 21:40:06 drwxrwxr-x. 4 jenkins jenkins 26 Jan 15 21:38 openapi 21:40:06 drwxrwxr-x. 5 jenkins jenkins 50 Jan 15 21:38 pkg 21:40:06 -rw-rw-r--. 1 jenkins jenkins 5897 Jan 15 21:38 README.md 21:40:06 -rw-rw-r--. 1 jenkins jenkins 6616 Jan 15 21:38 RELEASE-NOTES.txt 21:40:06 drwxrwxr-x. 4 jenkins jenkins 54 Jan 15 21:38 snap 21:40:06 -rw-rw-r--. 1 jenkins jenkins 5 Jan 15 21:35 VERSION 21:40:06 -rw-rw-r--. 1 jenkins jenkins 222 Jan 15 21:38 version.go [Pipeline] isUnix [Pipeline] sh 21:40:07 + 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=e04106a2c023468aa2652ed208468b54ad9b615b --label arch=amd64 --label version=0.0.0 . 21:40:07 Sending build context to Docker daemon 2.845MB 21:40:07 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 21:40:07 Step 2/24 : FROM ${BASE} AS builder 21:40:07 ---> a5d9b839328a 21:40:07 Step 3/24 : ARG MAKE='make build' 21:40:07 ---> Running in 8376a5c12094 21:40:08 Removing intermediate container 8376a5c12094 21:40:08 ---> e3d89a408f7a 21:40:08 Step 4/24 : WORKDIR /device-sdk-go 21:40:08 ---> Running in b50eae81c35c 21:40:08 Removing intermediate container b50eae81c35c 21:40:08 ---> f94097d6c37b 21:40:08 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:40:08 ---> Running in 4ca484d604ab 21:40:08 Removing intermediate container 4ca484d604ab 21:40:08 ---> 247e6647fab9 21:40:08 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:40:08 ---> Running in 0935bcd8e65e 21:40:09 Removing intermediate container 0935bcd8e65e 21:40:09 ---> 039c89414077 21:40:09 Step 7/24 : RUN apk add --update --no-cache make git 21:40:09 ---> Running in 94ae697354f5 21:40:10 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 21:40:10 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 21:40:11 OK: 166 MiB in 39 packages 21:40:11 Removing intermediate container 94ae697354f5 21:40:11 ---> 1f348eca5014 21:40:11 Step 8/24 : COPY . . 21:40:13 ---> d218d0eed7cc 21:40:13 Step 9/24 : RUN ${MAKE} 21:40:13 ---> Running in 81553092f3ed 21:40:13 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 21:40:15 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.141s coverage: 9.4% of statements 21:40:15 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.141s coverage: 21.7% of statements 21:40:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 21:40:15 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.550s coverage: 42.9% of statements 21:40:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 21:40:15 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.778s coverage: 68.9% of statements 21:40:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 21:40:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 21:40:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 21:40:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 21:40:15 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.191s coverage: 53.8% of statements 21:40:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 21:40:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 21:40:15 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.187s coverage: 30.4% of statements 21:40:15 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.763s coverage: 68.9% of statements 21:40:15 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.132s coverage: 4.2% of statements 21:40:15 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 21:40:15 GO111MODULE=on go vet ./... 21:40:21 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 21:40:24 Removing intermediate container 81553092f3ed 21:40:24 ---> bb8c8effbdf8 21:40:24 Step 10/24 : FROM scratch 21:40:24 ---> 21:40:24 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:40:24 ---> Running in cf6cd4c25f99 21:40:24 Removing intermediate container cf6cd4c25f99 21:40:24 ---> 8fdb5fb9a072 21:40:24 Step 12/24 : ENV APP_PORT=49990 21:40:24 ---> Running in cba467f7c36f 21:40:24 Removing intermediate container cba467f7c36f 21:40:24 ---> 5ca5dab00984 21:40:24 Step 13/24 : EXPOSE $APP_PORT 21:40:24 ---> Running in 321d2e7be3ae 21:40:24 Removing intermediate container 321d2e7be3ae 21:40:24 ---> f2e4dfe3844c 21:40:24 Step 14/24 : WORKDIR / 21:40:24 ---> Running in 6dd5ecb2d26d 21:40:24 Removing intermediate container 6dd5ecb2d26d 21:40:24 ---> 2e2a52f08f68 21:40:24 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 21:40:25 ---> bb32ccaedfc8 21:40:25 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 21:40:25 ---> e588b85674c7 21:40:25 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 21:40:26 ---> 1e031ba9d60d 21:40:26 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 21:40:26 ---> c712b307fd75 21:40:26 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 21:40:26 ---> f91488721dc0 21:40:26 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 21:40:26 ---> Running in 4c6431ac5c0d 21:40:26 Removing intermediate container 4c6431ac5c0d 21:40:26 ---> f11ab7f21eab 21:40:26 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 21:40:26 ---> Running in f5bb96cd3e70 21:40:26 Removing intermediate container f5bb96cd3e70 21:40:26 ---> 214fb32e5f2e 21:40:26 Step 22/24 : LABEL arch=amd64 21:40:27 ---> Running in a798b32bbf28 21:40:27 Removing intermediate container a798b32bbf28 21:40:27 ---> 509e11680182 21:40:27 Step 23/24 : LABEL git_sha=e04106a2c023468aa2652ed208468b54ad9b615b 21:40:27 ---> Running in 86beecc47f38 21:40:27 Removing intermediate container 86beecc47f38 21:40:27 ---> 9a066d1d8137 21:40:27 Step 24/24 : LABEL version=0.0.0 21:40:27 ---> Running in 4b5c0116f0c0 21:40:27 Removing intermediate container 4b5c0116f0c0 21:40:27 ---> f8f5d999e63b 21:40:27 [Warning] One or more build-args [ARCH] were not consumed 21:40:27 Successfully built f8f5d999e63b 21:40:27 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] } 21:40:48 gofmt -l . 21:40:48 [ "`gofmt -l .`" = "" ] 21:40:49 ./bin/test-attribution-txt.sh 21:40:50 ./bin/test-go-mod-tidy.sh [Pipeline] } 21:40:50 $ docker stop --time=1 d1233e32551e054aae6b1a2fd2fcd9991af36254edda607129af8b3cfde3d87e 21:40:52 $ docker rm -f d1233e32551e054aae6b1a2fd2fcd9991af36254edda607129af8b3cfde3d87e [Pipeline] // withDockerContainer [Pipeline] sh 21:40:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:40:53 Warning: overwriting stash ‘coverage-report’ 21:40:54 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:40:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:40:55 + ls -al . 21:40:55 total 256 21:40:55 drwxrwxr-x 10 jenkins jenkins 4096 Jan 15 21:40 . 21:40:55 drwxrwxr-x 4 jenkins jenkins 4096 Jan 15 21:37 .. 21:40:55 -rw-rw-r-- 1 jenkins jenkins 140 Jan 15 21:37 .dockerignore 21:40:55 drwxrwxr-x 8 jenkins jenkins 4096 Jan 15 21:37 .git 21:40:55 drwxrwxr-x 2 jenkins jenkins 4096 Jan 15 21:37 .github 21:40:55 -rw-rw-r-- 1 jenkins jenkins 138 Jan 15 21:37 .gitignore 21:40:55 -rw-rw-r-- 1 jenkins jenkins 949 Jan 15 21:37 Dockerfile.build 21:40:55 -rw-rw-r-- 1 jenkins jenkins 901 Jan 15 21:37 Jenkinsfile 21:40:55 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 15 21:37 LICENSE 21:40:55 -rw-rw-r-- 1 jenkins jenkins 1016 Jan 15 21:37 Makefile 21:40:55 -rw-rw-r-- 1 jenkins jenkins 5897 Jan 15 21:37 README.md 21:40:55 -rw-rw-r-- 1 jenkins jenkins 6616 Jan 15 21:37 RELEASE-NOTES.txt 21:40:55 -rw-rw-r-- 1 jenkins jenkins 5 Jan 15 21:35 VERSION 21:40:55 drwxrwxr-x 2 jenkins jenkins 4096 Jan 15 21:37 bin 21:40:55 -rw-r--r-- 1 jenkins jenkins 142788 Jan 15 21:40 coverage.out 21:40:55 drwxrwxr-x 4 jenkins jenkins 4096 Jan 15 21:37 example 21:40:55 -rw-r--r-- 1 jenkins jenkins 491 Jan 15 21:40 go.mod 21:40:55 -rw-r--r-- 1 jenkins jenkins 14124 Jan 15 21:40 go.sum 21:40:55 drwxrwxr-x 15 jenkins jenkins 4096 Jan 15 21:37 internal 21:40:55 drwxrwxr-x 4 jenkins jenkins 4096 Jan 15 21:37 openapi 21:40:55 drwxrwxr-x 5 jenkins jenkins 4096 Jan 15 21:37 pkg 21:40:55 drwxrwxr-x 4 jenkins jenkins 4096 Jan 15 21:37 snap 21:40:55 -rw-rw-r-- 1 jenkins jenkins 222 Jan 15 21:37 version.go [Pipeline] isUnix [Pipeline] sh 21:40:56 + 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=e04106a2c023468aa2652ed208468b54ad9b615b --label arch=arm64 --label version=0.0.0 . 21:40:56 Sending build context to Docker daemon 2.844MB 21:40:56 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 21:40:56 Step 2/24 : FROM ${BASE} AS builder 21:40:56 ---> 82cd8b6d8b24 21:40:56 Step 3/24 : ARG MAKE='make build' 21:40:57 ---> Running in 3fc09c5a6c16 21:40:57 Removing intermediate container 3fc09c5a6c16 21:40:57 ---> 1cf2156ec70b 21:40:57 Step 4/24 : WORKDIR /device-sdk-go 21:40:57 ---> Running in c5ddfae218ab 21:40:58 Removing intermediate container c5ddfae218ab 21:40:58 ---> f0e825b278a6 21:40:58 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:40:58 ---> Running in 09fff22403c7 21:40:58 Removing intermediate container 09fff22403c7 21:40:58 ---> e5e4864d6733 21:40:58 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:40:58 ---> Running in bb643f246953 21:41:01 Removing intermediate container bb643f246953 21:41:01 ---> b597ba711350 21:41:01 Step 7/24 : RUN apk add --update --no-cache make git 21:41:01 ---> Running in 0a4c235c89d3 21:41:02 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 21:41:03 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 21:41:03 OK: 142 MiB in 39 packages 21:41:04 Removing intermediate container 0a4c235c89d3 21:41:04 ---> 682ed895f092 21:41:04 Step 8/24 : COPY . . 21:41:06 ---> 975afdeadd3d 21:41:06 Step 9/24 : RUN ${MAKE} 21:41:06 ---> Running in 8d00c434cacc 21:41:07 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 21:41:34 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 21:41:34 Removing intermediate container 8d00c434cacc 21:41:34 ---> 9919366cd780 21:41:34 Step 10/24 : FROM scratch 21:41:34 ---> 21:41:34 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:41:34 ---> Running in 3708e98ed60d 21:41:35 Removing intermediate container 3708e98ed60d 21:41:35 ---> d7a91f2dd9f2 21:41:35 Step 12/24 : ENV APP_PORT=49990 21:41:35 ---> Running in 6aea4608bf0b 21:41:35 Removing intermediate container 6aea4608bf0b 21:41:35 ---> b462aaf2af6a 21:41:35 Step 13/24 : EXPOSE $APP_PORT 21:41:35 ---> Running in 0af5f353ed59 21:41:35 Removing intermediate container 0af5f353ed59 21:41:35 ---> 0ae1c9cc0356 21:41:35 Step 14/24 : WORKDIR / 21:41:36 ---> Running in 485a0455b587 21:41:36 Removing intermediate container 485a0455b587 21:41:36 ---> 80b5949e37bd 21:41:36 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 21:41:37 ---> 6d0dfc4a7b69 21:41:37 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 21:41:38 ---> 2f8b1c0da730 21:41:38 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 21:41:39 ---> 4a71d5cd66da 21:41:39 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 21:41:40 ---> 223a611a6916 21:41:40 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 21:41:40 ---> dcc711bf6647 21:41:40 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 21:41:40 ---> Running in 5a8e77102921 21:41:41 Removing intermediate container 5a8e77102921 21:41:41 ---> 525eee682147 21:41:41 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 21:41:41 ---> Running in 564f887f27ec 21:41:41 Removing intermediate container 564f887f27ec 21:41:41 ---> 0d215574afb9 21:41:41 Step 22/24 : LABEL arch=arm64 21:41:41 ---> Running in d537dd812828 21:41:42 Removing intermediate container d537dd812828 21:41:42 ---> 99f11b8a639c 21:41:42 Step 23/24 : LABEL git_sha=e04106a2c023468aa2652ed208468b54ad9b615b 21:41:42 ---> Running in 25f8f0c73841 21:41:43 Removing intermediate container 25f8f0c73841 21:41:43 ---> 50cbe3da6533 21:41:43 Step 24/24 : LABEL version=0.0.0 21:41:43 ---> Running in 7daa4ef8d755 21:41:43 Removing intermediate container 7daa4ef8d755 21:41:43 ---> cbc8515d32a6 21:41:43 [Warning] One or more build-args [ARCH] were not consumed 21:41:43 Successfully built cbc8515d32a6 21:41:43 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 21:41:46 provisioning config files... 21:41:46 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-737@tmp/config6560235869456058492tmp [Pipeline] { [Pipeline] sh 21:41:46 + set +x 21:41:46 + curl -s https://codecov.io/bash 21:41:46 + bash -s -- 21:41:46 21:41:46 _____ _ 21:41:46 / ____| | | 21:41:46 | | ___ __| | ___ ___ _____ __ 21:41:46 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:41:46 | |___| (_) | (_| | __/ (_| (_) \ V / 21:41:46 \_____\___/ \__,_|\___|\___\___/ \_/ 21:41:46 Bash-20210115-cec3c92 21:41:46 21:41:46 21:41:46 ==> git version 2.24.3 found 21:41:46 ==> 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 21:41:46 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 21:41:46 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 21:41:46 ==> Jenkins CI detected. 21:41:46 project root: . 21:41:46 --> token set from env 21:41:46 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:41:46 ==> Running gcov in . (disable via -X gcov) 21:41:46 ==> Python coveragepy not found 21:41:46 ==> Searching for coverage reports in: 21:41:46 + . 21:41:46 -> Found 1 reports 21:41:46 ==> Detecting git/mercurial file structure 21:41:46 ==> Reading reports 21:41:46 + ./coverage.out bytes=142788 21:41:46 ==> Appending adjustments 21:41:46 https://docs.codecov.io/docs/fixing-reports 21:41:47 + Found adjustments 21:41:47 ==> Gzipping contents 21:41:47 24K /tmp/codecov.UwXmB1.gz 21:41:47 ==> Uploading reports 21:41:47 url: https://codecov.io 21:41:47 query: branch=PR-737&commit=e04106a2c023468aa2652ed208468b54ad9b615b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-737%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=737&job=&cmd_args= 21:41:47 -> Pinging Codecov 21:41:47 https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=PR-737&commit=e04106a2c023468aa2652ed208468b54ad9b615b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-737%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=737&job=&cmd_args= 21:41:48 -> Uploading to 21:41:48 https://storage.googleapis.com/codecov/v4/raw/2021-01-15/7E55EF52A471D76F132DFD9A03CDDE97/e04106a2c023468aa2652ed208468b54ad9b615b/d4d31687-fbdb-4f6a-8230-661b420d259e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210115%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210115T214148Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=05a325f7ff442f936fa41d7bd6c34d29b0d53a6e484415c3330a5e68827a5099 21:41:48 % Total % Received % Xferd Average Speed Time Time Time Current 21:41:48 Dload Upload Total Spent Left Speed 21:41:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 22151 0 0 100 22151 0 46209 --:--:-- --:--:-- --:--:-- 46147 21:41:49 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/e04106a2c023468aa2652ed208468b54ad9b615b [Pipeline] } 21:41:49 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 21:41:53 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:41:53 ---> package-listing.sh 21:41:53 ++ facter osfamily 21:41:53 ++ tr '[:upper:]' '[:lower:]' 21:41:53 + OS_FAMILY=redhat 21:41:53 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-737 21:41:53 + START_PACKAGES=/tmp/packages_start.txt 21:41:53 + END_PACKAGES=/tmp/packages_end.txt 21:41:53 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:41:53 + PACKAGES=/tmp/packages_start.txt 21:41:53 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-737 ']' 21:41:53 + PACKAGES=/tmp/packages_end.txt 21:41:53 + case "${OS_FAMILY}" in 21:41:53 + rpm -qa 21:41:53 + sort 21:42:00 + '[' -f /tmp/packages_start.txt ']' 21:42:00 + '[' -f /tmp/packages_end.txt ']' 21:42:00 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:42:00 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-737 ']' 21:42:00 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-737/archives/ 21:42:00 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-737/archives/ [Pipeline] echo 21:42:00 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-737/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:42:00 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 21:42:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 21:42:00 21:42:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 21:42:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 21:42:01 alpine: Pulling from edgex-lftools-log-publisher 21:42:01 df20fa9351a1: Pulling fs layer 21:42:01 36b3adc4ff6f: Pulling fs layer 21:42:01 8ad3a11d3b57: Pulling fs layer 21:42:01 46f8f816bc3b: Pulling fs layer 21:42:01 93b61091891f: Pulling fs layer 21:42:01 93b9cdb0e59b: Pulling fs layer 21:42:01 5e14af77c1be: Pulling fs layer 21:42:01 01666e4c0597: Pulling fs layer 21:42:01 aa168da1d23b: Pulling fs layer 21:42:01 46f8f816bc3b: Waiting 21:42:01 93b61091891f: Waiting 21:42:01 93b9cdb0e59b: Waiting 21:42:01 aa168da1d23b: Waiting 21:42:01 5e14af77c1be: Waiting 21:42:01 01666e4c0597: Waiting 21:42:01 36b3adc4ff6f: Download complete 21:42:01 46f8f816bc3b: Verifying Checksum 21:42:01 46f8f816bc3b: Download complete 21:42:01 df20fa9351a1: Verifying Checksum 21:42:01 df20fa9351a1: Download complete 21:42:01 93b9cdb0e59b: Verifying Checksum 21:42:01 93b9cdb0e59b: Download complete 21:42:01 5e14af77c1be: Verifying Checksum 21:42:01 5e14af77c1be: Download complete 21:42:01 01666e4c0597: Download complete 21:42:01 8ad3a11d3b57: Verifying Checksum 21:42:01 8ad3a11d3b57: Download complete 21:42:02 df20fa9351a1: Pull complete 21:42:02 36b3adc4ff6f: Pull complete 21:42:02 93b61091891f: Verifying Checksum 21:42:02 93b61091891f: Download complete 21:42:03 8ad3a11d3b57: Pull complete 21:42:03 46f8f816bc3b: Pull complete 21:42:04 aa168da1d23b: Download complete 21:42:04 93b61091891f: Pull complete 21:42:04 93b9cdb0e59b: Pull complete 21:42:04 5e14af77c1be: Pull complete 21:42:04 01666e4c0597: Pull complete 21:42:12 aa168da1d23b: Pull complete 21:42:12 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 21:42:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 21:42:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 21:42:13 prd-centos7-docker-4c-2g-20636 does not seem to be running inside a container 21:42:13 $ 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-737/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-737 -v /w/workspace/dgexfoundry_device-sdk-go_PR-737:/w/workspace/dgexfoundry_device-sdk-go_PR-737:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-737@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-737@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 21:42:15 $ docker top 45ce4521de06d4a75c3b70b159a1db2b468f101c73eef6912c3a5f0493bd76ec -eo pid,comm [Pipeline] { [Pipeline] sh 21:42:16 + touch /tmp/pre-build-complete [Pipeline] sh 21:42:16 + mkdir -p /var/log/sa [Pipeline] sh 21:42:17 + ls /var/log/sa-host 21:42:17 + sadf -c /var/log/sa-host/sa15 21:42:17 file_magic: OK 21:42:17 HZ: Using current value: 100 21:42:17 file_header: OK 21:42:17 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 21:42:17 Statistics: 21:42:17 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 21:42:17 File successfully converted to sysstat format version 12.2.1 21:42:17 + sadf -c /var/log/sa-host/sa23 21:42:17 file_magic: OK 21:42:17 HZ: Using current value: 100 21:42:17 file_header: OK 21:42:17 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 21:42:17 Statistics: 21:42:17 Hnuu...uuuununununu... 21:42:17 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:42:17 provisioning config files... 21:42:17 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-737@tmp/config3145313345444346342tmp [Pipeline] { [Pipeline] echo 21:42:17 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:42:18 ---> create-netrc.sh [Pipeline] } 21:42:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 21:42:18 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 21:42:18 ---> python-tools-install.sh [Pipeline] echo 21:42:18 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:42:19 ---> sudo-logs.sh 21:42:19 Archiving 'sudo' log.. [Pipeline] echo 21:42:19 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:42:19 ---> job-cost.sh 21:42:19 lf-activate-venv: SKIPPING 21:42:19 INFO: No Stack... 21:42:20 INFO: Retrieving Pricing Info for: v1-standard-2 21:42:21 INFO: Archiving Costs [Pipeline] echo 21:42:21 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:42:21 ---> logs-deploy.sh 21:42:21 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-737/1 21:42:21 INFO: archiving workspace using pattern(s): 21:42:23 Archives upload complete. 21:42:23 INFO: archiving logs to Nexus 21:42:24 ---> uname -a: 21:42:24 Linux prd-centos7-docker-4c-2g-20636.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 21:42:24 21:42:24 21:42:24 ---> lscpu: 21:42:24 Architecture: x86_64 21:42:24 CPU op-mode(s): 32-bit, 64-bit 21:42:24 Byte Order: Little Endian 21:42:24 Address sizes: 40 bits physical, 48 bits virtual 21:42:24 CPU(s): 4 21:42:24 On-line CPU(s) list: 0-3 21:42:24 Thread(s) per core: 1 21:42:24 Core(s) per socket: 1 21:42:24 Socket(s): 4 21:42:24 NUMA node(s): 1 21:42:24 Vendor ID: GenuineIntel 21:42:24 CPU family: 6 21:42:24 Model: 44 21:42:24 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 21:42:24 Stepping: 1 21:42:24 CPU MHz: 2933.436 21:42:24 BogoMIPS: 5866.87 21:42:24 Virtualization: VT-x 21:42:24 Hypervisor vendor: KVM 21:42:24 Virtualization type: full 21:42:24 L1d cache: 128 KiB 21:42:24 L1i cache: 128 KiB 21:42:24 L2 cache: 16 MiB 21:42:24 L3 cache: 64 MiB 21:42:24 NUMA node0 CPU(s): 0-3 21:42:24 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 21:42:24 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 21:42:24 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 21:42:24 Vulnerability Meltdown: Mitigation; PTI 21:42:24 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 21:42:24 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 21:42:24 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 21:42:24 Vulnerability Srbds: Not affected 21:42:24 Vulnerability Tsx async abort: Not affected 21:42:24 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 21:42:24 21:42:24 21:42:24 ---> nproc: 21:42:24 4 21:42:24 21:42:24 21:42:24 ---> df -h: 21:42:24 Filesystem Size Used Available Use% Mounted on 21:42:24 overlay 50.0G 7.3G 42.7G 15% / 21:42:24 tmpfs 64.0M 0 64.0M 0% /dev 21:42:24 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 21:42:24 shm 64.0M 0 64.0M 0% /dev/shm 21:42:24 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 21:42:24 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 21:42:24 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 21:42:24 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 21:42:24 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 21:42:24 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 21:42:24 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-737 21:42:24 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-737@tmp 21:42:24 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 21:42:24 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 21:42:24 21:42:24 21:42:24 ---> free -m: 21:42:24 total used free shared buff/cache available 21:42:24 Mem: 1837 716 109 0 1011 1016 21:42:24 Swap: 1023 0 1023 21:42:24 21:42:24 21:42:24 ---> ip addr: 21:42:24 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 21:42:24 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 21:42:24 inet 127.0.0.1/8 scope host lo 21:42:24 valid_lft forever preferred_lft forever 21:42:24 inet6 ::1/128 scope host 21:42:24 valid_lft forever preferred_lft forever 21:42:24 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 21:42:24 link/ether fa:16:3e:86:f8:1e brd ff:ff:ff:ff:ff:ff 21:42:24 inet 10.30.123.51/23 brd 10.30.123.255 scope global dynamic eth0 21:42:24 valid_lft 85915sec preferred_lft 85915sec 21:42:24 inet6 fe80::f816:3eff:fe86:f81e/64 scope link 21:42:24 valid_lft forever preferred_lft forever 21:42:24 3: docker0: mtu 1500 qdisc noqueue state DOWN 21:42:24 link/ether 02:42:23:10:ad:3f brd ff:ff:ff:ff:ff:ff 21:42:24 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 21:42:24 valid_lft forever preferred_lft forever 21:42:24 inet6 fe80::42:23ff:fe10:ad3f/64 scope link 21:42:24 valid_lft forever preferred_lft forever 21:42:24 21:42:24 21:42:24 ---> sar -b -r -n DEV: 21:42:24 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) 21:42:24 21:42:24 21:34:08 LINUX RESTART (4 CPU) 21:42:24 21:42:24 21:35:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 21:42:24 21:36:02 26.94 5.96 20.98 0.00 1678.14 3114.98 0.00 21:42:24 21:37:01 0.95 0.00 0.95 0.00 0.00 19.96 0.00 21:42:24 21:38:01 0.23 0.00 0.23 0.00 0.00 2.20 0.00 21:42:24 21:39:01 0.27 0.00 0.27 0.00 0.00 3.46 0.00 21:42:24 21:40:01 0.23 0.00 0.23 0.00 0.00 2.63 0.00 21:42:24 21:41:01 0.35 0.00 0.35 0.00 0.00 4.56 0.00 21:42:24 21:42:01 47.29 46.74 0.55 0.00 3778.30 13.72 0.00 21:42:24 Average: 10.92 7.55 3.37 0.00 781.67 452.96 0.00 21:42:24 21:42:24 21:35:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 21:42:24 21:36:02 164132 0 613576 32.61 2620 1101216 1111920 37.95 407540 1110912 20 21:42:24 21:37:01 170436 0 607264 32.27 2620 1101224 1078592 36.81 405060 1107292 8 21:42:24 21:38:01 168356 0 609340 32.39 2620 1101228 1078784 36.82 409928 1105208 12 21:42:24 21:39:01 167184 0 610512 32.45 2620 1101228 1078592 36.81 422344 1093924 12 21:42:24 21:40:01 166052 0 611636 32.51 2620 1101236 1078676 36.81 417900 1099916 8 21:42:24 21:41:01 166404 0 611280 32.49 2620 1101240 1078592 36.81 419604 1097864 12 21:42:24 21:42:01 65328 0 647568 34.42 2620 1166028 1277140 43.59 446768 1169160 7032 21:42:24 Average: 152556 0 615882 32.73 2620 1110486 1111757 37.94 418449 1112039 1015 21:42:24 21:42:24 21:35:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 21:42:24 21:36:02 eth0 79.32 65.49 357.39 30.71 0.00 0.00 0.00 0.00 21:42:24 21:36:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:42:24 21:36:02 docker0 11.16 8.34 1.63 21.52 0.00 0.00 0.00 0.00 21:42:24 21:37:01 eth0 0.64 0.08 0.06 0.01 0.00 0.00 0.00 0.00 21:42:24 21:37:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:42:24 21:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:42:24 21:38:01 eth0 1.45 0.77 0.62 0.38 0.00 0.00 0.00 0.00 21:42:24 21:38:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:42:24 21:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:42:24 21:39:01 eth0 0.05 0.03 0.00 0.03 0.00 0.00 0.00 0.00 21:42:24 21:39:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:42:24 21:39:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:42:24 21:40:01 eth0 0.27 0.20 0.14 0.07 0.00 0.00 0.00 0.00 21:42:24 21:40:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:42:24 21:40:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:42:24 21:41:01 eth0 0.08 0.08 0.01 0.01 0.00 0.00 0.00 0.00 21:42:24 21:41:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:42:24 21:41:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:42:24 21:42:01 eth0 27.93 19.71 134.05 6.54 0.00 0.00 0.00 0.00 21:42:24 21:42:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:42:24 21:42:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:42:24 Average: eth0 15.72 12.37 70.53 5.41 0.00 0.00 0.00 0.00 21:42:24 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:42:24 Average: docker0 1.60 1.19 0.23 3.08 0.00 0.00 0.00 0.00 21:42:24 21:42:24 21:42:24 ---> sar -P ALL: 21:42:24 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) 21:42:24 21:42:24 21:34:08 LINUX RESTART (4 CPU) 21:42:24 21:42:24 21:35:01 CPU %user %nice %system %iowait %steal %idle 21:42:24 21:36:02 all 2.59 0.00 1.78 0.59 0.05 94.99 21:42:24 21:36:02 0 2.87 0.00 1.66 0.25 0.05 95.16 21:42:24 21:36:02 1 2.62 0.00 2.13 1.69 0.05 93.51 21:42:24 21:36:02 2 2.22 0.00 1.49 0.32 0.03 95.94 21:42:24 21:36:02 3 2.67 0.00 1.83 0.08 0.08 95.34 21:42:24 21:37:01 all 0.16 0.00 0.04 0.00 0.01 99.79 21:42:24 21:37:01 0 0.05 0.00 0.02 0.00 0.00 99.93 21:42:24 21:37:01 1 0.49 0.00 0.05 0.00 0.02 99.44 21:42:24 21:37:01 2 0.03 0.00 0.05 0.00 0.02 99.90 21:42:24 21:37:01 3 0.05 0.00 0.05 0.00 0.00 99.90 21:42:24 21:38:01 all 0.19 0.00 0.04 0.00 0.00 99.77 21:42:24 21:38:01 0 0.05 0.00 0.03 0.00 0.00 99.92 21:42:24 21:38:01 1 0.52 0.00 0.03 0.00 0.00 99.45 21:42:24 21:38:01 2 0.10 0.00 0.05 0.00 0.00 99.85 21:42:24 21:38:01 3 0.08 0.00 0.05 0.00 0.00 99.87 21:42:24 21:39:01 all 0.14 0.00 0.05 0.00 0.00 99.80 21:42:24 21:39:01 0 0.03 0.00 0.03 0.00 0.00 99.93 21:42:24 21:39:01 1 0.48 0.00 0.05 0.00 0.00 99.47 21:42:24 21:39:01 2 0.03 0.00 0.12 0.00 0.00 99.85 21:42:24 21:39:01 3 0.02 0.00 0.02 0.00 0.00 99.97 21:42:24 21:40:01 all 0.18 0.00 0.11 0.00 0.04 99.67 21:42:24 21:40:01 0 0.05 0.00 0.05 0.00 0.02 99.88 21:42:24 21:40:01 1 0.07 0.00 0.10 0.00 0.05 99.78 21:42:24 21:40:01 2 0.07 0.00 0.15 0.00 0.05 99.73 21:42:24 21:40:01 3 0.53 0.00 0.13 0.00 0.05 99.28 21:42:24 21:41:01 all 0.15 0.00 0.03 0.00 0.00 99.83 21:42:24 21:41:01 0 0.02 0.00 0.02 0.00 0.00 99.97 21:42:24 21:41:01 1 0.02 0.00 0.02 0.00 0.00 99.97 21:42:24 21:41:01 2 0.03 0.00 0.05 0.00 0.00 99.92 21:42:24 21:41:01 3 0.52 0.00 0.02 0.00 0.00 99.47 21:42:24 21:42:01 all 1.51 0.00 0.74 1.80 0.01 95.94 21:42:24 21:42:01 0 1.14 0.00 0.78 0.20 0.00 97.88 21:42:24 21:42:01 1 1.25 0.00 0.65 4.14 0.02 93.94 21:42:24 21:42:01 2 1.47 0.00 0.55 0.48 0.03 97.46 21:42:24 21:42:01 3 2.17 0.00 0.99 2.36 0.00 94.48 21:42:24 Average: all 0.70 0.00 0.40 0.34 0.02 98.54 21:42:24 Average: 0 0.60 0.00 0.37 0.06 0.01 98.96 21:42:24 Average: 1 0.78 0.00 0.43 0.83 0.02 97.94 21:42:24 Average: 2 0.56 0.00 0.35 0.11 0.02 98.95 21:42:24 Average: 3 0.86 0.00 0.44 0.35 0.02 98.33 21:42:24 21:42:24 21:42:24