Pull request #995 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 cherrycl for edgexfoundry/device-sdk-go Loading trusted files from base branch master at 453c90017645f0c1aacfabdcdc15791e5757fa99 rather than f71d0382f7893658433cb9dc5974898582d7726a Obtained Jenkinsfile from 453c90017645f0c1aacfabdcdc15791e5757fa99 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7321506250961964204.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6a41506d72e8e131afc862d141935157bee59f41 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh4159119095133824212.key > 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 6a41506d72e8e131afc862d141935157bee59f41 The recommended git tool is: git 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-995/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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-995/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh9203864928189072605.key > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-995/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7157737063366099793.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6a41506d72e8e131afc862d141935157bee59f41 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6a41506d72e8e131afc862d141935157bee59f41 # timeout=10 Commit message: "Merge pull request #340 from ernestojeda/enable-snap-stage" > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1600606796925185560.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 958cd7e315bbc9ba310183e4d590ee91b14940ee The recommended git tool is: NONE 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-995/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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-995/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5277814759408822100.key > 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 Avoid second fetch Checking out Revision 958cd7e315bbc9ba310183e4d590ee91b14940ee (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 958cd7e315bbc9ba310183e4d590ee91b14940ee # timeout=10 Commit message: "Fix: job-cost.sh no longer causes build failures" > 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 6a41506d72e8e131afc862d141935157bee59f41 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:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[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.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: 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/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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-810 in /w/workspace/dgexfoundry_device-sdk-go_PR-995 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE 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-995 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/dgexfoundry_device-sdk-go_PR-995@tmp/jenkins-gitclient-ssh6726241562935841454.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 453c90017645f0c1aacfabdcdc15791e5757fa99 into PR head commit f71d0382f7893658433cb9dc5974898582d7726a Merge succeeded, producing f71d0382f7893658433cb9dc5974898582d7726a Checking out Revision f71d0382f7893658433cb9dc5974898582d7726a (PR-995) > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/dgexfoundry_device-sdk-go_PR-995@tmp/jenkins-gitclient-ssh1747642752966853430.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/995/head:refs/remotes/origin/PR-995 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f71d0382f7893658433cb9dc5974898582d7726a # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/dgexfoundry_device-sdk-go_PR-995@tmp/jenkins-gitclient-ssh8583346680894686804.key > git merge 453c90017645f0c1aacfabdcdc15791e5757fa99 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f71d0382f7893658433cb9dc5974898582d7726a # timeout=10 Commit message: "fix: Change V2 Swagger API version to 2.0.0" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-30T03:01:57.136Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-30T03:01:57.339Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-30T03:01:57.452Z] ========================================================= [2021-06-30T03:01:57.452Z] EdgeX Global Pipelines Version Info [2021-06-30T03:01:57.452Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-30T03:01:58.963Z] ------------------- [2021-06-30T03:01:58.963Z] stable info: [2021-06-30T03:01:58.963Z] ------------------- [2021-06-30T03:01:58.963Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-30T03:01:58.963Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-30T03:01:58.963Z] Message: update stable to v1.0.195 [2021-06-30T03:01:59.542Z] ------------------- [2021-06-30T03:01:59.542Z] experimental info: [2021-06-30T03:01:59.542Z] ------------------- [2021-06-30T03:01:59.542Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-30T03:01:59.542Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-30T03:01:59.542Z] Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-30T03:01:59.925Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-06-30T03:02:00.030Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-06-30T03:02:00.104Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-30T03:02:00.155Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-30T03:02:00.211Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-30T03:02:00.297Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-30T03:02:00.368Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-30T03:02:00.423Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-30T03:02:00.478Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-06-30T03:02:00.544Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-30T03:02:00.605Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-30T03:02:00.664Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-06-30T03:02:00.734Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-30T03:02:00.789Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-30T03:02:00.846Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-30T03:02:00.907Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-06-30T03:02:00.962Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-30T03:02:01.017Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-30T03:02:01.071Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-30T03:02:01.130Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-30T03:02:01.185Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-06-30T03:02:01.241Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-06-30T03:02:01.299Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-30T03:02:01.358Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-30T03:02:01.436Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-30T03:02:01.496Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-30T03:02:01.554Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-995 [Pipeline] echo [2021-06-30T03:02:01.608Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-995 [Pipeline] echo [2021-06-30T03:02:01.665Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-995 [Pipeline] echo [2021-06-30T03:02:01.721Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f71d0382f7893658433cb9dc5974898582d7726a [Pipeline] echo [2021-06-30T03:02:01.799Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f71d038 [Pipeline] echo [2021-06-30T03:02:01.861Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-30T03:02:02.029Z] provisioning config files... [2021-06-30T03:02:02.055Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-995@tmp/config8927593861212640807tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-30T03:02:02.468Z] ---> docker-login.sh [2021-06-30T03:02:02.468Z] nexus3.edgexfoundry.org:10001 [2021-06-30T03:02:02.735Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T03:02:02.735Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T03:02:02.735Z] Configure a credential helper to remove this warning. See [2021-06-30T03:02:02.735Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T03:02:02.735Z] [2021-06-30T03:02:02.735Z] Login Succeeded [2021-06-30T03:02:02.735Z] nexus3.edgexfoundry.org:10002 [2021-06-30T03:02:02.735Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T03:02:03.002Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T03:02:03.002Z] Configure a credential helper to remove this warning. See [2021-06-30T03:02:03.002Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T03:02:03.002Z] [2021-06-30T03:02:03.002Z] Login Succeeded [2021-06-30T03:02:03.002Z] nexus3.edgexfoundry.org:10003 [2021-06-30T03:02:03.002Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T03:02:03.002Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T03:02:03.002Z] Configure a credential helper to remove this warning. See [2021-06-30T03:02:03.002Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T03:02:03.002Z] [2021-06-30T03:02:03.002Z] Login Succeeded [2021-06-30T03:02:03.002Z] nexus3.edgexfoundry.org:10004 [2021-06-30T03:02:03.002Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T03:02:03.263Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T03:02:03.263Z] Configure a credential helper to remove this warning. See [2021-06-30T03:02:03.263Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T03:02:03.263Z] [2021-06-30T03:02:03.263Z] Login Succeeded [2021-06-30T03:02:03.263Z] docker.io [2021-06-30T03:02:03.263Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T03:02:03.524Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T03:02:03.524Z] Configure a credential helper to remove this warning. See [2021-06-30T03:02:03.524Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T03:02:03.524Z] [2021-06-30T03:02:03.524Z] Login Succeeded [2021-06-30T03:02:03.524Z] ---> docker-login.sh ends [Pipeline] } [2021-06-30T03:02:03.554Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-30T03:02:04.316Z] + git log --format=format:%s -1 f71d0382f7893658433cb9dc5974898582d7726a [Pipeline] echo [2021-06-30T03:02:04.379Z] GIT_COMMIT: f71d0382f7893658433cb9dc5974898582d7726a, Commit Message: fix: Change V2 Swagger API version to 2.0.0 [Pipeline] echo [2021-06-30T03:02:04.425Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-30T03:02:05.248Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-30T03:02:05.248Z] [2021-06-30T03:02:05.248Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-30T03:02:05.625Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-30T03:02:05.625Z] latest: Pulling from edgex-devops/git-semver [2021-06-30T03:02:05.625Z] 31603596830f: Pulling fs layer [2021-06-30T03:02:05.625Z] 54011a49482f: Pulling fs layer [2021-06-30T03:02:05.625Z] a6820b24f6d8: Pulling fs layer [2021-06-30T03:02:05.625Z] f581987b2513: Pulling fs layer [2021-06-30T03:02:05.626Z] f581987b2513: Waiting [2021-06-30T03:02:05.626Z] 54011a49482f: Verifying Checksum [2021-06-30T03:02:05.626Z] 54011a49482f: Download complete [2021-06-30T03:02:05.886Z] 31603596830f: Verifying Checksum [2021-06-30T03:02:05.886Z] 31603596830f: Download complete [2021-06-30T03:02:05.886Z] f581987b2513: Verifying Checksum [2021-06-30T03:02:05.886Z] f581987b2513: Download complete [2021-06-30T03:02:05.886Z] a6820b24f6d8: Verifying Checksum [2021-06-30T03:02:05.886Z] a6820b24f6d8: Download complete [2021-06-30T03:02:05.886Z] 31603596830f: Pull complete [2021-06-30T03:02:06.152Z] 54011a49482f: Pull complete [2021-06-30T03:02:06.724Z] a6820b24f6d8: Pull complete [2021-06-30T03:02:06.724Z] f581987b2513: Pull complete [2021-06-30T03:02:06.724Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-30T03:02:06.724Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-30T03:02:06.724Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-30T03:02:06.821Z] prd-centos7-docker-4c-2g-810 does not seem to be running inside a container [2021-06-30T03:02:06.868Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-995 -v /w/workspace/dgexfoundry_device-sdk-go_PR-995:/w/workspace/dgexfoundry_device-sdk-go_PR-995:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-995@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-995@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 [2021-06-30T03:02:08.288Z] $ docker top cadad06034fffecb3816b8fd26446535e57054e1100aa0581327b3113e26aa3a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-30T03:02:08.557Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-30T03:02:08.557Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-30T03:02:08.667Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-30T03:02:08.669Z] $ docker exec cadad06034fffecb3816b8fd26446535e57054e1100aa0581327b3113e26aa3a ssh-agent [2021-06-30T03:02:08.770Z] SSH_AUTH_SOCK=/tmp/ssh-eN171U2yT9mE/agent.13 [2021-06-30T03:02:08.770Z] SSH_AGENT_PID=20 [2021-06-30T03:02:08.778Z] Running ssh-add (command line suppressed) [2021-06-30T03:02:08.880Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-995@tmp/private_key_2250707875811160742.key (/w/workspace/dgexfoundry_device-sdk-go_PR-995@tmp/private_key_2250707875811160742.key) [2021-06-30T03:02:08.895Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-30T03:02:09.242Z] + git tag --points-at HEAD [Pipeline] } [2021-06-30T03:02:09.264Z] $ docker exec --env ******** --env ******** cadad06034fffecb3816b8fd26446535e57054e1100aa0581327b3113e26aa3a ssh-agent -k [2021-06-30T03:02:09.359Z] unset SSH_AUTH_SOCK; [2021-06-30T03:02:09.359Z] unset SSH_AGENT_PID; [2021-06-30T03:02:09.359Z] echo Agent pid 20 killed; [2021-06-30T03:02:09.371Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-30T03:02:09.471Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-30T03:02:09.472Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-30T03:02:09.591Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-30T03:02:09.595Z] $ docker exec cadad06034fffecb3816b8fd26446535e57054e1100aa0581327b3113e26aa3a ssh-agent [2021-06-30T03:02:09.698Z] SSH_AUTH_SOCK=/tmp/ssh-ZlgnBUeISeBM/agent.52 [2021-06-30T03:02:09.698Z] SSH_AGENT_PID=58 [2021-06-30T03:02:09.706Z] Running ssh-add (command line suppressed) [2021-06-30T03:02:09.808Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-995@tmp/private_key_8377690675023240298.key (/w/workspace/dgexfoundry_device-sdk-go_PR-995@tmp/private_key_8377690675023240298.key) [2021-06-30T03:02:09.822Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-30T03:02:10.172Z] + git semver init [2021-06-30T03:02:10.172Z] # -> Open(): unable to determine branch for HEAD [2021-06-30T03:02:10.172Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-995/.git [2021-06-30T03:02:10.172Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-995 [2021-06-30T03:02:10.172Z] # $SEMVER_REMOTE_NAME = origin [2021-06-30T03:02:10.172Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-30T03:02:10.172Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-30T03:02:10.172Z] # $SEMVER_BRANCH = PR-995 [2021-06-30T03:02:10.172Z] # $SEMVER_TEMP = /tmp/semver-872198186 [2021-06-30T03:02:10.172Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-06-30T03:02:10.752Z] # '/tmp/semver-872198186' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-995/.semver' [2021-06-30T03:02:10.752Z] # -> Force: false [2021-06-30T03:02:10.752Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-995/.semver [Pipeline] } [2021-06-30T03:02:10.771Z] $ docker exec --env ******** --env ******** cadad06034fffecb3816b8fd26446535e57054e1100aa0581327b3113e26aa3a ssh-agent -k [2021-06-30T03:02:10.877Z] unset SSH_AUTH_SOCK; [2021-06-30T03:02:10.877Z] unset SSH_AGENT_PID; [2021-06-30T03:02:10.877Z] echo Agent pid 58 killed; [2021-06-30T03:02:10.885Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-30T03:02:11.331Z] + git semver [Pipeline] } [2021-06-30T03:02:11.364Z] $ docker stop --time=1 cadad06034fffecb3816b8fd26446535e57054e1100aa0581327b3113e26aa3a [2021-06-30T03:02:12.689Z] $ docker rm -f cadad06034fffecb3816b8fd26446535e57054e1100aa0581327b3113e26aa3a [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-30T03:02:13.125Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-30T03:02:13.445Z] Stashed 1 file(s) [Pipeline] echo [2021-06-30T03:02:13.471Z] [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 [2021-06-30T03:02:29.022Z] Still waiting to schedule task [2021-06-30T03:02:29.022Z] ‘prd-centos7-blackbox-4c-2g-214’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-06-30T03:02:29.023Z] ‘prd-centos7-docker-4c-2g-811’ is offline [2021-06-30T03:02:29.023Z] ‘prd-centos7-docker-4c-2g-915’ is offline [2021-06-30T03:02:29.023Z] ‘prd-ubuntu18.04-docker-8c-8g-809’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-06-30T03:02:29.023Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-1218’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-06-30T03:02:29.052Z] Still waiting to schedule task [2021-06-30T03:02:29.053Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-06-30T03:05:30.013Z] Running on prd-centos7-docker-4c-2g-813 in /w/workspace/dgexfoundry_device-sdk-go_PR-995 [Pipeline] { [Pipeline] ws [2021-06-30T03:05:30.084Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-06-30T03:05:30.243Z] Selected Git installation does not exist. Using Default [2021-06-30T03:05:30.244Z] The recommended git tool is: NONE [2021-06-30T03:05:32.831Z] using credential edgex-jenkins-ssh [2021-06-30T03:05:32.847Z] Cloning the remote Git repository [2021-06-30T03:05:32.864Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-06-30T03:05:32.928Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-06-30T03:05:32.960Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-30T03:05:32.960Z] > git --version # timeout=10 [2021-06-30T03:05:32.967Z] > git --version # 'git version 2.24.4' [2021-06-30T03:05:32.968Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-30T03:05:33.004Z] [INFO] Currently running in a labeled security context [2021-06-30T03:05:33.004Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-30T03:05:33.004Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh6490744662867023193.key [2021-06-30T03:05:33.033Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-30T03:05:34.391Z] Merging remotes/origin/master commit 453c90017645f0c1aacfabdcdc15791e5757fa99 into PR head commit f71d0382f7893658433cb9dc5974898582d7726a [2021-06-30T03:05:34.471Z] Merge succeeded, producing f71d0382f7893658433cb9dc5974898582d7726a [2021-06-30T03:05:34.471Z] Checking out Revision f71d0382f7893658433cb9dc5974898582d7726a (PR-995) [2021-06-30T03:05:33.884Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-30T03:05:33.893Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-30T03:05:33.904Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-30T03:05:33.920Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-30T03:05:33.920Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-30T03:05:33.921Z] [INFO] Currently running in a labeled security context [2021-06-30T03:05:33.921Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-30T03:05:33.921Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh5022598659694441949.key [2021-06-30T03:05:33.926Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/995/head:refs/remotes/origin/PR-995 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-30T03:05:34.396Z] > git config core.sparsecheckout # timeout=10 [2021-06-30T03:05:34.403Z] > git checkout -f f71d0382f7893658433cb9dc5974898582d7726a # timeout=10 [2021-06-30T03:05:34.438Z] > git remote # timeout=10 [2021-06-30T03:05:34.442Z] > git config --get remote.origin.url # timeout=10 [2021-06-30T03:05:34.447Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-30T03:05:34.448Z] [INFO] Currently running in a labeled security context [2021-06-30T03:05:34.448Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-30T03:05:34.448Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh2143124909465551694.key [2021-06-30T03:05:34.452Z] > git merge 453c90017645f0c1aacfabdcdc15791e5757fa99 # timeout=10 [2021-06-30T03:05:34.460Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-30T03:05:34.470Z] > git config core.sparsecheckout # timeout=10 [2021-06-30T03:05:34.473Z] > git checkout -f f71d0382f7893658433cb9dc5974898582d7726a # timeout=10 [2021-06-30T03:05:38.067Z] Commit message: "fix: Change V2 Swagger API version to 2.0.0" [2021-06-30T03:05:38.090Z] > git --version # timeout=10 [2021-06-30T03:05:38.100Z] > git --version # 'git version 2.24.4' [2021-06-30T03:05:38.107Z] fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-30T03:05:39.311Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-30T03:05:39.658Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-30T03:05:39.978Z] + sudo service docker restart [2021-06-30T03:05:39.978Z] + true [2021-06-30T03:05:39.978Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-30T03:05:58.257Z] provisioning config files... [2021-06-30T03:05:58.279Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config5401431364559003662tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-30T03:05:58.734Z] ---> docker-login.sh [2021-06-30T03:05:58.734Z] nexus3.edgexfoundry.org:10001 [2021-06-30T03:05:59.317Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T03:05:59.317Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T03:05:59.317Z] Configure a credential helper to remove this warning. See [2021-06-30T03:05:59.317Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T03:05:59.317Z] [2021-06-30T03:05:59.317Z] Login Succeeded [2021-06-30T03:05:59.317Z] nexus3.edgexfoundry.org:10002 [2021-06-30T03:05:59.585Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T03:05:59.585Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T03:05:59.585Z] Configure a credential helper to remove this warning. See [2021-06-30T03:05:59.585Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T03:05:59.585Z] [2021-06-30T03:05:59.585Z] Login Succeeded [2021-06-30T03:05:59.585Z] nexus3.edgexfoundry.org:10003 [2021-06-30T03:05:59.585Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T03:05:59.585Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T03:05:59.585Z] Configure a credential helper to remove this warning. See [2021-06-30T03:05:59.585Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T03:05:59.585Z] [2021-06-30T03:05:59.585Z] Login Succeeded [2021-06-30T03:05:59.585Z] nexus3.edgexfoundry.org:10004 [2021-06-30T03:05:59.853Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T03:05:59.853Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T03:05:59.853Z] Configure a credential helper to remove this warning. See [2021-06-30T03:05:59.853Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T03:05:59.853Z] [2021-06-30T03:05:59.853Z] Login Succeeded [2021-06-30T03:05:59.853Z] docker.io [2021-06-30T03:05:59.853Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T03:06:00.117Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T03:06:00.117Z] Configure a credential helper to remove this warning. See [2021-06-30T03:06:00.117Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T03:06:00.117Z] [2021-06-30T03:06:00.117Z] Login Succeeded [2021-06-30T03:06:00.117Z] ---> docker-login.sh ends [Pipeline] } [2021-06-30T03:06:00.227Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-30T03:06:00.532Z] ========================================================= [2021-06-30T03:06:00.532Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-30T03:06:00.532Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-30T03:06:00.895Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-06-30T03:06:00.895Z] Sending build context to Docker daemon 2.726MB [2021-06-30T03:06:00.895Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-30T03:06:00.895Z] Step 2/8 : FROM ${BASE} [2021-06-30T03:06:01.164Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-30T03:06:01.164Z] 540db60ca938: Pulling fs layer [2021-06-30T03:06:01.164Z] adcc1eea9eea: Pulling fs layer [2021-06-30T03:06:01.164Z] 4c4ab2625f07: Pulling fs layer [2021-06-30T03:06:01.164Z] 0510c868ecb4: Pulling fs layer [2021-06-30T03:06:01.164Z] afea3b2eda06: Pulling fs layer [2021-06-30T03:06:01.164Z] 7809a108b3ef: Pulling fs layer [2021-06-30T03:06:01.164Z] f706445af74f: Pulling fs layer [2021-06-30T03:06:01.164Z] afea3b2eda06: Waiting [2021-06-30T03:06:01.164Z] 7809a108b3ef: Waiting [2021-06-30T03:06:01.164Z] f706445af74f: Waiting [2021-06-30T03:06:01.164Z] 0510c868ecb4: Waiting [2021-06-30T03:06:01.164Z] adcc1eea9eea: Verifying Checksum [2021-06-30T03:06:01.164Z] adcc1eea9eea: Download complete [2021-06-30T03:06:01.164Z] 4c4ab2625f07: Verifying Checksum [2021-06-30T03:06:01.164Z] 4c4ab2625f07: Download complete [2021-06-30T03:06:01.164Z] afea3b2eda06: Verifying Checksum [2021-06-30T03:06:01.164Z] afea3b2eda06: Download complete [2021-06-30T03:06:01.164Z] 540db60ca938: Verifying Checksum [2021-06-30T03:06:01.164Z] 540db60ca938: Download complete [2021-06-30T03:06:01.164Z] 7809a108b3ef: Verifying Checksum [2021-06-30T03:06:01.164Z] 7809a108b3ef: Download complete [2021-06-30T03:06:01.431Z] 540db60ca938: Pull complete [2021-06-30T03:06:02.011Z] adcc1eea9eea: Pull complete [2021-06-30T03:06:02.276Z] 4c4ab2625f07: Pull complete [2021-06-30T03:06:03.232Z] f706445af74f: Verifying Checksum [2021-06-30T03:06:03.232Z] f706445af74f: Download complete [2021-06-30T03:06:03.811Z] 0510c868ecb4: Verifying Checksum [2021-06-30T03:06:03.811Z] 0510c868ecb4: Download complete [2021-06-30T03:06:08.046Z] 0510c868ecb4: Pull complete [2021-06-30T03:06:08.046Z] afea3b2eda06: Pull complete [2021-06-30T03:06:08.309Z] 7809a108b3ef: Pull complete [2021-06-30T03:06:10.249Z] f706445af74f: Pull complete [2021-06-30T03:06:10.249Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-30T03:06:10.511Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-30T03:06:10.512Z] ---> b068be0155e3 [2021-06-30T03:06:10.512Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-30T03:06:28.678Z] ---> Running in c6f9b57b6cb4 [2021-06-30T03:06:28.678Z] Removing intermediate container c6f9b57b6cb4 [2021-06-30T03:06:28.678Z] ---> 7fce1e794e33 [2021-06-30T03:06:28.678Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-30T03:06:28.678Z] ---> Running in 5696e357e42b [2021-06-30T03:06:28.678Z] Removing intermediate container 5696e357e42b [2021-06-30T03:06:28.678Z] ---> 705c4de3eba1 [2021-06-30T03:06:28.678Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-06-30T03:06:28.678Z] ---> Running in 39841c09b112 [2021-06-30T03:06:28.678Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-30T03:06:29.634Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-30T03:06:29.899Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-06-30T03:06:29.899Z] (2/6) Installing libsodium (1.0.18-r0) [2021-06-30T03:06:30.161Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-06-30T03:06:30.161Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-06-30T03:06:30.161Z] (5/6) Installing libzmq (4.3.3-r1) [2021-06-30T03:06:30.424Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-06-30T03:06:30.424Z] Executing busybox-1.32.1-r6.trigger [2021-06-30T03:06:30.424Z] OK: 150 MiB in 46 packages [2021-06-30T03:06:30.703Z] Removing intermediate container 39841c09b112 [2021-06-30T03:06:30.703Z] ---> 320d9b3a4197 [2021-06-30T03:06:30.703Z] Step 6/8 : WORKDIR /device-sdk-go [2021-06-30T03:06:30.703Z] ---> Running in e2de23f87d22 [2021-06-30T03:06:30.981Z] Removing intermediate container e2de23f87d22 [2021-06-30T03:06:30.981Z] ---> 1937b38e1ad4 [2021-06-30T03:06:30.981Z] Step 7/8 : COPY . . [2021-06-30T03:06:31.249Z] ---> c509dc6e9a67 [2021-06-30T03:06:31.249Z] Step 8/8 : RUN go mod download [2021-06-30T03:06:31.249Z] ---> Running in 194272e12b88 [2021-06-30T03:06:36.196Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-814 in /w/workspace/dgexfoundry_device-sdk-go_PR-995 [Pipeline] { [Pipeline] ws [2021-06-30T03:06:36.257Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-06-30T03:06:36.579Z] Selected Git installation does not exist. Using Default [2021-06-30T03:06:36.579Z] The recommended git tool is: NONE [2021-06-30T03:06:41.631Z] using credential edgex-jenkins-ssh [2021-06-30T03:06:41.653Z] Cloning the remote Git repository [2021-06-30T03:06:41.725Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-06-30T03:06:41.922Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-06-30T03:06:42.064Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-30T03:06:42.065Z] > git --version # timeout=10 [2021-06-30T03:06:42.103Z] > git --version # 'git version 2.17.1' [2021-06-30T03:06:42.105Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-30T03:06:42.235Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-30T03:06:43.490Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-30T03:06:43.512Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-30T03:06:43.540Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-30T03:06:43.586Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-30T03:06:43.586Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-30T03:06:43.598Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/995/head:refs/remotes/origin/PR-995 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-30T03:06:44.283Z] Merging remotes/origin/master commit 453c90017645f0c1aacfabdcdc15791e5757fa99 into PR head commit f71d0382f7893658433cb9dc5974898582d7726a [2021-06-30T03:06:44.533Z] Merge succeeded, producing f71d0382f7893658433cb9dc5974898582d7726a [2021-06-30T03:06:44.534Z] Checking out Revision f71d0382f7893658433cb9dc5974898582d7726a (PR-995) [2021-06-30T03:06:44.307Z] > git config core.sparsecheckout # timeout=10 [2021-06-30T03:06:44.337Z] > git checkout -f f71d0382f7893658433cb9dc5974898582d7726a # timeout=10 [2021-06-30T03:06:44.450Z] > git remote # timeout=10 [2021-06-30T03:06:44.476Z] > git config --get remote.origin.url # timeout=10 [2021-06-30T03:06:44.491Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-30T03:06:44.503Z] > git merge 453c90017645f0c1aacfabdcdc15791e5757fa99 # timeout=10 [2021-06-30T03:06:44.524Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-30T03:06:44.544Z] > git config core.sparsecheckout # timeout=10 [2021-06-30T03:06:44.554Z] > git checkout -f f71d0382f7893658433cb9dc5974898582d7726a # timeout=10 [2021-06-30T03:06:48.828Z] Commit message: "fix: Change V2 Swagger API version to 2.0.0" [2021-06-30T03:06:48.890Z] > git --version # timeout=10 [2021-06-30T03:06:48.905Z] > git --version # 'git version 2.17.1' [2021-06-30T03:06:48.923Z] fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-30T03:06:50.375Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-30T03:06:50.791Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-30T03:06:51.173Z] + sudo service docker restart [2021-06-30T03:06:51.173Z] + true [2021-06-30T03:06:53.286Z] Removing intermediate container 194272e12b88 [2021-06-30T03:06:53.286Z] ---> bfaad44eb77c [2021-06-30T03:06:53.286Z] Successfully built bfaad44eb77c [2021-06-30T03:06:53.286Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-30T03:06:53.640Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-30T03:06:53.640Z] . [Pipeline] withDockerContainer [2021-06-30T03:06:53.767Z] prd-centos7-docker-4c-2g-813 does not seem to be running inside a container [2021-06-30T03:06:53.805Z] $ 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 [2021-06-30T03:06:54.304Z] $ docker top 25d437eeab33a5e0e40108b3ea89aa2f693051ad09f82bb80b1061b7bea3002b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-30T03:06:54.808Z] + go version [2021-06-30T03:06:54.808Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-30T03:06:54.838Z] $ docker stop --time=1 25d437eeab33a5e0e40108b3ea89aa2f693051ad09f82bb80b1061b7bea3002b [2021-06-30T03:06:56.050Z] $ docker rm -f 25d437eeab33a5e0e40108b3ea89aa2f693051ad09f82bb80b1061b7bea3002b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-30T03:06:56.880Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-30T03:06:56.880Z] . [Pipeline] withDockerContainer [2021-06-30T03:06:56.998Z] prd-centos7-docker-4c-2g-813 does not seem to be running inside a container [2021-06-30T03:06:57.052Z] $ 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 [2021-06-30T03:06:57.488Z] $ docker top 46595d5b1584ecabc83d59535e4d964c39ae8cecb43b3caf82fbc08d06684961 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-30T03:06:57.967Z] + go mod tidy [Pipeline] sh [2021-06-30T03:06:58.556Z] + make test [2021-06-30T03:06:58.556Z] go mod tidy [2021-06-30T03:06:58.825Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-06-30T03:07:05.477Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-30T03:07:09.591Z] provisioning config files... [2021-06-30T03:07:09.623Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config8111054514912943422tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-30T03:07:10.060Z] ---> docker-login.sh [2021-06-30T03:07:10.060Z] nexus3.edgexfoundry.org:10001 [2021-06-30T03:07:11.043Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T03:07:11.323Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T03:07:11.323Z] Configure a credential helper to remove this warning. See [2021-06-30T03:07:11.323Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T03:07:11.323Z] [2021-06-30T03:07:11.323Z] Login Succeeded [2021-06-30T03:07:11.323Z] nexus3.edgexfoundry.org:10002 [2021-06-30T03:07:11.923Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T03:07:11.923Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T03:07:11.923Z] Configure a credential helper to remove this warning. See [2021-06-30T03:07:11.923Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T03:07:11.923Z] [2021-06-30T03:07:11.923Z] Login Succeeded [2021-06-30T03:07:11.923Z] nexus3.edgexfoundry.org:10003 [2021-06-30T03:07:12.523Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T03:07:12.523Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T03:07:12.523Z] Configure a credential helper to remove this warning. See [2021-06-30T03:07:12.523Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T03:07:12.523Z] [2021-06-30T03:07:12.523Z] Login Succeeded [2021-06-30T03:07:12.523Z] nexus3.edgexfoundry.org:10004 [2021-06-30T03:07:13.125Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T03:07:13.125Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T03:07:13.125Z] Configure a credential helper to remove this warning. See [2021-06-30T03:07:13.125Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T03:07:13.125Z] [2021-06-30T03:07:13.125Z] Login Succeeded [2021-06-30T03:07:13.125Z] docker.io [2021-06-30T03:07:13.731Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T03:07:14.005Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T03:07:14.005Z] Configure a credential helper to remove this warning. See [2021-06-30T03:07:14.005Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T03:07:14.005Z] [2021-06-30T03:07:14.005Z] Login Succeeded [2021-06-30T03:07:14.005Z] ---> docker-login.sh ends [Pipeline] } [2021-06-30T03:07:14.043Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-30T03:07:14.712Z] ========================================================= [2021-06-30T03:07:14.712Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-30T03:07:14.712Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-30T03:07:15.140Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-06-30T03:07:15.780Z] Sending build context to Docker daemon 2.725MB [2021-06-30T03:07:15.780Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-30T03:07:15.780Z] Step 2/8 : FROM ${BASE} [2021-06-30T03:07:15.780Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-30T03:07:16.055Z] 595b0fe564bb: Pulling fs layer [2021-06-30T03:07:16.055Z] 3088b5b3c5c0: Pulling fs layer [2021-06-30T03:07:16.055Z] 5b7225fbf94c: Pulling fs layer [2021-06-30T03:07:16.055Z] ba82ee9f976e: Pulling fs layer [2021-06-30T03:07:16.055Z] 506bd15cee9f: Pulling fs layer [2021-06-30T03:07:16.055Z] 75a0a4a0db45: Pulling fs layer [2021-06-30T03:07:16.055Z] 618dc40b7e24: Pulling fs layer [2021-06-30T03:07:16.055Z] 75a0a4a0db45: Waiting [2021-06-30T03:07:16.055Z] 618dc40b7e24: Waiting [2021-06-30T03:07:16.055Z] ba82ee9f976e: Waiting [2021-06-30T03:07:16.055Z] 506bd15cee9f: Waiting [2021-06-30T03:07:16.055Z] 5b7225fbf94c: Verifying Checksum [2021-06-30T03:07:16.055Z] 5b7225fbf94c: Download complete [2021-06-30T03:07:16.055Z] 3088b5b3c5c0: Verifying Checksum [2021-06-30T03:07:16.055Z] 3088b5b3c5c0: Download complete [2021-06-30T03:07:16.055Z] 506bd15cee9f: Verifying Checksum [2021-06-30T03:07:16.055Z] 506bd15cee9f: Download complete [2021-06-30T03:07:16.055Z] 75a0a4a0db45: Verifying Checksum [2021-06-30T03:07:16.055Z] 75a0a4a0db45: Download complete [2021-06-30T03:07:16.055Z] 595b0fe564bb: Verifying Checksum [2021-06-30T03:07:16.055Z] 595b0fe564bb: Download complete [2021-06-30T03:07:16.660Z] 595b0fe564bb: Pull complete [2021-06-30T03:07:17.280Z] 3088b5b3c5c0: Pull complete [2021-06-30T03:07:17.885Z] 5b7225fbf94c: Pull complete [2021-06-30T03:07:18.491Z] 618dc40b7e24: Verifying Checksum [2021-06-30T03:07:18.491Z] 618dc40b7e24: Download complete [2021-06-30T03:07:19.924Z] ba82ee9f976e: Download complete [2021-06-30T03:07:30.087Z] ba82ee9f976e: Pull complete [2021-06-30T03:07:30.087Z] 506bd15cee9f: Pull complete [2021-06-30T03:07:30.366Z] 75a0a4a0db45: Pull complete [2021-06-30T03:07:32.355Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-06-30T03:07:32.355Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-06-30T03:07:32.355Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-06-30T03:07:33.784Z] 618dc40b7e24: Pull complete [2021-06-30T03:07:33.784Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-06-30T03:07:33.784Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-30T03:07:33.784Z] ---> a36622ca3599 [2021-06-30T03:07:33.784Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-30T03:07:36.414Z] ---> Running in 5ad719acd750 [2021-06-30T03:07:36.414Z] Removing intermediate container 5ad719acd750 [2021-06-30T03:07:36.414Z] ---> 8b3a6f2ea558 [2021-06-30T03:07:36.414Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-30T03:07:36.603Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.063s coverage: 24.2% of statements [2021-06-30T03:07:36.603Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-06-30T03:07:36.603Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.057s coverage: 28.1% of statements [2021-06-30T03:07:36.603Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.083s coverage: 78.9% of statements [2021-06-30T03:07:36.689Z] ---> Running in 41d399988a52 [2021-06-30T03:07:36.868Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.070s coverage: 9.0% of statements [2021-06-30T03:07:36.869Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-06-30T03:07:36.869Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-06-30T03:07:36.869Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-06-30T03:07:37.458Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.073s coverage: 28.7% of statements [2021-06-30T03:07:37.458Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-06-30T03:07:38.670Z] Removing intermediate container 41d399988a52 [2021-06-30T03:07:38.670Z] ---> 20da955dc126 [2021-06-30T03:07:38.671Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-06-30T03:07:38.892Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.068s coverage: 83.3% of statements [2021-06-30T03:07:38.892Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-06-30T03:07:38.892Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-06-30T03:07:38.892Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.098s coverage: 58.0% of statements [2021-06-30T03:07:38.943Z] ---> Running in d530fcd69fab [2021-06-30T03:07:39.925Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-30T03:07:40.327Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.909s coverage: 89.2% of statements [2021-06-30T03:07:40.327Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-06-30T03:07:40.327Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.056s coverage: 4.9% of statements [2021-06-30T03:07:40.327Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-06-30T03:07:40.596Z] GO111MODULE=on go vet ./... [2021-06-30T03:07:41.354Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-30T03:07:42.784Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-06-30T03:07:42.784Z] (2/6) Installing libsodium (1.0.18-r0) [2021-06-30T03:07:42.784Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-06-30T03:07:42.784Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-06-30T03:07:42.784Z] (5/6) Installing libzmq (4.3.3-r1) [2021-06-30T03:07:43.056Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-06-30T03:07:43.056Z] Executing busybox-1.32.1-r6.trigger [2021-06-30T03:07:43.056Z] OK: 139 MiB in 46 packages [2021-06-30T03:07:44.495Z] Removing intermediate container d530fcd69fab [2021-06-30T03:07:44.495Z] ---> 9dfd35e0493f [2021-06-30T03:07:44.495Z] Step 6/8 : WORKDIR /device-sdk-go [2021-06-30T03:07:44.495Z] ---> Running in 8c5042878b5a [2021-06-30T03:07:45.093Z] Removing intermediate container 8c5042878b5a [2021-06-30T03:07:45.093Z] ---> 299898f93a65 [2021-06-30T03:07:45.093Z] Step 7/8 : COPY . . [2021-06-30T03:07:46.528Z] ---> 75b127bdde25 [2021-06-30T03:07:46.528Z] Step 8/8 : RUN go mod download [2021-06-30T03:07:46.528Z] ---> Running in 0d950eba5159 [2021-06-30T03:08:02.699Z] gofmt -l . [2021-06-30T03:08:02.699Z] [ "`gofmt -l .`" = "" ] [2021-06-30T03:08:02.699Z] ./bin/test-attribution-txt.sh [2021-06-30T03:08:03.300Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-30T03:08:03.592Z] $ docker stop --time=1 46595d5b1584ecabc83d59535e4d964c39ae8cecb43b3caf82fbc08d06684961 [2021-06-30T03:08:06.631Z] $ docker rm -f 46595d5b1584ecabc83d59535e4d964c39ae8cecb43b3caf82fbc08d06684961 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-30T03:08:07.204Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-30T03:08:07.463Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-06-30T03:08:10.633Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-30T03:08:10.962Z] + ls -al . [2021-06-30T03:08:10.962Z] total 228 [2021-06-30T03:08:10.962Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jun 30 03:08 . [2021-06-30T03:08:10.962Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 30 03:05 .. [2021-06-30T03:08:10.962Z] drwxrwxr-x. 2 jenkins jenkins 64 Jun 30 03:05 bin [2021-06-30T03:08:10.962Z] -rw-rw-r--. 1 jenkins jenkins 24816 Jun 30 03:05 CHANGELOG.md [2021-06-30T03:08:10.962Z] -rw-r--r--. 1 jenkins jenkins 125635 Jun 30 03:07 coverage.out [2021-06-30T03:08:10.962Z] -rw-rw-r--. 1 jenkins jenkins 987 Jun 30 03:05 Dockerfile.build [2021-06-30T03:08:10.962Z] -rw-rw-r--. 1 jenkins jenkins 140 Jun 30 03:05 .dockerignore [2021-06-30T03:08:10.962Z] drwxrwxr-x. 5 jenkins jenkins 62 Jun 30 03:05 example [2021-06-30T03:08:10.962Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 30 03:05 .git [2021-06-30T03:08:10.962Z] drwxrwxr-x. 2 jenkins jenkins 103 Jun 30 03:05 .github [2021-06-30T03:08:10.963Z] -rw-rw-r--. 1 jenkins jenkins 138 Jun 30 03:05 .gitignore [2021-06-30T03:08:10.963Z] -rw-r--r--. 1 jenkins jenkins 548 Jun 30 03:08 go.mod [2021-06-30T03:08:10.963Z] -rw-r--r--. 1 jenkins jenkins 20210 Jun 30 03:06 go.sum [2021-06-30T03:08:10.963Z] drwxrwxr-x. 15 jenkins jenkins 224 Jun 30 03:05 internal [2021-06-30T03:08:10.963Z] -rw-rw-r--. 1 jenkins jenkins 880 Jun 30 03:05 Jenkinsfile [2021-06-30T03:08:10.963Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jun 30 03:05 LICENSE [2021-06-30T03:08:10.963Z] -rw-rw-r--. 1 jenkins jenkins 1026 Jun 30 03:05 Makefile [2021-06-30T03:08:10.963Z] drwxrwxr-x. 3 jenkins jenkins 16 Jun 30 03:05 openapi [2021-06-30T03:08:10.963Z] drwxrwxr-x. 5 jenkins jenkins 50 Jun 30 03:05 pkg [2021-06-30T03:08:10.963Z] -rw-rw-r--. 1 jenkins jenkins 7652 Jun 30 03:05 README.md [2021-06-30T03:08:10.963Z] drwxrwxr-x. 4 jenkins jenkins 54 Jun 30 03:05 snap [2021-06-30T03:08:10.963Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 30 03:02 VERSION [2021-06-30T03:08:10.963Z] -rw-rw-r--. 1 jenkins jenkins 222 Jun 30 03:05 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-30T03:08:11.300Z] + docker build -t 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=f71d0382f7893658433cb9dc5974898582d7726a --label arch=amd64 --label version=0.0.0 . [2021-06-30T03:08:11.300Z] Sending build context to Docker daemon 2.852MB [2021-06-30T03:08:11.300Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-06-30T03:08:11.300Z] Step 2/23 : FROM ${BASE} AS builder [2021-06-30T03:08:11.300Z] ---> bfaad44eb77c [2021-06-30T03:08:11.300Z] Step 3/23 : WORKDIR /device-sdk-go [2021-06-30T03:08:11.570Z] ---> Running in 9768619dacf2 [2021-06-30T03:08:11.570Z] Removing intermediate container 9768619dacf2 [2021-06-30T03:08:11.570Z] ---> 61127ea65c28 [2021-06-30T03:08:11.570Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-30T03:08:11.570Z] ---> Running in 8a68ca03c05c [2021-06-30T03:08:11.837Z] Removing intermediate container 8a68ca03c05c [2021-06-30T03:08:11.837Z] ---> 0998d435e083 [2021-06-30T03:08:11.837Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-30T03:08:11.837Z] ---> Running in af2e23e6a08b [2021-06-30T03:08:12.412Z] Removing intermediate container af2e23e6a08b [2021-06-30T03:08:12.412Z] ---> 45ca329eae87 [2021-06-30T03:08:12.412Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-06-30T03:08:12.412Z] ---> Running in 8395dddf62ed [2021-06-30T03:08:12.676Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-30T03:08:13.346Z] Removing intermediate container 0d950eba5159 [2021-06-30T03:08:13.346Z] ---> e74d974e29af [2021-06-30T03:08:13.346Z] Successfully built e74d974e29af [2021-06-30T03:08:13.346Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-30T03:08:13.621Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-30T03:08:13.734Z] + docker inspect -f . ci-base-image-arm64 [2021-06-30T03:08:13.734Z] . [Pipeline] withDockerContainer [2021-06-30T03:08:14.027Z] prd-ubuntu18.04-docker-arm64-4c-16g-814 does not seem to be running inside a container [2021-06-30T03:08:14.121Z] $ 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 [2021-06-30T03:08:14.198Z] OK: 150 MiB in 46 packages [2021-06-30T03:08:14.776Z] Removing intermediate container 8395dddf62ed [2021-06-30T03:08:14.776Z] ---> 96a4eee745c0 [2021-06-30T03:08:14.776Z] Step 7/23 : COPY . . [2021-06-30T03:08:15.356Z] ---> 1b5e08af030c [2021-06-30T03:08:15.356Z] Step 8/23 : RUN go mod download [2021-06-30T03:08:15.356Z] ---> Running in 786d37753209 [2021-06-30T03:08:15.757Z] $ docker top 03c393648f88f0addeabb1f111d5d8db3840e686da07ebd2861b48ea745e6fe8 -eo pid,comm [2021-06-30T03:08:15.936Z] Removing intermediate container 786d37753209 [2021-06-30T03:08:15.936Z] ---> 44c31cc3f71d [2021-06-30T03:08:15.936Z] Step 9/23 : RUN make build [2021-06-30T03:08:15.936Z] ---> Running in 0ff2e916eaca [Pipeline] { [Pipeline] sh [2021-06-30T03:08:16.205Z] go mod tidy [2021-06-30T03:08:16.467Z] CGO_ENABLED=1 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 [2021-06-30T03:08:16.843Z] + go version [2021-06-30T03:08:16.843Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-06-30T03:08:16.879Z] $ docker stop --time=1 03c393648f88f0addeabb1f111d5d8db3840e686da07ebd2861b48ea745e6fe8 [2021-06-30T03:08:18.742Z] $ docker rm -f 03c393648f88f0addeabb1f111d5d8db3840e686da07ebd2861b48ea745e6fe8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-30T03:08:19.853Z] + docker inspect -f . ci-base-image-arm64 [2021-06-30T03:08:19.853Z] . [Pipeline] withDockerContainer [2021-06-30T03:08:20.098Z] prd-ubuntu18.04-docker-arm64-4c-16g-814 does not seem to be running inside a container [2021-06-30T03:08:20.183Z] $ 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 [2021-06-30T03:08:21.820Z] $ docker top 4805b4817a67c3e3353b3e8b3906413e63befbdb2b765f30432957c9b22c83b3 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-30T03:08:22.860Z] + go mod tidy [Pipeline] sh [2021-06-30T03:08:24.141Z] + make test [2021-06-30T03:08:24.141Z] go mod tidy [2021-06-30T03:08:24.739Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-06-30T03:08:28.785Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-06-30T03:08:30.174Z] Removing intermediate container 0ff2e916eaca [2021-06-30T03:08:30.175Z] ---> e854980fd1d2 [2021-06-30T03:08:30.175Z] Step 10/23 : FROM alpine:3.12 [2021-06-30T03:08:30.748Z] 3.12: Pulling from library/alpine [2021-06-30T03:08:31.012Z] 339de151aab4: Pulling fs layer [2021-06-30T03:08:31.012Z] 339de151aab4: Verifying Checksum [2021-06-30T03:08:31.012Z] 339de151aab4: Download complete [2021-06-30T03:08:31.279Z] 339de151aab4: Pull complete [2021-06-30T03:08:31.279Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-30T03:08:31.279Z] Status: Downloaded newer image for alpine:3.12 [2021-06-30T03:08:31.279Z] ---> 13621d1b12d4 [2021-06-30T03:08:31.279Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-30T03:08:31.279Z] ---> Running in f70253d65f03 [2021-06-30T03:08:31.545Z] Removing intermediate container f70253d65f03 [2021-06-30T03:08:31.545Z] ---> 3ee4b6d82475 [2021-06-30T03:08:31.545Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-30T03:08:31.545Z] ---> Running in 2536aeaa9473 [2021-06-30T03:08:32.150Z] Removing intermediate container 2536aeaa9473 [2021-06-30T03:08:32.150Z] ---> cd581fc2fb2d [2021-06-30T03:08:32.150Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-06-30T03:08:32.150Z] ---> Running in 286aeda16459 [2021-06-30T03:08:32.412Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-06-30T03:08:32.982Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-06-30T03:08:33.553Z] (1/5) Installing libgcc (9.3.0-r2) [2021-06-30T03:08:33.553Z] (2/5) Installing libsodium (1.0.18-r0) [2021-06-30T03:08:33.819Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-06-30T03:08:34.759Z] (4/5) Installing libzmq (4.3.3-r0) [2021-06-30T03:08:34.759Z] (5/5) Installing zeromq (4.3.3-r0) [2021-06-30T03:08:34.759Z] Executing busybox-1.31.1-r20.trigger [2021-06-30T03:08:34.759Z] OK: 8 MiB in 19 packages [2021-06-30T03:08:35.334Z] Removing intermediate container 286aeda16459 [2021-06-30T03:08:35.334Z] ---> 726244ace975 [2021-06-30T03:08:35.334Z] Step 14/23 : WORKDIR / [2021-06-30T03:08:35.334Z] ---> Running in aa2ca4996890 [2021-06-30T03:08:35.334Z] Removing intermediate container aa2ca4996890 [2021-06-30T03:08:35.334Z] ---> 97ccd77d4754 [2021-06-30T03:08:35.334Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-06-30T03:08:35.598Z] ---> 2a225bdca27a [2021-06-30T03:08:35.598Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-06-30T03:08:36.180Z] ---> c20dc2cbf11c [2021-06-30T03:08:36.180Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-06-30T03:08:36.180Z] ---> a84ed2b022b6 [2021-06-30T03:08:36.181Z] Step 18/23 : EXPOSE 59999 [2021-06-30T03:08:36.445Z] ---> Running in 1c1975afa723 [2021-06-30T03:08:36.445Z] Removing intermediate container 1c1975afa723 [2021-06-30T03:08:36.445Z] ---> 015a73622a1b [2021-06-30T03:08:36.445Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-06-30T03:08:36.445Z] ---> Running in dc8ebb172fee [2021-06-30T03:08:36.445Z] Removing intermediate container dc8ebb172fee [2021-06-30T03:08:36.445Z] ---> ea6c36c18334 [2021-06-30T03:08:36.445Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-30T03:08:36.445Z] ---> Running in 411af2507b70 [2021-06-30T03:08:36.710Z] Removing intermediate container 411af2507b70 [2021-06-30T03:08:36.710Z] ---> 775b4aaeeab1 [2021-06-30T03:08:36.710Z] Step 21/23 : LABEL arch=amd64 [2021-06-30T03:08:36.710Z] ---> Running in f71155f3f631 [2021-06-30T03:08:36.710Z] Removing intermediate container f71155f3f631 [2021-06-30T03:08:36.710Z] ---> 3f084273737f [2021-06-30T03:08:36.710Z] Step 22/23 : LABEL git_sha=f71d0382f7893658433cb9dc5974898582d7726a [2021-06-30T03:08:36.710Z] ---> Running in 54d70a718ac5 [2021-06-30T03:08:36.980Z] Removing intermediate container 54d70a718ac5 [2021-06-30T03:08:36.980Z] ---> 8c9ee88d633c [2021-06-30T03:08:36.980Z] Step 23/23 : LABEL version=0.0.0 [2021-06-30T03:08:36.980Z] ---> Running in b13ba349704c [2021-06-30T03:08:36.980Z] Removing intermediate container b13ba349704c [2021-06-30T03:08:36.980Z] ---> e84572e34efe [2021-06-30T03:08:36.980Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-06-30T03:08:37.244Z] Successfully built e84572e34efe [2021-06-30T03:08:37.244Z] Successfully tagged 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 [2021-06-30T03:08:38.371Z] ---> job-cost.sh [2021-06-30T03:08:38.371Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-IWgs [2021-06-30T03:08:46.946Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-06-30T03:08:50.656Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-30T03:09:08.823Z] lf-activate-venv(): INFO: Adding /tmp/venv-IWgs/bin to PATH [2021-06-30T03:09:08.823Z] INFO: No Stack... [2021-06-30T03:09:08.823Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-30T03:09:08.823Z] INFO: Archiving Costs [Pipeline] sh [2021-06-30T03:09:09.169Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-06-30T03:09:09.169Z] + cut -d, -f6 [Pipeline] lock [2021-06-30T03:09:09.232Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-995-1-stack-cost] [2021-06-30T03:09:09.239Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-995-1-stack-cost] did not exist. Created. [2021-06-30T03:09:09.239Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-995-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-30T03:09:09.672Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-30T03:09:09.769Z] Stashed 1 file(s) [Pipeline] } [2021-06-30T03:09:09.793Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-995-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-30T03:09:55.043Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-06-30T03:09:55.044Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-06-30T03:09:55.044Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-06-30T03:10:01.818Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.262s coverage: 24.2% of statements [2021-06-30T03:10:01.818Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-06-30T03:10:01.818Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.191s coverage: 28.1% of statements [2021-06-30T03:10:01.818Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.243s coverage: 78.9% of statements [2021-06-30T03:10:01.818Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.177s coverage: 9.0% of statements [2021-06-30T03:10:01.818Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-06-30T03:10:01.818Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-06-30T03:10:01.818Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-06-30T03:10:03.274Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.303s coverage: 28.7% of statements [2021-06-30T03:10:03.274Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-06-30T03:10:05.273Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.186s coverage: 83.3% of statements [2021-06-30T03:10:05.273Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-06-30T03:10:05.273Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-06-30T03:10:05.273Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.424s coverage: 58.0% of statements [2021-06-30T03:10:07.267Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.085s coverage: 89.2% of statements [2021-06-30T03:10:07.267Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-06-30T03:10:07.267Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.167s coverage: 4.9% of statements [2021-06-30T03:10:07.267Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-06-30T03:10:07.870Z] GO111MODULE=on go vet ./... [2021-06-30T03:11:04.473Z] gofmt -l . [2021-06-30T03:11:04.473Z] [ "`gofmt -l .`" = "" ] [2021-06-30T03:11:04.473Z] ./bin/test-attribution-txt.sh [2021-06-30T03:11:04.473Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-30T03:11:04.517Z] $ docker stop --time=1 4805b4817a67c3e3353b3e8b3906413e63befbdb2b765f30432957c9b22c83b3 [2021-06-30T03:11:06.741Z] $ docker rm -f 4805b4817a67c3e3353b3e8b3906413e63befbdb2b765f30432957c9b22c83b3 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-30T03:11:07.946Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-30T03:11:07.993Z] Warning: overwriting stash ‘coverage-report’ [2021-06-30T03:11:08.845Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-30T03:11:09.567Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-30T03:11:09.921Z] + ls -al . [2021-06-30T03:11:09.921Z] total 264 [2021-06-30T03:11:09.921Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 30 03:11 . [2021-06-30T03:11:09.921Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 30 03:06 .. [2021-06-30T03:11:09.921Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 30 03:06 .dockerignore [2021-06-30T03:11:09.921Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 30 03:06 .git [2021-06-30T03:11:09.921Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 30 03:06 .github [2021-06-30T03:11:09.921Z] -rw-rw-r-- 1 jenkins jenkins 138 Jun 30 03:06 .gitignore [2021-06-30T03:11:09.921Z] -rw-rw-r-- 1 jenkins jenkins 24816 Jun 30 03:06 CHANGELOG.md [2021-06-30T03:11:09.921Z] -rw-rw-r-- 1 jenkins jenkins 987 Jun 30 03:06 Dockerfile.build [2021-06-30T03:11:09.921Z] -rw-rw-r-- 1 jenkins jenkins 880 Jun 30 03:06 Jenkinsfile [2021-06-30T03:11:09.921Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jun 30 03:06 LICENSE [2021-06-30T03:11:09.921Z] -rw-rw-r-- 1 jenkins jenkins 1026 Jun 30 03:06 Makefile [2021-06-30T03:11:09.921Z] -rw-rw-r-- 1 jenkins jenkins 7652 Jun 30 03:06 README.md [2021-06-30T03:11:09.921Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 30 03:02 VERSION [2021-06-30T03:11:09.921Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 30 03:06 bin [2021-06-30T03:11:09.921Z] -rw-r--r-- 1 jenkins jenkins 125634 Jun 30 03:10 coverage.out [2021-06-30T03:11:09.921Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 30 03:06 example [2021-06-30T03:11:09.921Z] -rw-r--r-- 1 jenkins jenkins 548 Jun 30 03:11 go.mod [2021-06-30T03:11:09.921Z] -rw-r--r-- 1 jenkins jenkins 20210 Jun 30 03:08 go.sum [2021-06-30T03:11:09.921Z] drwxrwxr-x 15 jenkins jenkins 4096 Jun 30 03:06 internal [2021-06-30T03:11:09.921Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 30 03:06 openapi [2021-06-30T03:11:09.921Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 30 03:06 pkg [2021-06-30T03:11:09.921Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 30 03:06 snap [2021-06-30T03:11:09.921Z] -rw-rw-r-- 1 jenkins jenkins 222 Jun 30 03:06 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-30T03:11:10.298Z] + docker build -t 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=f71d0382f7893658433cb9dc5974898582d7726a --label arch=arm64 --label version=0.0.0 . [2021-06-30T03:11:10.899Z] Sending build context to Docker daemon 2.851MB [2021-06-30T03:11:10.900Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-06-30T03:11:10.900Z] Step 2/23 : FROM ${BASE} AS builder [2021-06-30T03:11:10.900Z] ---> e74d974e29af [2021-06-30T03:11:10.900Z] Step 3/23 : WORKDIR /device-sdk-go [2021-06-30T03:11:11.174Z] ---> Running in 151df7b21e50 [2021-06-30T03:11:11.772Z] Removing intermediate container 151df7b21e50 [2021-06-30T03:11:11.772Z] ---> 75b4bcf7ee96 [2021-06-30T03:11:11.772Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-30T03:11:11.772Z] ---> Running in f2f25e024cfa [2021-06-30T03:11:12.374Z] Removing intermediate container f2f25e024cfa [2021-06-30T03:11:12.374Z] ---> 26fedae306a2 [2021-06-30T03:11:12.374Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-30T03:11:12.374Z] ---> Running in 1101ba9856a0 [2021-06-30T03:11:15.005Z] Removing intermediate container 1101ba9856a0 [2021-06-30T03:11:15.005Z] ---> 5b0bd60c2b38 [2021-06-30T03:11:15.005Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-06-30T03:11:15.005Z] ---> Running in cfb770675b92 [2021-06-30T03:11:15.980Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-30T03:11:16.955Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-30T03:11:17.551Z] OK: 139 MiB in 46 packages [2021-06-30T03:11:18.532Z] Removing intermediate container cfb770675b92 [2021-06-30T03:11:18.532Z] ---> 590c96d5eb8e [2021-06-30T03:11:18.532Z] Step 7/23 : COPY . . [2021-06-30T03:11:19.983Z] ---> 7948e206c1b2 [2021-06-30T03:11:19.983Z] Step 8/23 : RUN go mod download [2021-06-30T03:11:19.983Z] ---> Running in 9ee21a55851a [2021-06-30T03:11:22.615Z] Removing intermediate container 9ee21a55851a [2021-06-30T03:11:22.615Z] ---> 12211cc5a02d [2021-06-30T03:11:22.615Z] Step 9/23 : RUN make build [2021-06-30T03:11:22.615Z] ---> Running in 11f11cbe07cd [2021-06-30T03:11:23.597Z] go mod tidy [2021-06-30T03:11:24.198Z] CGO_ENABLED=1 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 [2021-06-30T03:11:56.580Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-06-30T03:11:58.554Z] Removing intermediate container 11f11cbe07cd [2021-06-30T03:11:58.554Z] ---> 1dd9b3df6cc4 [2021-06-30T03:11:58.554Z] Step 10/23 : FROM alpine:3.12 [2021-06-30T03:11:59.146Z] 3.12: Pulling from library/alpine [2021-06-30T03:11:59.418Z] d2f70382dc9a: Pulling fs layer [2021-06-30T03:11:59.418Z] d2f70382dc9a: Verifying Checksum [2021-06-30T03:11:59.418Z] d2f70382dc9a: Download complete [2021-06-30T03:12:00.012Z] d2f70382dc9a: Pull complete [2021-06-30T03:12:00.284Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-30T03:12:00.284Z] Status: Downloaded newer image for alpine:3.12 [2021-06-30T03:12:00.284Z] ---> c4fd0aeabfcf [2021-06-30T03:12:00.284Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-30T03:12:00.556Z] ---> Running in d35ec5360812 [2021-06-30T03:12:00.827Z] Removing intermediate container d35ec5360812 [2021-06-30T03:12:00.828Z] ---> eed87ad970bf [2021-06-30T03:12:00.828Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-30T03:12:01.100Z] ---> Running in b0965433cbe2 [2021-06-30T03:12:03.075Z] Removing intermediate container b0965433cbe2 [2021-06-30T03:12:03.075Z] ---> 146f2e51099c [2021-06-30T03:12:03.075Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-06-30T03:12:03.349Z] ---> Running in 5aea4713fe33 [2021-06-30T03:12:04.341Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-30T03:12:05.331Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-30T03:12:05.926Z] (1/5) Installing libgcc (9.3.0-r2) [2021-06-30T03:12:05.926Z] (2/5) Installing libsodium (1.0.18-r0) [2021-06-30T03:12:05.926Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-06-30T03:12:06.198Z] (4/5) Installing libzmq (4.3.3-r0) [2021-06-30T03:12:06.198Z] (5/5) Installing zeromq (4.3.3-r0) [2021-06-30T03:12:06.469Z] Executing busybox-1.31.1-r20.trigger [2021-06-30T03:12:06.470Z] OK: 8 MiB in 19 packages [2021-06-30T03:12:07.899Z] Removing intermediate container 5aea4713fe33 [2021-06-30T03:12:07.899Z] ---> 6f38a0937983 [2021-06-30T03:12:07.899Z] Step 14/23 : WORKDIR / [2021-06-30T03:12:07.899Z] ---> Running in 1688ae2e65d8 [2021-06-30T03:12:08.496Z] Removing intermediate container 1688ae2e65d8 [2021-06-30T03:12:08.496Z] ---> b4769608af3d [2021-06-30T03:12:08.496Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-06-30T03:12:09.092Z] ---> 12a2f8a0b6ee [2021-06-30T03:12:09.092Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-06-30T03:12:10.523Z] ---> f826375ea979 [2021-06-30T03:12:10.523Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-06-30T03:12:11.121Z] ---> 96a8ad7bd9c0 [2021-06-30T03:12:11.121Z] Step 18/23 : EXPOSE 59999 [2021-06-30T03:12:11.395Z] ---> Running in 3bd914b74634 [2021-06-30T03:12:11.988Z] Removing intermediate container 3bd914b74634 [2021-06-30T03:12:11.988Z] ---> 76550ee8f142 [2021-06-30T03:12:11.988Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-06-30T03:12:11.988Z] ---> Running in 7cbffc3e6dea [2021-06-30T03:12:12.584Z] Removing intermediate container 7cbffc3e6dea [2021-06-30T03:12:12.584Z] ---> 54cb188254a3 [2021-06-30T03:12:12.584Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-30T03:12:12.584Z] ---> Running in 75c290a15e54 [2021-06-30T03:12:13.179Z] Removing intermediate container 75c290a15e54 [2021-06-30T03:12:13.179Z] ---> c9be5b8aedb2 [2021-06-30T03:12:13.179Z] Step 21/23 : LABEL arch=arm64 [2021-06-30T03:12:13.179Z] ---> Running in 7c828593ee18 [2021-06-30T03:12:13.774Z] Removing intermediate container 7c828593ee18 [2021-06-30T03:12:13.774Z] ---> 81ed5934bf55 [2021-06-30T03:12:13.774Z] Step 22/23 : LABEL git_sha=f71d0382f7893658433cb9dc5974898582d7726a [2021-06-30T03:12:13.774Z] ---> Running in 055f57bfaf7e [2021-06-30T03:12:14.371Z] Removing intermediate container 055f57bfaf7e [2021-06-30T03:12:14.371Z] ---> 3da6042320ef [2021-06-30T03:12:14.371Z] Step 23/23 : LABEL version=0.0.0 [2021-06-30T03:12:14.647Z] ---> Running in 275b7ce84452 [2021-06-30T03:12:14.923Z] Removing intermediate container 275b7ce84452 [2021-06-30T03:12:14.923Z] ---> 65ca65af99cd [2021-06-30T03:12:15.198Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-06-30T03:12:15.198Z] Successfully built 65ca65af99cd [2021-06-30T03:12:15.198Z] Successfully tagged 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 [2021-06-30T03:12:16.030Z] ---> job-cost.sh [2021-06-30T03:12:16.030Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-SrZ7 [2021-06-30T03:12:55.037Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-30T03:14:31.811Z] lf-activate-venv(): INFO: Adding /tmp/venv-SrZ7/bin to PATH [2021-06-30T03:14:31.811Z] INFO: No Stack... [2021-06-30T03:14:31.811Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-30T03:14:31.811Z] INFO: Archiving Costs [Pipeline] sh [2021-06-30T03:14:32.180Z] + cut -d, -f6 [2021-06-30T03:14:32.180Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock [2021-06-30T03:14:32.278Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-995-1-stack-cost] [2021-06-30T03:14:32.285Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-995-1-stack-cost] did not exist. Created. [2021-06-30T03:14:32.286Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-995-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-30T03:14:32.739Z] /w/workspace/device-sdk-go/1@tmp/durable-018e39f2/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-018e39f2/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-30T03:14:33.109Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-30T03:14:33.148Z] Warning: overwriting stash ‘stack-cost’ [2021-06-30T03:14:33.319Z] Stashed 1 file(s) [Pipeline] } [2021-06-30T03:14:33.342Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-995-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] configFileProvider [2021-06-30T03:14:34.568Z] provisioning config files... [2021-06-30T03:14:34.578Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-995@tmp/config5760280333255499220tmp [Pipeline] { [Pipeline] sh [2021-06-30T03:14:34.958Z] + set +x [2021-06-30T03:14:34.958Z] + curl -s https://codecov.io/bash [2021-06-30T03:14:34.958Z] + bash -s -- [2021-06-30T03:14:34.958Z] [2021-06-30T03:14:34.958Z] _____ _ [2021-06-30T03:14:34.958Z] / ____| | | [2021-06-30T03:14:34.958Z] | | ___ __| | ___ ___ _____ __ [2021-06-30T03:14:34.958Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-30T03:14:34.958Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-30T03:14:34.958Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-30T03:14:34.958Z] Bash-1.0.3 [2021-06-30T03:14:34.958Z] [2021-06-30T03:14:34.958Z] [2021-06-30T03:14:34.958Z] ==> git version 2.24.4 found [2021-06-30T03:14:34.958Z] ==> 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 [2021-06-30T03:14:34.958Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-30T03:14:34.958Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-30T03:14:34.958Z] ==> Jenkins CI detected. [2021-06-30T03:14:34.958Z] project root: . [2021-06-30T03:14:34.958Z] --> token set from env [2021-06-30T03:14:34.958Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-30T03:14:35.221Z] ==> Running gcov in . (disable via -X gcov) [2021-06-30T03:14:35.221Z] ==> Python coveragepy not found [2021-06-30T03:14:35.221Z] ==> Searching for coverage reports in: [2021-06-30T03:14:35.221Z] + . [2021-06-30T03:14:35.221Z] -> Found 1 reports [2021-06-30T03:14:35.221Z] ==> Detecting git/mercurial file structure [2021-06-30T03:14:35.221Z] ==> Reading reports [2021-06-30T03:14:35.221Z] + ./coverage.out bytes=125634 [2021-06-30T03:14:35.221Z] ==> Appending adjustments [2021-06-30T03:14:35.221Z] https://docs.codecov.io/docs/fixing-reports [2021-06-30T03:14:35.488Z] + Found adjustments [2021-06-30T03:14:35.488Z] ==> Gzipping contents [2021-06-30T03:14:35.488Z] 16K /tmp/codecov.pUdosj.gz [2021-06-30T03:14:35.488Z] ==> Uploading reports [2021-06-30T03:14:35.488Z] url: https://codecov.io [2021-06-30T03:14:35.488Z] query: branch=PR-995&commit=f71d0382f7893658433cb9dc5974898582d7726a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-995%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=995&job=&cmd_args= [2021-06-30T03:14:35.488Z] -> Pinging Codecov [2021-06-30T03:14:35.488Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-995&commit=f71d0382f7893658433cb9dc5974898582d7726a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-995%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=995&job=&cmd_args= [2021-06-30T03:14:36.061Z] -> Uploading to [2021-06-30T03:14:36.061Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-30/7E55EF52A471D76F132DFD9A03CDDE97/f71d0382f7893658433cb9dc5974898582d7726a/27d875a3-0df8-45db-bc20-ace89f068f7b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210630%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210630T031435Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c5bba59a9722207faad279cd656766479785a2fbc55dadb2aca9b67da9e6025d [2021-06-30T03:14:36.061Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-30T03:14:36.061Z] Dload Upload Total Spent Left Speed [2021-06-30T03:14:36.324Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16331 0 0 100 16331 0 51082 --:--:-- --:--:-- --:--:-- 51194 [2021-06-30T03:14:36.324Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/f71d0382f7893658433cb9dc5974898582d7726a [Pipeline] } [2021-06-30T03:14:36.362Z] Deleting 1 temporary files [Pipeline] // configFileProvider [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 [2021-06-30T03:14:39.019Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-30T03:14:39.632Z] ---> package-listing.sh [2021-06-30T03:14:39.632Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-30T03:14:39.632Z] ++ facter osfamily [2021-06-30T03:14:39.894Z] + OS_FAMILY=redhat [2021-06-30T03:14:39.894Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-995 [2021-06-30T03:14:39.894Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-30T03:14:39.894Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-30T03:14:39.894Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-30T03:14:39.894Z] + PACKAGES=/tmp/packages_start.txt [2021-06-30T03:14:39.894Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-995 ']' [2021-06-30T03:14:39.894Z] + PACKAGES=/tmp/packages_end.txt [2021-06-30T03:14:39.894Z] + case "${OS_FAMILY}" in [2021-06-30T03:14:39.894Z] + sort [2021-06-30T03:14:39.894Z] + rpm -qa [2021-06-30T03:14:40.468Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-30T03:14:40.468Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-30T03:14:40.468Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-30T03:14:40.468Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-995 ']' [2021-06-30T03:14:40.468Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-995/archives/ [2021-06-30T03:14:40.468Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-995/archives/ [Pipeline] echo [2021-06-30T03:14:40.509Z] 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-995/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-06-30T03:14:40.818Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-30T03:14:41.421Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-30T03:14:41.421Z] [2021-06-30T03:14:41.421Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-30T03:14:41.807Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-30T03:14:41.808Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-30T03:14:41.808Z] df20fa9351a1: Pulling fs layer [2021-06-30T03:14:41.808Z] 36b3adc4ff6f: Pulling fs layer [2021-06-30T03:14:41.808Z] 8ad3a11d3b57: Pulling fs layer [2021-06-30T03:14:41.808Z] 46f8f816bc3b: Pulling fs layer [2021-06-30T03:14:41.808Z] 93b61091891f: Pulling fs layer [2021-06-30T03:14:41.808Z] 93b9cdb0e59b: Pulling fs layer [2021-06-30T03:14:41.808Z] 5e14af77c1be: Pulling fs layer [2021-06-30T03:14:41.808Z] 01666e4c0597: Pulling fs layer [2021-06-30T03:14:41.808Z] aa168da1d23b: Pulling fs layer [2021-06-30T03:14:41.808Z] 46f8f816bc3b: Waiting [2021-06-30T03:14:41.808Z] 93b61091891f: Waiting [2021-06-30T03:14:41.808Z] 93b9cdb0e59b: Waiting [2021-06-30T03:14:41.808Z] 5e14af77c1be: Waiting [2021-06-30T03:14:41.808Z] 01666e4c0597: Waiting [2021-06-30T03:14:41.808Z] aa168da1d23b: Waiting [2021-06-30T03:14:41.808Z] 36b3adc4ff6f: Verifying Checksum [2021-06-30T03:14:41.808Z] 36b3adc4ff6f: Download complete [2021-06-30T03:14:42.072Z] 46f8f816bc3b: Verifying Checksum [2021-06-30T03:14:42.072Z] 46f8f816bc3b: Download complete [2021-06-30T03:14:42.072Z] df20fa9351a1: Verifying Checksum [2021-06-30T03:14:42.072Z] df20fa9351a1: Download complete [2021-06-30T03:14:42.072Z] 93b61091891f: Verifying Checksum [2021-06-30T03:14:42.072Z] 93b61091891f: Download complete [2021-06-30T03:14:42.072Z] 93b9cdb0e59b: Verifying Checksum [2021-06-30T03:14:42.072Z] 93b9cdb0e59b: Download complete [2021-06-30T03:14:42.072Z] 5e14af77c1be: Verifying Checksum [2021-06-30T03:14:42.072Z] 5e14af77c1be: Download complete [2021-06-30T03:14:42.072Z] 01666e4c0597: Verifying Checksum [2021-06-30T03:14:42.072Z] 01666e4c0597: Download complete [2021-06-30T03:14:42.072Z] 8ad3a11d3b57: Verifying Checksum [2021-06-30T03:14:42.072Z] 8ad3a11d3b57: Download complete [2021-06-30T03:14:42.339Z] df20fa9351a1: Pull complete [2021-06-30T03:14:42.339Z] 36b3adc4ff6f: Pull complete [2021-06-30T03:14:42.947Z] 8ad3a11d3b57: Pull complete [2021-06-30T03:14:42.947Z] 46f8f816bc3b: Pull complete [2021-06-30T03:14:43.217Z] 93b61091891f: Pull complete [2021-06-30T03:14:43.218Z] 93b9cdb0e59b: Pull complete [2021-06-30T03:14:43.481Z] 5e14af77c1be: Pull complete [2021-06-30T03:14:43.481Z] 01666e4c0597: Pull complete [2021-06-30T03:14:44.426Z] aa168da1d23b: Verifying Checksum [2021-06-30T03:14:44.426Z] aa168da1d23b: Download complete [2021-06-30T03:14:48.678Z] aa168da1d23b: Pull complete [2021-06-30T03:14:48.678Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-30T03:14:48.678Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-30T03:14:48.678Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-30T03:14:48.781Z] prd-centos7-docker-4c-2g-810 does not seem to be running inside a container [2021-06-30T03:14:48.825Z] $ 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-995/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-995 -v /w/workspace/dgexfoundry_device-sdk-go_PR-995:/w/workspace/dgexfoundry_device-sdk-go_PR-995:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-995@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-995@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 [2021-06-30T03:14:51.962Z] $ docker top 5c0cd6538390194deb8e1e51a3d51c97856b5de8627fc83ace81879681977abf -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-30T03:14:52.385Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-30T03:14:52.702Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-30T03:14:53.027Z] + ls /var/log/sa-host [2021-06-30T03:14:53.027Z] + sadf -c /var/log/sa-host/sa05 [2021-06-30T03:14:53.027Z] file_magic: OK [2021-06-30T03:14:53.027Z] HZ: Using current value: 100 [2021-06-30T03:14:53.027Z] file_header: OK [2021-06-30T03:14:53.027Z] 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 [2021-06-30T03:14:53.027Z] Statistics: [2021-06-30T03:14:53.027Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-30T03:14:53.027Z] File successfully converted to sysstat format version 12.2.1 [2021-06-30T03:14:53.027Z] + sadf -c /var/log/sa-host/sa30 [2021-06-30T03:14:53.027Z] file_magic: OK [2021-06-30T03:14:53.027Z] HZ: Using current value: 100 [2021-06-30T03:14:53.027Z] file_header: OK [2021-06-30T03:14:53.027Z] 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 [2021-06-30T03:14:53.027Z] Statistics: [2021-06-30T03:14:53.027Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-30T03:14:53.027Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-30T03:14:53.314Z] provisioning config files... [2021-06-30T03:14:53.342Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-995@tmp/config3498580441252067115tmp [Pipeline] { [Pipeline] echo [2021-06-30T03:14:53.403Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-30T03:14:53.753Z] ---> create-netrc.sh [Pipeline] } [2021-06-30T03:14:53.776Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-30T03:14:54.233Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-30T03:14:54.271Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-30T03:14:54.635Z] ---> sudo-logs.sh [2021-06-30T03:14:54.635Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-30T03:14:54.716Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-30T03:14:55.052Z] ---> job-cost.sh [2021-06-30T03:14:55.052Z] lf-activate-venv: SKIPPING [2021-06-30T03:14:55.052Z] DEBUG: total: 0.18000000715255737 [2021-06-30T03:14:55.052Z] INFO: Retrieving Stack Cost... [2021-06-30T03:14:56.003Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-30T03:14:56.272Z] INFO: Archiving Costs [Pipeline] echo [2021-06-30T03:14:56.326Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-30T03:14:56.677Z] ---> logs-deploy.sh [2021-06-30T03:14:56.677Z] lf-activate-venv: SKIPPING [2021-06-30T03:14:56.677Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-995/1 [2021-06-30T03:14:56.677Z] INFO: archiving workspace using pattern(s): [2021-06-30T03:14:57.635Z] Archives upload complete. [2021-06-30T03:14:57.636Z] INFO: archiving logs to Nexus