Pull request #968 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from fd4c598e3f682395604d9fcce3829f6d5120df29+5c06a72fcc3128da4af48966d2175cda114393df (06d4ef2fe0b9f50f272eb6a77f69c2998431afb4) 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-ssh932518004963033783.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-ssh8542129706296542522.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-968/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-968/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5453961064845242341.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-968/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6195638418942508536.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-ssh3155143328274665477.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd 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-968/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-968/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh6829779485632466355.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 d1a99147b03c6cd90561f8e70b7af78166bcd4cd (master) > git config core.sparsecheckout # timeout=10 > git checkout -f d1a99147b03c6cd90561f8e70b7af78166bcd4cd # timeout=10 Commit message: "Feat: Add initial Java pipeline functionality" > 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/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.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/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-centos7-docker-4c-2g-442 in /w/workspace/dgexfoundry_device-sdk-go_PR-968 [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-968 # 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-968@tmp/jenkins-gitclient-ssh2355068325601061466.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 5c06a72fcc3128da4af48966d2175cda114393df into PR head commit fd4c598e3f682395604d9fcce3829f6d5120df29 Merge succeeded, producing fd4c598e3f682395604d9fcce3829f6d5120df29 Checking out Revision fd4c598e3f682395604d9fcce3829f6d5120df29 (PR-968) > 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-968@tmp/jenkins-gitclient-ssh5001927982219536339.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/968/head:refs/remotes/origin/PR-968 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fd4c598e3f682395604d9fcce3829f6d5120df29 # 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-968@tmp/jenkins-gitclient-ssh5213124826598498314.key > git merge 5c06a72fcc3128da4af48966d2175cda114393df # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fd4c598e3f682395604d9fcce3829f6d5120df29 # timeout=10 Commit message: "refactor: update imports path" 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-11T03:39:11.376Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-11T03:39:11.610Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-11T03:39:11.738Z] ========================================================= [2021-06-11T03:39:11.738Z] EdgeX Global Pipelines Version Info [2021-06-11T03:39:11.738Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-11T03:39:13.266Z] ------------------- [2021-06-11T03:39:13.266Z] stable info: [2021-06-11T03:39:13.266Z] ------------------- [2021-06-11T03:39:13.266Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-11T03:39:13.266Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-11T03:39:13.266Z] Message: update stable to v1.0.195 [2021-06-11T03:39:13.841Z] ------------------- [2021-06-11T03:39:13.841Z] experimental info: [2021-06-11T03:39:13.841Z] ------------------- [2021-06-11T03:39:13.841Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-11T03:39:13.841Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-11T03:39:13.841Z] Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-11T03:39:14.120Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-06-11T03:39:14.179Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-06-11T03:39:14.243Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-11T03:39:14.333Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-11T03:39:14.414Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-11T03:39:14.479Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-11T03:39:14.542Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-11T03:39:14.607Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-11T03:39:14.671Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-06-11T03:39:14.735Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-11T03:39:14.797Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-11T03:39:14.856Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-06-11T03:39:14.914Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-11T03:39:14.968Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-11T03:39:15.023Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-11T03:39:15.077Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-06-11T03:39:15.138Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-11T03:39:15.210Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-11T03:39:15.273Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-11T03:39:15.332Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-11T03:39:15.414Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-06-11T03:39:15.483Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-06-11T03:39:15.552Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-11T03:39:15.606Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-11T03:39:15.661Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-11T03:39:15.716Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-11T03:39:15.778Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-968 [Pipeline] echo [2021-06-11T03:39:15.841Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-968 [Pipeline] echo [2021-06-11T03:39:15.899Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-968 [Pipeline] echo [2021-06-11T03:39:15.964Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fd4c598e3f682395604d9fcce3829f6d5120df29 [Pipeline] echo [2021-06-11T03:39:16.025Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fd4c598 [Pipeline] echo [2021-06-11T03:39:16.084Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-11T03:39:16.291Z] provisioning config files... [2021-06-11T03:39:16.307Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-968@tmp/config5470268663384835328tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-11T03:39:16.694Z] ---> docker-login.sh [2021-06-11T03:39:16.694Z] nexus3.edgexfoundry.org:10001 [2021-06-11T03:39:16.956Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-11T03:39:16.956Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-11T03:39:16.956Z] Configure a credential helper to remove this warning. See [2021-06-11T03:39:16.956Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-11T03:39:16.956Z] [2021-06-11T03:39:16.956Z] Login Succeeded [2021-06-11T03:39:16.956Z] nexus3.edgexfoundry.org:10002 [2021-06-11T03:39:16.956Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-11T03:39:17.219Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-11T03:39:17.219Z] Configure a credential helper to remove this warning. See [2021-06-11T03:39:17.219Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-11T03:39:17.219Z] [2021-06-11T03:39:17.219Z] Login Succeeded [2021-06-11T03:39:17.219Z] nexus3.edgexfoundry.org:10003 [2021-06-11T03:39:17.219Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-11T03:39:17.219Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-11T03:39:17.219Z] Configure a credential helper to remove this warning. See [2021-06-11T03:39:17.219Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-11T03:39:17.219Z] [2021-06-11T03:39:17.219Z] Login Succeeded [2021-06-11T03:39:17.219Z] nexus3.edgexfoundry.org:10004 [2021-06-11T03:39:17.219Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-11T03:39:17.481Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-11T03:39:17.481Z] Configure a credential helper to remove this warning. See [2021-06-11T03:39:17.481Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-11T03:39:17.481Z] [2021-06-11T03:39:17.481Z] Login Succeeded [2021-06-11T03:39:17.481Z] docker.io [2021-06-11T03:39:17.481Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-11T03:39:17.742Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-11T03:39:17.742Z] Configure a credential helper to remove this warning. See [2021-06-11T03:39:17.742Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-11T03:39:17.742Z] [2021-06-11T03:39:17.742Z] Login Succeeded [2021-06-11T03:39:17.742Z] ---> docker-login.sh ends [Pipeline] } [2021-06-11T03:39:17.765Z] 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-11T03:39:18.558Z] + git log --format=format:%s -1 fd4c598e3f682395604d9fcce3829f6d5120df29 [Pipeline] echo [2021-06-11T03:39:18.614Z] GIT_COMMIT: fd4c598e3f682395604d9fcce3829f6d5120df29, Commit Message: refactor: update imports path [Pipeline] echo [2021-06-11T03:39:18.667Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-11T03:39:19.764Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-11T03:39:19.764Z] [2021-06-11T03:39:19.764Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-11T03:39:20.144Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-11T03:39:20.144Z] latest: Pulling from edgex-devops/git-semver [2021-06-11T03:39:20.144Z] 31603596830f: Pulling fs layer [2021-06-11T03:39:20.144Z] 54011a49482f: Pulling fs layer [2021-06-11T03:39:20.144Z] a6820b24f6d8: Pulling fs layer [2021-06-11T03:39:20.144Z] f581987b2513: Pulling fs layer [2021-06-11T03:39:20.144Z] f581987b2513: Waiting [2021-06-11T03:39:20.144Z] 54011a49482f: Verifying Checksum [2021-06-11T03:39:20.144Z] 54011a49482f: Download complete [2021-06-11T03:39:20.144Z] 31603596830f: Verifying Checksum [2021-06-11T03:39:20.144Z] 31603596830f: Download complete [2021-06-11T03:39:20.407Z] f581987b2513: Verifying Checksum [2021-06-11T03:39:20.407Z] f581987b2513: Download complete [2021-06-11T03:39:20.407Z] a6820b24f6d8: Verifying Checksum [2021-06-11T03:39:20.407Z] a6820b24f6d8: Download complete [2021-06-11T03:39:20.407Z] 31603596830f: Pull complete [2021-06-11T03:39:20.676Z] 54011a49482f: Pull complete [2021-06-11T03:39:21.251Z] a6820b24f6d8: Pull complete [2021-06-11T03:39:21.519Z] f581987b2513: Pull complete [2021-06-11T03:39:21.519Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-11T03:39:21.519Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-11T03:39:21.519Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-11T03:39:21.631Z] prd-centos7-docker-4c-2g-442 does not seem to be running inside a container [2021-06-11T03:39:21.679Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-968 -v /w/workspace/dgexfoundry_device-sdk-go_PR-968:/w/workspace/dgexfoundry_device-sdk-go_PR-968:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-968@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-968@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-11T03:39:22.885Z] $ docker top 2f97a1d190e2bac9b9713e0666f77289427a6cdc4d1677a81d8c2f6276d49cbc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-11T03:39:23.107Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-11T03:39:23.107Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-11T03:39:23.212Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-11T03:39:23.212Z] $ docker exec 2f97a1d190e2bac9b9713e0666f77289427a6cdc4d1677a81d8c2f6276d49cbc ssh-agent [2021-06-11T03:39:23.320Z] SSH_AUTH_SOCK=/tmp/ssh-jQ3xKQq7LWzP/agent.13 [2021-06-11T03:39:23.320Z] SSH_AGENT_PID=19 [2021-06-11T03:39:23.327Z] Running ssh-add (command line suppressed) [2021-06-11T03:39:23.420Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-968@tmp/private_key_4646950090456879474.key (/w/workspace/dgexfoundry_device-sdk-go_PR-968@tmp/private_key_4646950090456879474.key) [2021-06-11T03:39:23.436Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-11T03:39:23.790Z] + git tag --points-at HEAD [Pipeline] } [2021-06-11T03:39:23.812Z] $ docker exec --env ******** --env ******** 2f97a1d190e2bac9b9713e0666f77289427a6cdc4d1677a81d8c2f6276d49cbc ssh-agent -k [2021-06-11T03:39:23.913Z] unset SSH_AUTH_SOCK; [2021-06-11T03:39:23.913Z] unset SSH_AGENT_PID; [2021-06-11T03:39:23.913Z] echo Agent pid 19 killed; [2021-06-11T03:39:23.930Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-11T03:39:24.028Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-11T03:39:24.028Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-11T03:39:24.136Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-11T03:39:24.137Z] $ docker exec 2f97a1d190e2bac9b9713e0666f77289427a6cdc4d1677a81d8c2f6276d49cbc ssh-agent [2021-06-11T03:39:24.256Z] SSH_AUTH_SOCK=/tmp/ssh-IO2gzLq1p5EC/agent.52 [2021-06-11T03:39:24.256Z] SSH_AGENT_PID=58 [2021-06-11T03:39:24.269Z] Running ssh-add (command line suppressed) [2021-06-11T03:39:24.363Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-968@tmp/private_key_4225082998669682121.key (/w/workspace/dgexfoundry_device-sdk-go_PR-968@tmp/private_key_4225082998669682121.key) [2021-06-11T03:39:24.379Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-11T03:39:24.744Z] + git semver init [2021-06-11T03:39:24.744Z] # -> Open(): unable to determine branch for HEAD [2021-06-11T03:39:24.744Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-968/.git [2021-06-11T03:39:24.744Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-968 [2021-06-11T03:39:24.744Z] # $SEMVER_REMOTE_NAME = origin [2021-06-11T03:39:24.744Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-11T03:39:24.744Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-11T03:39:24.744Z] # $SEMVER_BRANCH = PR-968 [2021-06-11T03:39:24.744Z] # $SEMVER_TEMP = /tmp/semver-217073523 [2021-06-11T03:39:24.744Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-06-11T03:39:25.323Z] # '/tmp/semver-217073523' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-968/.semver' [2021-06-11T03:39:25.323Z] # -> Force: false [2021-06-11T03:39:25.323Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-968/.semver [Pipeline] } [2021-06-11T03:39:25.352Z] $ docker exec --env ******** --env ******** 2f97a1d190e2bac9b9713e0666f77289427a6cdc4d1677a81d8c2f6276d49cbc ssh-agent -k [2021-06-11T03:39:25.457Z] unset SSH_AUTH_SOCK; [2021-06-11T03:39:25.457Z] unset SSH_AGENT_PID; [2021-06-11T03:39:25.457Z] echo Agent pid 58 killed; [2021-06-11T03:39:25.470Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-11T03:39:25.938Z] + git semver [Pipeline] } [2021-06-11T03:39:25.968Z] $ docker stop --time=1 2f97a1d190e2bac9b9713e0666f77289427a6cdc4d1677a81d8c2f6276d49cbc [2021-06-11T03:39:27.271Z] $ docker rm -f 2f97a1d190e2bac9b9713e0666f77289427a6cdc4d1677a81d8c2f6276d49cbc [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-11T03:39:27.706Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-11T03:39:28.054Z] Stashed 1 file(s) [Pipeline] echo [2021-06-11T03:39:28.081Z] [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-11T03:39:43.623Z] Still waiting to schedule task [2021-06-11T03:39:43.624Z] ‘prd-centos7-docker-4c-2g-443’ is offline [2021-06-11T03:39:43.649Z] Still waiting to schedule task [2021-06-11T03:39:43.650Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-06-11T03:41:32.751Z] Running on prd-centos7-docker-4c-2g-446 in /w/workspace/dgexfoundry_device-sdk-go_PR-968 [Pipeline] { [Pipeline] ws [2021-06-11T03:41:32.810Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-06-11T03:41:32.978Z] Selected Git installation does not exist. Using Default [2021-06-11T03:41:32.978Z] The recommended git tool is: NONE [2021-06-11T03:41:35.349Z] using credential edgex-jenkins-ssh [2021-06-11T03:41:35.363Z] Cloning the remote Git repository [2021-06-11T03:41:35.393Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-06-11T03:41:35.457Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-06-11T03:41:35.488Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-11T03:41:35.488Z] > git --version # timeout=10 [2021-06-11T03:41:35.494Z] > git --version # 'git version 2.24.4' [2021-06-11T03:41:35.495Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-11T03:41:35.524Z] [INFO] Currently running in a labeled security context [2021-06-11T03:41:35.524Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-11T03:41:35.524Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh1915705066956682386.key [2021-06-11T03:41:35.534Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-11T03:41:36.286Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-11T03:41:36.290Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-11T03:41:36.315Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-11T03:41:36.330Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-11T03:41:36.330Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-11T03:41:36.331Z] [INFO] Currently running in a labeled security context [2021-06-11T03:41:36.331Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-11T03:41:36.331Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh2349373130646672944.key [2021-06-11T03:41:36.343Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/968/head:refs/remotes/origin/PR-968 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-11T03:41:36.803Z] Merging remotes/origin/master commit 5c06a72fcc3128da4af48966d2175cda114393df into PR head commit fd4c598e3f682395604d9fcce3829f6d5120df29 [2021-06-11T03:41:36.898Z] Merge succeeded, producing fd4c598e3f682395604d9fcce3829f6d5120df29 [2021-06-11T03:41:36.899Z] Checking out Revision fd4c598e3f682395604d9fcce3829f6d5120df29 (PR-968) [2021-06-11T03:41:36.811Z] > git config core.sparsecheckout # timeout=10 [2021-06-11T03:41:36.818Z] > git checkout -f fd4c598e3f682395604d9fcce3829f6d5120df29 # timeout=10 [2021-06-11T03:41:36.859Z] > git remote # timeout=10 [2021-06-11T03:41:36.866Z] > git config --get remote.origin.url # timeout=10 [2021-06-11T03:41:36.874Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-11T03:41:36.875Z] [INFO] Currently running in a labeled security context [2021-06-11T03:41:36.875Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-11T03:41:36.875Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh905207395805718995.key [2021-06-11T03:41:36.882Z] > git merge 5c06a72fcc3128da4af48966d2175cda114393df # timeout=10 [2021-06-11T03:41:36.892Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-11T03:41:36.901Z] > git config core.sparsecheckout # timeout=10 [2021-06-11T03:41:36.908Z] > git checkout -f fd4c598e3f682395604d9fcce3829f6d5120df29 # timeout=10 [2021-06-11T03:41:40.478Z] Commit message: "refactor: update imports path" [2021-06-11T03:41:40.500Z] > git --version # timeout=10 [2021-06-11T03:41:40.505Z] > git --version # 'git version 2.24.4' [2021-06-11T03:41:40.517Z] fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-11T03:41:41.818Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-11T03:41:42.175Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-11T03:41:42.493Z] + sudo service docker restart [2021-06-11T03:41:42.493Z] + true [2021-06-11T03:41:42.493Z] Redirecting to /bin/systemctl restart docker.service [2021-06-11T03:41:52.544Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-445 in /w/workspace/dgexfoundry_device-sdk-go_PR-968 [Pipeline] { [Pipeline] ws [2021-06-11T03:41:52.654Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-06-11T03:41:52.938Z] Selected Git installation does not exist. Using Default [2021-06-11T03:41:52.938Z] The recommended git tool is: NONE [2021-06-11T03:41:58.262Z] using credential edgex-jenkins-ssh [2021-06-11T03:41:58.283Z] Cloning the remote Git repository [2021-06-11T03:41:58.340Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-06-11T03:41:58.446Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-06-11T03:41:58.545Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-11T03:41:58.546Z] > git --version # timeout=10 [2021-06-11T03:41:58.561Z] > git --version # 'git version 2.17.1' [2021-06-11T03:41:58.562Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-11T03:41:58.627Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-11T03:41:59.913Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-11T03:41:59.928Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-11T03:41:59.960Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-11T03:41:59.992Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-11T03:41:59.993Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-11T03:42:00.005Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/968/head:refs/remotes/origin/PR-968 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-11T03:42:00.687Z] Merging remotes/origin/master commit 5c06a72fcc3128da4af48966d2175cda114393df into PR head commit fd4c598e3f682395604d9fcce3829f6d5120df29 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-11T03:42:00.845Z] provisioning config files... [2021-06-11T03:42:00.861Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config5014494136932019132tmp [2021-06-11T03:42:00.899Z] Merge succeeded, producing fd4c598e3f682395604d9fcce3829f6d5120df29 [2021-06-11T03:42:00.899Z] Checking out Revision fd4c598e3f682395604d9fcce3829f6d5120df29 (PR-968) [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-11T03:42:01.311Z] ---> docker-login.sh [2021-06-11T03:42:01.312Z] nexus3.edgexfoundry.org:10001 [2021-06-11T03:42:01.577Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-11T03:42:01.577Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-11T03:42:01.577Z] Configure a credential helper to remove this warning. See [2021-06-11T03:42:01.577Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-11T03:42:01.577Z] [2021-06-11T03:42:01.577Z] Login Succeeded [2021-06-11T03:42:01.577Z] nexus3.edgexfoundry.org:10002 [2021-06-11T03:42:01.577Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-11T03:42:00.705Z] > git config core.sparsecheckout # timeout=10 [2021-06-11T03:42:00.718Z] > git checkout -f fd4c598e3f682395604d9fcce3829f6d5120df29 # timeout=10 [2021-06-11T03:42:00.819Z] > git remote # timeout=10 [2021-06-11T03:42:00.842Z] > git config --get remote.origin.url # timeout=10 [2021-06-11T03:42:00.854Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-11T03:42:00.865Z] > git merge 5c06a72fcc3128da4af48966d2175cda114393df # timeout=10 [2021-06-11T03:42:00.885Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-11T03:42:00.905Z] > git config core.sparsecheckout # timeout=10 [2021-06-11T03:42:00.920Z] > git checkout -f fd4c598e3f682395604d9fcce3829f6d5120df29 # timeout=10 [2021-06-11T03:42:01.843Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-11T03:42:01.844Z] Configure a credential helper to remove this warning. See [2021-06-11T03:42:01.844Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-11T03:42:01.844Z] [2021-06-11T03:42:01.844Z] Login Succeeded [2021-06-11T03:42:01.844Z] nexus3.edgexfoundry.org:10003 [2021-06-11T03:42:01.844Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-11T03:42:01.844Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-11T03:42:01.844Z] Configure a credential helper to remove this warning. See [2021-06-11T03:42:01.844Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-11T03:42:01.844Z] [2021-06-11T03:42:01.844Z] Login Succeeded [2021-06-11T03:42:01.844Z] nexus3.edgexfoundry.org:10004 [2021-06-11T03:42:02.113Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-11T03:42:02.113Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-11T03:42:02.113Z] Configure a credential helper to remove this warning. See [2021-06-11T03:42:02.113Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-11T03:42:02.113Z] [2021-06-11T03:42:02.113Z] Login Succeeded [2021-06-11T03:42:02.113Z] docker.io [2021-06-11T03:42:02.113Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-11T03:42:02.377Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-11T03:42:02.377Z] Configure a credential helper to remove this warning. See [2021-06-11T03:42:02.377Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-11T03:42:02.377Z] [2021-06-11T03:42:02.377Z] Login Succeeded [2021-06-11T03:42:02.377Z] ---> docker-login.sh ends [Pipeline] } [2021-06-11T03:42:02.424Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-11T03:42:02.749Z] ========================================================= [2021-06-11T03:42:02.749Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-11T03:42:02.749Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-11T03:42:03.121Z] + 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-11T03:42:03.121Z] Sending build context to Docker daemon 2.828MB [2021-06-11T03:42:03.121Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-11T03:42:03.121Z] Step 2/8 : FROM ${BASE} [2021-06-11T03:42:03.392Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-11T03:42:03.392Z] 540db60ca938: Pulling fs layer [2021-06-11T03:42:03.392Z] adcc1eea9eea: Pulling fs layer [2021-06-11T03:42:03.392Z] 4c4ab2625f07: Pulling fs layer [2021-06-11T03:42:03.392Z] 0510c868ecb4: Pulling fs layer [2021-06-11T03:42:03.392Z] afea3b2eda06: Pulling fs layer [2021-06-11T03:42:03.392Z] 7809a108b3ef: Pulling fs layer [2021-06-11T03:42:03.392Z] f706445af74f: Pulling fs layer [2021-06-11T03:42:03.392Z] afea3b2eda06: Waiting [2021-06-11T03:42:03.392Z] 7809a108b3ef: Waiting [2021-06-11T03:42:03.392Z] f706445af74f: Waiting [2021-06-11T03:42:03.392Z] 0510c868ecb4: Waiting [2021-06-11T03:42:03.392Z] 4c4ab2625f07: Verifying Checksum [2021-06-11T03:42:03.392Z] 4c4ab2625f07: Download complete [2021-06-11T03:42:03.392Z] adcc1eea9eea: Verifying Checksum [2021-06-11T03:42:03.392Z] adcc1eea9eea: Download complete [2021-06-11T03:42:03.392Z] afea3b2eda06: Verifying Checksum [2021-06-11T03:42:03.392Z] afea3b2eda06: Download complete [2021-06-11T03:42:03.392Z] 540db60ca938: Verifying Checksum [2021-06-11T03:42:03.392Z] 540db60ca938: Download complete [2021-06-11T03:42:03.392Z] 7809a108b3ef: Verifying Checksum [2021-06-11T03:42:03.392Z] 7809a108b3ef: Download complete [2021-06-11T03:42:03.652Z] 540db60ca938: Pull complete [2021-06-11T03:42:03.652Z] adcc1eea9eea: Pull complete [2021-06-11T03:42:03.915Z] 4c4ab2625f07: Pull complete [2021-06-11T03:42:05.146Z] Commit message: "refactor: update imports path" [2021-06-11T03:42:05.201Z] > git --version # timeout=10 [2021-06-11T03:42:05.210Z] > git --version # 'git version 2.17.1' [2021-06-11T03:42:05.232Z] fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-11T03:42:05.304Z] f706445af74f: Verifying Checksum [2021-06-11T03:42:05.304Z] f706445af74f: Download complete [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-11T03:42:05.881Z] 0510c868ecb4: Verifying Checksum [2021-06-11T03:42:05.881Z] 0510c868ecb4: Download complete [2021-06-11T03:42:06.745Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-11T03:42:07.167Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-11T03:42:07.524Z] + sudo service docker+ restart [2021-06-11T03:42:07.524Z] true [2021-06-11T03:42:10.113Z] 0510c868ecb4: Pull complete [2021-06-11T03:42:10.113Z] afea3b2eda06: Pull complete [2021-06-11T03:42:10.113Z] 7809a108b3ef: Pull complete [2021-06-11T03:42:11.531Z] f706445af74f: Pull complete [2021-06-11T03:42:11.531Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-11T03:42:11.531Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-11T03:42:11.531Z] ---> b068be0155e3 [2021-06-11T03:42:11.531Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-11T03:42:18.122Z] ---> Running in 8e84139c8d80 [2021-06-11T03:42:18.122Z] Removing intermediate container 8e84139c8d80 [2021-06-11T03:42:18.122Z] ---> 3eaf5ab77ac4 [2021-06-11T03:42:18.122Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-11T03:42:18.122Z] ---> Running in bc296ee475ed [2021-06-11T03:42:18.387Z] Removing intermediate container bc296ee475ed [2021-06-11T03:42:18.387Z] ---> 4dce768e33bb [2021-06-11T03:42:18.387Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-06-11T03:42:18.654Z] ---> Running in 75549e3a114c [2021-06-11T03:42:18.915Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-11T03:42:19.863Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-11T03:42:20.437Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-06-11T03:42:20.437Z] (2/6) Installing libsodium (1.0.18-r0) [2021-06-11T03:42:20.437Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-06-11T03:42:20.699Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-06-11T03:42:20.699Z] (5/6) Installing libzmq (4.3.3-r1) [2021-06-11T03:42:20.699Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-06-11T03:42:20.962Z] Executing busybox-1.32.1-r6.trigger [2021-06-11T03:42:20.962Z] OK: 150 MiB in 46 packages [2021-06-11T03:42:22.359Z] Removing intermediate container 75549e3a114c [2021-06-11T03:42:22.359Z] ---> 063f2caccc33 [2021-06-11T03:42:22.359Z] Step 6/8 : WORKDIR /device-sdk-go [2021-06-11T03:42:22.359Z] ---> Running in de860512a09e [2021-06-11T03:42:22.621Z] Removing intermediate container de860512a09e [2021-06-11T03:42:22.621Z] ---> a27908f23715 [2021-06-11T03:42:22.621Z] Step 7/8 : COPY . . [2021-06-11T03:42:23.570Z] ---> d7400c508e88 [2021-06-11T03:42:23.570Z] Step 8/8 : RUN go mod download [2021-06-11T03:42:23.570Z] ---> Running in 9663c45c0572 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-11T03:42:25.993Z] provisioning config files... [2021-06-11T03:42:26.018Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config4237080915500800283tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-11T03:42:26.457Z] ---> docker-login.sh [2021-06-11T03:42:26.457Z] nexus3.edgexfoundry.org:10001 [2021-06-11T03:42:27.443Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-11T03:42:27.722Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-11T03:42:27.722Z] Configure a credential helper to remove this warning. See [2021-06-11T03:42:27.722Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-11T03:42:27.722Z] [2021-06-11T03:42:27.722Z] Login Succeeded [2021-06-11T03:42:27.722Z] nexus3.edgexfoundry.org:10002 [2021-06-11T03:42:27.999Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-11T03:42:28.274Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-11T03:42:28.274Z] Configure a credential helper to remove this warning. See [2021-06-11T03:42:28.274Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-11T03:42:28.274Z] [2021-06-11T03:42:28.274Z] Login Succeeded [2021-06-11T03:42:28.274Z] nexus3.edgexfoundry.org:10003 [2021-06-11T03:42:28.550Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-11T03:42:28.826Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-11T03:42:28.826Z] Configure a credential helper to remove this warning. See [2021-06-11T03:42:28.826Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-11T03:42:28.826Z] [2021-06-11T03:42:28.826Z] Login Succeeded [2021-06-11T03:42:28.826Z] nexus3.edgexfoundry.org:10004 [2021-06-11T03:42:29.100Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-11T03:42:29.374Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-11T03:42:29.374Z] Configure a credential helper to remove this warning. See [2021-06-11T03:42:29.374Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-11T03:42:29.374Z] [2021-06-11T03:42:29.374Z] Login Succeeded [2021-06-11T03:42:29.374Z] docker.io [2021-06-11T03:42:29.650Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-11T03:42:30.245Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-11T03:42:30.245Z] Configure a credential helper to remove this warning. See [2021-06-11T03:42:30.245Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-11T03:42:30.245Z] [2021-06-11T03:42:30.245Z] Login Succeeded [2021-06-11T03:42:30.245Z] ---> docker-login.sh ends [Pipeline] } [2021-06-11T03:42:30.280Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-11T03:42:30.924Z] ========================================================= [2021-06-11T03:42:30.924Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-11T03:42:30.924Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-11T03:42:31.328Z] + 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-11T03:42:31.929Z] Sending build context to Docker daemon 2.827MB [2021-06-11T03:42:31.929Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-11T03:42:31.929Z] Step 2/8 : FROM ${BASE} [2021-06-11T03:42:32.213Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-11T03:42:32.213Z] 595b0fe564bb: Pulling fs layer [2021-06-11T03:42:32.213Z] 3088b5b3c5c0: Pulling fs layer [2021-06-11T03:42:32.213Z] 5b7225fbf94c: Pulling fs layer [2021-06-11T03:42:32.213Z] ba82ee9f976e: Pulling fs layer [2021-06-11T03:42:32.213Z] 506bd15cee9f: Pulling fs layer [2021-06-11T03:42:32.213Z] 75a0a4a0db45: Pulling fs layer [2021-06-11T03:42:32.213Z] 618dc40b7e24: Pulling fs layer [2021-06-11T03:42:32.213Z] 618dc40b7e24: Waiting [2021-06-11T03:42:32.213Z] 506bd15cee9f: Waiting [2021-06-11T03:42:32.213Z] 75a0a4a0db45: Waiting [2021-06-11T03:42:32.213Z] 5b7225fbf94c: Verifying Checksum [2021-06-11T03:42:32.213Z] 5b7225fbf94c: Download complete [2021-06-11T03:42:32.213Z] 3088b5b3c5c0: Verifying Checksum [2021-06-11T03:42:32.213Z] 3088b5b3c5c0: Download complete [2021-06-11T03:42:32.213Z] 506bd15cee9f: Verifying Checksum [2021-06-11T03:42:32.213Z] 506bd15cee9f: Download complete [2021-06-11T03:42:32.213Z] 595b0fe564bb: Download complete [2021-06-11T03:42:32.213Z] 75a0a4a0db45: Verifying Checksum [2021-06-11T03:42:32.213Z] 75a0a4a0db45: Download complete [2021-06-11T03:42:33.206Z] 595b0fe564bb: Pull complete [2021-06-11T03:42:33.479Z] 3088b5b3c5c0: Pull complete [2021-06-11T03:42:34.084Z] 5b7225fbf94c: Pull complete [2021-06-11T03:42:34.362Z] 618dc40b7e24: Verifying Checksum [2021-06-11T03:42:34.362Z] 618dc40b7e24: Download complete [2021-06-11T03:42:35.791Z] ba82ee9f976e: Verifying Checksum [2021-06-11T03:42:45.954Z] ba82ee9f976e: Pull complete [2021-06-11T03:42:45.954Z] 506bd15cee9f: Pull complete [2021-06-11T03:42:46.552Z] 75a0a4a0db45: Pull complete [2021-06-11T03:42:49.946Z] 618dc40b7e24: Pull complete [2021-06-11T03:42:50.222Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-06-11T03:42:50.222Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-11T03:42:50.222Z] ---> a36622ca3599 [2021-06-11T03:42:50.222Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-11T03:42:52.224Z] ---> Running in fc4a0d1ea4b6 [2021-06-11T03:42:52.817Z] Removing intermediate container fc4a0d1ea4b6 [2021-06-11T03:42:52.818Z] ---> 876ee89d1a58 [2021-06-11T03:42:52.818Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-11T03:42:52.818Z] ---> Running in bc706aa7147c [2021-06-11T03:42:55.452Z] Removing intermediate container bc706aa7147c [2021-06-11T03:42:55.452Z] ---> e7f64c615da6 [2021-06-11T03:42:55.452Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-06-11T03:42:55.452Z] ---> Running in 4f5f63960167 [2021-06-11T03:42:56.435Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-11T03:42:57.867Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-11T03:42:58.468Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-06-11T03:42:58.468Z] (2/6) Installing libsodium (1.0.18-r0) [2021-06-11T03:42:58.468Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-06-11T03:42:58.468Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-06-11T03:42:58.740Z] (5/6) Installing libzmq (4.3.3-r1) [2021-06-11T03:42:58.740Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-06-11T03:42:59.014Z] Executing busybox-1.32.1-r6.trigger [2021-06-11T03:42:59.014Z] OK: 139 MiB in 46 packages [2021-06-11T03:43:00.446Z] Removing intermediate container 4f5f63960167 [2021-06-11T03:43:00.446Z] ---> 13d9fd8c13db [2021-06-11T03:43:00.446Z] Step 6/8 : WORKDIR /device-sdk-go [2021-06-11T03:43:00.446Z] ---> Running in 4ea9c009fa16 [2021-06-11T03:43:01.039Z] Removing intermediate container 4ea9c009fa16 [2021-06-11T03:43:01.039Z] ---> f881c4348e8f [2021-06-11T03:43:01.039Z] Step 7/8 : COPY . . [2021-06-11T03:43:02.387Z] Removing intermediate container 9663c45c0572 [2021-06-11T03:43:02.387Z] ---> 48ddb40d5c1a [2021-06-11T03:43:02.387Z] Successfully built 48ddb40d5c1a [2021-06-11T03:43:02.387Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-11T03:43:02.491Z] ---> f148f248aaae [2021-06-11T03:43:02.491Z] Step 8/8 : RUN go mod download [2021-06-11T03:43:02.741Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-11T03:43:02.741Z] . [Pipeline] withDockerContainer [2021-06-11T03:43:02.778Z] ---> Running in 156ad73faa39 [2021-06-11T03:43:02.848Z] prd-centos7-docker-4c-2g-446 does not seem to be running inside a container [2021-06-11T03:43:02.886Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-11T03:43:03.321Z] $ docker top efaec50542ee790e7ed91a9e4c43fc48f71111b6d0a05a3763efe621633c6324 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-11T03:43:03.778Z] + go version [2021-06-11T03:43:03.779Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-11T03:43:03.808Z] $ docker stop --time=1 efaec50542ee790e7ed91a9e4c43fc48f71111b6d0a05a3763efe621633c6324 [2021-06-11T03:43:04.990Z] $ docker rm -f efaec50542ee790e7ed91a9e4c43fc48f71111b6d0a05a3763efe621633c6324 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-11T03:43:05.805Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-11T03:43:05.806Z] . [Pipeline] withDockerContainer [2021-06-11T03:43:05.901Z] prd-centos7-docker-4c-2g-446 does not seem to be running inside a container [2021-06-11T03:43:05.941Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-11T03:43:06.425Z] $ docker top 4eb01da21375179bde38ed9aa4d69c7bacb140edd270dc95b2f43a0368714de5 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-11T03:43:06.913Z] + go mod tidy [Pipeline] sh [2021-06-11T03:43:07.502Z] + make test [2021-06-11T03:43:07.502Z] go mod tidy [2021-06-11T03:43:07.502Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-06-11T03:43:14.136Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-06-11T03:43:29.597Z] Removing intermediate container 156ad73faa39 [2021-06-11T03:43:29.597Z] ---> cab81d422392 [2021-06-11T03:43:29.597Z] Successfully built cab81d422392 [2021-06-11T03:43:29.597Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-11T03:43:29.978Z] + docker inspect -f . ci-base-image-arm64 [2021-06-11T03:43:29.978Z] . [Pipeline] withDockerContainer [2021-06-11T03:43:30.269Z] prd-ubuntu18.04-docker-arm64-4c-16g-445 does not seem to be running inside a container [2021-06-11T03:43:30.355Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-11T03:43:31.989Z] $ docker top c664bfc3f7c79472c2ed216a6753b3ee3fe7e3f06ed09f975a529678b9607007 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-11T03:43:33.036Z] + go version [2021-06-11T03:43:33.036Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-06-11T03:43:33.091Z] $ docker stop --time=1 c664bfc3f7c79472c2ed216a6753b3ee3fe7e3f06ed09f975a529678b9607007 [2021-06-11T03:43:34.933Z] $ docker rm -f c664bfc3f7c79472c2ed216a6753b3ee3fe7e3f06ed09f975a529678b9607007 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-11T03:43:35.985Z] + docker inspect -f . ci-base-image-arm64 [2021-06-11T03:43:35.985Z] . [Pipeline] withDockerContainer [2021-06-11T03:43:36.268Z] prd-ubuntu18.04-docker-arm64-4c-16g-445 does not seem to be running inside a container [2021-06-11T03:43:36.364Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-11T03:43:37.972Z] $ docker top e12a4d89b6d127465fae408aea1c130e751e34760facd0d7fec55d70b38736f9 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-11T03:43:38.984Z] + go mod tidy [Pipeline] sh [2021-06-11T03:43:40.273Z] + make test [2021-06-11T03:43:40.273Z] go mod tidy [2021-06-11T03:43:40.873Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-06-11T03:43:46.348Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-06-11T03:43:46.348Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-06-11T03:43:46.348Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-06-11T03:43:49.678Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.061s coverage: 25.4% of statements [2021-06-11T03:43:49.678Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-06-11T03:43:49.678Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.044s coverage: 28.1% of statements [2021-06-11T03:43:50.271Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.067s coverage: 78.9% of statements [2021-06-11T03:43:50.271Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.048s coverage: 9.0% of statements [2021-06-11T03:43:50.271Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-06-11T03:43:50.271Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-06-11T03:43:50.271Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-06-11T03:43:52.200Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.074s coverage: 29.2% of statements [2021-06-11T03:43:52.200Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-06-11T03:43:53.599Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.078s coverage: 83.3% of statements [2021-06-11T03:43:53.599Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-06-11T03:43:53.599Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-06-11T03:43:53.599Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.089s coverage: 58.0% of statements [2021-06-11T03:43:55.002Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.989s coverage: 89.2% of statements [2021-06-11T03:43:55.002Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-06-11T03:43:55.002Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.050s coverage: 5.0% of statements [2021-06-11T03:43:55.002Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-06-11T03:43:55.002Z] GO111MODULE=on go vet ./... [2021-06-11T03:44:03.126Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-06-11T03:44:27.231Z] gofmt -l . [2021-06-11T03:44:27.231Z] [ "`gofmt -l .`" = "" ] [2021-06-11T03:44:27.231Z] ./bin/test-attribution-txt.sh [2021-06-11T03:44:27.231Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-11T03:44:27.260Z] $ docker stop --time=1 4eb01da21375179bde38ed9aa4d69c7bacb140edd270dc95b2f43a0368714de5 [2021-06-11T03:44:33.029Z] $ docker rm -f 4eb01da21375179bde38ed9aa4d69c7bacb140edd270dc95b2f43a0368714de5 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-11T03:44:33.647Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-11T03:44:33.921Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-06-11T03:44:35.231Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-11T03:44:35.573Z] + ls -al . [2021-06-11T03:44:35.573Z] total 208 [2021-06-11T03:44:35.573Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jun 11 03:44 . [2021-06-11T03:44:35.573Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 11 03:41 .. [2021-06-11T03:44:35.573Z] drwxrwxr-x. 2 jenkins jenkins 64 Jun 11 03:41 bin [2021-06-11T03:44:35.573Z] -rw-r--r--. 1 jenkins jenkins 126074 Jun 11 03:43 coverage.out [2021-06-11T03:44:35.573Z] -rw-rw-r--. 1 jenkins jenkins 987 Jun 11 03:41 Dockerfile.build [2021-06-11T03:44:35.573Z] -rw-rw-r--. 1 jenkins jenkins 140 Jun 11 03:41 .dockerignore [2021-06-11T03:44:35.573Z] drwxrwxr-x. 5 jenkins jenkins 62 Jun 11 03:41 example [2021-06-11T03:44:35.573Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 11 03:41 .git [2021-06-11T03:44:35.573Z] drwxrwxr-x. 2 jenkins jenkins 103 Jun 11 03:41 .github [2021-06-11T03:44:35.573Z] -rw-rw-r--. 1 jenkins jenkins 138 Jun 11 03:41 .gitignore [2021-06-11T03:44:35.573Z] -rw-r--r--. 1 jenkins jenkins 576 Jun 11 03:44 go.mod [2021-06-11T03:44:35.573Z] -rw-r--r--. 1 jenkins jenkins 20403 Jun 11 03:43 go.sum [2021-06-11T03:44:35.573Z] drwxrwxr-x. 15 jenkins jenkins 224 Jun 11 03:41 internal [2021-06-11T03:44:35.573Z] -rw-rw-r--. 1 jenkins jenkins 894 Jun 11 03:41 Jenkinsfile [2021-06-11T03:44:35.573Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jun 11 03:41 LICENSE [2021-06-11T03:44:35.573Z] -rw-rw-r--. 1 jenkins jenkins 1026 Jun 11 03:41 Makefile [2021-06-11T03:44:35.573Z] drwxrwxr-x. 4 jenkins jenkins 26 Jun 11 03:41 openapi [2021-06-11T03:44:35.573Z] drwxrwxr-x. 5 jenkins jenkins 50 Jun 11 03:41 pkg [2021-06-11T03:44:35.573Z] -rw-rw-r--. 1 jenkins jenkins 7652 Jun 11 03:41 README.md [2021-06-11T03:44:35.573Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jun 11 03:41 RELEASE-NOTES.txt [2021-06-11T03:44:35.573Z] drwxrwxr-x. 4 jenkins jenkins 54 Jun 11 03:41 snap [2021-06-11T03:44:35.573Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 11 03:39 VERSION [2021-06-11T03:44:35.573Z] -rw-rw-r--. 1 jenkins jenkins 222 Jun 11 03:41 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-11T03:44:35.933Z] + 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=fd4c598e3f682395604d9fcce3829f6d5120df29 --label arch=amd64 --label version=0.0.0 . [2021-06-11T03:44:36.199Z] Sending build context to Docker daemon 2.955MB [2021-06-11T03:44:36.199Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-06-11T03:44:36.199Z] Step 2/23 : FROM ${BASE} AS builder [2021-06-11T03:44:36.199Z] ---> 48ddb40d5c1a [2021-06-11T03:44:36.199Z] Step 3/23 : WORKDIR /device-sdk-go [2021-06-11T03:44:37.151Z] ---> Running in 19b386a27c97 [2021-06-11T03:44:37.414Z] Removing intermediate container 19b386a27c97 [2021-06-11T03:44:37.414Z] ---> 808e727c0be9 [2021-06-11T03:44:37.414Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-11T03:44:37.701Z] ---> Running in 35a45e6bd43c [2021-06-11T03:44:37.966Z] Removing intermediate container 35a45e6bd43c [2021-06-11T03:44:37.966Z] ---> 1fde097c9cf2 [2021-06-11T03:44:37.966Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-11T03:44:38.227Z] ---> Running in 526f68e3dcac [2021-06-11T03:44:39.176Z] Removing intermediate container 526f68e3dcac [2021-06-11T03:44:39.176Z] ---> a1e42fa50c93 [2021-06-11T03:44:39.176Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-06-11T03:44:39.445Z] ---> Running in 3621178105ce [2021-06-11T03:44:40.020Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-11T03:44:40.604Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-11T03:44:41.569Z] OK: 150 MiB in 46 packages [2021-06-11T03:44:41.830Z] Removing intermediate container 3621178105ce [2021-06-11T03:44:41.830Z] ---> c75d43aae74f [2021-06-11T03:44:41.830Z] Step 7/23 : COPY . . [2021-06-11T03:44:43.269Z] ---> a1cccd8590b1 [2021-06-11T03:44:43.269Z] Step 8/23 : RUN go mod download [2021-06-11T03:44:43.269Z] ---> Running in 386df27a9731 [2021-06-11T03:44:45.836Z] Removing intermediate container 386df27a9731 [2021-06-11T03:44:45.836Z] ---> ff2decac2b3a [2021-06-11T03:44:45.836Z] Step 9/23 : RUN make build [2021-06-11T03:44:45.836Z] ---> Running in 6ac43722a981 [2021-06-11T03:44:46.414Z] go mod tidy [2021-06-11T03:44:46.415Z] 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-11T03:45:01.493Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-06-11T03:45:09.763Z] Removing intermediate container 6ac43722a981 [2021-06-11T03:45:09.763Z] ---> 06c4a8dd0d21 [2021-06-11T03:45:09.763Z] Step 10/23 : FROM alpine:3.12 [2021-06-11T03:45:09.763Z] 3.12: Pulling from library/alpine [2021-06-11T03:45:09.763Z] 339de151aab4: Pulling fs layer [2021-06-11T03:45:10.028Z] 339de151aab4: Verifying Checksum [2021-06-11T03:45:10.028Z] 339de151aab4: Download complete [2021-06-11T03:45:10.291Z] 339de151aab4: Pull complete [2021-06-11T03:45:10.291Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-06-11T03:45:10.291Z] Status: Downloaded newer image for alpine:3.12 [2021-06-11T03:45:10.291Z] ---> 13621d1b12d4 [2021-06-11T03:45:10.291Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-11T03:45:10.870Z] ---> Running in eb7469ba5494 [2021-06-11T03:45:11.135Z] Removing intermediate container eb7469ba5494 [2021-06-11T03:45:11.135Z] ---> 7e523710c84a [2021-06-11T03:45:11.135Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-11T03:45:11.218Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-06-11T03:45:11.218Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-06-11T03:45:11.218Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-06-11T03:45:11.404Z] ---> Running in 6af13657790e [2021-06-11T03:45:12.796Z] Removing intermediate container 6af13657790e [2021-06-11T03:45:12.796Z] ---> de7cb4cc076e [2021-06-11T03:45:12.796Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-06-11T03:45:12.796Z] ---> Running in 2a43e95659c2 [2021-06-11T03:45:13.741Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-06-11T03:45:14.686Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-06-11T03:45:17.978Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.224s coverage: 25.4% of statements [2021-06-11T03:45:17.978Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-06-11T03:45:17.978Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.184s coverage: 28.1% of statements [2021-06-11T03:45:17.978Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.243s coverage: 78.9% of statements [2021-06-11T03:45:17.978Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.211s coverage: 9.0% of statements [2021-06-11T03:45:17.978Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-06-11T03:45:17.978Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-06-11T03:45:17.978Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-06-11T03:45:17.994Z] (1/5) Installing libgcc (9.3.0-r2) [2021-06-11T03:45:17.994Z] (2/5) Installing libsodium (1.0.18-r0) [2021-06-11T03:45:18.568Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-06-11T03:45:18.585Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.346s coverage: 29.2% of statements [2021-06-11T03:45:18.585Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-06-11T03:45:19.512Z] (4/5) Installing libzmq (4.3.3-r0) [2021-06-11T03:45:20.090Z] (5/5) Installing zeromq (4.3.3-r0) [2021-06-11T03:45:20.090Z] Executing busybox-1.31.1-r20.trigger [2021-06-11T03:45:20.090Z] OK: 8 MiB in 19 packages [2021-06-11T03:45:20.575Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.185s coverage: 83.3% of statements [2021-06-11T03:45:20.575Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-06-11T03:45:20.575Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-06-11T03:45:20.575Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.418s coverage: 58.0% of statements [2021-06-11T03:45:21.041Z] Removing intermediate container 2a43e95659c2 [2021-06-11T03:45:21.041Z] ---> 4c631bb63ca8 [2021-06-11T03:45:21.041Z] Step 14/23 : WORKDIR / [2021-06-11T03:45:21.304Z] ---> Running in 4dc35648ffc5 [2021-06-11T03:45:21.570Z] Removing intermediate container 4dc35648ffc5 [2021-06-11T03:45:21.570Z] ---> e9cc96c66039 [2021-06-11T03:45:21.570Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-06-11T03:45:22.147Z] ---> 8b2df25a4e05 [2021-06-11T03:45:22.147Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-06-11T03:45:23.539Z] ---> 1eda70d4c48a [2021-06-11T03:45:23.539Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-06-11T03:45:23.967Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.001s coverage: 89.2% of statements [2021-06-11T03:45:23.967Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-06-11T03:45:23.967Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.201s coverage: 5.0% of statements [2021-06-11T03:45:23.967Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-06-11T03:45:24.114Z] ---> 3b496c9eb6b2 [2021-06-11T03:45:24.114Z] Step 18/23 : EXPOSE 59999 [2021-06-11T03:45:24.377Z] ---> Running in 32c4f3225b4b [2021-06-11T03:45:24.562Z] GO111MODULE=on go vet ./... [2021-06-11T03:45:24.638Z] Removing intermediate container 32c4f3225b4b [2021-06-11T03:45:24.638Z] ---> 4f8dcee92597 [2021-06-11T03:45:24.638Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-06-11T03:45:24.898Z] ---> Running in 20c41c6f822b [2021-06-11T03:45:25.160Z] Removing intermediate container 20c41c6f822b [2021-06-11T03:45:25.160Z] ---> 7ae405ed280e [2021-06-11T03:45:25.160Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-11T03:45:25.426Z] ---> Running in f46a49449223 [2021-06-11T03:45:26.002Z] Removing intermediate container f46a49449223 [2021-06-11T03:45:26.002Z] ---> 43c796acb9db [2021-06-11T03:45:26.002Z] Step 21/23 : LABEL arch=amd64 [2021-06-11T03:45:26.002Z] ---> Running in 539e8df6613d [2021-06-11T03:45:26.578Z] Removing intermediate container 539e8df6613d [2021-06-11T03:45:26.578Z] ---> b6f0fe6d7db5 [2021-06-11T03:45:26.578Z] Step 22/23 : LABEL git_sha=fd4c598e3f682395604d9fcce3829f6d5120df29 [2021-06-11T03:45:26.839Z] ---> Running in bd62d4f8d270 [2021-06-11T03:45:27.101Z] Removing intermediate container bd62d4f8d270 [2021-06-11T03:45:27.101Z] ---> d33caab8559e [2021-06-11T03:45:27.101Z] Step 23/23 : LABEL version=0.0.0 [2021-06-11T03:45:27.366Z] ---> Running in bcffe814e23e [2021-06-11T03:45:27.628Z] Removing intermediate container bcffe814e23e [2021-06-11T03:45:27.628Z] ---> 7967061f15ca [2021-06-11T03:45:27.628Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-06-11T03:45:27.628Z] Successfully built 7967061f15ca [2021-06-11T03:45:27.628Z] 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-11T03:45:28.660Z] ---> job-cost.sh [2021-06-11T03:45:28.660Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-anIc [2021-06-11T03:45:50.665Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-11T03:46:21.196Z] gofmt -l . [2021-06-11T03:46:21.196Z] [ "`gofmt -l .`" = "" ] [2021-06-11T03:46:21.196Z] ./bin/test-attribution-txt.sh [2021-06-11T03:46:23.175Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-11T03:46:23.495Z] $ docker stop --time=1 e12a4d89b6d127465fae408aea1c130e751e34760facd0d7fec55d70b38736f9 [2021-06-11T03:46:25.634Z] $ docker rm -f e12a4d89b6d127465fae408aea1c130e751e34760facd0d7fec55d70b38736f9 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-11T03:46:26.852Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-11T03:46:26.896Z] Warning: overwriting stash ‘coverage-report’ [2021-06-11T03:46:27.527Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-11T03:46:28.293Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-11T03:46:28.652Z] + ls -al . [2021-06-11T03:46:28.653Z] total 244 [2021-06-11T03:46:28.653Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 11 03:46 . [2021-06-11T03:46:28.653Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 11 03:41 .. [2021-06-11T03:46:28.653Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 11 03:42 .dockerignore [2021-06-11T03:46:28.653Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 11 03:42 .git [2021-06-11T03:46:28.653Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 11 03:42 .github [2021-06-11T03:46:28.653Z] -rw-rw-r-- 1 jenkins jenkins 138 Jun 11 03:42 .gitignore [2021-06-11T03:46:28.653Z] -rw-rw-r-- 1 jenkins jenkins 987 Jun 11 03:42 Dockerfile.build [2021-06-11T03:46:28.653Z] -rw-rw-r-- 1 jenkins jenkins 894 Jun 11 03:42 Jenkinsfile [2021-06-11T03:46:28.653Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jun 11 03:42 LICENSE [2021-06-11T03:46:28.653Z] -rw-rw-r-- 1 jenkins jenkins 1026 Jun 11 03:42 Makefile [2021-06-11T03:46:28.653Z] -rw-rw-r-- 1 jenkins jenkins 7652 Jun 11 03:42 README.md [2021-06-11T03:46:28.653Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jun 11 03:42 RELEASE-NOTES.txt [2021-06-11T03:46:28.653Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 11 03:39 VERSION [2021-06-11T03:46:28.653Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 11 03:42 bin [2021-06-11T03:46:28.653Z] -rw-r--r-- 1 jenkins jenkins 126073 Jun 11 03:45 coverage.out [2021-06-11T03:46:28.653Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 11 03:42 example [2021-06-11T03:46:28.653Z] -rw-r--r-- 1 jenkins jenkins 576 Jun 11 03:46 go.mod [2021-06-11T03:46:28.653Z] -rw-r--r-- 1 jenkins jenkins 20403 Jun 11 03:43 go.sum [2021-06-11T03:46:28.653Z] drwxrwxr-x 15 jenkins jenkins 4096 Jun 11 03:42 internal [2021-06-11T03:46:28.653Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 11 03:42 openapi [2021-06-11T03:46:28.653Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 11 03:42 pkg [2021-06-11T03:46:28.653Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 11 03:42 snap [2021-06-11T03:46:28.653Z] -rw-rw-r-- 1 jenkins jenkins 222 Jun 11 03:42 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-11T03:46:29.047Z] + 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=fd4c598e3f682395604d9fcce3829f6d5120df29 --label arch=arm64 --label version=0.0.0 . [2021-06-11T03:46:29.642Z] Sending build context to Docker daemon 2.954MB [2021-06-11T03:46:29.643Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-06-11T03:46:29.643Z] Step 2/23 : FROM ${BASE} AS builder [2021-06-11T03:46:29.643Z] ---> cab81d422392 [2021-06-11T03:46:29.643Z] Step 3/23 : WORKDIR /device-sdk-go [2021-06-11T03:46:29.916Z] ---> Running in d90864aeec67 [2021-06-11T03:46:30.003Z] lf-activate-venv(): INFO: Adding /tmp/venv-anIc/bin to PATH [2021-06-11T03:46:30.003Z] INFO: No Stack... [2021-06-11T03:46:30.003Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-11T03:46:30.003Z] INFO: Archiving Costs [Pipeline] sh [2021-06-11T03:46:30.331Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-06-11T03:46:30.331Z] + cut -d, -f6 [Pipeline] lock [2021-06-11T03:46:30.387Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-968-1-stack-cost] [2021-06-11T03:46:30.393Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-968-1-stack-cost] did not exist. Created. [2021-06-11T03:46:30.393Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-968-1-stack-cost] [Pipeline] { [Pipeline] unstash [2021-06-11T03:46:30.513Z] Removing intermediate container d90864aeec67 [2021-06-11T03:46:30.513Z] ---> 79b69d6238be [2021-06-11T03:46:30.513Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-11T03:46:30.513Z] ---> Running in f10bfb5a24ea [Pipeline] sh [2021-06-11T03:46:30.834Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-11T03:46:30.921Z] Stashed 1 file(s) [Pipeline] } [2021-06-11T03:46:30.944Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-968-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-06-11T03:46:31.107Z] Removing intermediate container f10bfb5a24ea [2021-06-11T03:46:31.107Z] ---> 247404268bf0 [2021-06-11T03:46:31.107Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [2021-06-11T03:46:31.386Z] ---> Running in 97bf60d987e5 [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-11T03:46:33.375Z] Removing intermediate container 97bf60d987e5 [2021-06-11T03:46:33.375Z] ---> 99e86e1f5e81 [2021-06-11T03:46:33.375Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-06-11T03:46:33.375Z] ---> Running in cc8087dac1c6 [2021-06-11T03:46:34.807Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-11T03:46:36.234Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-11T03:46:38.841Z] OK: 139 MiB in 46 packages [2021-06-11T03:46:39.441Z] Removing intermediate container cc8087dac1c6 [2021-06-11T03:46:39.441Z] ---> 289cb87e1960 [2021-06-11T03:46:39.441Z] Step 7/23 : COPY . . [2021-06-11T03:46:41.411Z] ---> 171b7b1ab86d [2021-06-11T03:46:41.411Z] Step 8/23 : RUN go mod download [2021-06-11T03:46:41.411Z] ---> Running in 99bca2fabbc5 [2021-06-11T03:46:44.033Z] Removing intermediate container 99bca2fabbc5 [2021-06-11T03:46:44.033Z] ---> 4b7f5e8536fc [2021-06-11T03:46:44.033Z] Step 9/23 : RUN make build [2021-06-11T03:46:44.033Z] ---> Running in d1f299a7373f [2021-06-11T03:46:45.466Z] go mod tidy [2021-06-11T03:46:45.750Z] 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-11T03:47:18.111Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-06-11T03:47:20.076Z] Removing intermediate container d1f299a7373f [2021-06-11T03:47:20.076Z] ---> 38cc589d4ffa [2021-06-11T03:47:20.076Z] Step 10/23 : FROM alpine:3.12 [2021-06-11T03:47:20.670Z] 3.12: Pulling from library/alpine [2021-06-11T03:47:20.670Z] d2f70382dc9a: Pulling fs layer [2021-06-11T03:47:20.942Z] d2f70382dc9a: Download complete [2021-06-11T03:47:21.546Z] d2f70382dc9a: Pull complete [2021-06-11T03:47:21.546Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-06-11T03:47:21.546Z] Status: Downloaded newer image for alpine:3.12 [2021-06-11T03:47:21.546Z] ---> 9852663dfa18 [2021-06-11T03:47:21.546Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-11T03:47:21.819Z] ---> Running in 94a5d7e0fffa [2021-06-11T03:47:22.420Z] Removing intermediate container 94a5d7e0fffa [2021-06-11T03:47:22.420Z] ---> d0508007ccc0 [2021-06-11T03:47:22.420Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-11T03:47:22.694Z] ---> Running in 0b15732428d2 [2021-06-11T03:47:24.669Z] Removing intermediate container 0b15732428d2 [2021-06-11T03:47:24.669Z] ---> 43ee5d75b28f [2021-06-11T03:47:24.669Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-06-11T03:47:24.941Z] ---> Running in a70c046428ec [2021-06-11T03:47:26.390Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-11T03:47:26.982Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-11T03:47:28.947Z] (1/5) Installing libgcc (9.3.0-r2) [2021-06-11T03:47:29.217Z] (2/5) Installing libsodium (1.0.18-r0) [2021-06-11T03:47:29.487Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-06-11T03:47:30.460Z] (4/5) Installing libzmq (4.3.3-r0) [2021-06-11T03:47:30.731Z] (5/5) Installing zeromq (4.3.3-r0) [2021-06-11T03:47:30.731Z] Executing busybox-1.31.1-r20.trigger [2021-06-11T03:47:30.731Z] OK: 8 MiB in 19 packages [2021-06-11T03:47:32.164Z] Removing intermediate container a70c046428ec [2021-06-11T03:47:32.164Z] ---> 209e6e51d552 [2021-06-11T03:47:32.164Z] Step 14/23 : WORKDIR / [2021-06-11T03:47:32.164Z] ---> Running in 45e6693725f5 [2021-06-11T03:47:32.758Z] Removing intermediate container 45e6693725f5 [2021-06-11T03:47:32.758Z] ---> d28e4acc5e55 [2021-06-11T03:47:32.758Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-06-11T03:47:33.357Z] ---> 6621642ac1a9 [2021-06-11T03:47:33.357Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-06-11T03:47:34.799Z] ---> 73bb4d79ecd8 [2021-06-11T03:47:34.799Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-06-11T03:47:35.395Z] ---> 40f92f95a8ee [2021-06-11T03:47:35.395Z] Step 18/23 : EXPOSE 59999 [2021-06-11T03:47:35.668Z] ---> Running in d97a83c40e7f [2021-06-11T03:47:36.267Z] Removing intermediate container d97a83c40e7f [2021-06-11T03:47:36.267Z] ---> ddc9d208a601 [2021-06-11T03:47:36.267Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-06-11T03:47:36.267Z] ---> Running in 08b1c41b1544 [2021-06-11T03:47:36.866Z] Removing intermediate container 08b1c41b1544 [2021-06-11T03:47:36.866Z] ---> 1a78adec6453 [2021-06-11T03:47:36.866Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-11T03:47:36.866Z] ---> Running in d263f9d8734a [2021-06-11T03:47:37.520Z] Removing intermediate container d263f9d8734a [2021-06-11T03:47:37.520Z] ---> 49a13d1ee108 [2021-06-11T03:47:37.520Z] Step 21/23 : LABEL arch=arm64 [2021-06-11T03:47:37.520Z] ---> Running in fbb8b4897634 [2021-06-11T03:47:38.178Z] Removing intermediate container fbb8b4897634 [2021-06-11T03:47:38.178Z] ---> 5024f8056aed [2021-06-11T03:47:38.178Z] Step 22/23 : LABEL git_sha=fd4c598e3f682395604d9fcce3829f6d5120df29 [2021-06-11T03:47:38.178Z] ---> Running in 27eec3a9f483 [2021-06-11T03:47:38.818Z] Removing intermediate container 27eec3a9f483 [2021-06-11T03:47:38.818Z] ---> 0825a5171f0b [2021-06-11T03:47:38.818Z] Step 23/23 : LABEL version=0.0.0 [2021-06-11T03:47:39.120Z] ---> Running in 5cdec2af94e8 [2021-06-11T03:47:39.398Z] Removing intermediate container 5cdec2af94e8 [2021-06-11T03:47:39.398Z] ---> 1cf2a3d6e492 [2021-06-11T03:47:39.398Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-06-11T03:47:39.398Z] Successfully built 1cf2a3d6e492 [2021-06-11T03:47:39.398Z] 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-11T03:47:40.224Z] ---> job-cost.sh [2021-06-11T03:47:40.225Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-YqPk [2021-06-11T03:48:27.185Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-11T03:50:03.950Z] lf-activate-venv(): INFO: Adding /tmp/venv-YqPk/bin to PATH [2021-06-11T03:50:03.950Z] INFO: No Stack... [2021-06-11T03:50:03.950Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-11T03:50:03.950Z] INFO: Archiving Costs [Pipeline] sh [2021-06-11T03:50:04.357Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-06-11T03:50:04.357Z] + cut -d, -f6 [Pipeline] lock [2021-06-11T03:50:04.461Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-968-1-stack-cost] [2021-06-11T03:50:04.468Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-968-1-stack-cost] did not exist. Created. [2021-06-11T03:50:04.468Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-968-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-11T03:50:04.953Z] /w/workspace/device-sdk-go/1@tmp/durable-243106d9/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-243106d9/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-11T03:50:05.345Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-11T03:50:05.386Z] Warning: overwriting stash ‘stack-cost’ [2021-06-11T03:50:05.540Z] Stashed 1 file(s) [Pipeline] } [2021-06-11T03:50:05.563Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-968-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-11T03:50:06.670Z] provisioning config files... [2021-06-11T03:50:06.683Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-968@tmp/config3906183491922861699tmp [Pipeline] { [Pipeline] sh [2021-06-11T03:50:07.114Z] + set +x [2021-06-11T03:50:07.114Z] + bash -s -- [2021-06-11T03:50:07.114Z] + curl -s https://codecov.io/bash [2021-06-11T03:50:07.114Z] [2021-06-11T03:50:07.114Z] _____ _ [2021-06-11T03:50:07.114Z] / ____| | | [2021-06-11T03:50:07.114Z] | | ___ __| | ___ ___ _____ __ [2021-06-11T03:50:07.114Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-11T03:50:07.114Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-11T03:50:07.114Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-11T03:50:07.114Z] Bash-1.0.3 [2021-06-11T03:50:07.114Z] [2021-06-11T03:50:07.114Z] [2021-06-11T03:50:07.114Z] ==> git version 2.24.4 found [2021-06-11T03:50:07.114Z] ==> 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-11T03:50:07.114Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-11T03:50:07.114Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-11T03:50:07.114Z] ==> Jenkins CI detected. [2021-06-11T03:50:07.114Z] project root: . [2021-06-11T03:50:07.114Z] --> token set from env [2021-06-11T03:50:07.114Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-11T03:50:07.381Z] ==> Running gcov in . (disable via -X gcov) [2021-06-11T03:50:07.381Z] ==> Python coveragepy not found [2021-06-11T03:50:07.381Z] ==> Searching for coverage reports in: [2021-06-11T03:50:07.381Z] + . [2021-06-11T03:50:07.381Z] -> Found 1 reports [2021-06-11T03:50:07.381Z] ==> Detecting git/mercurial file structure [2021-06-11T03:50:07.381Z] ==> Reading reports [2021-06-11T03:50:07.381Z] + ./coverage.out bytes=126073 [2021-06-11T03:50:07.381Z] ==> Appending adjustments [2021-06-11T03:50:07.381Z] https://docs.codecov.io/docs/fixing-reports [2021-06-11T03:50:07.645Z] + Found adjustments [2021-06-11T03:50:07.645Z] ==> Gzipping contents [2021-06-11T03:50:07.645Z] 20K /tmp/codecov.ZaJbRn.gz [2021-06-11T03:50:07.645Z] ==> Uploading reports [2021-06-11T03:50:07.645Z] url: https://codecov.io [2021-06-11T03:50:07.645Z] query: branch=PR-968&commit=fd4c598e3f682395604d9fcce3829f6d5120df29&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-968%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=968&job=&cmd_args= [2021-06-11T03:50:07.645Z] -> Pinging Codecov [2021-06-11T03:50:07.645Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-968&commit=fd4c598e3f682395604d9fcce3829f6d5120df29&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-968%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=968&job=&cmd_args= [2021-06-11T03:50:08.224Z] -> Uploading to [2021-06-11T03:50:08.224Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-11/7E55EF52A471D76F132DFD9A03CDDE97/fd4c598e3f682395604d9fcce3829f6d5120df29/3d001d4f-7df3-4023-bfb4-574a3b56efb2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210611%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210611T035007Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1a96e1f2d48bc37b283bb88cb09503e50cf46f874da3214f6f946bebcb279157 [2021-06-11T03:50:08.224Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-11T03:50:08.224Z] Dload Upload Total Spent Left Speed [2021-06-11T03:50:08.491Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16455 0 0 100 16455 0 29678 --:--:-- --:--:-- --:--:-- 29648 100 16455 0 0 100 16455 0 29671 --:--:-- --:--:-- --:--:-- 29648 [2021-06-11T03:50:08.753Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/fd4c598e3f682395604d9fcce3829f6d5120df29 [Pipeline] } [2021-06-11T03:50:08.775Z] 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-11T03:50:11.482Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-11T03:50:12.105Z] ---> package-listing.sh [2021-06-11T03:50:12.106Z] ++ facter osfamily [2021-06-11T03:50:12.106Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-11T03:50:12.373Z] + OS_FAMILY=redhat [2021-06-11T03:50:12.373Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-968 [2021-06-11T03:50:12.373Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-11T03:50:12.373Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-11T03:50:12.373Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-11T03:50:12.373Z] + PACKAGES=/tmp/packages_start.txt [2021-06-11T03:50:12.373Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-968 ']' [2021-06-11T03:50:12.373Z] + PACKAGES=/tmp/packages_end.txt [2021-06-11T03:50:12.373Z] + case "${OS_FAMILY}" in [2021-06-11T03:50:12.373Z] + rpm -qa [2021-06-11T03:50:12.373Z] + sort [2021-06-11T03:50:12.963Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-11T03:50:12.963Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-11T03:50:12.963Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-11T03:50:12.963Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-968 ']' [2021-06-11T03:50:12.963Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-968/archives/ [2021-06-11T03:50:12.963Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-968/archives/ [Pipeline] echo [2021-06-11T03:50:12.994Z] 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-968/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-06-11T03:50:13.298Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-11T03:50:13.910Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-11T03:50:13.910Z] [2021-06-11T03:50:13.910Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-11T03:50:14.303Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-11T03:50:14.303Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-11T03:50:14.303Z] df20fa9351a1: Pulling fs layer [2021-06-11T03:50:14.303Z] 36b3adc4ff6f: Pulling fs layer [2021-06-11T03:50:14.303Z] 8ad3a11d3b57: Pulling fs layer [2021-06-11T03:50:14.303Z] 46f8f816bc3b: Pulling fs layer [2021-06-11T03:50:14.303Z] 93b61091891f: Pulling fs layer [2021-06-11T03:50:14.303Z] 93b9cdb0e59b: Pulling fs layer [2021-06-11T03:50:14.303Z] 5e14af77c1be: Pulling fs layer [2021-06-11T03:50:14.303Z] 01666e4c0597: Pulling fs layer [2021-06-11T03:50:14.303Z] aa168da1d23b: Pulling fs layer [2021-06-11T03:50:14.303Z] 46f8f816bc3b: Waiting [2021-06-11T03:50:14.303Z] 93b61091891f: Waiting [2021-06-11T03:50:14.303Z] 93b9cdb0e59b: Waiting [2021-06-11T03:50:14.303Z] 5e14af77c1be: Waiting [2021-06-11T03:50:14.303Z] 01666e4c0597: Waiting [2021-06-11T03:50:14.303Z] aa168da1d23b: Waiting [2021-06-11T03:50:14.303Z] 36b3adc4ff6f: Verifying Checksum [2021-06-11T03:50:14.303Z] 36b3adc4ff6f: Download complete [2021-06-11T03:50:14.303Z] 46f8f816bc3b: Verifying Checksum [2021-06-11T03:50:14.303Z] 46f8f816bc3b: Download complete [2021-06-11T03:50:14.303Z] df20fa9351a1: Verifying Checksum [2021-06-11T03:50:14.303Z] df20fa9351a1: Download complete [2021-06-11T03:50:14.303Z] 93b9cdb0e59b: Verifying Checksum [2021-06-11T03:50:14.303Z] 93b9cdb0e59b: Download complete [2021-06-11T03:50:14.566Z] 5e14af77c1be: Verifying Checksum [2021-06-11T03:50:14.566Z] 5e14af77c1be: Download complete [2021-06-11T03:50:14.566Z] 01666e4c0597: Verifying Checksum [2021-06-11T03:50:14.566Z] 01666e4c0597: Download complete [2021-06-11T03:50:14.566Z] 93b61091891f: Verifying Checksum [2021-06-11T03:50:14.566Z] 93b61091891f: Download complete [2021-06-11T03:50:14.566Z] df20fa9351a1: Pull complete [2021-06-11T03:50:14.566Z] 8ad3a11d3b57: Verifying Checksum [2021-06-11T03:50:14.566Z] 8ad3a11d3b57: Download complete [2021-06-11T03:50:14.827Z] 36b3adc4ff6f: Pull complete [2021-06-11T03:50:15.404Z] 8ad3a11d3b57: Pull complete [2021-06-11T03:50:15.404Z] 46f8f816bc3b: Pull complete [2021-06-11T03:50:15.667Z] 93b61091891f: Pull complete [2021-06-11T03:50:15.667Z] 93b9cdb0e59b: Pull complete [2021-06-11T03:50:15.929Z] 5e14af77c1be: Pull complete [2021-06-11T03:50:15.929Z] 01666e4c0597: Pull complete [2021-06-11T03:50:16.195Z] aa168da1d23b: Verifying Checksum [2021-06-11T03:50:16.196Z] aa168da1d23b: Download complete [2021-06-11T03:50:20.472Z] aa168da1d23b: Pull complete [2021-06-11T03:50:20.472Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-11T03:50:20.472Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-11T03:50:20.472Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-11T03:50:20.582Z] prd-centos7-docker-4c-2g-442 does not seem to be running inside a container [2021-06-11T03:50:20.630Z] $ 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-968/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-968 -v /w/workspace/dgexfoundry_device-sdk-go_PR-968:/w/workspace/dgexfoundry_device-sdk-go_PR-968:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-968@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-968@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-06-11T03:50:24.961Z] $ docker top 507107a420ca6d14e5a04b21b7e379987feedd3b5a06e1a4c0e46b64ce7d5863 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-11T03:50:25.409Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-11T03:50:25.727Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-11T03:50:26.058Z] + ls /var/log/sa-host [2021-06-11T03:50:26.058Z] + sadf -c /var/log/sa-host/sa05 [2021-06-11T03:50:26.058Z] file_magic: OK [2021-06-11T03:50:26.058Z] HZ: Using current value: 100 [2021-06-11T03:50:26.058Z] file_header: OK [2021-06-11T03:50:26.058Z] 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-11T03:50:26.058Z] Statistics: [2021-06-11T03:50:26.058Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-11T03:50:26.058Z] File successfully converted to sysstat format version 12.2.1 [2021-06-11T03:50:26.058Z] + sadf -c /var/log/sa-host/sa11 [2021-06-11T03:50:26.058Z] file_magic: OK [2021-06-11T03:50:26.058Z] HZ: Using current value: 100 [2021-06-11T03:50:26.058Z] file_header: OK [2021-06-11T03:50:26.058Z] 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-11T03:50:26.058Z] Statistics: [2021-06-11T03:50:26.058Z] HRHnuu...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-11T03:50:26.058Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-11T03:50:26.806Z] provisioning config files... [2021-06-11T03:50:26.819Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-968@tmp/config4089532265741727349tmp [Pipeline] { [Pipeline] echo [2021-06-11T03:50:26.880Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-11T03:50:27.218Z] ---> create-netrc.sh [Pipeline] } [2021-06-11T03:50:27.243Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-11T03:50:27.726Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-11T03:50:27.769Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-11T03:50:28.122Z] ---> sudo-logs.sh [2021-06-11T03:50:28.122Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-11T03:50:28.247Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-11T03:50:28.605Z] ---> job-cost.sh [2021-06-11T03:50:28.605Z] lf-activate-venv: SKIPPING [2021-06-11T03:50:28.605Z] DEBUG: total: 0.18000000715255737 [2021-06-11T03:50:28.605Z] INFO: Retrieving Stack Cost... [2021-06-11T03:50:29.556Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-11T03:50:29.821Z] INFO: Archiving Costs [Pipeline] echo [2021-06-11T03:50:29.856Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-11T03:50:30.199Z] ---> logs-deploy.sh [2021-06-11T03:50:30.199Z] lf-activate-venv: SKIPPING [2021-06-11T03:50:30.199Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-968/1 [2021-06-11T03:50:30.199Z] INFO: archiving workspace using pattern(s): [2021-06-11T03:50:31.151Z] Archives upload complete. [2021-06-11T03:50:31.151Z] INFO: archiving logs to Nexus