Pull request #827 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 73f6dd7ae1dc48b71098234822fc44fe22aa7f90+e2b795a37b7f4058c403051823a7e04e4e702841 (4d263d2ae9090403a65a79e2b97465884a63aafd) 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 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-827/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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 878f1b5bff316b9f7b5d8f8b1d22b752867b496c # timeout=10 Commit message: "Merge pull request #321 from ernestojeda/email-fix-generateEmailTemplate" > 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-827/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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 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 BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-30508 in /w/workspace/dgexfoundry_device-sdk-go_PR-827 [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-827 # 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 Merging remotes/origin/master commit e2b795a37b7f4058c403051823a7e04e4e702841 into PR head commit 73f6dd7ae1dc48b71098234822fc44fe22aa7f90 Merge succeeded, producing 73f6dd7ae1dc48b71098234822fc44fe22aa7f90 Checking out Revision 73f6dd7ae1dc48b71098234822fc44fe22aa7f90 (PR-827) 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/827/head:refs/remotes/origin/PR-827 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 73f6dd7ae1dc48b71098234822fc44fe22aa7f90 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge e2b795a37b7f4058c403051823a7e04e4e702841 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 73f6dd7ae1dc48b71098234822fc44fe22aa7f90 # timeout=10 Commit message: "fix: remove StopAutoEvents call during bootstrap" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:05:41 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:05:42 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:05:42 ========================================================= 07:05:42 EdgeX Global Pipelines Version Info 07:05:42 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:05:44 ------------------- 07:05:44 stable info: 07:05:44 ------------------- 07:05:44 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:05:44 Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 07:05:44 Message: update stable to v1.0.184 07:05:44 ------------------- 07:05:44 experimental info: 07:05:44 ------------------- 07:05:44 Commited By: **** collab-it+edgex@linuxfoundation.org 07:05:44 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 07:05:44 Message: update experimental to v1.0.186 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:05:45 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 07:05:45 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 07:05:45 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:05:45 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:05:45 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:05:46 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 07:05:46 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 07:05:46 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 07:05:46 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 07:05:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:05:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:05:46 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 07:05:47 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:05:47 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:05:47 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:05:47 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 07:05:47 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:05:47 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:05:48 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:05:48 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:05:48 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 07:05:48 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 07:05:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:05:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:05:48 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:05:48 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:05:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-827 [Pipeline] echo 07:05:49 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-827 [Pipeline] echo 07:05:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-827 [Pipeline] echo 07:05:49 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 73f6dd7ae1dc48b71098234822fc44fe22aa7f90 [Pipeline] echo 07:05:49 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 73f6dd7 [Pipeline] echo 07:05:49 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 07:05:50 provisioning config files... 07:05:50 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-827@tmp/config3115568004382629190tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:05:50 ---> docker-login.sh 07:05:50 nexus3.edgexfoundry.org:10001 07:05:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:05:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:05:50 Configure a credential helper to remove this warning. See 07:05:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:05:50 07:05:50 Login Succeeded 07:05:50 nexus3.edgexfoundry.org:10002 07:05:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:05:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:05:51 Configure a credential helper to remove this warning. See 07:05:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:05:51 07:05:51 Login Succeeded 07:05:51 nexus3.edgexfoundry.org:10003 07:05:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:05:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:05:51 Configure a credential helper to remove this warning. See 07:05:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:05:51 07:05:51 Login Succeeded 07:05:51 nexus3.edgexfoundry.org:10004 07:05:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:05:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:05:51 Configure a credential helper to remove this warning. See 07:05:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:05:51 07:05:51 Login Succeeded 07:05:51 docker.io 07:05:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:05:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:05:51 Configure a credential helper to remove this warning. See 07:05:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:05:51 07:05:51 Login Succeeded 07:05:51 ---> docker-login.sh ends [Pipeline] } 07:05:51 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 07:05:53 + git log --format=format:%s -1 73f6dd7ae1dc48b71098234822fc44fe22aa7f90 [Pipeline] echo 07:05:53 GIT_COMMIT: 73f6dd7ae1dc48b71098234822fc44fe22aa7f90, Commit Message: fix: remove StopAutoEvents call during bootstrap [Pipeline] echo 07:05:53 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 07:05:54 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:05:54 07:05:54 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 07:05:54 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:05:54 latest: Pulling from edgex-devops/git-semver 07:05:54 31603596830f: Pulling fs layer 07:05:54 2a8b12db71e7: Pulling fs layer 07:05:54 6ca5941a6612: Pulling fs layer 07:05:54 ecc8261a40a4: Pulling fs layer 07:05:54 ecc8261a40a4: Waiting 07:05:54 2a8b12db71e7: Verifying Checksum 07:05:54 2a8b12db71e7: Download complete 07:05:54 31603596830f: Download complete 07:05:55 ecc8261a40a4: Verifying Checksum 07:05:55 ecc8261a40a4: Download complete 07:05:55 6ca5941a6612: Verifying Checksum 07:05:55 6ca5941a6612: Download complete 07:05:55 31603596830f: Pull complete 07:05:55 2a8b12db71e7: Pull complete 07:05:56 6ca5941a6612: Pull complete 07:05:56 ecc8261a40a4: Pull complete 07:05:56 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 07:05:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:05:56 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 07:05:56 prd-centos7-docker-4c-2g-30508 does not seem to be running inside a container 07:05:56 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-827 -v /w/workspace/dgexfoundry_device-sdk-go_PR-827:/w/workspace/dgexfoundry_device-sdk-go_PR-827:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-827@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-827@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 07:05:58 $ docker top c8ee7a7238c567c4b290cf2479e01d63922d406759104fed16e295b610119335 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:05:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:05:59 [ssh-agent] Looking for ssh-agent implementation... 07:05:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:05:59 $ docker exec c8ee7a7238c567c4b290cf2479e01d63922d406759104fed16e295b610119335 ssh-agent 07:05:59 SSH_AUTH_SOCK=/tmp/ssh-Cws1cmZQMgcG/agent.13 07:05:59 SSH_AGENT_PID=18 07:05:59 Running ssh-add (command line suppressed) 07:05:59 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-827@tmp/private_key_4468139289566624658.key (/w/workspace/dgexfoundry_device-sdk-go_PR-827@tmp/private_key_4468139289566624658.key) 07:05:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:06:00 + git tag --points-at HEAD [Pipeline] } 07:06:00 $ docker exec --env ******** --env ******** c8ee7a7238c567c4b290cf2479e01d63922d406759104fed16e295b610119335 ssh-agent -k 07:06:00 unset SSH_AUTH_SOCK; 07:06:00 unset SSH_AGENT_PID; 07:06:00 echo Agent pid 18 killed; 07:06:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:06:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:06:00 [ssh-agent] Looking for ssh-agent implementation... 07:06:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:06:00 $ docker exec c8ee7a7238c567c4b290cf2479e01d63922d406759104fed16e295b610119335 ssh-agent 07:06:00 SSH_AUTH_SOCK=/tmp/ssh-5dML3EY7ITqK/agent.47 07:06:00 SSH_AGENT_PID=52 07:06:00 Running ssh-add (command line suppressed) 07:06:00 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-827@tmp/private_key_4756595096376415889.key (/w/workspace/dgexfoundry_device-sdk-go_PR-827@tmp/private_key_4756595096376415889.key) 07:06:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:06:01 + git semver init 07:06:01 # -> Open(): unable to determine branch for HEAD 07:06:01 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-827/.git 07:06:01 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-827 07:06:01 # $SEMVER_REMOTE_NAME = origin 07:06:01 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:06:01 # $SEMVER_USER_NAME = edgex-jenkins 07:06:01 # $SEMVER_BRANCH = PR-827 07:06:01 # $SEMVER_TEMP = /tmp/semver-706609666 07:06:01 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 07:06:02 # '/tmp/semver-706609666' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-827/.semver' 07:06:02 # -> Force: false 07:06:02 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-827/.semver [Pipeline] } 07:06:02 $ docker exec --env ******** --env ******** c8ee7a7238c567c4b290cf2479e01d63922d406759104fed16e295b610119335 ssh-agent -k 07:06:02 unset SSH_AUTH_SOCK; 07:06:02 unset SSH_AGENT_PID; 07:06:02 echo Agent pid 52 killed; 07:06:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:06:03 + git semver [Pipeline] } 07:06:03 $ docker stop --time=1 c8ee7a7238c567c4b290cf2479e01d63922d406759104fed16e295b610119335 07:06:05 $ docker rm -f c8ee7a7238c567c4b290cf2479e01d63922d406759104fed16e295b610119335 [Pipeline] // withDockerContainer [Pipeline] sh 07:06:05 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:06:06 Stashed 1 file(s) [Pipeline] echo 07:06: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 07:06:21 Still waiting to schedule task 07:06:21 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-30508’ 07:06:21 Still waiting to schedule task 07:06:21 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 07:07:58 Running on prd-ubuntu18.04-docker-arm64-4c-16g-30509 in /w/workspace/dgexfoundry_device-sdk-go_PR-827 [Pipeline] { [Pipeline] ws 07:07:58 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 07:08:03 using credential edgex-jenkins-ssh 07:08:03 Cloning the remote Git repository 07:08:03 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 07:08:03 > git init /w/workspace/device-sdk-go/1 # timeout=10 07:08:03 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:08:03 > git --version # timeout=10 07:08:03 > git --version # 'git version 2.17.1' 07:08:03 using GIT_SSH to set credentials SSH Credentials for GitHub 07:08:03 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:08:05 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:08:05 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:08:05 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:08:05 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:08:05 using GIT_SSH to set credentials SSH Credentials for GitHub 07:08:05 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/827/head:refs/remotes/origin/PR-827 +refs/heads/master:refs/remotes/origin/master # timeout=10 07:08:05 Merging remotes/origin/master commit e2b795a37b7f4058c403051823a7e04e4e702841 into PR head commit 73f6dd7ae1dc48b71098234822fc44fe22aa7f90 07:08:06 Merge succeeded, producing 73f6dd7ae1dc48b71098234822fc44fe22aa7f90 07:08:06 Checking out Revision 73f6dd7ae1dc48b71098234822fc44fe22aa7f90 (PR-827) 07:08:05 > git config core.sparsecheckout # timeout=10 07:08:05 > git checkout -f 73f6dd7ae1dc48b71098234822fc44fe22aa7f90 # timeout=10 07:08:05 > git remote # timeout=10 07:08:06 > git config --get remote.origin.url # timeout=10 07:08:06 using GIT_SSH to set credentials SSH Credentials for GitHub 07:08:06 > git merge e2b795a37b7f4058c403051823a7e04e4e702841 # timeout=10 07:08:06 > git rev-parse HEAD^{commit} # timeout=10 07:08:06 > git config core.sparsecheckout # timeout=10 07:08:06 > git checkout -f 73f6dd7ae1dc48b71098234822fc44fe22aa7f90 # timeout=10 07:08:10 Commit message: "fix: remove StopAutoEvents call during bootstrap" 07:08:10 > git --version # timeout=10 07:08:10 > git --version # 'git version 2.17.1' 07:08:10 fatal: bad object 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:08:12 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 07:08:12 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 07:08:13 + sudo service docker restart 07:08:13 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 07:08:15 provisioning config files... 07:08:16 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config1396438298535062163tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:08:16 ---> docker-login.sh 07:08:16 nexus3.edgexfoundry.org:10001 07:08:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:08:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:08:17 Configure a credential helper to remove this warning. See 07:08:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:08:17 07:08:17 Login Succeeded 07:08:17 nexus3.edgexfoundry.org:10002 07:08:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:08:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:08:18 Configure a credential helper to remove this warning. See 07:08:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:08:18 07:08:18 Login Succeeded 07:08:18 nexus3.edgexfoundry.org:10003 07:08:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:08:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:08:18 Configure a credential helper to remove this warning. See 07:08:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:08:18 07:08:18 Login Succeeded 07:08:18 nexus3.edgexfoundry.org:10004 07:08:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:08:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:08:19 Configure a credential helper to remove this warning. See 07:08:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:08:19 07:08:19 Login Succeeded 07:08:19 docker.io 07:08:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:08:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:08:19 Configure a credential helper to remove this warning. See 07:08:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:08:19 07:08:19 Login Succeeded 07:08:19 ---> docker-login.sh ends [Pipeline] } 07:08:19 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:08:20 ========================================================= 07:08:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 07:08:20 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:08:20 + 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 . 07:08:21 Sending build context to Docker daemon 2.294MB 07:08:21 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 07:08:21 Step 2/8 : FROM ${BASE} 07:08:21 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:08:21 5f621e34cdf4: Pulling fs layer 07:08:21 a4357932f1b6: Pulling fs layer 07:08:21 18c013af1878: Pulling fs layer 07:08:21 00ac8860ef70: Pulling fs layer 07:08:21 63d7cb157983: Pulling fs layer 07:08:21 b116817d02f9: Pulling fs layer 07:08:21 745a02a5169b: Pulling fs layer 07:08:21 00ac8860ef70: Waiting 07:08:21 63d7cb157983: Waiting 07:08:21 b116817d02f9: Waiting 07:08:21 745a02a5169b: Waiting 07:08:21 18c013af1878: Verifying Checksum 07:08:21 18c013af1878: Download complete 07:08:21 a4357932f1b6: Verifying Checksum 07:08:21 a4357932f1b6: Download complete 07:08:21 63d7cb157983: Download complete 07:08:21 5f621e34cdf4: Verifying Checksum 07:08:21 5f621e34cdf4: Download complete 07:08:21 b116817d02f9: Download complete 07:08:22 5f621e34cdf4: Pull complete 07:08:22 a4357932f1b6: Pull complete 07:08:23 18c013af1878: Pull complete 07:08:24 745a02a5169b: Verifying Checksum 07:08:24 745a02a5169b: Download complete 07:08:25 00ac8860ef70: Verifying Checksum 07:08:25 00ac8860ef70: Download complete 07:08:38 00ac8860ef70: Pull complete 07:08:38 63d7cb157983: Pull complete 07:08:38 b116817d02f9: Pull complete 07:08:40 745a02a5169b: Pull complete 07:08:40 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 07:08:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 07:08:40 ---> b7e6874047d6 07:08:40 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:08:44 ---> Running in 17a93d88be92 07:08:44 Removing intermediate container 17a93d88be92 07:08:44 ---> 163547da3d21 07:08:44 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:08:44 ---> Running in 09322498715e 07:08:46 Removing intermediate container 09322498715e 07:08:46 ---> e5015d0dce9d 07:08:46 Step 5/8 : RUN apk add --update --no-cache make git 07:08:46 ---> Running in b5543c71d7bd 07:08:47 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 07:08:48 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 07:08:49 OK: 142 MiB in 39 packages 07:08:50 Removing intermediate container b5543c71d7bd 07:08:50 ---> a50537d59a9b 07:08:50 Step 6/8 : WORKDIR /device-sdk-go 07:08:50 ---> Running in 53c1dcb6d406 07:08:51 Removing intermediate container 53c1dcb6d406 07:08:51 ---> 432ded1a4e2f 07:08:51 Step 7/8 : COPY . . 07:08:52 ---> c7f0f9c13b9f 07:08:52 Step 8/8 : RUN go mod download 07:08:52 ---> Running in f2dedcbc65e8 07:08:57 Running on prd-centos7-docker-4c-2g-30510 in /w/workspace/dgexfoundry_device-sdk-go_PR-827 [Pipeline] { [Pipeline] ws 07:08:57 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 07:08:59 using credential edgex-jenkins-ssh 07:08:59 Cloning the remote Git repository 07:08:59 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 07:08:59 > git init /w/workspace/device-sdk-go/1 # timeout=10 07:08:59 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:08:59 > git --version # timeout=10 07:08:59 > git --version # 'git version 2.24.3' 07:08:59 using GIT_SSH to set credentials SSH Credentials for GitHub 07:08:59 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:09:01 Merging remotes/origin/master commit e2b795a37b7f4058c403051823a7e04e4e702841 into PR head commit 73f6dd7ae1dc48b71098234822fc44fe22aa7f90 07:09:01 Merge succeeded, producing 73f6dd7ae1dc48b71098234822fc44fe22aa7f90 07:09:01 Checking out Revision 73f6dd7ae1dc48b71098234822fc44fe22aa7f90 (PR-827) 07:09:00 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:09:00 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:09:00 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:09:00 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:09:00 using GIT_SSH to set credentials SSH Credentials for GitHub 07:09:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/827/head:refs/remotes/origin/PR-827 +refs/heads/master:refs/remotes/origin/master # timeout=10 07:09:01 > git config core.sparsecheckout # timeout=10 07:09:01 > git checkout -f 73f6dd7ae1dc48b71098234822fc44fe22aa7f90 # timeout=10 07:09:01 > git remote # timeout=10 07:09:01 > git config --get remote.origin.url # timeout=10 07:09:01 using GIT_SSH to set credentials SSH Credentials for GitHub 07:09:01 > git merge e2b795a37b7f4058c403051823a7e04e4e702841 # timeout=10 07:09:01 > git rev-parse HEAD^{commit} # timeout=10 07:09:01 > git config core.sparsecheckout # timeout=10 07:09:01 > git checkout -f 73f6dd7ae1dc48b71098234822fc44fe22aa7f90 # timeout=10 07:09:05 Commit message: "fix: remove StopAutoEvents call during bootstrap" 07:09:05 > git --version # timeout=10 07:09:05 > git --version # 'git version 2.24.3' 07:09:05 fatal: bad object 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:09:06 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 07:09:07 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 07:09:07 + sudo service docker restart 07:09:07 + true 07:09:07 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 07:09:08 provisioning config files... 07:09:08 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config4175727614340319526tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:09:09 ---> docker-login.sh 07:09:09 nexus3.edgexfoundry.org:10001 07:09:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:09:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:09:09 Configure a credential helper to remove this warning. See 07:09:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:09:09 07:09:09 Login Succeeded 07:09:09 nexus3.edgexfoundry.org:10002 07:09:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:09:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:09:09 Configure a credential helper to remove this warning. See 07:09:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:09:09 07:09:09 Login Succeeded 07:09:09 nexus3.edgexfoundry.org:10003 07:09:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:09:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:09:10 Configure a credential helper to remove this warning. See 07:09:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:09:10 07:09:10 Login Succeeded 07:09:10 nexus3.edgexfoundry.org:10004 07:09:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:09:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:09:10 Configure a credential helper to remove this warning. See 07:09:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:09:10 07:09:10 Login Succeeded 07:09:10 docker.io 07:09:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:09:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:09:10 Configure a credential helper to remove this warning. See 07:09:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:09:10 07:09:10 Login Succeeded 07:09:10 ---> docker-login.sh ends [Pipeline] } 07:09:10 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:09:11 ========================================================= 07:09:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 07:09:11 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:09:11 + 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 . 07:09:11 Sending build context to Docker daemon 2.301MB 07:09:11 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 07:09:11 Step 2/8 : FROM ${BASE} 07:09:12 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 07:09:12 188c0c94c7c5: Pulling fs layer 07:09:12 0ef7d3d256c8: Pulling fs layer 07:09:12 de9db76c5a1d: Pulling fs layer 07:09:12 bca2f99d35d6: Pulling fs layer 07:09:12 93359f2a8cfa: Pulling fs layer 07:09:12 7c6f9722023f: Pulling fs layer 07:09:12 a35cf1a2eb13: Pulling fs layer 07:09:12 93359f2a8cfa: Waiting 07:09:12 7c6f9722023f: Waiting 07:09:12 a35cf1a2eb13: Waiting 07:09:12 bca2f99d35d6: Waiting 07:09:12 de9db76c5a1d: Verifying Checksum 07:09:12 de9db76c5a1d: Download complete 07:09:12 0ef7d3d256c8: Download complete 07:09:12 93359f2a8cfa: Verifying Checksum 07:09:12 93359f2a8cfa: Download complete 07:09:12 188c0c94c7c5: Verifying Checksum 07:09:12 188c0c94c7c5: Download complete 07:09:12 7c6f9722023f: Verifying Checksum 07:09:12 7c6f9722023f: Download complete 07:09:12 188c0c94c7c5: Pull complete 07:09:12 0ef7d3d256c8: Pull complete 07:09:12 de9db76c5a1d: Pull complete 07:09:13 a35cf1a2eb13: Verifying Checksum 07:09:13 a35cf1a2eb13: Download complete 07:09:14 bca2f99d35d6: Verifying Checksum 07:09:14 bca2f99d35d6: Download complete 07:09:19 Removing intermediate container f2dedcbc65e8 07:09:19 ---> e6c25673b766 07:09:19 Successfully built e6c25673b766 07:09:19 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 07:09:19 + docker inspect -f . ci-base-image-arm64 07:09:19 . [Pipeline] withDockerContainer 07:09:19 prd-ubuntu18.04-docker-arm64-4c-16g-30509 does not seem to be running inside a container 07:09:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:09:21 bca2f99d35d6: Pull complete 07:09:21 93359f2a8cfa: Pull complete 07:09:21 7c6f9722023f: Pull complete 07:09:21 $ docker top 5cdd45e1152a6ecf3b470e05653d3137d9c466317086a9680cc0a4e02da14410 -eo pid,comm [Pipeline] { [Pipeline] sh 07:09:22 + go version 07:09:22 go version go1.15.5 linux/arm64 [Pipeline] } 07:09:22 $ docker stop --time=1 5cdd45e1152a6ecf3b470e05653d3137d9c466317086a9680cc0a4e02da14410 07:09:24 $ docker rm -f 5cdd45e1152a6ecf3b470e05653d3137d9c466317086a9680cc0a4e02da14410 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:09:25 + docker inspect -f . ci-base-image-arm64 07:09:25 . [Pipeline] withDockerContainer 07:09:26 prd-ubuntu18.04-docker-arm64-4c-16g-30509 does not seem to be running inside a container 07:09:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:09:26 a35cf1a2eb13: Pull complete 07:09:27 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 07:09:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 07:09:27 ---> a62c8e92a672 07:09:27 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:09:27 ---> Running in 3238221e490b 07:09:27 Removing intermediate container 3238221e490b 07:09:27 ---> dd598db00a13 07:09:27 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:09:27 ---> Running in 6ad7f64bdca2 07:09:27 $ docker top 8a503c6e6a8f10e586991261411445acc5ac375171edf22f884e6055b40fccc6 -eo pid,comm [Pipeline] { [Pipeline] sh 07:09:28 Removing intermediate container 6ad7f64bdca2 07:09:28 ---> 66acda3ffe26 07:09:28 Step 5/8 : RUN apk add --update --no-cache make git 07:09:28 ---> Running in 6ad82bc9dea3 07:09:28 + make test 07:09:28 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 07:09:29 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 07:09:29 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 07:09:30 OK: 166 MiB in 39 packages 07:09:30 Removing intermediate container 6ad82bc9dea3 07:09:30 ---> 3e89db4cb9ca 07:09:30 Step 6/8 : WORKDIR /device-sdk-go 07:09:30 ---> Running in 9678cb74b035 07:09:31 Removing intermediate container 9678cb74b035 07:09:31 ---> 69a9628ce4e8 07:09:31 Step 7/8 : COPY . . 07:09:32 ---> 942f8e91cda2 07:09:32 Step 8/8 : RUN go mod download 07:09:32 ---> Running in afd27c616475 07:09:51 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 07:09:54 Removing intermediate container afd27c616475 07:09:54 ---> 0d8138c82350 07:09:54 Successfully built 0d8138c82350 07:09:54 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 07:09:54 + docker inspect -f . ci-base-image-x86_64 07:09:54 . [Pipeline] withDockerContainer 07:09:54 prd-centos7-docker-4c-2g-30510 does not seem to be running inside a container 07:09:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:09:55 $ docker top f5b92df96daaf9bbead4229ad0e05eea692e6b7a84f483747ddf78bc4aab4838 -eo pid,comm [Pipeline] { [Pipeline] sh 07:09:57 + go version 07:09:57 go version go1.15.5 linux/amd64 [Pipeline] } 07:09:57 $ docker stop --time=1 f5b92df96daaf9bbead4229ad0e05eea692e6b7a84f483747ddf78bc4aab4838 07:09:58 $ docker rm -f f5b92df96daaf9bbead4229ad0e05eea692e6b7a84f483747ddf78bc4aab4838 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:09:59 + docker inspect -f . ci-base-image-x86_64 07:09:59 . [Pipeline] withDockerContainer 07:09:59 prd-centos7-docker-4c-2g-30510 does not seem to be running inside a container 07:09:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:10:00 $ docker top f4eb2e3ae16912f5d76550cbd9a4dd02f225a9529d021f911936d4140afc9b6d -eo pid,comm [Pipeline] { [Pipeline] sh 07:10:01 + make test 07:10:01 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 07:10:09 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 07:10:24 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 07:10:24 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 07:10:24 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 07:10:24 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 07:10:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.069s coverage: 25.5% of statements 07:10:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.076s coverage: 81.2% of statements 07:10:38 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 07:10:38 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 07:10:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 07:10:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 07:10:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.135s coverage: 25.5% of statements 07:10:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.150s coverage: 81.2% of statements 07:10:59 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.055s coverage: 10.5% of statements 07:10:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 07:10:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 07:10:59 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.102s coverage: 32.5% of statements 07:10:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 07:10:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 07:10:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 07:10:59 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.090s coverage: 57.3% of statements 07:10:59 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.156s coverage: 6.6% of statements 07:10:59 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.054s coverage: 5.1% of statements 07:10:59 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 07:10:59 GO111MODULE=on go vet ./... 07:11:04 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.166s coverage: 10.5% of statements 07:11:04 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 07:11:04 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 07:11:04 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.214s coverage: 32.5% of statements 07:11:04 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 07:11:04 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 07:11:04 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 07:11:04 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.270s coverage: 57.3% of statements 07:11:04 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.000s coverage: 6.6% of statements 07:11:04 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.122s coverage: 5.1% of statements 07:11:04 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 07:11:04 GO111MODULE=on go vet ./... 07:11:05 gofmt -l . 07:11:05 [ "`gofmt -l .`" = "" ] 07:11:05 ./bin/test-attribution-txt.sh 07:11:06 ./bin/test-go-mod-tidy.sh [Pipeline] } 07:11:07 $ docker stop --time=1 f4eb2e3ae16912f5d76550cbd9a4dd02f225a9529d021f911936d4140afc9b6d 07:11:09 $ docker rm -f f4eb2e3ae16912f5d76550cbd9a4dd02f225a9529d021f911936d4140afc9b6d [Pipeline] // withDockerContainer [Pipeline] sh 07:11:09 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:11:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:11:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:11:13 + ls -al . 07:11:13 total 184 07:11:13 drwxrwxr-x. 10 jenkins jenkins 4096 Mar 19 07:11 . 07:11:13 drwxrwxr-x. 4 jenkins jenkins 28 Mar 19 07:08 .. 07:11:13 drwxrwxr-x. 2 jenkins jenkins 64 Mar 19 07:09 bin 07:11:13 -rw-r--r--. 1 jenkins jenkins 99939 Mar 19 07:10 coverage.out 07:11:13 -rw-rw-r--. 1 jenkins jenkins 949 Mar 19 07:09 Dockerfile.build 07:11:13 -rw-rw-r--. 1 jenkins jenkins 140 Mar 19 07:09 .dockerignore 07:11:13 drwxrwxr-x. 4 jenkins jenkins 48 Mar 19 07:09 example 07:11:13 drwxrwxr-x. 8 jenkins jenkins 179 Mar 19 07:09 .git 07:11:13 drwxrwxr-x. 2 jenkins jenkins 103 Mar 19 07:09 .github 07:11:13 -rw-rw-r--. 1 jenkins jenkins 138 Mar 19 07:09 .gitignore 07:11:13 -rw-r--r--. 1 jenkins jenkins 479 Mar 19 07:11 go.mod 07:11:13 -rw-r--r--. 1 jenkins jenkins 17490 Mar 19 07:11 go.sum 07:11:13 drwxrwxr-x. 13 jenkins jenkins 193 Mar 19 07:09 internal 07:11:13 -rw-rw-r--. 1 jenkins jenkins 901 Mar 19 07:09 Jenkinsfile 07:11:13 -rw-rw-r--. 1 jenkins jenkins 11341 Mar 19 07:09 LICENSE 07:11:13 -rw-rw-r--. 1 jenkins jenkins 1016 Mar 19 07:09 Makefile 07:11:13 drwxrwxr-x. 4 jenkins jenkins 26 Mar 19 07:09 openapi 07:11:13 drwxrwxr-x. 5 jenkins jenkins 50 Mar 19 07:09 pkg 07:11:13 -rw-rw-r--. 1 jenkins jenkins 5897 Mar 19 07:09 README.md 07:11:13 -rw-rw-r--. 1 jenkins jenkins 6616 Mar 19 07:09 RELEASE-NOTES.txt 07:11:13 drwxrwxr-x. 4 jenkins jenkins 54 Mar 19 07:09 snap 07:11:13 -rw-rw-r--. 1 jenkins jenkins 5 Mar 19 07:06 VERSION 07:11:13 -rw-rw-r--. 1 jenkins jenkins 222 Mar 19 07:09 version.go [Pipeline] isUnix [Pipeline] sh 07:11:13 + 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=73f6dd7ae1dc48b71098234822fc44fe22aa7f90 --label arch=amd64 --label version=0.0.0 . 07:11:14 Sending build context to Docker daemon 2.402MB 07:11:14 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 07:11:14 Step 2/24 : FROM ${BASE} AS builder 07:11:14 ---> 0d8138c82350 07:11:14 Step 3/24 : ARG MAKE='make build' 07:11:14 ---> Running in 393befaf35fe 07:11:14 Removing intermediate container 393befaf35fe 07:11:14 ---> dcc8220a3df9 07:11:14 Step 4/24 : WORKDIR /device-sdk-go 07:11:14 ---> Running in 3452507c77e9 07:11:15 Removing intermediate container 3452507c77e9 07:11:15 ---> b3187d9f4e15 07:11:15 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:11:15 ---> Running in c08b8c1fc3b1 07:11:15 Removing intermediate container c08b8c1fc3b1 07:11:15 ---> 93315eeac73f 07:11:15 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:11:15 ---> Running in a8785bec8bc0 07:11:16 Removing intermediate container a8785bec8bc0 07:11:16 ---> 1a599cf6056f 07:11:16 Step 7/24 : RUN apk add --update --no-cache make git 07:11:16 ---> Running in 065d36fcc6f8 07:11:16 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 07:11:17 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 07:11:18 OK: 166 MiB in 39 packages 07:11:19 Removing intermediate container 065d36fcc6f8 07:11:19 ---> 12d4db57137e 07:11:19 Step 8/24 : COPY . . 07:11:20 ---> f5914b845627 07:11:20 Step 9/24 : RUN ${MAKE} 07:11:20 ---> Running in f7f50a3c854d 07:11:20 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:11:30 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 07:11:31 Removing intermediate container f7f50a3c854d 07:11:31 ---> 83def84a824d 07:11:31 Step 10/24 : FROM scratch 07:11:31 ---> 07:11:31 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:11:31 ---> Running in 4e80018ef3ef 07:11:31 Removing intermediate container 4e80018ef3ef 07:11:31 ---> ac7b513cf890 07:11:31 Step 12/24 : ENV APP_PORT=49990 07:11:31 ---> Running in 366973a1bee1 07:11:31 Removing intermediate container 366973a1bee1 07:11:31 ---> d29c5f6da6f9 07:11:31 Step 13/24 : EXPOSE $APP_PORT 07:11:31 ---> Running in c868972bd10c 07:11:32 Removing intermediate container c868972bd10c 07:11:32 ---> c8703d69a8a4 07:11:32 Step 14/24 : WORKDIR / 07:11:32 ---> Running in a4bd1a5f243c 07:11:32 Removing intermediate container a4bd1a5f243c 07:11:32 ---> 3367ab5dbae7 07:11:32 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 07:11:32 ---> d00c51274b43 07:11:32 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 07:11:32 ---> e8623d1143f5 07:11:32 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 07:11:33 ---> 1fcc9b081295 07:11:33 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 07:11:33 ---> 964ac1b03f95 07:11:33 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 07:11:33 ---> 51f117d0ea8c 07:11:33 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 07:11:34 ---> Running in 19729e30e9f5 07:11:34 Removing intermediate container 19729e30e9f5 07:11:34 ---> 12d6cc16c1f3 07:11:34 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:11:34 ---> Running in 75302b2236b7 07:11:34 Removing intermediate container 75302b2236b7 07:11:34 ---> 4bb700384a4b 07:11:34 Step 22/24 : LABEL arch=amd64 07:11:34 ---> Running in 342cb8360b19 07:11:34 Removing intermediate container 342cb8360b19 07:11:34 ---> 55056fbf0153 07:11:34 Step 23/24 : LABEL git_sha=73f6dd7ae1dc48b71098234822fc44fe22aa7f90 07:11:34 ---> Running in df97b964118e 07:11:34 Removing intermediate container df97b964118e 07:11:34 ---> 1eba74a03d57 07:11:34 Step 24/24 : LABEL version=0.0.0 07:11:34 ---> Running in 336fa392e486 07:11:35 Removing intermediate container 336fa392e486 07:11:35 ---> 55ed8ee3c999 07:11:35 [Warning] One or more build-args [ARCH] were not consumed 07:11:35 Successfully built 55ed8ee3c999 07:11:35 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 Post stage [Pipeline] libraryResource [Pipeline] sh 07:11:36 ---> job-cost.sh 07:11:36 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-kuDz 07:11:44 gofmt -l . 07:11:44 [ "`gofmt -l .`" = "" ] 07:11:44 ./bin/test-attribution-txt.sh 07:11:44 ./bin/test-go-mod-tidy.sh [Pipeline] } 07:11:44 $ docker stop --time=1 8a503c6e6a8f10e586991261411445acc5ac375171edf22f884e6055b40fccc6 07:11:46 $ docker rm -f 8a503c6e6a8f10e586991261411445acc5ac375171edf22f884e6055b40fccc6 [Pipeline] // withDockerContainer [Pipeline] sh 07:11:47 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:11:47 Warning: overwriting stash ‘coverage-report’ 07:11:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:11:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:11:49 + ls -al . 07:11:49 total 220 07:11:49 drwxrwxr-x 10 jenkins jenkins 4096 Mar 19 07:11 . 07:11:49 drwxrwxr-x 4 jenkins jenkins 4096 Mar 19 07:08 .. 07:11:49 -rw-rw-r-- 1 jenkins jenkins 140 Mar 19 07:08 .dockerignore 07:11:49 drwxrwxr-x 8 jenkins jenkins 4096 Mar 19 07:08 .git 07:11:49 drwxrwxr-x 2 jenkins jenkins 4096 Mar 19 07:08 .github 07:11:49 -rw-rw-r-- 1 jenkins jenkins 138 Mar 19 07:08 .gitignore 07:11:49 -rw-rw-r-- 1 jenkins jenkins 949 Mar 19 07:08 Dockerfile.build 07:11:49 -rw-rw-r-- 1 jenkins jenkins 901 Mar 19 07:08 Jenkinsfile 07:11:49 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 19 07:08 LICENSE 07:11:49 -rw-rw-r-- 1 jenkins jenkins 1016 Mar 19 07:08 Makefile 07:11:49 -rw-rw-r-- 1 jenkins jenkins 5897 Mar 19 07:08 README.md 07:11:49 -rw-rw-r-- 1 jenkins jenkins 6616 Mar 19 07:08 RELEASE-NOTES.txt 07:11:49 -rw-rw-r-- 1 jenkins jenkins 5 Mar 19 07:06 VERSION 07:11:49 drwxrwxr-x 2 jenkins jenkins 4096 Mar 19 07:08 bin 07:11:49 -rw-r--r-- 1 jenkins jenkins 99939 Mar 19 07:11 coverage.out 07:11:49 drwxrwxr-x 4 jenkins jenkins 4096 Mar 19 07:08 example 07:11:49 -rw-r--r-- 1 jenkins jenkins 479 Mar 19 07:11 go.mod 07:11:49 -rw-r--r-- 1 jenkins jenkins 17490 Mar 19 07:11 go.sum 07:11:49 drwxrwxr-x 13 jenkins jenkins 4096 Mar 19 07:08 internal 07:11:49 drwxrwxr-x 4 jenkins jenkins 4096 Mar 19 07:08 openapi 07:11:49 drwxrwxr-x 5 jenkins jenkins 4096 Mar 19 07:08 pkg 07:11:49 drwxrwxr-x 4 jenkins jenkins 4096 Mar 19 07:08 snap 07:11:49 -rw-rw-r-- 1 jenkins jenkins 222 Mar 19 07:08 version.go [Pipeline] isUnix [Pipeline] sh 07:11:50 + 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=73f6dd7ae1dc48b71098234822fc44fe22aa7f90 --label arch=arm64 --label version=0.0.0 . 07:11:50 Sending build context to Docker daemon 2.395MB 07:11:50 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 07:11:50 Step 2/24 : FROM ${BASE} AS builder 07:11:50 ---> e6c25673b766 07:11:50 Step 3/24 : ARG MAKE='make build' 07:11:50 ---> Running in 990b1a1e03dd 07:11:51 Removing intermediate container 990b1a1e03dd 07:11:51 ---> 366575d91d34 07:11:51 Step 4/24 : WORKDIR /device-sdk-go 07:11:51 ---> Running in 52bd998134df 07:11:51 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 07:11:52 Removing intermediate container 52bd998134df 07:11:52 ---> 6975eda8a559 07:11:52 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:11:52 ---> Running in d17a5add2836 07:11:52 Removing intermediate container d17a5add2836 07:11:52 ---> b84d1acd6890 07:11:52 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:11:52 ---> Running in 192b5623d454 07:11:54 Removing intermediate container 192b5623d454 07:11:54 ---> 73492c72d7a7 07:11:54 Step 7/24 : RUN apk add --update --no-cache make git 07:11:54 ---> Running in a22ad10f96bd 07:11:55 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 07:11:56 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 07:11:58 OK: 142 MiB in 39 packages 07:11:59 Removing intermediate container a22ad10f96bd 07:11:59 ---> 62f6ac10e006 07:11:59 Step 8/24 : COPY . . 07:12:00 ---> f60a54a94c96 07:12:00 Step 9/24 : RUN ${MAKE} 07:12:00 ---> Running in 9534dbdf7284 07:12:01 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:12:18 lf-activate-venv(): INFO: Adding /tmp/venv-kuDz/bin to PATH 07:12:18 INFO: No Stack... 07:12:19 INFO: Retrieving Pricing Info for: v1-standard-2 07:12:19 INFO: Archiving Costs [Pipeline] sh 07:12:20 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 07:12:20 + cut -d, -f6 [Pipeline] lock 07:12:20 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-827-1-stack-cost] 07:12:20 Resource [jenkins-edgexfoundry-device-sdk-go-PR-827-1-stack-cost] did not exist. Created. 07:12:20 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-827-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:12:20 + echo total: 0.029999999329447746 [Pipeline] stash 07:12:20 Stashed 1 file(s) [Pipeline] } 07:12:20 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-827-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 07:12:28 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 07:12:29 Removing intermediate container 9534dbdf7284 07:12:29 ---> 4bf29df73981 07:12:29 Step 10/24 : FROM scratch 07:12:29 ---> 07:12:29 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:12:29 ---> Running in 223492d3ec16 07:12:29 Removing intermediate container 223492d3ec16 07:12:29 ---> 0fc317d06072 07:12:29 Step 12/24 : ENV APP_PORT=49990 07:12:29 ---> Running in 2191d65f0f02 07:12:30 Removing intermediate container 2191d65f0f02 07:12:30 ---> 5c2704fe4a30 07:12:30 Step 13/24 : EXPOSE $APP_PORT 07:12:30 ---> Running in 8ecdf13b76fb 07:12:30 Removing intermediate container 8ecdf13b76fb 07:12:30 ---> 391fd6d85ea7 07:12:30 Step 14/24 : WORKDIR / 07:12:30 ---> Running in 3202f0dfeaba 07:12:31 Removing intermediate container 3202f0dfeaba 07:12:31 ---> 681dbec708b3 07:12:31 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 07:12:32 ---> b081663cc5f4 07:12:32 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 07:12:33 ---> 9510950a09cb 07:12:33 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 07:12:33 ---> 09ff25267437 07:12:33 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 07:12:34 ---> 2d6e31cea72d 07:12:34 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 07:12:35 ---> 19411ab52e71 07:12:35 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 07:12:35 ---> Running in c9dff546c974 07:12:36 Removing intermediate container c9dff546c974 07:12:36 ---> 4ed8bbc565b5 07:12:36 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:12:36 ---> Running in c6acd7050c68 07:12:36 Removing intermediate container c6acd7050c68 07:12:36 ---> bb1b8fcbbb0c 07:12:36 Step 22/24 : LABEL arch=arm64 07:12:36 ---> Running in cd3a9f3c8b3f 07:12:36 Removing intermediate container cd3a9f3c8b3f 07:12:36 ---> 4657864b0dec 07:12:36 Step 23/24 : LABEL git_sha=73f6dd7ae1dc48b71098234822fc44fe22aa7f90 07:12:37 ---> Running in c80dac282383 07:12:37 Removing intermediate container c80dac282383 07:12:37 ---> 73ceebbff9c8 07:12:37 Step 24/24 : LABEL version=0.0.0 07:12:37 ---> Running in 144366b695cf 07:12:38 Removing intermediate container 144366b695cf 07:12:38 ---> dcd9da125e4f 07:12:38 [Warning] One or more build-args [ARCH] were not consumed 07:12:38 Successfully built dcd9da125e4f 07:12:38 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 Post stage [Pipeline] libraryResource [Pipeline] sh 07:12:39 ---> job-cost.sh 07:12:39 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-LHZB 07:13:18 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 07:14:39 lf-activate-venv(): INFO: Adding /tmp/venv-LHZB/bin to PATH 07:14:39 INFO: No Stack... 07:14:39 INFO: Retrieving Pricing Info for: lf-standard-4 07:14:39 INFO: Archiving Costs [Pipeline] sh 07:14:40 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 07:14:40 + cut -d, -f6 [Pipeline] lock 07:14:40 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-827-1-stack-cost] 07:14:40 Resource [jenkins-edgexfoundry-device-sdk-go-PR-827-1-stack-cost] did not exist. Created. 07:14:40 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-827-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:14:40 /w/workspace/device-sdk-go/1@tmp/durable-eed5cb16/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-eed5cb16/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 07:14:41 + echo total: 0.20999999344348907 [Pipeline] stash 07:14:41 Warning: overwriting stash ‘stack-cost’ 07:14:41 Stashed 1 file(s) [Pipeline] } 07:14:41 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-827-1-stack-cost] [Pipeline] // lock [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:14:43 provisioning config files... 07:14:43 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-827@tmp/config7693901941007558784tmp [Pipeline] { [Pipeline] sh 07:14:43 + set +x 07:14:43 + curl -s https://codecov.io/bash 07:14:43 + bash -s -- 07:14:44 07:14:44 _____ _ 07:14:44 / ____| | | 07:14:44 | | ___ __| | ___ ___ _____ __ 07:14:44 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:14:44 | |___| (_) | (_| | __/ (_| (_) \ V / 07:14:44 \_____\___/ \__,_|\___|\___\___/ \_/ 07:14:44 Bash-20210309-2b87ace 07:14:44 07:14:44 07:14:44 ==> git version 2.24.3 found 07:14:44 ==> 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:14:44 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 07:14:44 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 07:14:44 ==> Jenkins CI detected. 07:14:44 project root: . 07:14:44 --> token set from env 07:14:44 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:14:44 ==> Running gcov in . (disable via -X gcov) 07:14:44 ==> Python coveragepy not found 07:14:44 ==> Searching for coverage reports in: 07:14:44 + . 07:14:44 -> Found 1 reports 07:14:44 ==> Detecting git/mercurial file structure 07:14:44 ==> Reading reports 07:14:44 + ./coverage.out bytes=99939 07:14:44 ==> Appending adjustments 07:14:44 https://docs.codecov.io/docs/fixing-reports 07:14:44 + Found adjustments 07:14:44 ==> Gzipping contents 07:14:44 16K /tmp/codecov.j57GDQ.gz 07:14:44 ==> Uploading reports 07:14:44 url: https://codecov.io 07:14:44 query: branch=PR-827&commit=73f6dd7ae1dc48b71098234822fc44fe22aa7f90&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-827%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=827&job=&cmd_args= 07:14:44 -> Pinging Codecov 07:14:44 https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-827&commit=73f6dd7ae1dc48b71098234822fc44fe22aa7f90&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-827%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=827&job=&cmd_args= 07:14:44 -> Uploading to 07:14:44 https://storage.googleapis.com/codecov/v4/raw/2021-03-19/7E55EF52A471D76F132DFD9A03CDDE97/73f6dd7ae1dc48b71098234822fc44fe22aa7f90/8bf1b3ad-4153-48f0-b5ca-0c723f223b14.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210319%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210319T071444Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=bf3bb0baff074bd1e63d8dc09fdb970ec5e4b9d42296055728d1c414f5621f50 07:14:44 % Total % Received % Xferd Average Speed Time Time Time Current 07:14:44 Dload Upload Total Spent Left Speed 07:14:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13457 0 0 100 13457 0 28623 --:--:-- --:--:-- --:--:-- 28631 07:14:45 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/73f6dd7ae1dc48b71098234822fc44fe22aa7f90 [Pipeline] } 07:14:45 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] { (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:14:48 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:14:49 ---> package-listing.sh 07:14:49 ++ facter osfamily 07:14:49 ++ tr '[:upper:]' '[:lower:]' 07:14:49 + OS_FAMILY=redhat 07:14:49 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-827 07:14:49 + START_PACKAGES=/tmp/packages_start.txt 07:14:49 + END_PACKAGES=/tmp/packages_end.txt 07:14:49 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:14:49 + PACKAGES=/tmp/packages_start.txt 07:14:49 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-827 ']' 07:14:49 + PACKAGES=/tmp/packages_end.txt 07:14:49 + case "${OS_FAMILY}" in 07:14:49 + rpm -qa 07:14:49 + sort 07:14:54 + '[' -f /tmp/packages_start.txt ']' 07:14:54 + '[' -f /tmp/packages_end.txt ']' 07:14:54 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:14:54 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-827 ']' 07:14:54 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-827/archives/ 07:14:54 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-827/archives/ [Pipeline] echo 07:14:54 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-827/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:14:55 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 07:14:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:14:55 07:14:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 07:14:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:14:55 alpine: Pulling from edgex-lftools-log-publisher 07:14:55 df20fa9351a1: Pulling fs layer 07:14:55 36b3adc4ff6f: Pulling fs layer 07:14:55 8ad3a11d3b57: Pulling fs layer 07:14:55 46f8f816bc3b: Pulling fs layer 07:14:55 93b61091891f: Pulling fs layer 07:14:55 93b9cdb0e59b: Pulling fs layer 07:14:55 5e14af77c1be: Pulling fs layer 07:14:55 01666e4c0597: Pulling fs layer 07:14:55 aa168da1d23b: Pulling fs layer 07:14:55 46f8f816bc3b: Waiting 07:14:55 5e14af77c1be: Waiting 07:14:55 01666e4c0597: Waiting 07:14:55 93b61091891f: Waiting 07:14:55 aa168da1d23b: Waiting 07:14:55 93b9cdb0e59b: Waiting 07:14:55 36b3adc4ff6f: Verifying Checksum 07:14:55 36b3adc4ff6f: Download complete 07:14:55 46f8f816bc3b: Verifying Checksum 07:14:55 46f8f816bc3b: Download complete 07:14:56 df20fa9351a1: Download complete 07:14:56 93b9cdb0e59b: Verifying Checksum 07:14:56 93b9cdb0e59b: Download complete 07:14:56 5e14af77c1be: Verifying Checksum 07:14:56 5e14af77c1be: Download complete 07:14:56 01666e4c0597: Verifying Checksum 07:14:56 01666e4c0597: Download complete 07:14:56 93b61091891f: Verifying Checksum 07:14:56 93b61091891f: Download complete 07:14:56 df20fa9351a1: Pull complete 07:14:56 36b3adc4ff6f: Pull complete 07:14:56 8ad3a11d3b57: Verifying Checksum 07:14:56 8ad3a11d3b57: Download complete 07:14:57 8ad3a11d3b57: Pull complete 07:14:58 46f8f816bc3b: Pull complete 07:14:58 93b61091891f: Pull complete 07:14:58 aa168da1d23b: Verifying Checksum 07:14:58 aa168da1d23b: Download complete 07:14:58 93b9cdb0e59b: Pull complete 07:14:59 5e14af77c1be: Pull complete 07:14:59 01666e4c0597: Pull complete 07:15:06 aa168da1d23b: Pull complete 07:15:06 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 07:15:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:15:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 07:15:06 prd-centos7-docker-4c-2g-30508 does not seem to be running inside a container 07:15:06 $ 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-827/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-827 -v /w/workspace/dgexfoundry_device-sdk-go_PR-827:/w/workspace/dgexfoundry_device-sdk-go_PR-827:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-827@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-827@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:10003/edgex-lftools-log-publisher:alpine cat 07:15:09 $ docker top d0edd9024d01ba3187efa1eabdd9653de609a12fae199eea8d0dba4438e2c845 -eo pid,comm [Pipeline] { [Pipeline] sh 07:15:10 + touch /tmp/pre-build-complete [Pipeline] sh 07:15:10 + mkdir -p /var/log/sa [Pipeline] sh 07:15:11 + ls /var/log/sa-host 07:15:11 + sadf -c /var/log/sa-host/sa19 07:15:11 file_magic: OK 07:15:11 HZ: Using current value: 100 07:15:11 file_header: OK 07:15:11 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:15:11 Statistics: 07:15:11 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 07:15:11 File successfully converted to sysstat format version 12.2.1 07:15:11 + sadf -c /var/log/sa-host/sa23 07:15:11 file_magic: OK 07:15:11 HZ: Using current value: 100 07:15:11 file_header: OK 07:15:11 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:15:11 Statistics: 07:15:11 Hnuu...uuuununununu... 07:15:11 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:15:11 provisioning config files... 07:15:11 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-827@tmp/config705486788458240648tmp [Pipeline] { [Pipeline] echo 07:15:11 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:15:12 ---> create-netrc.sh [Pipeline] } 07:15:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 07:15:12 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 07:15:12 ---> python-tools-install.sh [Pipeline] echo 07:15:12 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:15:13 ---> sudo-logs.sh 07:15:13 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:15:13 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:15:13 ---> job-cost.sh 07:15:13 lf-activate-venv: SKIPPING 07:15:13 DEBUG: total: 0.20999999344348907 07:15:13 INFO: Retrieving Stack Cost... 07:15:14 INFO: Retrieving Pricing Info for: v1-standard-2 07:15:15 INFO: Archiving Costs [Pipeline] echo 07:15:15 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:15:15 ---> logs-deploy.sh 07:15:15 lf-activate-venv: SKIPPING 07:15:15 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-827/1 07:15:15 INFO: archiving workspace using pattern(s): 07:15:16 Archives upload complete. 07:15:17 INFO: archiving logs to Nexus 07:15:18 ---> uname -a: 07:15:18 Linux prd-centos7-docker-4c-2g-30508.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:15:18 07:15:18 07:15:18 ---> lscpu: 07:15:18 Architecture: x86_64 07:15:18 CPU op-mode(s): 32-bit, 64-bit 07:15:18 Byte Order: Little Endian 07:15:18 Address sizes: 40 bits physical, 48 bits virtual 07:15:18 CPU(s): 4 07:15:18 On-line CPU(s) list: 0-3 07:15:18 Thread(s) per core: 1 07:15:18 Core(s) per socket: 1 07:15:18 Socket(s): 4 07:15:18 NUMA node(s): 1 07:15:18 Vendor ID: GenuineIntel 07:15:18 CPU family: 6 07:15:18 Model: 44 07:15:18 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 07:15:18 Stepping: 1 07:15:18 CPU MHz: 2933.436 07:15:18 BogoMIPS: 5866.87 07:15:18 Virtualization: VT-x 07:15:18 Hypervisor vendor: KVM 07:15:18 Virtualization type: full 07:15:18 L1d cache: 128 KiB 07:15:18 L1i cache: 128 KiB 07:15:18 L2 cache: 16 MiB 07:15:18 L3 cache: 64 MiB 07:15:18 NUMA node0 CPU(s): 0-3 07:15:18 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 07:15:18 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 07:15:18 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 07:15:18 Vulnerability Meltdown: Mitigation; PTI 07:15:18 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 07:15:18 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 07:15:18 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 07:15:18 Vulnerability Srbds: Not affected 07:15:18 Vulnerability Tsx async abort: Not affected 07:15:18 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:15:18 07:15:18 07:15:18 ---> nproc: 07:15:18 4 07:15:18 07:15:18 07:15:18 ---> df -h: 07:15:18 Filesystem Size Used Available Use% Mounted on 07:15:18 overlay 50.0G 7.3G 42.7G 15% / 07:15:18 tmpfs 64.0M 0 64.0M 0% /dev 07:15:18 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 07:15:18 shm 64.0M 0 64.0M 0% /dev/shm 07:15:18 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 07:15:18 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 07:15:18 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 07:15:18 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 07:15:18 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 07:15:18 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-827 07:15:18 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 07:15:18 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-827@tmp 07:15:18 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 07:15:18 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 07:15:18 07:15:18