Pull request #793 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 hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 6059ff5b2c4c5f79279fbe58ee7e75523ecba67d+90f0e220c38dfa765b59e93e9c62ca721e898d74 (02e56e9b60496341a92341add9ee802a9b9d8c93) 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 69a7e166112f335804d9fea76440e5140e47f034 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 69a7e166112f335804d9fea76440e5140e47f034 using credential edgex-jenkins-ssh 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-793/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 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > 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 46d8313d362d7075c0f562900eedc504c24ea18a 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-793/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 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > 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 69a7e166112f335804d9fea76440e5140e47f034 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-27129 in /w/workspace/dgexfoundry_device-sdk-go_PR-793 [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-793 # 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/793/head:refs/remotes/origin/PR-793 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 90f0e220c38dfa765b59e93e9c62ca721e898d74 into PR head commit 6059ff5b2c4c5f79279fbe58ee7e75523ecba67d > git config core.sparsecheckout # timeout=10 > git checkout -f 6059ff5b2c4c5f79279fbe58ee7e75523ecba67d # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 Merge succeeded, producing 6059ff5b2c4c5f79279fbe58ee7e75523ecba67d Checking out Revision 6059ff5b2c4c5f79279fbe58ee7e75523ecba67d (PR-793) using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 90f0e220c38dfa765b59e93e9c62ca721e898d74 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6059ff5b2c4c5f79279fbe58ee7e75523ecba67d # timeout=10 Commit message: "refactor: replace PUT command wording to SET command" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:56:10 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:56:10 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:56:10 ========================================================= 06:56:10 EdgeX Global Pipelines Version Info 06:56:10 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:56:18 ------------------- 06:56:18 stable info: 06:56:18 ------------------- 06:56:18 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:56:18 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 06:56:18 Message: update stable to v1.0.179 06:56:21 ------------------- 06:56:21 experimental info: 06:56:21 ------------------- 06:56:21 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:56:21 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 06:56:21 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:56:21 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 06:56:21 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 06:56:21 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:56:22 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:56:22 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:56:22 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 06:56:22 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 06:56:22 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 06:56:22 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 06:56:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:56:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:56:22 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 06:56:23 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:56:23 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:56:23 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:56:23 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 06:56:23 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:56:23 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:56:23 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:56:23 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:56:24 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 06:56:24 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 06:56:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:56:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:56:24 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:56:24 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 06:56:24 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 06:56:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-793 [Pipeline] echo 06:56:25 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-793 [Pipeline] echo 06:56:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-793 [Pipeline] echo 06:56:25 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6059ff5b2c4c5f79279fbe58ee7e75523ecba67d [Pipeline] echo 06:56:25 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6059ff5 [Pipeline] echo 06:56:25 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:56:25 provisioning config files... 06:56:25 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-793@tmp/config4065657040730288808tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:56:26 ---> docker-login.sh 06:56:26 nexus3.edgexfoundry.org:10001 06:56:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:56:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:56:29 Configure a credential helper to remove this warning. See 06:56:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:56:29 06:56:29 Login Succeeded 06:56:29 nexus3.edgexfoundry.org:10002 06:56:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:56:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:56:31 Configure a credential helper to remove this warning. See 06:56:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:56:31 06:56:31 Login Succeeded 06:56:31 nexus3.edgexfoundry.org:10003 06:56:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:56:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:56:32 Configure a credential helper to remove this warning. See 06:56:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:56:32 06:56:32 Login Succeeded 06:56:32 nexus3.edgexfoundry.org:10004 06:56:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:56:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:56:33 Configure a credential helper to remove this warning. See 06:56:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:56:33 06:56:33 Login Succeeded 06:56:33 docker.io 06:56:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:56:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:56:35 Configure a credential helper to remove this warning. See 06:56:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:56:35 06:56:35 Login Succeeded 06:56:35 ---> docker-login.sh ends [Pipeline] } 06:56:35 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:56:37 + git log --format=format:%s -1 6059ff5b2c4c5f79279fbe58ee7e75523ecba67d [Pipeline] echo 06:56:37 GIT_COMMIT: 6059ff5b2c4c5f79279fbe58ee7e75523ecba67d, Commit Message: refactor: replace PUT command wording to SET command [Pipeline] echo 06:56:37 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 06:56:39 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:56:39 06:56:39 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:56:40 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:56:40 latest: Pulling from edgex-devops/git-semver 06:56:40 31603596830f: Pulling fs layer 06:56:40 2a8b12db71e7: Pulling fs layer 06:56:40 6ca5941a6612: Pulling fs layer 06:56:40 ecc8261a40a4: Pulling fs layer 06:56:40 ecc8261a40a4: Waiting 06:56:40 2a8b12db71e7: Verifying Checksum 06:56:40 2a8b12db71e7: Download complete 06:56:40 31603596830f: Verifying Checksum 06:56:40 31603596830f: Download complete 06:56:41 ecc8261a40a4: Verifying Checksum 06:56:41 ecc8261a40a4: Download complete 06:56:41 6ca5941a6612: Verifying Checksum 06:56:41 6ca5941a6612: Download complete 06:56:42 31603596830f: Pull complete 06:56:42 2a8b12db71e7: Pull complete 06:56:43 6ca5941a6612: Pull complete 06:56:43 ecc8261a40a4: Pull complete 06:56:43 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 06:56:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:56:43 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:56:44 prd-centos7-docker-4c-2g-27129 does not seem to be running inside a container 06:56:44 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-793 -v /w/workspace/dgexfoundry_device-sdk-go_PR-793:/w/workspace/dgexfoundry_device-sdk-go_PR-793:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-793@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-793@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:56:48 $ docker top c1b4a65f5ec3bb5272485d6a61a1258e662ed62687719bc833a219c4e673dd37 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:56:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:56:49 [ssh-agent] Looking for ssh-agent implementation... 06:56:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:56:49 $ docker exec c1b4a65f5ec3bb5272485d6a61a1258e662ed62687719bc833a219c4e673dd37 ssh-agent 06:56:49 SSH_AUTH_SOCK=/tmp/ssh-fLwknXvCbbqx/agent.12 06:56:49 SSH_AGENT_PID=18 06:56:50 Running ssh-add (command line suppressed) 06:56:50 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-793@tmp/private_key_6055769057762964611.key (/w/workspace/dgexfoundry_device-sdk-go_PR-793@tmp/private_key_6055769057762964611.key) 06:56:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:56:52 + git tag --points-at HEAD [Pipeline] } 06:56:52 $ docker exec --env ******** --env ******** c1b4a65f5ec3bb5272485d6a61a1258e662ed62687719bc833a219c4e673dd37 ssh-agent -k 06:56:52 unset SSH_AUTH_SOCK; 06:56:52 unset SSH_AGENT_PID; 06:56:52 echo Agent pid 18 killed; 06:56:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:56:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:56:53 [ssh-agent] Looking for ssh-agent implementation... 06:56:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:56:53 $ docker exec c1b4a65f5ec3bb5272485d6a61a1258e662ed62687719bc833a219c4e673dd37 ssh-agent 06:56:53 SSH_AUTH_SOCK=/tmp/ssh-14A3oMesujFp/agent.47 06:56:53 SSH_AGENT_PID=52 06:56:54 Running ssh-add (command line suppressed) 06:56:55 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-793@tmp/private_key_3952505256254615487.key (/w/workspace/dgexfoundry_device-sdk-go_PR-793@tmp/private_key_3952505256254615487.key) 06:56:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:56:57 + git semver init 06:56:57 # -> Open(): unable to determine branch for HEAD 06:56:57 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-793/.git 06:56:57 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-793 06:56:57 # $SEMVER_REMOTE_NAME = origin 06:56:57 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:56:57 # $SEMVER_USER_NAME = edgex-jenkins 06:56:57 # $SEMVER_BRANCH = PR-793 06:56:57 # $SEMVER_TEMP = /tmp/semver-625778215 06:56:57 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 06:56:59 # '/tmp/semver-625778215' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-793/.semver' 06:56:59 # -> Force: false 06:56:59 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-793/.semver [Pipeline] } 06:56:59 $ docker exec --env ******** --env ******** c1b4a65f5ec3bb5272485d6a61a1258e662ed62687719bc833a219c4e673dd37 ssh-agent -k 06:57:00 unset SSH_AUTH_SOCK; 06:57:00 unset SSH_AGENT_PID; 06:57:00 echo Agent pid 52 killed; 06:57:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:57:01 + git semver [Pipeline] } 06:57:01 $ docker stop --time=1 c1b4a65f5ec3bb5272485d6a61a1258e662ed62687719bc833a219c4e673dd37 06:57:04 $ docker rm -f c1b4a65f5ec3bb5272485d6a61a1258e662ed62687719bc833a219c4e673dd37 [Pipeline] // withDockerContainer [Pipeline] sh 06:57:05 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:57:06 Stashed 1 file(s) [Pipeline] echo 06:57:06 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 06:57:22 Still waiting to schedule task 06:57:22 Waiting for next available executor on ‘centos7-docker-4c-2g’ 06:57:22 Still waiting to schedule task 06:57:22 ‘prd-ubuntu18.04-docker-arm64-4c-16g-26577’ is offline 06:59:03 Running on prd-ubuntu18.04-docker-arm64-4c-16g-27130 in /w/workspace/dgexfoundry_device-sdk-go_PR-793 [Pipeline] { [Pipeline] ws 06:59:03 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 06:59:08 using credential edgex-jenkins-ssh 06:59:08 Cloning the remote Git repository 06:59:08 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:59:08 > git init /w/workspace/device-sdk-go/1 # timeout=10 06:59:08 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:59:08 > git --version # timeout=10 06:59:08 > git --version # 'git version 2.17.1' 06:59:08 using GIT_SSH to set credentials SSH Credentials for GitHub 06:59:08 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:59:10 Merging remotes/origin/master commit 90f0e220c38dfa765b59e93e9c62ca721e898d74 into PR head commit 6059ff5b2c4c5f79279fbe58ee7e75523ecba67d 06:59:10 Merge succeeded, producing 6059ff5b2c4c5f79279fbe58ee7e75523ecba67d 06:59:10 Checking out Revision 6059ff5b2c4c5f79279fbe58ee7e75523ecba67d (PR-793) 06:59:09 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:59:09 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:59:09 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:59:09 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:59:09 using GIT_SSH to set credentials SSH Credentials for GitHub 06:59:09 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/793/head:refs/remotes/origin/PR-793 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:59:10 > git config core.sparsecheckout # timeout=10 06:59:10 > git checkout -f 6059ff5b2c4c5f79279fbe58ee7e75523ecba67d # timeout=10 06:59:10 > git remote # timeout=10 06:59:10 > git config --get remote.origin.url # timeout=10 06:59:10 using GIT_SSH to set credentials SSH Credentials for GitHub 06:59:10 > git merge 90f0e220c38dfa765b59e93e9c62ca721e898d74 # timeout=10 06:59:10 > git rev-parse HEAD^{commit} # timeout=10 06:59:10 > git config core.sparsecheckout # timeout=10 06:59:10 > git checkout -f 6059ff5b2c4c5f79279fbe58ee7e75523ecba67d # timeout=10 06:59:14 Commit message: "refactor: replace PUT command wording to SET command" 06:59:15 > git --version # timeout=10 06:59:15 > git --version # 'git version 2.17.1' 06:59:15 fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:59:16 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 06:59:17 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:59:17 + sudo+ service docker restart 06:59:17 true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:59:20 provisioning config files... 06:59:20 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config6686937446476540603tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:59:21 ---> docker-login.sh 06:59:21 nexus3.edgexfoundry.org:10001 06:59:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:59:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:59:22 Configure a credential helper to remove this warning. See 06:59:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:59:22 06:59:22 Login Succeeded 06:59:22 nexus3.edgexfoundry.org:10002 06:59:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:59:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:59:22 Configure a credential helper to remove this warning. See 06:59:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:59:22 06:59:22 Login Succeeded 06:59:22 nexus3.edgexfoundry.org:10003 06:59:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:59:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:59:23 Configure a credential helper to remove this warning. See 06:59:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:59:23 06:59:23 Login Succeeded 06:59:23 nexus3.edgexfoundry.org:10004 06:59:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:59:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:59:23 Configure a credential helper to remove this warning. See 06:59:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:59:23 06:59:23 Login Succeeded 06:59:23 docker.io 06:59:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:59:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:59:24 Configure a credential helper to remove this warning. See 06:59:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:59:24 06:59:24 Login Succeeded 06:59:24 ---> docker-login.sh ends [Pipeline] } 06:59:24 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:59:25 ========================================================= 06:59:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 06:59:25 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:59:25 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 06:59:25 Sending build context to Docker daemon 2.408MB 06:59:26 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 06:59:26 Step 2/8 : FROM ${BASE} 06:59:26 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:59:26 5f621e34cdf4: Pulling fs layer 06:59:26 a4357932f1b6: Pulling fs layer 06:59:26 18c013af1878: Pulling fs layer 06:59:26 00ac8860ef70: Pulling fs layer 06:59:26 63d7cb157983: Pulling fs layer 06:59:26 b116817d02f9: Pulling fs layer 06:59:26 745a02a5169b: Pulling fs layer 06:59:26 00ac8860ef70: Waiting 06:59:26 63d7cb157983: Waiting 06:59:26 b116817d02f9: Waiting 06:59:26 745a02a5169b: Waiting 06:59:26 18c013af1878: Verifying Checksum 06:59:26 18c013af1878: Download complete 06:59:26 a4357932f1b6: Download complete 06:59:26 63d7cb157983: Verifying Checksum 06:59:26 63d7cb157983: Download complete 06:59:26 b116817d02f9: Download complete 06:59:26 5f621e34cdf4: Download complete 06:59:27 5f621e34cdf4: Pull complete 06:59:27 a4357932f1b6: Pull complete 06:59:28 18c013af1878: Pull complete 06:59:28 745a02a5169b: Verifying Checksum 06:59:28 745a02a5169b: Download complete 06:59:29 00ac8860ef70: Download complete 06:59:39 00ac8860ef70: Pull complete 06:59:39 63d7cb157983: Pull complete 06:59:40 b116817d02f9: Pull complete 06:59:42 Running on prd-centos7-docker-4c-2g-27131 in /w/workspace/dgexfoundry_device-sdk-go_PR-793 [Pipeline] { [Pipeline] ws 06:59:42 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 06:59:43 745a02a5169b: Pull complete 06:59:44 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 06:59:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 06:59:44 ---> b7e6874047d6 06:59:44 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:59:45 using credential edgex-jenkins-ssh 06:59:45 Cloning the remote Git repository 06:59:45 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:59:45 > git init /w/workspace/device-sdk-go/1 # timeout=10 06:59:45 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:59:45 > git --version # timeout=10 06:59:45 > git --version # 'git version 2.24.3' 06:59:45 using GIT_SSH to set credentials SSH Credentials for GitHub 06:59:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:59:46 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:59:46 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:59:46 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:59:46 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:59:46 using GIT_SSH to set credentials SSH Credentials for GitHub 06:59:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/793/head:refs/remotes/origin/PR-793 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:59:46 Merging remotes/origin/master commit 90f0e220c38dfa765b59e93e9c62ca721e898d74 into PR head commit 6059ff5b2c4c5f79279fbe58ee7e75523ecba67d 06:59:46 Merge succeeded, producing 6059ff5b2c4c5f79279fbe58ee7e75523ecba67d 06:59:46 Checking out Revision 6059ff5b2c4c5f79279fbe58ee7e75523ecba67d (PR-793) 06:59:46 ---> Running in 3cb187cfa86c 06:59:47 Removing intermediate container 3cb187cfa86c 06:59:47 ---> d2232e004ed6 06:59:47 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:59:47 ---> Running in d0d8196a4cd8 06:59:46 > git config core.sparsecheckout # timeout=10 06:59:46 > git checkout -f 6059ff5b2c4c5f79279fbe58ee7e75523ecba67d # timeout=10 06:59:46 > git remote # timeout=10 06:59:46 > git config --get remote.origin.url # timeout=10 06:59:46 using GIT_SSH to set credentials SSH Credentials for GitHub 06:59:46 > git merge 90f0e220c38dfa765b59e93e9c62ca721e898d74 # timeout=10 06:59:46 > git rev-parse HEAD^{commit} # timeout=10 06:59:46 > git config core.sparsecheckout # timeout=10 06:59:46 > git checkout -f 6059ff5b2c4c5f79279fbe58ee7e75523ecba67d # timeout=10 06:59:50 Removing intermediate container d0d8196a4cd8 06:59:50 ---> ff44b32ace28 06:59:50 Step 5/8 : RUN apk add --update --no-cache make git 06:59:50 ---> Running in ed4ade33a4f9 06:59:50 Commit message: "refactor: replace PUT command wording to SET command" 06:59:50 > git --version # timeout=10 06:59:50 > git --version # 'git version 2.24.3' 06:59:50 fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:59:51 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:59:51 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 06:59:51 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:59:52 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:59:52 OK: 142 MiB in 39 packages 06:59:52 + sudo service docker restart 06:59:52 + true 06:59:52 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { 06:59:53 Removing intermediate container ed4ade33a4f9 06:59:53 ---> f0203ae734a4 06:59:53 Step 6/8 : WORKDIR /device-sdk-go 06:59:53 ---> Running in 771ab20d1648 [Pipeline] wrap 06:59:53 provisioning config files... 06:59:53 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config7613474293027141460tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:59:54 ---> docker-login.sh 06:59:54 nexus3.edgexfoundry.org:10001 06:59:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:59:54 Removing intermediate container 771ab20d1648 06:59:54 ---> c708ce74aaa7 06:59:54 Step 7/8 : COPY . . 06:59:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:59:54 Configure a credential helper to remove this warning. See 06:59:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:59:54 06:59:54 Login Succeeded 06:59:54 nexus3.edgexfoundry.org:10002 06:59:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:59:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:59:54 Configure a credential helper to remove this warning. See 06:59:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:59:54 06:59:54 Login Succeeded 06:59:54 nexus3.edgexfoundry.org:10003 06:59:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:59:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:59:54 Configure a credential helper to remove this warning. See 06:59:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:59:54 06:59:54 Login Succeeded 06:59:54 nexus3.edgexfoundry.org:10004 06:59:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:59:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:59:55 Configure a credential helper to remove this warning. See 06:59:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:59:55 06:59:55 Login Succeeded 06:59:55 docker.io 06:59:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:59:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:59:55 Configure a credential helper to remove this warning. See 06:59:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:59:55 06:59:55 Login Succeeded 06:59:55 ---> docker-login.sh ends [Pipeline] } 06:59:55 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 06:59:55 ---> d4c791f2a2f3 06:59:55 Step 8/8 : RUN go mod download 06:59:55 ---> Running in cd9cf476de3b [Pipeline] echo 06:59:55 ========================================================= 06:59:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 06:59:55 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:59:56 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 06:59:56 Sending build context to Docker daemon 2.409MB 06:59:56 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 06:59:56 Step 2/8 : FROM ${BASE} 06:59:56 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 06:59:56 188c0c94c7c5: Pulling fs layer 06:59:56 0ef7d3d256c8: Pulling fs layer 06:59:56 de9db76c5a1d: Pulling fs layer 06:59:56 bca2f99d35d6: Pulling fs layer 06:59:56 93359f2a8cfa: Pulling fs layer 06:59:56 7c6f9722023f: Pulling fs layer 06:59:56 a35cf1a2eb13: Pulling fs layer 06:59:56 93359f2a8cfa: Waiting 06:59:56 7c6f9722023f: Waiting 06:59:56 a35cf1a2eb13: Waiting 06:59:56 bca2f99d35d6: Waiting 06:59:56 de9db76c5a1d: Verifying Checksum 06:59:56 de9db76c5a1d: Download complete 06:59:56 0ef7d3d256c8: Verifying Checksum 06:59:56 0ef7d3d256c8: Download complete 06:59:56 93359f2a8cfa: Verifying Checksum 06:59:56 93359f2a8cfa: Download complete 06:59:56 188c0c94c7c5: Verifying Checksum 06:59:56 188c0c94c7c5: Download complete 06:59:56 7c6f9722023f: Verifying Checksum 06:59:56 7c6f9722023f: Download complete 06:59:56 188c0c94c7c5: Pull complete 06:59:57 0ef7d3d256c8: Pull complete 06:59:57 de9db76c5a1d: Pull complete 06:59:58 a35cf1a2eb13: Verifying Checksum 06:59:58 a35cf1a2eb13: Download complete 06:59:58 bca2f99d35d6: Verifying Checksum 06:59:58 bca2f99d35d6: Download complete 07:00:04 bca2f99d35d6: Pull complete 07:00:04 93359f2a8cfa: Pull complete 07:00:04 7c6f9722023f: Pull complete 07:00:10 a35cf1a2eb13: Pull complete 07:00:10 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 07:00:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 07:00:10 ---> a62c8e92a672 07:00:10 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:00:10 ---> Running in 58071ceef1b1 07:00:10 Removing intermediate container 58071ceef1b1 07:00:10 ---> ce750e86df01 07:00:10 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:00:10 ---> Running in 213aae0079dc 07:00:11 Removing intermediate container 213aae0079dc 07:00:11 ---> 6d7abe8bd1e6 07:00:11 Step 5/8 : RUN apk add --update --no-cache make git 07:00:11 ---> Running in 2e0316e2e14a 07:00:11 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 07:00:12 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 07:00:13 OK: 166 MiB in 39 packages 07:00:13 Removing intermediate container 2e0316e2e14a 07:00:13 ---> 9a5d8024a826 07:00:13 Step 6/8 : WORKDIR /device-sdk-go 07:00:13 ---> Running in 03a690b2a1c0 07:00:13 Removing intermediate container 03a690b2a1c0 07:00:13 ---> e83180a6992f 07:00:13 Step 7/8 : COPY . . 07:00:15 ---> b54bebf2772d 07:00:15 Step 8/8 : RUN go mod download 07:00:15 ---> Running in ab6c797cdee4 07:00:22 Removing intermediate container cd9cf476de3b 07:00:22 ---> 9e0e2322fda2 07:00:22 Successfully built 9e0e2322fda2 07:00:22 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 07:00:23 + docker inspect -f . ci-base-image-arm64 07:00:23 . [Pipeline] withDockerContainer 07:00:23 prd-ubuntu18.04-docker-arm64-4c-16g-27130 does not seem to be running inside a container 07:00:23 $ 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 ******** -e ******** ci-base-image-arm64 cat 07:00:24 $ docker top dfda3220cc624908972e3d35dad4f11eb91d3f236e07bbac01a540bd4ac97bfe -eo pid,comm [Pipeline] { [Pipeline] sh 07:00:25 + go version 07:00:25 go version go1.15.5 linux/arm64 [Pipeline] } 07:00:25 $ docker stop --time=1 dfda3220cc624908972e3d35dad4f11eb91d3f236e07bbac01a540bd4ac97bfe 07:00:27 $ docker rm -f dfda3220cc624908972e3d35dad4f11eb91d3f236e07bbac01a540bd4ac97bfe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:00:29 + docker inspect -f . ci-base-image-arm64 07:00:29 . [Pipeline] withDockerContainer 07:00:29 prd-ubuntu18.04-docker-arm64-4c-16g-27130 does not seem to be running inside a container 07:00:29 $ 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 ******** -e ******** ci-base-image-arm64 cat 07:00:30 $ docker top b89b53172b932fe467c2171224174d39817dc3aa254ab387884d1dc408a45666 -eo pid,comm [Pipeline] { [Pipeline] sh 07:00:31 + make test 07:00:31 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 07:00:33 Removing intermediate container ab6c797cdee4 07:00:33 ---> c05fc6f90cf9 07:00:33 Successfully built c05fc6f90cf9 07:00:33 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 07:00:33 + docker inspect -f . ci-base-image-x86_64 07:00:33 . [Pipeline] withDockerContainer 07:00:33 prd-centos7-docker-4c-2g-27131 does not seem to be running inside a container 07:00:33 $ 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-x86_64 cat 07:00:34 $ docker top 01599dafa93b125bb26c3fd047ebce7eb2597bc05e6665ab63583f31fce6b17b -eo pid,comm [Pipeline] { [Pipeline] sh 07:00:35 + go version 07:00:35 go version go1.15.5 linux/amd64 [Pipeline] } 07:00:35 $ docker stop --time=1 01599dafa93b125bb26c3fd047ebce7eb2597bc05e6665ab63583f31fce6b17b 07:00:36 $ docker rm -f 01599dafa93b125bb26c3fd047ebce7eb2597bc05e6665ab63583f31fce6b17b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:00:37 + docker inspect -f . ci-base-image-x86_64 07:00:37 . [Pipeline] withDockerContainer 07:00:37 prd-centos7-docker-4c-2g-27131 does not seem to be running inside a container 07:00:37 $ 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-x86_64 cat 07:00:38 $ docker top d4ba084c2dc70c01df98dee16b0283eb3cbe3cab93ea004b3620b255e8faa672 -eo pid,comm [Pipeline] { [Pipeline] sh 07:00:38 + make test 07:00:38 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 07:00:45 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 07:00:54 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 07:01:00 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 07:01:00 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 07:01:00 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 07:01:03 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.046s coverage: 25.5% of statements 07:01:34 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 07:01:34 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 07:01:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 07:01:35 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.049s coverage: 10.1% of statements 07:01:35 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.052s coverage: 12.5% of statements 07:01:35 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 07:01:35 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.058s coverage: 84.8% of statements 07:01:35 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 07:01:35 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 07:01:35 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 07:01:35 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 07:01:35 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.069s coverage: 49.2% of statements 07:01:35 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 07:01:35 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.064s coverage: 81.3% of statements 07:01:35 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.060s coverage: 24.8% of statements 07:01:35 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.311s coverage: 83.5% of statements 07:01:35 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.053s coverage: 5.3% of statements 07:01:35 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 07:01:35 GO111MODULE=on go vet ./... 07:01:37 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.125s coverage: 25.5% of statements 07:01:41 gofmt -l . 07:01:41 [ "`gofmt -l .`" = "" ] 07:01:41 ./bin/test-attribution-txt.sh 07:01:41 ./bin/test-go-mod-tidy.sh [Pipeline] } 07:01:41 $ docker stop --time=1 d4ba084c2dc70c01df98dee16b0283eb3cbe3cab93ea004b3620b255e8faa672 07:01:43 $ docker rm -f d4ba084c2dc70c01df98dee16b0283eb3cbe3cab93ea004b3620b255e8faa672 [Pipeline] // withDockerContainer [Pipeline] sh 07:01:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:01:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:01:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:01:47 + ls -al . 07:01:47 total 184 07:01:47 drwxrwxr-x. 10 jenkins jenkins 4096 Feb 22 07:01 . 07:01:47 drwxrwxr-x. 4 jenkins jenkins 28 Feb 22 06:59 .. 07:01:47 drwxrwxr-x. 2 jenkins jenkins 64 Feb 22 06:59 bin 07:01:47 -rw-r--r--. 1 jenkins jenkins 101757 Feb 22 07:01 coverage.out 07:01:47 -rw-rw-r--. 1 jenkins jenkins 949 Feb 22 06:59 Dockerfile.build 07:01:47 -rw-rw-r--. 1 jenkins jenkins 140 Feb 22 06:59 .dockerignore 07:01:47 drwxrwxr-x. 4 jenkins jenkins 48 Feb 22 06:59 example 07:01:47 drwxrwxr-x. 8 jenkins jenkins 179 Feb 22 06:59 .git 07:01:47 drwxrwxr-x. 2 jenkins jenkins 103 Feb 22 06:59 .github 07:01:47 -rw-rw-r--. 1 jenkins jenkins 138 Feb 22 06:59 .gitignore 07:01:47 -rw-r--r--. 1 jenkins jenkins 515 Feb 22 07:01 go.mod 07:01:47 -rw-r--r--. 1 jenkins jenkins 19062 Feb 22 07:01 go.sum 07:01:47 drwxrwxr-x. 13 jenkins jenkins 183 Feb 22 06:59 internal 07:01:47 -rw-rw-r--. 1 jenkins jenkins 901 Feb 22 06:59 Jenkinsfile 07:01:47 -rw-rw-r--. 1 jenkins jenkins 11341 Feb 22 06:59 LICENSE 07:01:47 -rw-rw-r--. 1 jenkins jenkins 1016 Feb 22 06:59 Makefile 07:01:47 drwxrwxr-x. 4 jenkins jenkins 26 Feb 22 06:59 openapi 07:01:47 drwxrwxr-x. 5 jenkins jenkins 50 Feb 22 06:59 pkg 07:01:47 -rw-rw-r--. 1 jenkins jenkins 5897 Feb 22 06:59 README.md 07:01:47 -rw-rw-r--. 1 jenkins jenkins 6616 Feb 22 06:59 RELEASE-NOTES.txt 07:01:47 drwxrwxr-x. 4 jenkins jenkins 54 Feb 22 06:59 snap 07:01:47 -rw-rw-r--. 1 jenkins jenkins 5 Feb 22 06:57 VERSION 07:01:47 -rw-rw-r--. 1 jenkins jenkins 222 Feb 22 06:59 version.go [Pipeline] isUnix [Pipeline] sh 07:01:48 + 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=6059ff5b2c4c5f79279fbe58ee7e75523ecba67d --label arch=amd64 --label version=0.0.0 . 07:01:48 Sending build context to Docker daemon 2.511MB 07:01:48 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 07:01:48 Step 2/24 : FROM ${BASE} AS builder 07:01:48 ---> c05fc6f90cf9 07:01:48 Step 3/24 : ARG MAKE='make build' 07:01:48 ---> Running in be38f5bedd31 07:01:48 Removing intermediate container be38f5bedd31 07:01:48 ---> a17734a6d52c 07:01:48 Step 4/24 : WORKDIR /device-sdk-go 07:01:48 ---> Running in c573f94342a0 07:01:48 Removing intermediate container c573f94342a0 07:01:48 ---> 213f47b99b58 07:01:48 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:01:48 ---> Running in 09bbad45322c 07:01:48 Removing intermediate container 09bbad45322c 07:01:48 ---> a88cebe72759 07:01:48 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:01:49 ---> Running in 922f0d1f317c 07:01:49 Removing intermediate container 922f0d1f317c 07:01:49 ---> e44103e3b35b 07:01:49 Step 7/24 : RUN apk add --update --no-cache make git 07:01:50 ---> Running in aaba6fcb3374 07:01:50 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 07:01:50 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 07:01:51 OK: 166 MiB in 39 packages 07:01:51 Removing intermediate container aaba6fcb3374 07:01:51 ---> e16ccb4d3c78 07:01:51 Step 8/24 : COPY . . 07:01:52 ---> 047da52e43ce 07:01:52 Step 9/24 : RUN ${MAKE} 07:01:52 ---> Running in 5df2db899602 07:01:53 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 07:02:01 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 07:02:03 Removing intermediate container 5df2db899602 07:02:03 ---> f0cd5c40b2f5 07:02:03 Step 10/24 : FROM scratch 07:02:03 ---> 07:02:03 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:02:03 ---> Running in c868d2939d88 07:02:03 Removing intermediate container c868d2939d88 07:02:03 ---> e4d08026a7e9 07:02:03 Step 12/24 : ENV APP_PORT=49990 07:02:03 ---> Running in 1981b71966d3 07:02:03 Removing intermediate container 1981b71966d3 07:02:03 ---> bdb1675b8557 07:02:03 Step 13/24 : EXPOSE $APP_PORT 07:02:03 ---> Running in b32d2ae1b824 07:02:03 Removing intermediate container b32d2ae1b824 07:02:03 ---> ae9f65ad1afa 07:02:03 Step 14/24 : WORKDIR / 07:02:03 ---> Running in 4c2a64aa857a 07:02:03 Removing intermediate container 4c2a64aa857a 07:02:03 ---> 2b0232608cec 07:02:03 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 07:02:04 ---> f69c0efab834 07:02:04 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 07:02:04 ---> d31d3248861c 07:02:04 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 07:02:04 ---> ec7748239e19 07:02:04 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 07:02:04 ---> 64c8974dc02d 07:02:04 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 07:02:04 ---> ec10d09a9287 07:02:04 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 07:02:04 ---> Running in c643a3f4e2d8 07:02:05 Removing intermediate container c643a3f4e2d8 07:02:05 ---> 6623d9a02441 07:02:05 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:02:05 ---> Running in ad964cbfc474 07:02:05 Removing intermediate container ad964cbfc474 07:02:05 ---> d036946d6f96 07:02:05 Step 22/24 : LABEL arch=amd64 07:02:05 ---> Running in 147eb8a77a14 07:02:05 Removing intermediate container 147eb8a77a14 07:02:05 ---> be73125ffeaa 07:02:05 Step 23/24 : LABEL git_sha=6059ff5b2c4c5f79279fbe58ee7e75523ecba67d 07:02:05 ---> Running in 3deae8ddbec7 07:02:05 Removing intermediate container 3deae8ddbec7 07:02:05 ---> 119a83c89c2e 07:02:05 Step 24/24 : LABEL version=0.0.0 07:02:05 ---> Running in f2fb044141fc 07:02:06 Removing intermediate container f2fb044141fc 07:02:06 ---> 8d73a4a51063 07:02:06 [Warning] One or more build-args [ARCH] were not consumed 07:02:06 Successfully built 8d73a4a51063 07:02:06 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] } 07:02:10 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.130s coverage: 10.1% of statements 07:02:10 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.129s coverage: 12.5% of statements 07:02:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 07:02:10 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.144s coverage: 84.8% of statements 07:02:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 07:02:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 07:02:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 07:02:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 07:02:10 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.214s coverage: 49.2% of statements 07:02:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 07:02:10 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.195s coverage: 81.3% of statements 07:02:10 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.166s coverage: 24.8% of statements 07:02:10 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.685s coverage: 83.5% of statements 07:02:10 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.130s coverage: 5.3% of statements 07:02:10 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 07:02:10 GO111MODULE=on go vet ./... 07:02:42 gofmt -l . 07:02:42 [ "`gofmt -l .`" = "" ] 07:02:42 ./bin/test-attribution-txt.sh 07:02:42 ./bin/test-go-mod-tidy.sh [Pipeline] } 07:02:42 $ docker stop --time=1 b89b53172b932fe467c2171224174d39817dc3aa254ab387884d1dc408a45666 07:02:44 $ docker rm -f b89b53172b932fe467c2171224174d39817dc3aa254ab387884d1dc408a45666 [Pipeline] // withDockerContainer [Pipeline] sh 07:02:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:02:46 Warning: overwriting stash ‘coverage-report’ 07:02:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:02:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:02:48 + ls -al . 07:02:48 total 220 07:02:48 drwxrwxr-x 10 jenkins jenkins 4096 Feb 22 07:02 . 07:02:48 drwxrwxr-x 4 jenkins jenkins 4096 Feb 22 06:59 .. 07:02:48 -rw-rw-r-- 1 jenkins jenkins 140 Feb 22 06:59 .dockerignore 07:02:48 drwxrwxr-x 8 jenkins jenkins 4096 Feb 22 06:59 .git 07:02:48 drwxrwxr-x 2 jenkins jenkins 4096 Feb 22 06:59 .github 07:02:48 -rw-rw-r-- 1 jenkins jenkins 138 Feb 22 06:59 .gitignore 07:02:48 -rw-rw-r-- 1 jenkins jenkins 949 Feb 22 06:59 Dockerfile.build 07:02:48 -rw-rw-r-- 1 jenkins jenkins 901 Feb 22 06:59 Jenkinsfile 07:02:48 -rw-rw-r-- 1 jenkins jenkins 11341 Feb 22 06:59 LICENSE 07:02:48 -rw-rw-r-- 1 jenkins jenkins 1016 Feb 22 06:59 Makefile 07:02:48 -rw-rw-r-- 1 jenkins jenkins 5897 Feb 22 06:59 README.md 07:02:48 -rw-rw-r-- 1 jenkins jenkins 6616 Feb 22 06:59 RELEASE-NOTES.txt 07:02:48 -rw-rw-r-- 1 jenkins jenkins 5 Feb 22 06:57 VERSION 07:02:48 drwxrwxr-x 2 jenkins jenkins 4096 Feb 22 06:59 bin 07:02:48 -rw-r--r-- 1 jenkins jenkins 101757 Feb 22 07:02 coverage.out 07:02:48 drwxrwxr-x 4 jenkins jenkins 4096 Feb 22 06:59 example 07:02:48 -rw-r--r-- 1 jenkins jenkins 515 Feb 22 07:02 go.mod 07:02:48 -rw-r--r-- 1 jenkins jenkins 19062 Feb 22 07:02 go.sum 07:02:48 drwxrwxr-x 13 jenkins jenkins 4096 Feb 22 06:59 internal 07:02:48 drwxrwxr-x 4 jenkins jenkins 4096 Feb 22 06:59 openapi 07:02:48 drwxrwxr-x 5 jenkins jenkins 4096 Feb 22 06:59 pkg 07:02:48 drwxrwxr-x 4 jenkins jenkins 4096 Feb 22 06:59 snap 07:02:48 -rw-rw-r-- 1 jenkins jenkins 222 Feb 22 06:59 version.go [Pipeline] isUnix [Pipeline] sh 07:02:48 + 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=6059ff5b2c4c5f79279fbe58ee7e75523ecba67d --label arch=arm64 --label version=0.0.0 . 07:02:48 Sending build context to Docker daemon 2.51MB 07:02:49 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 07:02:49 Step 2/24 : FROM ${BASE} AS builder 07:02:49 ---> 9e0e2322fda2 07:02:49 Step 3/24 : ARG MAKE='make build' 07:02:49 ---> Running in b76a99841831 07:02:49 Removing intermediate container b76a99841831 07:02:49 ---> 83f810da0884 07:02:49 Step 4/24 : WORKDIR /device-sdk-go 07:02:49 ---> Running in 3c6efbfa5499 07:02:50 Removing intermediate container 3c6efbfa5499 07:02:50 ---> 2b79592de1cc 07:02:50 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:02:50 ---> Running in 5946f64011b7 07:02:51 Removing intermediate container 5946f64011b7 07:02:51 ---> b5af558834fe 07:02:51 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:02:51 ---> Running in 20ca9cfd5427 07:02:53 Removing intermediate container 20ca9cfd5427 07:02:53 ---> 0f90159967c9 07:02:53 Step 7/24 : RUN apk add --update --no-cache make git 07:02:53 ---> Running in 127a46a26fbc 07:02:54 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 07:02:54 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 07:02:55 OK: 142 MiB in 39 packages 07:02:56 Removing intermediate container 127a46a26fbc 07:02:56 ---> f16a77e8776e 07:02:56 Step 8/24 : COPY . . 07:02:57 ---> 06e448d269bf 07:02:57 Step 9/24 : RUN ${MAKE} 07:02:57 ---> Running in 2c367541bfef 07:02:59 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 07:03:26 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 07:03:26 Removing intermediate container 2c367541bfef 07:03:26 ---> 641b9fecffcb 07:03:26 Step 10/24 : FROM scratch 07:03:26 ---> 07:03:26 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:03:27 ---> Running in d5d8e0437b2e 07:03:27 Removing intermediate container d5d8e0437b2e 07:03:27 ---> 9d862cbe0385 07:03:27 Step 12/24 : ENV APP_PORT=49990 07:03:27 ---> Running in ba6131b3ebf8 07:03:27 Removing intermediate container ba6131b3ebf8 07:03:27 ---> eaa454e7dab4 07:03:27 Step 13/24 : EXPOSE $APP_PORT 07:03:27 ---> Running in f8011fd52687 07:03:28 Removing intermediate container f8011fd52687 07:03:28 ---> 8231dd23a637 07:03:28 Step 14/24 : WORKDIR / 07:03:28 ---> Running in 756ccbbd4bd0 07:03:29 Removing intermediate container 756ccbbd4bd0 07:03:29 ---> addd64101e1e 07:03:29 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 07:03:30 ---> cce4ac5f41fc 07:03:30 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 07:03:30 ---> 42bcb9887600 07:03:30 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 07:03:31 ---> 86f173667d10 07:03:31 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 07:03:32 ---> d18373cef66b 07:03:32 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 07:03:32 ---> 84bdea3530be 07:03:32 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 07:03:33 ---> Running in 668f657862ff 07:03:33 Removing intermediate container 668f657862ff 07:03:33 ---> 2b2af5ad0fa6 07:03:33 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:03:33 ---> Running in 755f65cfe444 07:03:33 Removing intermediate container 755f65cfe444 07:03:33 ---> 622908154caf 07:03:33 Step 22/24 : LABEL arch=arm64 07:03:34 ---> Running in 19a642d54f2e 07:03:34 Removing intermediate container 19a642d54f2e 07:03:34 ---> c468baa71fdc 07:03:34 Step 23/24 : LABEL git_sha=6059ff5b2c4c5f79279fbe58ee7e75523ecba67d 07:03:34 ---> Running in 97dd1373fa67 07:03:35 Removing intermediate container 97dd1373fa67 07:03:35 ---> a52b4aafe155 07:03:35 Step 24/24 : LABEL version=0.0.0 07:03:35 ---> Running in fa905c1b2b42 07:03:35 Removing intermediate container fa905c1b2b42 07:03:35 ---> 8484a0333849 07:03:35 [Warning] One or more build-args [ARCH] were not consumed 07:03:35 Successfully built 8484a0333849 07:03:35 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 07:03:38 provisioning config files... 07:03:39 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-793@tmp/config72983417778309758tmp [Pipeline] { [Pipeline] sh 07:03:39 + set +x 07:03:39 + curl -s https://codecov.io/bash 07:03:39 + bash -s -- 07:03:40 07:03:40 _____ _ 07:03:40 / ____| | | 07:03:40 | | ___ __| | ___ ___ _____ __ 07:03:40 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:03:40 | |___| (_) | (_| | __/ (_| (_) \ V / 07:03:40 \_____\___/ \__,_|\___|\___\___/ \_/ 07:03:40 Bash-20210129-7c25fce 07:03:40 07:03:40 07:03:40 ==> git version 2.24.3 found 07:03:40 ==> 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 07:03:40 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 07:03:40 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 07:03:40 ==> Jenkins CI detected. 07:03:40 project root: . 07:03:40 --> token set from env 07:03:40 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:03:40 ==> Running gcov in . (disable via -X gcov) 07:03:40 ==> Python coveragepy not found 07:03:40 ==> Searching for coverage reports in: 07:03:40 + . 07:03:40 -> Found 1 reports 07:03:40 ==> Detecting git/mercurial file structure 07:03:41 ==> Reading reports 07:03:41 + ./coverage.out bytes=101757 07:03:41 ==> Appending adjustments 07:03:41 https://docs.codecov.io/docs/fixing-reports 07:03:41 + Found adjustments 07:03:41 ==> Gzipping contents 07:03:41 20K /tmp/codecov.LSFEr1.gz 07:03:41 ==> Uploading reports 07:03:41 url: https://codecov.io 07:03:41 query: branch=PR-793&commit=6059ff5b2c4c5f79279fbe58ee7e75523ecba67d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-793%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=793&job=&cmd_args= 07:03:41 -> Pinging Codecov 07:03:41 https://codecov.io/upload/v4?package=bash-20210129-7c25fce&token=secret&branch=PR-793&commit=6059ff5b2c4c5f79279fbe58ee7e75523ecba67d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-793%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=793&job=&cmd_args= 07:03:42 -> Uploading to 07:03:42 https://storage.googleapis.com/codecov/v4/raw/2021-02-22/7E55EF52A471D76F132DFD9A03CDDE97/6059ff5b2c4c5f79279fbe58ee7e75523ecba67d/4d28e23f-9cbb-4c5e-9a95-4dc986b9de95.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210222%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210222T070342Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=197391dced80885882c6971e3f1856a12cf8f449594d13c9fa888b373e95332c 07:03:42 % Total % Received % Xferd Average Speed Time Time Time Current 07:03:42 Dload Upload Total Spent Left Speed 07:03:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16512 0 0 100 16512 0 15018 0:00:01 0:00:01 --:--:-- 15024 07:03:44 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/6059ff5b2c4c5f79279fbe58ee7e75523ecba67d [Pipeline] } 07:03:44 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 07:03:47 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:03:48 ---> package-listing.sh 07:03:48 ++ facter osfamily 07:03:48 ++ tr '[:upper:]' '[:lower:]' 07:03:48 + OS_FAMILY=redhat 07:03:48 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-793 07:03:48 + START_PACKAGES=/tmp/packages_start.txt 07:03:48 + END_PACKAGES=/tmp/packages_end.txt 07:03:48 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:03:48 + PACKAGES=/tmp/packages_start.txt 07:03:48 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-793 ']' 07:03:48 + PACKAGES=/tmp/packages_end.txt 07:03:48 + case "${OS_FAMILY}" in 07:03:48 + sort 07:03:48 + rpm -qa 07:03:59 + '[' -f /tmp/packages_start.txt ']' 07:03:59 + '[' -f /tmp/packages_end.txt ']' 07:03:59 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:03:59 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-793 ']' 07:03:59 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-793/archives/ 07:03:59 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-793/archives/ [Pipeline] echo 07:03:59 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-793/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:03:59 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 07:04:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:04:01 07:04:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 07:04:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:04:03 alpine: Pulling from edgex-lftools-log-publisher 07:04:03 df20fa9351a1: Pulling fs layer 07:04:03 36b3adc4ff6f: Pulling fs layer 07:04:03 8ad3a11d3b57: Pulling fs layer 07:04:03 46f8f816bc3b: Pulling fs layer 07:04:03 93b61091891f: Pulling fs layer 07:04:03 93b9cdb0e59b: Pulling fs layer 07:04:03 5e14af77c1be: Pulling fs layer 07:04:03 01666e4c0597: Pulling fs layer 07:04:03 aa168da1d23b: Pulling fs layer 07:04:03 46f8f816bc3b: Waiting 07:04:03 93b61091891f: Waiting 07:04:03 93b9cdb0e59b: Waiting 07:04:03 5e14af77c1be: Waiting 07:04:03 01666e4c0597: Waiting 07:04:03 aa168da1d23b: Waiting 07:04:03 36b3adc4ff6f: Verifying Checksum 07:04:03 36b3adc4ff6f: Download complete 07:04:03 46f8f816bc3b: Verifying Checksum 07:04:03 46f8f816bc3b: Download complete 07:04:03 df20fa9351a1: Verifying Checksum 07:04:03 df20fa9351a1: Download complete 07:04:03 93b9cdb0e59b: Verifying Checksum 07:04:03 93b9cdb0e59b: Download complete 07:04:03 5e14af77c1be: Verifying Checksum 07:04:03 5e14af77c1be: Download complete 07:04:04 01666e4c0597: Download complete 07:04:04 93b61091891f: Download complete 07:04:05 8ad3a11d3b57: Verifying Checksum 07:04:05 8ad3a11d3b57: Download complete 07:04:06 df20fa9351a1: Pull complete 07:04:06 36b3adc4ff6f: Pull complete 07:04:11 8ad3a11d3b57: Pull complete 07:04:11 46f8f816bc3b: Pull complete 07:04:12 93b61091891f: Pull complete 07:04:12 93b9cdb0e59b: Pull complete 07:04:12 5e14af77c1be: Pull complete 07:04:13 01666e4c0597: Pull complete 07:04:14 aa168da1d23b: Verifying Checksum 07:04:14 aa168da1d23b: Download complete 07:04:37 aa168da1d23b: Pull complete 07:04:37 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 07:04:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:04:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 07:04:39 prd-centos7-docker-4c-2g-27129 does not seem to be running inside a container 07:04:39 $ 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-793/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-793 -v /w/workspace/dgexfoundry_device-sdk-go_PR-793:/w/workspace/dgexfoundry_device-sdk-go_PR-793:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-793@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-793@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 07:04:42 $ docker top 59f59488fde6f516c99a56f6457e299cc24afafcc977dc3d6b4bf84426e18eb2 -eo pid,comm [Pipeline] { [Pipeline] sh 07:04:44 + touch /tmp/pre-build-complete [Pipeline] sh 07:04:45 + mkdir -p /var/log/sa [Pipeline] sh 07:04:46 + ls /var/log/sa-host 07:04:46 + sadf -c /var/log/sa-host/sa22 07:04:46 file_magic: OK 07:04:46 HZ: Using current value: 100 07:04:46 file_header: OK 07:04:46 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 07:04:46 Statistics: 07:04:46 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 07:04:46 File successfully converted to sysstat format version 12.2.1 07:04:46 + sadf -c /var/log/sa-host/sa23 07:04:46 file_magic: OK 07:04:46 HZ: Using current value: 100 07:04:46 file_header: OK 07:04:46 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 07:04:46 Statistics: 07:04:46 Hnuu...uuuununununu... 07:04:46 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:04:46 provisioning config files... 07:04:46 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-793@tmp/config196507352473915505tmp [Pipeline] { [Pipeline] echo 07:04:46 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:04:47 ---> create-netrc.sh [Pipeline] } 07:04:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 07:04:47 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 07:04:48 ---> python-tools-install.sh [Pipeline] echo 07:04:49 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:04:49 ---> sudo-logs.sh 07:04:49 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:04:49 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:04:51 ---> job-cost.sh 07:04:51 lf-activate-venv: SKIPPING 07:04:51 INFO: No Stack... 07:04:52 INFO: Retrieving Pricing Info for: v1-standard-2 07:04:53 INFO: Archiving Costs [Pipeline] echo 07:04:53 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:04:54 ---> logs-deploy.sh 07:04:54 lf-activate-venv: SKIPPING 07:04:54 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-793/1 07:04:54 INFO: archiving workspace using pattern(s): 07:04:59 Archives upload complete. 07:04:59 INFO: archiving logs to Nexus 07:05:02 ---> uname -a: 07:05:02 Linux prd-centos7-docker-4c-2g-27129.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 07:05:02 07:05:02 07:05:02 ---> lscpu: 07:05:02 Architecture: x86_64 07:05:02 CPU op-mode(s): 32-bit, 64-bit 07:05:02 Byte Order: Little Endian 07:05:02 Address sizes: 40 bits physical, 48 bits virtual 07:05:02 CPU(s): 4 07:05:02 On-line CPU(s) list: 0-3 07:05:02 Thread(s) per core: 1 07:05:02 Core(s) per socket: 1 07:05:02 Socket(s): 4 07:05:02 NUMA node(s): 1 07:05:02 Vendor ID: GenuineIntel 07:05:02 CPU family: 6 07:05:02 Model: 44 07:05:02 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 07:05:02 Stepping: 1 07:05:02 CPU MHz: 2933.438 07:05:02 BogoMIPS: 5866.87 07:05:02 Virtualization: VT-x 07:05:02 Hypervisor vendor: KVM 07:05:02 Virtualization type: full 07:05:02 L1d cache: 128 KiB 07:05:02 L1i cache: 128 KiB 07:05:02 L2 cache: 16 MiB 07:05:02 L3 cache: 64 MiB 07:05:02 NUMA node0 CPU(s): 0-3 07:05:02 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 07:05:02 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 07:05:02 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 07:05:02 Vulnerability Meltdown: Mitigation; PTI 07:05:02 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 07:05:02 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 07:05:02 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 07:05:02 Vulnerability Srbds: Not affected 07:05:02 Vulnerability Tsx async abort: Not affected 07:05:02 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 07:05:02 07:05:02 07:05:02 ---> nproc: 07:05:02 4 07:05:02 07:05:02 07:05:02 ---> df -h: 07:05:02 Filesystem Size Used Available Use% Mounted on 07:05:02 overlay 50.0G 7.3G 42.7G 15% / 07:05:02 tmpfs 64.0M 0 64.0M 0% /dev 07:05:02 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 07:05:02 shm 64.0M 0 64.0M 0% /dev/shm 07:05:02 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 07:05:02 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 07:05:02 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 07:05:02 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 07:05:02 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 07:05:02 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-793 07:05:02 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 07:05:02 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-793@tmp 07:05:02 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 07:05:02 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 07:05:02 07:05:02 07:05:02 ---> free -m: 07:05:02 total used free shared buff/cache available 07:05:02 Mem: 1837 697 87 0 1052 1035 07:05:02 Swap: 1023 1 1022 07:05:02 07:05:02 07:05:02 ---> ip addr: 07:05:02 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 07:05:02 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 07:05:02 inet 127.0.0.1/8 scope host lo 07:05:02 valid_lft forever preferred_lft forever 07:05:02 inet6 ::1/128 scope host 07:05:02 valid_lft forever preferred_lft forever 07:05:02 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 07:05:02 link/ether fa:16:3e:55:1b:4a brd ff:ff:ff:ff:ff:ff 07:05:02 inet 10.30.123.35/23 brd 10.30.123.255 scope global dynamic eth0 07:05:02 valid_lft 85757sec preferred_lft 85757sec 07:05:02 inet6 fe80::f816:3eff:fe55:1b4a/64 scope link 07:05:02 valid_lft forever preferred_lft forever 07:05:02 3: docker0: mtu 1500 qdisc noqueue state DOWN 07:05:02 link/ether 02:42:c8:4a:d8:8e brd ff:ff:ff:ff:ff:ff 07:05:02 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 07:05:02 valid_lft forever preferred_lft forever 07:05:02 inet6 fe80::42:c8ff:fe4a:d88e/64 scope link 07:05:02 valid_lft forever preferred_lft forever 07:05:02 07:05:02 07:05:02 ---> sar -b -r -n DEV: 07:05:02 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 02/22/21 _x86_64_ (4 CPU) 07:05:02 07:05:02 06:54:03 LINUX RESTART (4 CPU) 07:05:02 07:05:02 06:55:05 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 07:05:02 06:56:02 65.31 39.64 25.66 0.00 3638.29 15316.08 0.00 07:05:02 06:57:01 42.84 11.64 31.20 0.00 4474.31 2442.89 0.00 07:05:02 06:58:01 5.22 0.43 4.79 0.00 34.20 170.81 0.00 07:05:02 06:59:01 0.40 0.00 0.40 0.00 0.00 5.94 0.00 07:05:02 07:00:01 0.32 0.00 0.32 0.00 0.00 4.45 0.00 07:05:02 07:01:01 0.27 0.02 0.25 0.00 0.13 3.13 0.00 07:05:02 07:02:01 0.80 0.08 0.72 0.00 1.60 9.60 0.00 07:05:02 07:03:01 0.57 0.00 0.57 0.00 0.00 6.39 0.00 07:05:02 07:04:02 48.37 46.70 1.68 0.00 3997.76 39.88 0.00 07:05:02 Average: 17.88 10.78 7.10 0.00 1330.38 1898.10 0.00 07:05:02 07:05:02 06:55:05 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 07:05:02 06:56:02 73328 0 531276 28.24 2620 1274320 1046624 35.72 361056 1250532 10548 07:05:02 06:57:01 165292 0 583616 31.02 2620 1130016 1207648 41.22 399696 1115424 3204 07:05:02 06:58:01 180392 0 569080 30.25 2620 1129452 1053852 35.97 395740 1106596 20 07:05:02 06:59:01 185068 0 564404 30.00 2620 1129452 1004280 34.27 396316 1102320 8 07:05:02 07:00:01 181848 0 567620 30.17 2620 1129456 1004532 34.28 411936 1090068 12 07:05:02 07:01:01 181412 0 568048 30.19 2620 1129464 1007508 34.38 413388 1088484 16 07:05:02 07:02:01 182464 0 566872 30.13 2620 1129588 1004860 34.29 409384 1091884 8 07:05:02 07:03:01 182808 0 566524 30.11 2620 1129592 1004788 34.29 409232 1091884 8 07:05:02 07:04:02 69188 0 612212 32.54 2620 1197524 1292532 44.11 446656 1165500 296 07:05:02 Average: 155756 0 569961 30.29 2620 1153207 1069625 36.50 404823 1122521 1569 07:05:02 07:05:02 06:55:05 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 07:05:02 06:56:02 eth0 179.72 131.47 651.27 48.66 0.00 0.00 0.00 0.00 07:05:02 06:56:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:05:02 06:56:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:05:02 06:57:01 eth0 99.98 86.04 477.15 48.74 0.00 0.00 0.00 0.00 07:05:02 06:57:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:05:02 06:57:01 vetheee6bf2 7.02 5.92 1.28 23.00 0.00 0.00 0.00 0.00 07:05:02 06:57:01 docker0 7.02 5.79 1.18 22.99 0.00 0.00 0.00 0.00 07:05:02 06:58:01 eth0 8.05 6.59 9.74 2.74 0.00 0.00 0.00 0.00 07:05:02 06:58:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:05:02 06:58:01 docker0 0.02 0.02 0.00 0.00 0.00 0.00 0.00 0.00 07:05:02 06:59:01 eth0 0.45 0.07 0.05 0.01 0.00 0.00 0.00 0.00 07:05:02 06:59:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:05:02 06:59:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:05:02 07:00:01 eth0 1.18 0.43 0.56 0.39 0.00 0.00 0.00 0.00 07:05:02 07:00:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:05:02 07:00:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:05:02 07:01:01 eth0 0.28 0.18 0.14 0.07 0.00 0.00 0.00 0.00 07:05:02 07:01:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:05:02 07:01:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:05:02 07:02:01 eth0 0.22 0.17 0.12 0.01 0.00 0.00 0.00 0.00 07:05:02 07:02:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:05:02 07:02:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:05:02 07:03:01 eth0 0.08 0.08 0.01 0.01 0.00 0.00 0.00 0.00 07:05:02 07:03:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:05:02 07:03:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:05:02 07:04:02 eth0 20.94 15.32 17.19 24.09 0.00 0.00 0.00 0.00 07:05:02 07:04:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:05:02 07:04:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:05:02 Average: eth0 33.33 25.80 123.80 13.55 0.00 0.00 0.00 0.00 07:05:02 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:05:02 Average: docker0 0.78 0.64 0.13 2.53 0.00 0.00 0.00 0.00 07:05:02 07:05:02 07:05:02 ---> sar -P ALL: 07:05:02 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 02/22/21 _x86_64_ (4 CPU) 07:05:02 07:05:02 06:54:03 LINUX RESTART (4 CPU) 07:05:02 07:05:02 06:55:05 CPU %user %nice %system %iowait %steal %idle 07:05:02 06:56:02 all 8.96 0.00 4.39 4.75 40.69 41.21 07:05:02 06:56:02 0 7.72 0.00 3.93 4.71 42.68 40.96 07:05:02 06:56:02 1 8.29 0.00 4.38 5.13 39.73 42.46 07:05:02 06:56:02 2 10.39 0.00 4.84 4.90 39.68 40.18 07:05:02 06:56:02 3 9.51 0.00 4.43 4.26 40.58 41.22 07:05:02 06:57:01 all 3.32 0.00 3.09 1.11 32.96 59.53 07:05:02 06:57:01 0 2.51 0.00 2.60 0.52 35.07 59.31 07:05:02 06:57:01 1 4.23 0.00 3.36 0.80 32.39 59.22 07:05:02 06:57:01 2 3.30 0.00 4.01 1.66 32.64 58.39 07:05:02 06:57:01 3 3.29 0.00 2.45 1.49 31.58 61.19 07:05:02 06:58:01 all 0.33 0.00 0.38 0.08 7.09 92.12 07:05:02 06:58:01 0 0.30 0.00 0.29 0.06 7.96 91.38 07:05:02 06:58:01 1 0.29 0.00 0.40 0.18 6.87 92.26 07:05:02 06:58:01 2 0.19 0.00 0.22 0.02 6.77 92.80 07:05:02 06:58:01 3 0.55 0.00 0.61 0.05 6.76 92.04 07:05:02 06:59:01 all 0.14 0.00 0.05 0.00 0.25 99.56 07:05:02 06:59:01 0 0.02 0.00 0.03 0.00 0.42 99.53 07:05:02 06:59:01 1 0.03 0.00 0.05 0.00 0.07 99.85 07:05:02 06:59:01 2 0.43 0.00 0.05 0.00 0.15 99.37 07:05:02 06:59:01 3 0.07 0.00 0.08 0.00 0.37 99.48 07:05:02 07:00:01 all 0.11 0.00 0.12 0.00 1.90 97.88 07:05:02 07:00:01 0 0.00 0.00 0.07 0.00 2.08 97.85 07:05:02 07:00:01 1 0.08 0.00 0.07 0.00 1.89 97.96 07:05:02 07:00:01 2 0.03 0.00 0.25 0.00 1.84 97.88 07:05:02 07:00:01 3 0.33 0.00 0.08 0.00 1.78 97.81 07:05:02 07:01:01 all 0.09 0.00 0.06 0.00 0.27 99.58 07:05:02 07:01:01 0 0.03 0.00 0.05 0.00 0.68 99.24 07:05:02 07:01:01 1 0.27 0.00 0.05 0.00 0.25 99.43 07:05:02 07:01:01 2 0.03 0.00 0.10 0.00 0.08 99.78 07:05:02 07:01:01 3 0.02 0.00 0.03 0.02 0.05 99.88 07:05:02 07:02:01 all 0.10 0.00 0.06 0.00 0.15 99.69 07:05:02 07:02:01 0 0.03 0.00 0.07 0.00 0.10 99.80 07:05:02 07:02:01 1 0.17 0.00 0.03 0.00 0.12 99.68 07:05:02 07:02:01 2 0.13 0.00 0.12 0.00 0.18 99.57 07:05:02 07:02:01 3 0.08 0.00 0.03 0.00 0.18 99.70 07:05:02 07:03:01 all 0.12 0.00 0.04 0.00 0.08 99.75 07:05:02 07:03:01 0 0.02 0.00 0.03 0.00 0.05 99.90 07:05:02 07:03:01 1 0.00 0.00 0.03 0.00 0.05 99.92 07:05:02 07:03:01 2 0.47 0.00 0.03 0.00 0.18 99.32 07:05:02 07:03:01 3 0.02 0.00 0.05 0.00 0.05 99.88 07:05:02 07:04:02 all 1.45 0.00 0.85 2.78 7.63 87.30 07:05:02 07:04:02 0 0.69 0.00 0.57 0.35 8.54 89.86 07:05:02 07:04:02 1 1.67 0.00 0.69 0.53 6.95 90.17 07:05:02 07:04:02 2 0.93 0.00 0.93 0.05 7.42 90.67 07:05:02 07:04:02 3 2.52 0.00 1.22 10.26 7.59 78.40 07:05:02 Average: all 1.73 0.00 1.07 1.02 10.81 85.37 07:05:02 Average: 0 1.37 0.00 0.93 0.68 11.83 85.19 07:05:02 Average: 1 1.78 0.00 1.08 0.79 10.50 85.84 07:05:02 Average: 2 1.85 0.00 1.24 0.78 10.43 85.71 07:05:02 Average: 3 1.91 0.00 1.05 1.83 10.47 84.75 07:05:02 07:05:02 07:05:02