Pull request #929 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 0649751867869be6df89d8f0b90534b3861c18cf+266a89ca2ac5ad8320be3c902ec129d812bcfa66 (31c2923b3e035da2dcb623cb01d36b0403ef3e18) 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-ssh4146584298968659133.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9d0281235b943b7ad605f650702698f9078b2862 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-ssh5520330108998877044.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 9d0281235b943b7ad605f650702698f9078b2862 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-929/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-929/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh947163734173389349.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-929/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1631519291281232516.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9d0281235b943b7ad605f650702698f9078b2862 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0281235b943b7ad605f650702698f9078b2862 # timeout=10 Commit message: "Merge pull request #315 from ernestojeda/rename-docker-images-again" > 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-ssh1771312444731885998.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a 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-929/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-929/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh2414829412961975850.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 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 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 on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-54 in /w/workspace/dgexfoundry_device-sdk-go_PR-929 [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-929 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub [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-929@tmp/jenkins-gitclient-ssh1892989540845448530.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 266a89ca2ac5ad8320be3c902ec129d812bcfa66 into PR head commit 0649751867869be6df89d8f0b90534b3861c18cf Merge succeeded, producing 0649751867869be6df89d8f0b90534b3861c18cf Checking out Revision 0649751867869be6df89d8f0b90534b3861c18cf (PR-929) > 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-929@tmp/jenkins-gitclient-ssh6633309173584459656.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/929/head:refs/remotes/origin/PR-929 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0649751867869be6df89d8f0b90534b3861c18cf # 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-929@tmp/jenkins-gitclient-ssh4368981005631634968.key > git merge 266a89ca2ac5ad8320be3c902ec129d812bcfa66 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0649751867869be6df89d8f0b90534b3861c18cf # timeout=10 Commit message: "refactor: rename AutoEvent.Frequency field to Interval" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-14T03:36:32.643Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-14T03:36:32.849Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-14T03:36:32.985Z] ========================================================= [2021-05-14T03:36:32.985Z] EdgeX Global Pipelines Version Info [2021-05-14T03:36:32.985Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-14T03:36:34.491Z] ------------------- [2021-05-14T03:36:34.491Z] stable info: [2021-05-14T03:36:34.491Z] ------------------- [2021-05-14T03:36:34.491Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-14T03:36:34.491Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-14T03:36:34.491Z] Message: update stable to v1.0.192 [2021-05-14T03:36:35.450Z] ------------------- [2021-05-14T03:36:35.450Z] experimental info: [2021-05-14T03:36:35.450Z] ------------------- [2021-05-14T03:36:35.450Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-14T03:36:35.450Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-14T03:36:35.450Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-14T03:36:35.690Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-05-14T03:36:35.766Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-05-14T03:36:35.832Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-14T03:36:35.893Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-14T03:36:35.948Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-14T03:36:36.001Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-14T03:36:36.054Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-14T03:36:36.112Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-14T03:36:36.174Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-05-14T03:36:36.228Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-14T03:36:36.285Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-14T03:36:36.341Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-05-14T03:36:36.406Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-14T03:36:36.461Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-14T03:36:36.523Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-14T03:36:36.593Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-05-14T03:36:36.649Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-14T03:36:36.705Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-14T03:36:36.764Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-14T03:36:36.821Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-14T03:36:36.882Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-05-14T03:36:36.936Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-05-14T03:36:36.993Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-14T03:36:37.049Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-14T03:36:37.113Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-14T03:36:37.169Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-14T03:36:37.223Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-929 [Pipeline] echo [2021-05-14T03:36:37.281Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-929 [Pipeline] echo [2021-05-14T03:36:37.340Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-929 [Pipeline] echo [2021-05-14T03:36:37.396Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0649751867869be6df89d8f0b90534b3861c18cf [Pipeline] echo [2021-05-14T03:36:37.452Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0649751 [Pipeline] echo [2021-05-14T03:36:37.515Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-14T03:36:37.682Z] provisioning config files... [2021-05-14T03:36:37.705Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-929@tmp/config5731151101397988671tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-14T03:36:38.079Z] ---> docker-login.sh [2021-05-14T03:36:38.079Z] nexus3.edgexfoundry.org:10001 [2021-05-14T03:36:38.346Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T03:36:38.639Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T03:36:38.639Z] Configure a credential helper to remove this warning. See [2021-05-14T03:36:38.639Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T03:36:38.639Z] [2021-05-14T03:36:38.639Z] Login Succeeded [2021-05-14T03:36:38.639Z] nexus3.edgexfoundry.org:10002 [2021-05-14T03:36:38.639Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T03:36:38.640Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T03:36:38.640Z] Configure a credential helper to remove this warning. See [2021-05-14T03:36:38.640Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T03:36:38.640Z] [2021-05-14T03:36:38.640Z] Login Succeeded [2021-05-14T03:36:38.640Z] nexus3.edgexfoundry.org:10003 [2021-05-14T03:36:38.918Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T03:36:38.918Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T03:36:38.918Z] Configure a credential helper to remove this warning. See [2021-05-14T03:36:38.918Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T03:36:38.918Z] [2021-05-14T03:36:38.918Z] Login Succeeded [2021-05-14T03:36:38.918Z] nexus3.edgexfoundry.org:10004 [2021-05-14T03:36:38.918Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T03:36:38.918Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T03:36:38.918Z] Configure a credential helper to remove this warning. See [2021-05-14T03:36:38.918Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T03:36:38.918Z] [2021-05-14T03:36:38.918Z] Login Succeeded [2021-05-14T03:36:38.918Z] docker.io [2021-05-14T03:36:39.183Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T03:36:39.452Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T03:36:39.452Z] Configure a credential helper to remove this warning. See [2021-05-14T03:36:39.452Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T03:36:39.452Z] [2021-05-14T03:36:39.452Z] Login Succeeded [2021-05-14T03:36:39.452Z] ---> docker-login.sh ends [Pipeline] } [2021-05-14T03:36:39.481Z] 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-05-14T03:36:40.465Z] + git log --format=format:%s -1 0649751867869be6df89d8f0b90534b3861c18cf [Pipeline] echo [2021-05-14T03:36:40.533Z] GIT_COMMIT: 0649751867869be6df89d8f0b90534b3861c18cf, Commit Message: refactor: rename AutoEvent.Frequency field to Interval [Pipeline] echo [2021-05-14T03:36:40.598Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-14T03:36:41.664Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-14T03:36:41.664Z] [2021-05-14T03:36:41.664Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-14T03:36:42.041Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-14T03:36:42.041Z] latest: Pulling from edgex-devops/git-semver [2021-05-14T03:36:42.041Z] 31603596830f: Pulling fs layer [2021-05-14T03:36:42.041Z] 54011a49482f: Pulling fs layer [2021-05-14T03:36:42.041Z] a6820b24f6d8: Pulling fs layer [2021-05-14T03:36:42.041Z] f581987b2513: Pulling fs layer [2021-05-14T03:36:42.041Z] f581987b2513: Waiting [2021-05-14T03:36:42.041Z] 54011a49482f: Verifying Checksum [2021-05-14T03:36:42.041Z] 54011a49482f: Download complete [2021-05-14T03:36:42.041Z] 31603596830f: Download complete [2021-05-14T03:36:42.308Z] f581987b2513: Verifying Checksum [2021-05-14T03:36:42.308Z] f581987b2513: Download complete [2021-05-14T03:36:42.580Z] a6820b24f6d8: Verifying Checksum [2021-05-14T03:36:42.580Z] a6820b24f6d8: Download complete [2021-05-14T03:36:42.580Z] 31603596830f: Pull complete [2021-05-14T03:36:42.580Z] 54011a49482f: Pull complete [2021-05-14T03:36:43.532Z] a6820b24f6d8: Pull complete [2021-05-14T03:36:43.793Z] f581987b2513: Pull complete [2021-05-14T03:36:43.793Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-14T03:36:43.793Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-14T03:36:43.793Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-14T03:36:43.915Z] prd-centos7-docker-4c-2g-54 does not seem to be running inside a container [2021-05-14T03:36:43.966Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-929 -v /w/workspace/dgexfoundry_device-sdk-go_PR-929:/w/workspace/dgexfoundry_device-sdk-go_PR-929:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-929@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-929@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-05-14T03:36:46.284Z] $ docker top f71ef4996feb63e7b6317e945ff84b7d04da9499b0ad23bd6424176ada7b1269 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-14T03:36:46.633Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-14T03:36:46.634Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-14T03:36:46.871Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-14T03:36:46.876Z] $ docker exec f71ef4996feb63e7b6317e945ff84b7d04da9499b0ad23bd6424176ada7b1269 ssh-agent [2021-05-14T03:36:47.049Z] SSH_AUTH_SOCK=/tmp/ssh-cNYBtQT2DGRZ/agent.11 [2021-05-14T03:36:47.049Z] SSH_AGENT_PID=17 [2021-05-14T03:36:47.061Z] Running ssh-add (command line suppressed) [2021-05-14T03:36:47.189Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-929@tmp/private_key_8838625593581240305.key (/w/workspace/dgexfoundry_device-sdk-go_PR-929@tmp/private_key_8838625593581240305.key) [2021-05-14T03:36:47.242Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-14T03:36:47.591Z] + git tag --points-at HEAD [Pipeline] } [2021-05-14T03:36:47.621Z] $ docker exec --env ******** --env ******** f71ef4996feb63e7b6317e945ff84b7d04da9499b0ad23bd6424176ada7b1269 ssh-agent -k [2021-05-14T03:36:47.737Z] unset SSH_AUTH_SOCK; [2021-05-14T03:36:47.737Z] unset SSH_AGENT_PID; [2021-05-14T03:36:47.737Z] echo Agent pid 17 killed; [2021-05-14T03:36:47.789Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-14T03:36:47.893Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-14T03:36:47.893Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-14T03:36:48.075Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-14T03:36:48.081Z] $ docker exec f71ef4996feb63e7b6317e945ff84b7d04da9499b0ad23bd6424176ada7b1269 ssh-agent [2021-05-14T03:36:48.266Z] SSH_AUTH_SOCK=/tmp/ssh-zecPC1bdNGjo/agent.48 [2021-05-14T03:36:48.266Z] SSH_AGENT_PID=53 [2021-05-14T03:36:48.275Z] Running ssh-add (command line suppressed) [2021-05-14T03:36:48.427Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-929@tmp/private_key_8238604672216669577.key (/w/workspace/dgexfoundry_device-sdk-go_PR-929@tmp/private_key_8238604672216669577.key) [2021-05-14T03:36:48.483Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-14T03:36:48.838Z] + git semver init [2021-05-14T03:36:48.838Z] # -> Open(): unable to determine branch for HEAD [2021-05-14T03:36:48.838Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-929/.git [2021-05-14T03:36:48.838Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-929 [2021-05-14T03:36:48.838Z] # $SEMVER_REMOTE_NAME = origin [2021-05-14T03:36:48.838Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-14T03:36:48.838Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-14T03:36:48.838Z] # $SEMVER_BRANCH = PR-929 [2021-05-14T03:36:48.838Z] # $SEMVER_TEMP = /tmp/semver-829662241 [2021-05-14T03:36:48.838Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-05-14T03:36:51.415Z] # '/tmp/semver-829662241' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-929/.semver' [2021-05-14T03:36:51.415Z] # -> Force: false [2021-05-14T03:36:51.415Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-929/.semver [Pipeline] } [2021-05-14T03:36:51.439Z] $ docker exec --env ******** --env ******** f71ef4996feb63e7b6317e945ff84b7d04da9499b0ad23bd6424176ada7b1269 ssh-agent -k [2021-05-14T03:36:51.552Z] unset SSH_AUTH_SOCK; [2021-05-14T03:36:51.553Z] unset SSH_AGENT_PID; [2021-05-14T03:36:51.553Z] echo Agent pid 53 killed; [2021-05-14T03:36:51.604Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-14T03:36:52.049Z] + git semver [Pipeline] } [2021-05-14T03:36:52.087Z] $ docker stop --time=1 f71ef4996feb63e7b6317e945ff84b7d04da9499b0ad23bd6424176ada7b1269 [2021-05-14T03:36:53.800Z] $ docker rm -f f71ef4996feb63e7b6317e945ff84b7d04da9499b0ad23bd6424176ada7b1269 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-14T03:36:54.300Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-14T03:36:54.738Z] Stashed 1 file(s) [Pipeline] echo [2021-05-14T03:36:54.782Z] [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-05-14T03:36:55.685Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-51 in /w/workspace/dgexfoundry_device-sdk-go_PR-929 [Pipeline] { [Pipeline] ws [2021-05-14T03:36:55.750Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-05-14T03:36:56.000Z] Selected Git installation does not exist. Using Default [2021-05-14T03:36:56.000Z] The recommended git tool is: NONE [2021-05-14T03:37:00.767Z] using credential edgex-jenkins-ssh [2021-05-14T03:37:00.783Z] Cloning the remote Git repository [2021-05-14T03:37:00.841Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-14T03:37:00.960Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-05-14T03:37:01.050Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-14T03:37:01.051Z] > git --version # timeout=10 [2021-05-14T03:37:01.066Z] > git --version # 'git version 2.17.1' [2021-05-14T03:37:01.077Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-14T03:37:01.166Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-14T03:37:03.000Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-14T03:37:03.027Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-14T03:37:03.052Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-14T03:37:03.088Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-14T03:37:03.089Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-14T03:37:03.105Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/929/head:refs/remotes/origin/PR-929 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-14T03:37:04.111Z] Merging remotes/origin/master commit 266a89ca2ac5ad8320be3c902ec129d812bcfa66 into PR head commit 0649751867869be6df89d8f0b90534b3861c18cf [2021-05-14T03:37:04.340Z] Merge succeeded, producing 0649751867869be6df89d8f0b90534b3861c18cf [2021-05-14T03:37:04.340Z] Checking out Revision 0649751867869be6df89d8f0b90534b3861c18cf (PR-929) [2021-05-14T03:37:04.135Z] > git config core.sparsecheckout # timeout=10 [2021-05-14T03:37:04.148Z] > git checkout -f 0649751867869be6df89d8f0b90534b3861c18cf # timeout=10 [2021-05-14T03:37:04.265Z] > git remote # timeout=10 [2021-05-14T03:37:04.283Z] > git config --get remote.origin.url # timeout=10 [2021-05-14T03:37:04.297Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-14T03:37:04.308Z] > git merge 266a89ca2ac5ad8320be3c902ec129d812bcfa66 # timeout=10 [2021-05-14T03:37:04.332Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-14T03:37:04.353Z] > git config core.sparsecheckout # timeout=10 [2021-05-14T03:37:04.369Z] > git checkout -f 0649751867869be6df89d8f0b90534b3861c18cf # timeout=10 [2021-05-14T03:37:08.792Z] Commit message: "refactor: rename AutoEvent.Frequency field to Interval" [2021-05-14T03:37:08.855Z] > git --version # timeout=10 [2021-05-14T03:37:08.873Z] > git --version # 'git version 2.17.1' [2021-05-14T03:37:08.890Z] fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-14T03:37:10.367Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [2021-05-14T03:37:10.387Z] Still waiting to schedule task [2021-05-14T03:37:10.387Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [Pipeline] sh [2021-05-14T03:37:10.809Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-14T03:37:11.178Z] + sudo service docker restart [2021-05-14T03:37:11.178Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-14T03:37:13.300Z] provisioning config files... [2021-05-14T03:37:13.338Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config1563131696528757905tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-14T03:37:13.799Z] ---> docker-login.sh [2021-05-14T03:37:13.799Z] nexus3.edgexfoundry.org:10001 [2021-05-14T03:37:14.795Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T03:37:15.072Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T03:37:15.072Z] Configure a credential helper to remove this warning. See [2021-05-14T03:37:15.072Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T03:37:15.072Z] [2021-05-14T03:37:15.072Z] Login Succeeded [2021-05-14T03:37:15.072Z] nexus3.edgexfoundry.org:10002 [2021-05-14T03:37:15.673Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T03:37:15.673Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T03:37:15.673Z] Configure a credential helper to remove this warning. See [2021-05-14T03:37:15.673Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T03:37:15.673Z] [2021-05-14T03:37:15.673Z] Login Succeeded [2021-05-14T03:37:15.673Z] nexus3.edgexfoundry.org:10003 [2021-05-14T03:37:16.274Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T03:37:16.274Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T03:37:16.274Z] Configure a credential helper to remove this warning. See [2021-05-14T03:37:16.274Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T03:37:16.274Z] [2021-05-14T03:37:16.274Z] Login Succeeded [2021-05-14T03:37:16.274Z] nexus3.edgexfoundry.org:10004 [2021-05-14T03:37:16.873Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T03:37:16.874Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T03:37:16.874Z] Configure a credential helper to remove this warning. See [2021-05-14T03:37:16.874Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T03:37:16.874Z] [2021-05-14T03:37:16.874Z] Login Succeeded [2021-05-14T03:37:16.874Z] docker.io [2021-05-14T03:37:17.475Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T03:37:17.750Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T03:37:17.750Z] Configure a credential helper to remove this warning. See [2021-05-14T03:37:17.750Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T03:37:17.750Z] [2021-05-14T03:37:17.750Z] Login Succeeded [2021-05-14T03:37:17.750Z] ---> docker-login.sh ends [Pipeline] } [2021-05-14T03:37:17.784Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-14T03:37:18.470Z] ========================================================= [2021-05-14T03:37:18.470Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-14T03:37:18.470Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-14T03:37:18.892Z] + 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-05-14T03:37:19.499Z] Sending build context to Docker daemon 2.592MB [2021-05-14T03:37:19.499Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-14T03:37:19.499Z] Step 2/8 : FROM ${BASE} [2021-05-14T03:37:19.499Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-14T03:37:19.499Z] 595b0fe564bb: Pulling fs layer [2021-05-14T03:37:19.499Z] 7186ed65a4f7: Pulling fs layer [2021-05-14T03:37:19.499Z] 316046926c0a: Pulling fs layer [2021-05-14T03:37:19.499Z] 4ebd0625c992: Pulling fs layer [2021-05-14T03:37:19.499Z] 207e8628e3a3: Pulling fs layer [2021-05-14T03:37:19.499Z] c791037a9be2: Pulling fs layer [2021-05-14T03:37:19.499Z] ffd874e62e21: Pulling fs layer [2021-05-14T03:37:19.499Z] 4ebd0625c992: Waiting [2021-05-14T03:37:19.499Z] 207e8628e3a3: Waiting [2021-05-14T03:37:19.499Z] c791037a9be2: Waiting [2021-05-14T03:37:19.499Z] ffd874e62e21: Waiting [2021-05-14T03:37:19.499Z] 316046926c0a: Verifying Checksum [2021-05-14T03:37:19.499Z] 316046926c0a: Download complete [2021-05-14T03:37:19.499Z] 7186ed65a4f7: Download complete [2021-05-14T03:37:19.499Z] 207e8628e3a3: Download complete [2021-05-14T03:37:19.777Z] c791037a9be2: Verifying Checksum [2021-05-14T03:37:19.777Z] c791037a9be2: Download complete [2021-05-14T03:37:19.777Z] 595b0fe564bb: Verifying Checksum [2021-05-14T03:37:19.777Z] 595b0fe564bb: Download complete [2021-05-14T03:37:20.395Z] 595b0fe564bb: Pull complete [2021-05-14T03:37:20.997Z] 7186ed65a4f7: Pull complete [2021-05-14T03:37:21.279Z] 316046926c0a: Pull complete [2021-05-14T03:37:21.553Z] ffd874e62e21: Verifying Checksum [2021-05-14T03:37:21.553Z] ffd874e62e21: Download complete [2021-05-14T03:37:22.998Z] 4ebd0625c992: Verifying Checksum [2021-05-14T03:37:22.998Z] 4ebd0625c992: Download complete [2021-05-14T03:37:33.202Z] 4ebd0625c992: Pull complete [2021-05-14T03:37:33.202Z] 207e8628e3a3: Pull complete [2021-05-14T03:37:33.202Z] c791037a9be2: Pull complete [2021-05-14T03:37:36.602Z] ffd874e62e21: Pull complete [2021-05-14T03:37:36.602Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-14T03:37:36.602Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-14T03:37:36.602Z] ---> cfc18b08335c [2021-05-14T03:37:36.602Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-14T03:37:40.004Z] ---> Running in 6c19a6382e94 [2021-05-14T03:37:40.278Z] Removing intermediate container 6c19a6382e94 [2021-05-14T03:37:40.278Z] ---> b9831640ebc8 [2021-05-14T03:37:40.278Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-14T03:37:40.554Z] ---> Running in 523998cec945 [2021-05-14T03:37:43.204Z] Removing intermediate container 523998cec945 [2021-05-14T03:37:43.204Z] ---> 7b0772f50be8 [2021-05-14T03:37:43.204Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-14T03:37:43.204Z] ---> Running in dc12f42ace17 [2021-05-14T03:37:44.211Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-14T03:37:45.224Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-14T03:37:46.203Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-14T03:37:46.203Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-14T03:37:46.475Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-14T03:37:46.475Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-05-14T03:37:46.475Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-14T03:37:46.750Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-14T03:37:46.750Z] Executing busybox-1.32.1-r6.trigger [2021-05-14T03:37:46.750Z] OK: 139 MiB in 46 packages [2021-05-14T03:37:48.189Z] Removing intermediate container dc12f42ace17 [2021-05-14T03:37:48.189Z] ---> 36f40165c2b4 [2021-05-14T03:37:48.189Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-14T03:37:48.465Z] ---> Running in 82c78adc27d4 [2021-05-14T03:37:49.063Z] Removing intermediate container 82c78adc27d4 [2021-05-14T03:37:49.063Z] ---> 18dbf102a415 [2021-05-14T03:37:49.063Z] Step 7/8 : COPY . . [2021-05-14T03:37:50.500Z] ---> 68ce901e6ff3 [2021-05-14T03:37:50.500Z] Step 8/8 : RUN go mod download [2021-05-14T03:37:50.500Z] ---> Running in 16f3ff50dde3 [2021-05-14T03:38:17.313Z] Removing intermediate container 16f3ff50dde3 [2021-05-14T03:38:17.313Z] ---> d6ded0d93b1a [2021-05-14T03:38:17.313Z] Successfully built d6ded0d93b1a [2021-05-14T03:38:17.313Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-14T03:38:17.705Z] + docker inspect -f . ci-base-image-arm64 [2021-05-14T03:38:17.705Z] . [Pipeline] withDockerContainer [2021-05-14T03:38:17.972Z] prd-ubuntu18.04-docker-arm64-4c-16g-51 does not seem to be running inside a container [2021-05-14T03:38:18.066Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-14T03:38:19.592Z] $ docker top 64da46cc2f62c7ef285c7cb7afe2e736df37134417a2b425940adc824795470e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-14T03:38:20.633Z] + go version [2021-05-14T03:38:20.633Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-14T03:38:20.679Z] $ docker stop --time=1 64da46cc2f62c7ef285c7cb7afe2e736df37134417a2b425940adc824795470e [2021-05-14T03:38:22.647Z] $ docker rm -f 64da46cc2f62c7ef285c7cb7afe2e736df37134417a2b425940adc824795470e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-14T03:38:23.723Z] + docker inspect -f . ci-base-image-arm64 [2021-05-14T03:38:23.723Z] . [Pipeline] withDockerContainer [2021-05-14T03:38:24.030Z] prd-ubuntu18.04-docker-arm64-4c-16g-51 does not seem to be running inside a container [2021-05-14T03:38:24.131Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-14T03:38:25.779Z] $ docker top b90d8a155a58f4b72a501f46dd5b15ea729ea870f2dc98a372438a94549adfd8 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-14T03:38:26.828Z] + go mod tidy [Pipeline] sh [2021-05-14T03:38:28.129Z] + make test [2021-05-14T03:38:28.129Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-14T03:38:54.947Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-05-14T03:40:16.833Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-05-14T03:40:16.833Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-05-14T03:40:16.833Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-05-14T03:40:18.842Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.234s coverage: 25.4% of statements [2021-05-14T03:40:18.842Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-05-14T03:40:18.842Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.198s coverage: 28.1% of statements [2021-05-14T03:40:18.842Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.212s coverage: 78.9% of statements [2021-05-14T03:40:18.842Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.264s coverage: 10.7% of statements [2021-05-14T03:40:18.842Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-05-14T03:40:18.842Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-05-14T03:40:18.842Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-05-14T03:40:22.281Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.304s coverage: 30.2% of statements [2021-05-14T03:40:22.281Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-05-14T03:40:22.566Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.227s coverage: 83.3% of statements [2021-05-14T03:40:22.566Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-05-14T03:40:22.566Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-05-14T03:40:23.175Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.416s coverage: 58.4% of statements [2021-05-14T03:40:27.538Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.121s coverage: 89.2% of statements [2021-05-14T03:40:27.538Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-05-14T03:40:27.538Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.202s coverage: 5.0% of statements [2021-05-14T03:40:27.538Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-05-14T03:40:27.538Z] GO111MODULE=on go vet ./... [2021-05-14T03:41:05.383Z] Running on prd-centos7-docker-4c-2g-56 in /w/workspace/dgexfoundry_device-sdk-go_PR-929 [Pipeline] { [Pipeline] ws [2021-05-14T03:41:05.441Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-05-14T03:41:05.624Z] Selected Git installation does not exist. Using Default [2021-05-14T03:41:05.624Z] The recommended git tool is: NONE [2021-05-14T03:41:09.386Z] using credential edgex-jenkins-ssh [2021-05-14T03:41:09.404Z] Cloning the remote Git repository [2021-05-14T03:41:09.498Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-14T03:41:09.583Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-05-14T03:41:09.673Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-14T03:41:09.673Z] > git --version # timeout=10 [2021-05-14T03:41:09.695Z] > git --version # 'git version 2.24.3' [2021-05-14T03:41:09.696Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-14T03:41:09.730Z] [INFO] Currently running in a labeled security context [2021-05-14T03:41:09.731Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-14T03:41:09.731Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh4884181396250185253.key [2021-05-14T03:41:09.765Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-14T03:41:11.152Z] Merging remotes/origin/master commit 266a89ca2ac5ad8320be3c902ec129d812bcfa66 into PR head commit 0649751867869be6df89d8f0b90534b3861c18cf [2021-05-14T03:41:11.273Z] Merge succeeded, producing 0649751867869be6df89d8f0b90534b3861c18cf [2021-05-14T03:41:11.274Z] Checking out Revision 0649751867869be6df89d8f0b90534b3861c18cf (PR-929) [2021-05-14T03:41:10.591Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-14T03:41:10.599Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-14T03:41:10.610Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-14T03:41:10.624Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-14T03:41:10.624Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-14T03:41:10.625Z] [INFO] Currently running in a labeled security context [2021-05-14T03:41:10.626Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-14T03:41:10.626Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh5646284057919330887.key [2021-05-14T03:41:10.634Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/929/head:refs/remotes/origin/PR-929 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-14T03:41:11.165Z] > git config core.sparsecheckout # timeout=10 [2021-05-14T03:41:11.178Z] > git checkout -f 0649751867869be6df89d8f0b90534b3861c18cf # timeout=10 [2021-05-14T03:41:11.226Z] > git remote # timeout=10 [2021-05-14T03:41:11.235Z] > git config --get remote.origin.url # timeout=10 [2021-05-14T03:41:11.240Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-14T03:41:11.241Z] [INFO] Currently running in a labeled security context [2021-05-14T03:41:11.241Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-14T03:41:11.241Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh917302259097826691.key [2021-05-14T03:41:11.249Z] > git merge 266a89ca2ac5ad8320be3c902ec129d812bcfa66 # timeout=10 [2021-05-14T03:41:11.267Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-14T03:41:11.279Z] > git config core.sparsecheckout # timeout=10 [2021-05-14T03:41:11.294Z] > git checkout -f 0649751867869be6df89d8f0b90534b3861c18cf # timeout=10 [2021-05-14T03:41:15.109Z] Commit message: "refactor: rename AutoEvent.Frequency field to Interval" [2021-05-14T03:41:15.142Z] > git --version # timeout=10 [2021-05-14T03:41:15.216Z] > git --version # 'git version 2.24.3' [2021-05-14T03:41:15.225Z] fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-14T03:41:16.562Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-14T03:41:16.929Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-14T03:41:17.259Z] + sudo service docker restart [2021-05-14T03:41:17.259Z] + true [2021-05-14T03:41:17.259Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-14T03:41:18.767Z] provisioning config files... [2021-05-14T03:41:18.790Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config6250806249249245337tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-14T03:41:19.182Z] ---> docker-login.sh [2021-05-14T03:41:19.182Z] nexus3.edgexfoundry.org:10001 [2021-05-14T03:41:19.450Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T03:41:19.716Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T03:41:19.716Z] Configure a credential helper to remove this warning. See [2021-05-14T03:41:19.716Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T03:41:19.716Z] [2021-05-14T03:41:19.716Z] Login Succeeded [2021-05-14T03:41:19.716Z] nexus3.edgexfoundry.org:10002 [2021-05-14T03:41:19.716Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T03:41:19.981Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T03:41:19.981Z] Configure a credential helper to remove this warning. See [2021-05-14T03:41:19.981Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T03:41:19.981Z] [2021-05-14T03:41:19.981Z] Login Succeeded [2021-05-14T03:41:19.981Z] nexus3.edgexfoundry.org:10003 [2021-05-14T03:41:19.981Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T03:41:19.981Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T03:41:19.981Z] Configure a credential helper to remove this warning. See [2021-05-14T03:41:19.981Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T03:41:19.981Z] [2021-05-14T03:41:19.981Z] Login Succeeded [2021-05-14T03:41:19.981Z] nexus3.edgexfoundry.org:10004 [2021-05-14T03:41:20.246Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T03:41:20.246Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T03:41:20.246Z] Configure a credential helper to remove this warning. See [2021-05-14T03:41:20.246Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T03:41:20.246Z] [2021-05-14T03:41:20.246Z] Login Succeeded [2021-05-14T03:41:20.246Z] docker.io [2021-05-14T03:41:20.513Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T03:41:20.780Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T03:41:20.780Z] Configure a credential helper to remove this warning. See [2021-05-14T03:41:20.780Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T03:41:20.780Z] [2021-05-14T03:41:20.780Z] Login Succeeded [2021-05-14T03:41:20.780Z] ---> docker-login.sh ends [Pipeline] } [2021-05-14T03:41:20.819Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-14T03:41:21.201Z] ========================================================= [2021-05-14T03:41:21.201Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-14T03:41:21.201Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-14T03:41:21.591Z] + 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-05-14T03:41:21.873Z] Sending build context to Docker daemon 2.593MB [2021-05-14T03:41:21.874Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-14T03:41:21.874Z] Step 2/8 : FROM ${BASE} [2021-05-14T03:41:21.874Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-14T03:41:21.874Z] 540db60ca938: Pulling fs layer [2021-05-14T03:41:21.874Z] adcc1eea9eea: Pulling fs layer [2021-05-14T03:41:21.874Z] 4c4ab2625f07: Pulling fs layer [2021-05-14T03:41:21.874Z] 0510c868ecb4: Pulling fs layer [2021-05-14T03:41:21.874Z] afea3b2eda06: Pulling fs layer [2021-05-14T03:41:21.874Z] 7809a108b3ef: Pulling fs layer [2021-05-14T03:41:21.874Z] f706445af74f: Pulling fs layer [2021-05-14T03:41:21.874Z] 0510c868ecb4: Waiting [2021-05-14T03:41:21.874Z] afea3b2eda06: Waiting [2021-05-14T03:41:21.874Z] 7809a108b3ef: Waiting [2021-05-14T03:41:21.874Z] f706445af74f: Waiting [2021-05-14T03:41:21.874Z] 4c4ab2625f07: Verifying Checksum [2021-05-14T03:41:21.874Z] 4c4ab2625f07: Download complete [2021-05-14T03:41:21.874Z] adcc1eea9eea: Verifying Checksum [2021-05-14T03:41:21.874Z] adcc1eea9eea: Download complete [2021-05-14T03:41:22.152Z] afea3b2eda06: Download complete [2021-05-14T03:41:22.152Z] 7809a108b3ef: Verifying Checksum [2021-05-14T03:41:22.152Z] 7809a108b3ef: Download complete [2021-05-14T03:41:22.152Z] 540db60ca938: Verifying Checksum [2021-05-14T03:41:22.152Z] 540db60ca938: Download complete [2021-05-14T03:41:22.475Z] 540db60ca938: Pull complete [2021-05-14T03:41:22.782Z] adcc1eea9eea: Pull complete [2021-05-14T03:41:23.071Z] 4c4ab2625f07: Pull complete [2021-05-14T03:41:25.059Z] f706445af74f: Verifying Checksum [2021-05-14T03:41:25.059Z] f706445af74f: Download complete [2021-05-14T03:41:26.057Z] 0510c868ecb4: Verifying Checksum [2021-05-14T03:41:26.057Z] 0510c868ecb4: Download complete [2021-05-14T03:41:34.415Z] 0510c868ecb4: Pull complete [2021-05-14T03:41:34.707Z] afea3b2eda06: Pull complete [2021-05-14T03:41:35.030Z] 7809a108b3ef: Pull complete [2021-05-14T03:41:35.617Z] gofmt -l . [2021-05-14T03:41:35.617Z] [ "`gofmt -l .`" = "" ] [2021-05-14T03:41:35.617Z] ./bin/test-attribution-txt.sh [2021-05-14T03:41:35.617Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-14T03:41:35.667Z] $ docker stop --time=1 b90d8a155a58f4b72a501f46dd5b15ea729ea870f2dc98a372438a94549adfd8 [2021-05-14T03:41:38.042Z] $ docker rm -f b90d8a155a58f4b72a501f46dd5b15ea729ea870f2dc98a372438a94549adfd8 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-14T03:41:39.343Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-14T03:41:40.331Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [2021-05-14T03:41:40.573Z] f706445af74f: Pull complete [2021-05-14T03:41:40.573Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-14T03:41:40.573Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-14T03:41:40.573Z] ---> b068be0155e3 [2021-05-14T03:41:40.573Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [Pipeline] { (Build) [Pipeline] script [Pipeline] { [2021-05-14T03:41:41.173Z] ---> Running in d85bac477d8d [2021-05-14T03:41:41.763Z] Removing intermediate container d85bac477d8d [2021-05-14T03:41:41.763Z] ---> 3491e6f8bbd2 [2021-05-14T03:41:41.763Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-14T03:41:41.763Z] ---> Running in f087489d14be [Pipeline] sh [2021-05-14T03:41:42.744Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-14T03:41:43.117Z] + ls -al . [2021-05-14T03:41:43.118Z] total 248 [2021-05-14T03:41:43.118Z] drwxrwxr-x 10 jenkins jenkins 4096 May 14 03:41 . [2021-05-14T03:41:43.118Z] drwxrwxr-x 4 jenkins jenkins 4096 May 14 03:37 .. [2021-05-14T03:41:43.118Z] -rw-rw-r-- 1 jenkins jenkins 140 May 14 03:37 .dockerignore [2021-05-14T03:41:43.118Z] drwxrwxr-x 8 jenkins jenkins 4096 May 14 03:37 .git [2021-05-14T03:41:43.118Z] drwxrwxr-x 2 jenkins jenkins 4096 May 14 03:37 .github [2021-05-14T03:41:43.118Z] -rw-rw-r-- 1 jenkins jenkins 138 May 14 03:37 .gitignore [2021-05-14T03:41:43.118Z] -rw-rw-r-- 1 jenkins jenkins 987 May 14 03:37 Dockerfile.build [2021-05-14T03:41:43.118Z] -rw-rw-r-- 1 jenkins jenkins 894 May 14 03:37 Jenkinsfile [2021-05-14T03:41:43.118Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 14 03:37 LICENSE [2021-05-14T03:41:43.118Z] -rw-rw-r-- 1 jenkins jenkins 1000 May 14 03:37 Makefile [2021-05-14T03:41:43.118Z] -rw-rw-r-- 1 jenkins jenkins 7652 May 14 03:37 README.md [2021-05-14T03:41:43.118Z] -rw-rw-r-- 1 jenkins jenkins 6616 May 14 03:37 RELEASE-NOTES.txt [2021-05-14T03:41:43.118Z] -rw-rw-r-- 1 jenkins jenkins 5 May 14 03:36 VERSION [2021-05-14T03:41:43.118Z] drwxrwxr-x 2 jenkins jenkins 4096 May 14 03:37 bin [2021-05-14T03:41:43.118Z] -rw-r--r-- 1 jenkins jenkins 126002 May 14 03:40 coverage.out [2021-05-14T03:41:43.118Z] drwxrwxr-x 5 jenkins jenkins 4096 May 14 03:37 example [2021-05-14T03:41:43.118Z] -rw-r--r-- 1 jenkins jenkins 575 May 14 03:41 go.mod [2021-05-14T03:41:43.118Z] -rw-r--r-- 1 jenkins jenkins 20803 May 14 03:38 go.sum [2021-05-14T03:41:43.118Z] drwxrwxr-x 15 jenkins jenkins 4096 May 14 03:37 internal [2021-05-14T03:41:43.118Z] drwxrwxr-x 4 jenkins jenkins 4096 May 14 03:37 openapi [2021-05-14T03:41:43.118Z] drwxrwxr-x 5 jenkins jenkins 4096 May 14 03:37 pkg [2021-05-14T03:41:43.118Z] drwxrwxr-x 4 jenkins jenkins 4096 May 14 03:37 snap [2021-05-14T03:41:43.118Z] -rw-rw-r-- 1 jenkins jenkins 222 May 14 03:37 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-14T03:41:43.559Z] + 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=0649751867869be6df89d8f0b90534b3861c18cf --label arch=arm64 --label version=0.0.0 . [2021-05-14T03:41:43.702Z] Removing intermediate container f087489d14be [2021-05-14T03:41:43.702Z] ---> d3f81e4ba42e [2021-05-14T03:41:43.702Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-14T03:41:43.702Z] ---> Running in 800f99acfbfb [2021-05-14T03:41:44.163Z] Sending build context to Docker daemon 2.719MB [2021-05-14T03:41:44.164Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-05-14T03:41:44.164Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-14T03:41:44.164Z] ---> d6ded0d93b1a [2021-05-14T03:41:44.164Z] Step 3/23 : WORKDIR /device-sdk-go [2021-05-14T03:41:44.164Z] ---> Running in 7819ca207014 [2021-05-14T03:41:44.289Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-14T03:41:44.760Z] Removing intermediate container 7819ca207014 [2021-05-14T03:41:44.760Z] ---> 82e6fbe876fc [2021-05-14T03:41:44.760Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-14T03:41:45.032Z] ---> Running in 9417808db60d [2021-05-14T03:41:45.287Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-14T03:41:45.313Z] Removing intermediate container 9417808db60d [2021-05-14T03:41:45.313Z] ---> f28256031021 [2021-05-14T03:41:45.313Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-14T03:41:45.587Z] ---> Running in 19cc1f0550d4 [2021-05-14T03:41:46.333Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-14T03:41:46.621Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-14T03:41:46.621Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-14T03:41:46.621Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-05-14T03:41:46.942Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-14T03:41:46.942Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-14T03:41:47.228Z] Executing busybox-1.32.1-r6.trigger [2021-05-14T03:41:47.228Z] OK: 150 MiB in 46 packages [2021-05-14T03:41:47.565Z] Removing intermediate container 19cc1f0550d4 [2021-05-14T03:41:47.565Z] ---> dd0c30c9a3fd [2021-05-14T03:41:47.565Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-05-14T03:41:47.810Z] Removing intermediate container 800f99acfbfb [2021-05-14T03:41:47.810Z] ---> e918db636bb6 [2021-05-14T03:41:47.810Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-14T03:41:47.810Z] ---> Running in fb0cf84cc8f6 [2021-05-14T03:41:47.838Z] ---> Running in 893f1bfbfc2e [2021-05-14T03:41:48.106Z] Removing intermediate container fb0cf84cc8f6 [2021-05-14T03:41:48.106Z] ---> b246ed04f521 [2021-05-14T03:41:48.106Z] Step 7/8 : COPY . . [2021-05-14T03:41:49.276Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-14T03:41:50.077Z] ---> 4ed0a34019d1 [2021-05-14T03:41:50.077Z] Step 8/8 : RUN go mod download [2021-05-14T03:41:50.077Z] ---> Running in 6aa0cbe58c9a [2021-05-14T03:41:50.255Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-14T03:41:50.851Z] OK: 139 MiB in 46 packages [2021-05-14T03:41:52.286Z] Removing intermediate container 893f1bfbfc2e [2021-05-14T03:41:52.286Z] ---> 933fcd05bb30 [2021-05-14T03:41:52.286Z] Step 7/23 : COPY . . [2021-05-14T03:41:53.720Z] ---> 8fcf0b6344ca [2021-05-14T03:41:53.720Z] Step 8/23 : RUN go mod download [2021-05-14T03:41:53.720Z] ---> Running in 1b427c890774 [2021-05-14T03:41:56.348Z] Removing intermediate container 1b427c890774 [2021-05-14T03:41:56.348Z] ---> 5a2fcca505da [2021-05-14T03:41:56.348Z] Step 9/23 : RUN make build [2021-05-14T03:41:56.348Z] ---> Running in a1f7a858da9c [2021-05-14T03:41:57.335Z] 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-05-14T03:42:17.053Z] Removing intermediate container 6aa0cbe58c9a [2021-05-14T03:42:17.053Z] ---> c28b17eb5c5a [2021-05-14T03:42:17.053Z] Successfully built c28b17eb5c5a [2021-05-14T03:42:17.053Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-14T03:42:17.429Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-14T03:42:17.703Z] . [Pipeline] withDockerContainer [2021-05-14T03:42:18.053Z] prd-centos7-docker-4c-2g-56 does not seem to be running inside a container [2021-05-14T03:42:18.188Z] $ 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-05-14T03:42:19.277Z] $ docker top af54cd72b2a0bcabb5b83c63c8848a22cc3d6a359868e534baa3f586121bd6f3 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-14T03:42:20.279Z] + go version [2021-05-14T03:42:20.279Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-14T03:42:20.316Z] $ docker stop --time=1 af54cd72b2a0bcabb5b83c63c8848a22cc3d6a359868e534baa3f586121bd6f3 [2021-05-14T03:42:21.791Z] $ docker rm -f af54cd72b2a0bcabb5b83c63c8848a22cc3d6a359868e534baa3f586121bd6f3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-14T03:42:22.802Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-14T03:42:22.802Z] . [Pipeline] withDockerContainer [2021-05-14T03:42:23.004Z] prd-centos7-docker-4c-2g-56 does not seem to be running inside a container [2021-05-14T03:42:23.138Z] $ 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-05-14T03:42:25.098Z] $ docker top 387513d8f8dba51553a97e2ea21b42318716e978fa4b0b18056603e97abf280e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-14T03:42:25.763Z] + go mod tidy [Pipeline] sh [2021-05-14T03:42:26.881Z] + make test [2021-05-14T03:42:26.881Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-14T03:42:29.750Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-05-14T03:42:33.137Z] Removing intermediate container a1f7a858da9c [2021-05-14T03:42:33.137Z] ---> 51a5088ecbf0 [2021-05-14T03:42:33.137Z] Step 10/23 : FROM alpine:3.12 [2021-05-14T03:42:33.137Z] 3.12: Pulling from library/alpine [2021-05-14T03:42:33.137Z] d2f70382dc9a: Pulling fs layer [2021-05-14T03:42:33.410Z] d2f70382dc9a: Verifying Checksum [2021-05-14T03:42:33.410Z] d2f70382dc9a: Download complete [2021-05-14T03:42:34.003Z] d2f70382dc9a: Pull complete [2021-05-14T03:42:34.004Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-14T03:42:34.004Z] Status: Downloaded newer image for alpine:3.12 [2021-05-14T03:42:34.004Z] ---> 9852663dfa18 [2021-05-14T03:42:34.004Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-14T03:42:34.275Z] ---> Running in e9da7c27fe56 [2021-05-14T03:42:34.546Z] Removing intermediate container e9da7c27fe56 [2021-05-14T03:42:34.546Z] ---> 285f7ed6b0f6 [2021-05-14T03:42:34.546Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-14T03:42:34.820Z] ---> Running in c5b7344b5dac [2021-05-14T03:42:36.790Z] Removing intermediate container c5b7344b5dac [2021-05-14T03:42:36.790Z] ---> 4ce1f38d47f2 [2021-05-14T03:42:36.790Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-05-14T03:42:37.060Z] ---> Running in 5da834cf817a [2021-05-14T03:42:38.038Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-14T03:42:38.630Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-14T03:42:39.508Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-05-14T03:42:39.610Z] (1/5) Installing libgcc (9.3.0-r2) [2021-05-14T03:42:39.610Z] (2/5) Installing libsodium (1.0.18-r0) [2021-05-14T03:42:39.610Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-05-14T03:42:39.881Z] (4/5) Installing libzmq (4.3.3-r0) [2021-05-14T03:42:39.881Z] (5/5) Installing zeromq (4.3.3-r0) [2021-05-14T03:42:40.154Z] Executing busybox-1.31.1-r20.trigger [2021-05-14T03:42:40.154Z] OK: 8 MiB in 19 packages [2021-05-14T03:42:41.133Z] Removing intermediate container 5da834cf817a [2021-05-14T03:42:41.133Z] ---> f4f3439f9b70 [2021-05-14T03:42:41.133Z] Step 14/23 : WORKDIR / [2021-05-14T03:42:41.410Z] ---> Running in 3f0f816b7ab1 [2021-05-14T03:42:42.013Z] Removing intermediate container 3f0f816b7ab1 [2021-05-14T03:42:42.013Z] ---> 77a04ef99967 [2021-05-14T03:42:42.013Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-05-14T03:42:42.607Z] ---> a6e0c1be3c26 [2021-05-14T03:42:42.607Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-05-14T03:42:43.588Z] ---> 5b5836591677 [2021-05-14T03:42:43.588Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-05-14T03:42:44.567Z] ---> 7d1781359977 [2021-05-14T03:42:44.567Z] Step 18/23 : EXPOSE 49990 [2021-05-14T03:42:44.567Z] ---> Running in 658e548a4b29 [2021-05-14T03:42:45.166Z] Removing intermediate container 658e548a4b29 [2021-05-14T03:42:45.166Z] ---> 222118cd44fc [2021-05-14T03:42:45.166Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-05-14T03:42:45.166Z] ---> Running in 3daea8f274cf [2021-05-14T03:42:45.765Z] Removing intermediate container 3daea8f274cf [2021-05-14T03:42:45.765Z] ---> 5f0529b58fbf [2021-05-14T03:42:45.765Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-14T03:42:45.765Z] ---> Running in 75b7af781147 [2021-05-14T03:42:46.363Z] Removing intermediate container 75b7af781147 [2021-05-14T03:42:46.364Z] ---> 6f28bb8d1698 [2021-05-14T03:42:46.364Z] Step 21/23 : LABEL arch=arm64 [2021-05-14T03:42:46.364Z] ---> Running in 8b9b2407ef9f [2021-05-14T03:42:46.962Z] Removing intermediate container 8b9b2407ef9f [2021-05-14T03:42:46.962Z] ---> 1a793189cd39 [2021-05-14T03:42:46.962Z] Step 22/23 : LABEL git_sha=0649751867869be6df89d8f0b90534b3861c18cf [2021-05-14T03:42:46.962Z] ---> Running in 41040bd191fe [2021-05-14T03:42:47.557Z] Removing intermediate container 41040bd191fe [2021-05-14T03:42:47.557Z] ---> 9631c8af5e44 [2021-05-14T03:42:47.557Z] Step 23/23 : LABEL version=0.0.0 [2021-05-14T03:42:47.557Z] ---> Running in b1e385d8248d [2021-05-14T03:42:47.836Z] Removing intermediate container b1e385d8248d [2021-05-14T03:42:47.836Z] ---> 99c414c395ee [2021-05-14T03:42:47.836Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-05-14T03:42:48.108Z] Successfully built 99c414c395ee [2021-05-14T03:42:48.108Z] 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-05-14T03:42:49.096Z] ---> job-cost.sh [2021-05-14T03:42:49.097Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-sl83 [2021-05-14T03:43:12.373Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-05-14T03:43:12.373Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-05-14T03:43:12.373Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-05-14T03:43:14.401Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.121s coverage: 25.4% of statements [2021-05-14T03:43:14.401Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-05-14T03:43:14.401Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.104s coverage: 28.1% of statements [2021-05-14T03:43:14.401Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.126s coverage: 78.9% of statements [2021-05-14T03:43:14.401Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.166s coverage: 10.7% of statements [2021-05-14T03:43:14.401Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-05-14T03:43:14.401Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-05-14T03:43:14.401Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-05-14T03:43:15.416Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.133s coverage: 30.2% of statements [2021-05-14T03:43:15.416Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-05-14T03:43:16.879Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.139s coverage: 83.3% of statements [2021-05-14T03:43:16.879Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-05-14T03:43:16.879Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-05-14T03:43:16.880Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.128s coverage: 58.4% of statements [2021-05-14T03:43:17.881Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.735s coverage: 89.2% of statements [2021-05-14T03:43:17.881Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-05-14T03:43:17.881Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.138s coverage: 5.0% of statements [2021-05-14T03:43:17.881Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-05-14T03:43:17.881Z] GO111MODULE=on go vet ./... [2021-05-14T03:43:28.054Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-14T03:43:45.092Z] gofmt -l . [2021-05-14T03:43:45.092Z] [ "`gofmt -l .`" = "" ] [2021-05-14T03:43:45.092Z] ./bin/test-attribution-txt.sh [2021-05-14T03:43:45.092Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-14T03:43:45.133Z] $ docker stop --time=1 387513d8f8dba51553a97e2ea21b42318716e978fa4b0b18056603e97abf280e [2021-05-14T03:43:47.000Z] $ docker rm -f 387513d8f8dba51553a97e2ea21b42318716e978fa4b0b18056603e97abf280e [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-14T03:43:47.756Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-14T03:43:47.794Z] Warning: overwriting stash ‘coverage-report’ [2021-05-14T03:43:48.242Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-14T03:43:48.953Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-14T03:43:49.284Z] + ls -al . [2021-05-14T03:43:49.284Z] total 212 [2021-05-14T03:43:49.284Z] drwxrwxr-x. 10 jenkins jenkins 4096 May 14 03:43 . [2021-05-14T03:43:49.284Z] drwxrwxr-x. 4 jenkins jenkins 28 May 14 03:41 .. [2021-05-14T03:43:49.284Z] drwxrwxr-x. 2 jenkins jenkins 64 May 14 03:41 bin [2021-05-14T03:43:49.284Z] -rw-r--r--. 1 jenkins jenkins 126002 May 14 03:43 coverage.out [2021-05-14T03:43:49.284Z] -rw-rw-r--. 1 jenkins jenkins 987 May 14 03:41 Dockerfile.build [2021-05-14T03:43:49.284Z] -rw-rw-r--. 1 jenkins jenkins 140 May 14 03:41 .dockerignore [2021-05-14T03:43:49.284Z] drwxrwxr-x. 5 jenkins jenkins 62 May 14 03:41 example [2021-05-14T03:43:49.284Z] drwxrwxr-x. 8 jenkins jenkins 179 May 14 03:41 .git [2021-05-14T03:43:49.284Z] drwxrwxr-x. 2 jenkins jenkins 103 May 14 03:41 .github [2021-05-14T03:43:49.284Z] -rw-rw-r--. 1 jenkins jenkins 138 May 14 03:41 .gitignore [2021-05-14T03:43:49.284Z] -rw-r--r--. 1 jenkins jenkins 575 May 14 03:43 go.mod [2021-05-14T03:43:49.284Z] -rw-r--r--. 1 jenkins jenkins 20803 May 14 03:42 go.sum [2021-05-14T03:43:49.284Z] drwxrwxr-x. 15 jenkins jenkins 224 May 14 03:41 internal [2021-05-14T03:43:49.284Z] -rw-rw-r--. 1 jenkins jenkins 894 May 14 03:41 Jenkinsfile [2021-05-14T03:43:49.284Z] -rw-rw-r--. 1 jenkins jenkins 11341 May 14 03:41 LICENSE [2021-05-14T03:43:49.284Z] -rw-rw-r--. 1 jenkins jenkins 1000 May 14 03:41 Makefile [2021-05-14T03:43:49.284Z] drwxrwxr-x. 4 jenkins jenkins 26 May 14 03:41 openapi [2021-05-14T03:43:49.284Z] drwxrwxr-x. 5 jenkins jenkins 50 May 14 03:41 pkg [2021-05-14T03:43:49.284Z] -rw-rw-r--. 1 jenkins jenkins 7652 May 14 03:41 README.md [2021-05-14T03:43:49.284Z] -rw-rw-r--. 1 jenkins jenkins 6616 May 14 03:41 RELEASE-NOTES.txt [2021-05-14T03:43:49.284Z] drwxrwxr-x. 4 jenkins jenkins 54 May 14 03:41 snap [2021-05-14T03:43:49.284Z] -rw-rw-r--. 1 jenkins jenkins 5 May 14 03:36 VERSION [2021-05-14T03:43:49.284Z] -rw-rw-r--. 1 jenkins jenkins 222 May 14 03:41 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-14T03:43:49.635Z] + 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=0649751867869be6df89d8f0b90534b3861c18cf --label arch=amd64 --label version=0.0.0 . [2021-05-14T03:43:49.899Z] Sending build context to Docker daemon 2.72MB [2021-05-14T03:43:49.899Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-05-14T03:43:49.899Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-14T03:43:49.899Z] ---> c28b17eb5c5a [2021-05-14T03:43:49.899Z] Step 3/23 : WORKDIR /device-sdk-go [2021-05-14T03:43:50.475Z] ---> Running in 13f9ddfe7217 [2021-05-14T03:43:50.738Z] Removing intermediate container 13f9ddfe7217 [2021-05-14T03:43:50.738Z] ---> f2243f47b6ba [2021-05-14T03:43:50.738Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-14T03:43:50.738Z] ---> Running in 217b0bb60921 [2021-05-14T03:43:51.000Z] Removing intermediate container 217b0bb60921 [2021-05-14T03:43:51.000Z] ---> 2da63c3c812b [2021-05-14T03:43:51.000Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-14T03:43:51.000Z] ---> Running in f30352690739 [2021-05-14T03:43:51.953Z] Removing intermediate container f30352690739 [2021-05-14T03:43:51.953Z] ---> 6baf75420613 [2021-05-14T03:43:51.953Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-05-14T03:43:52.227Z] ---> Running in 6ef257876bcc [2021-05-14T03:43:52.828Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-14T03:43:53.778Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-14T03:43:54.044Z] OK: 150 MiB in 46 packages [2021-05-14T03:43:55.448Z] Removing intermediate container 6ef257876bcc [2021-05-14T03:43:55.448Z] ---> d3df4170a5de [2021-05-14T03:43:55.448Z] Step 7/23 : COPY . . [2021-05-14T03:43:56.400Z] ---> 28bfa651ca3d [2021-05-14T03:43:56.400Z] Step 8/23 : RUN go mod download [2021-05-14T03:43:56.400Z] ---> Running in 060234adb694 [2021-05-14T03:43:57.798Z] Removing intermediate container 060234adb694 [2021-05-14T03:43:57.798Z] ---> 9059860e6b15 [2021-05-14T03:43:57.798Z] Step 9/23 : RUN make build [2021-05-14T03:43:57.798Z] ---> Running in 7c7fe51687d8 [2021-05-14T03:43:58.083Z] 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-05-14T03:44:13.286Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-05-14T03:44:14.247Z] Removing intermediate container 7c7fe51687d8 [2021-05-14T03:44:14.247Z] ---> 6bb8d88fbaaf [2021-05-14T03:44:14.247Z] Step 10/23 : FROM alpine:3.12 [2021-05-14T03:44:14.513Z] 3.12: Pulling from library/alpine [2021-05-14T03:44:14.783Z] 339de151aab4: Pulling fs layer [2021-05-14T03:44:14.783Z] 339de151aab4: Download complete [2021-05-14T03:44:15.050Z] 339de151aab4: Pull complete [2021-05-14T03:44:15.050Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-14T03:44:15.315Z] Status: Downloaded newer image for alpine:3.12 [2021-05-14T03:44:15.315Z] ---> 13621d1b12d4 [2021-05-14T03:44:15.315Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-14T03:44:15.315Z] ---> Running in 1e525730ffc1 [2021-05-14T03:44:15.581Z] Removing intermediate container 1e525730ffc1 [2021-05-14T03:44:15.581Z] ---> 4d4c9e59c70d [2021-05-14T03:44:15.581Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-14T03:44:15.581Z] ---> Running in eeeb411acb17 [2021-05-14T03:44:16.983Z] Removing intermediate container eeeb411acb17 [2021-05-14T03:44:16.983Z] ---> 94829d74971a [2021-05-14T03:44:16.983Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-05-14T03:44:16.983Z] ---> Running in b977a29c5f77 [2021-05-14T03:44:17.254Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-14T03:44:18.203Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-14T03:44:18.470Z] (1/5) Installing libgcc (9.3.0-r2) [2021-05-14T03:44:18.470Z] (2/5) Installing libsodium (1.0.18-r0) [2021-05-14T03:44:18.470Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-05-14T03:44:19.423Z] (4/5) Installing libzmq (4.3.3-r0) [2021-05-14T03:44:19.423Z] (5/5) Installing zeromq (4.3.3-r0) [2021-05-14T03:44:19.423Z] Executing busybox-1.31.1-r20.trigger [2021-05-14T03:44:19.423Z] OK: 8 MiB in 19 packages [2021-05-14T03:44:19.999Z] Removing intermediate container b977a29c5f77 [2021-05-14T03:44:19.999Z] ---> eef0843657f2 [2021-05-14T03:44:19.999Z] Step 14/23 : WORKDIR / [2021-05-14T03:44:19.999Z] ---> Running in c0a5f7e48210 [2021-05-14T03:44:20.265Z] Removing intermediate container c0a5f7e48210 [2021-05-14T03:44:20.265Z] ---> 1c04d5cd2221 [2021-05-14T03:44:20.265Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-05-14T03:44:20.858Z] ---> a10ce0e4e1de [2021-05-14T03:44:20.858Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-05-14T03:44:21.445Z] ---> 896c037e4b98 [2021-05-14T03:44:21.445Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-05-14T03:44:21.710Z] ---> 74975bbe3d6c [2021-05-14T03:44:21.710Z] Step 18/23 : EXPOSE 49990 [2021-05-14T03:44:21.710Z] ---> Running in eb9970f20849 [2021-05-14T03:44:21.976Z] Removing intermediate container eb9970f20849 [2021-05-14T03:44:21.976Z] ---> b269165431c0 [2021-05-14T03:44:21.976Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-05-14T03:44:21.976Z] ---> Running in b87ca9d7e164 [2021-05-14T03:44:22.243Z] Removing intermediate container b87ca9d7e164 [2021-05-14T03:44:22.243Z] ---> c50c61df8379 [2021-05-14T03:44:22.243Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-14T03:44:22.243Z] ---> Running in 8cc3617284b1 [2021-05-14T03:44:22.516Z] Removing intermediate container 8cc3617284b1 [2021-05-14T03:44:22.516Z] ---> d92fe795025b [2021-05-14T03:44:22.516Z] Step 21/23 : LABEL arch=amd64 [2021-05-14T03:44:22.516Z] ---> Running in 8b52e2393d49 [2021-05-14T03:44:22.785Z] Removing intermediate container 8b52e2393d49 [2021-05-14T03:44:22.785Z] ---> fdf96421081d [2021-05-14T03:44:22.785Z] Step 22/23 : LABEL git_sha=0649751867869be6df89d8f0b90534b3861c18cf [2021-05-14T03:44:22.785Z] ---> Running in cd7722cdc0b7 [2021-05-14T03:44:22.785Z] Removing intermediate container cd7722cdc0b7 [2021-05-14T03:44:22.785Z] ---> 4d392501fa54 [2021-05-14T03:44:22.785Z] Step 23/23 : LABEL version=0.0.0 [2021-05-14T03:44:23.054Z] ---> Running in 96f9a67fca1c [2021-05-14T03:44:23.054Z] Removing intermediate container 96f9a67fca1c [2021-05-14T03:44:23.054Z] ---> 64f38863e4fb [2021-05-14T03:44:23.054Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-05-14T03:44:23.054Z] Successfully built 64f38863e4fb [2021-05-14T03:44:23.333Z] 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-05-14T03:44:24.339Z] ---> job-cost.sh [2021-05-14T03:44:24.339Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-9AiJ [2021-05-14T03:44:42.608Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-14T03:45:04.895Z] lf-activate-venv(): INFO: Adding /tmp/venv-sl83/bin to PATH [2021-05-14T03:45:04.895Z] INFO: No Stack... [2021-05-14T03:45:04.895Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-14T03:45:04.895Z] INFO: Archiving Costs [Pipeline] sh [2021-05-14T03:45:05.286Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-05-14T03:45:05.286Z] + cut -d, -f6 [Pipeline] lock [2021-05-14T03:45:05.378Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-929-1-stack-cost] [2021-05-14T03:45:05.387Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-929-1-stack-cost] did not exist. Created. [2021-05-14T03:45:05.387Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-929-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-14T03:45:05.843Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-14T03:45:06.047Z] Stashed 1 file(s) [Pipeline] } [2021-05-14T03:45:06.068Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-929-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-14T03:45:14.839Z] lf-activate-venv(): INFO: Adding /tmp/venv-9AiJ/bin to PATH [2021-05-14T03:45:14.839Z] INFO: No Stack... [2021-05-14T03:45:14.839Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-14T03:45:14.839Z] INFO: Archiving Costs [Pipeline] sh [2021-05-14T03:45:15.188Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-05-14T03:45:15.188Z] + cut -d, -f6 [Pipeline] lock [2021-05-14T03:45:15.269Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-929-1-stack-cost] [2021-05-14T03:45:15.276Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-929-1-stack-cost] did not exist. Created. [2021-05-14T03:45:15.276Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-929-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-14T03:45:15.702Z] /w/workspace/device-sdk-go/1@tmp/durable-e5fa7542/script.sh: line 1: unexpected EOF while looking for matching `'' [Pipeline] sh [2021-05-14T03:45:16.056Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-14T03:45:16.091Z] Warning: overwriting stash ‘stack-cost’ [2021-05-14T03:45:16.227Z] Stashed 1 file(s) [Pipeline] } [2021-05-14T03:45:16.249Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-929-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-05-14T03:45:17.229Z] provisioning config files... [2021-05-14T03:45:17.240Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-929@tmp/config86831520111667109tmp [Pipeline] { [Pipeline] sh [2021-05-14T03:45:17.606Z] + set +x [2021-05-14T03:45:17.606Z] + curl -s https://codecov.io/bash [2021-05-14T03:45:17.606Z] + bash -s -- [2021-05-14T03:45:17.872Z] [2021-05-14T03:45:17.872Z] _____ _ [2021-05-14T03:45:17.872Z] / ____| | | [2021-05-14T03:45:17.872Z] | | ___ __| | ___ ___ _____ __ [2021-05-14T03:45:17.872Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-14T03:45:17.872Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-14T03:45:17.872Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-14T03:45:17.872Z] Bash-1.0.2 [2021-05-14T03:45:17.872Z] [2021-05-14T03:45:17.872Z] [2021-05-14T03:45:17.872Z] ==> git version 2.24.3 found [2021-05-14T03:45:17.872Z] ==> 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-05-14T03:45:17.872Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-14T03:45:17.872Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-14T03:45:17.872Z] ==> Jenkins CI detected. [2021-05-14T03:45:17.872Z] project root: . [2021-05-14T03:45:17.872Z] --> token set from env [2021-05-14T03:45:17.872Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-14T03:45:17.872Z] ==> Running gcov in . (disable via -X gcov) [2021-05-14T03:45:17.872Z] ==> Python coveragepy not found [2021-05-14T03:45:17.872Z] ==> Searching for coverage reports in: [2021-05-14T03:45:17.872Z] + . [2021-05-14T03:45:17.872Z] -> Found 1 reports [2021-05-14T03:45:17.872Z] ==> Detecting git/mercurial file structure [2021-05-14T03:45:17.872Z] ==> Reading reports [2021-05-14T03:45:17.872Z] + ./coverage.out bytes=126002 [2021-05-14T03:45:17.872Z] ==> Appending adjustments [2021-05-14T03:45:17.872Z] https://docs.codecov.io/docs/fixing-reports [2021-05-14T03:45:18.135Z] + Found adjustments [2021-05-14T03:45:18.135Z] ==> Gzipping contents [2021-05-14T03:45:18.135Z] 20K /tmp/codecov.nDqiYP.gz [2021-05-14T03:45:18.135Z] ==> Uploading reports [2021-05-14T03:45:18.135Z] url: https://codecov.io [2021-05-14T03:45:18.136Z] query: branch=PR-929&commit=0649751867869be6df89d8f0b90534b3861c18cf&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-929%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=929&job=&cmd_args= [2021-05-14T03:45:18.136Z] -> Pinging Codecov [2021-05-14T03:45:18.136Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-929&commit=0649751867869be6df89d8f0b90534b3861c18cf&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-929%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=929&job=&cmd_args= [2021-05-14T03:45:18.710Z] -> Uploading to [2021-05-14T03:45:18.710Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-14/7E55EF52A471D76F132DFD9A03CDDE97/0649751867869be6df89d8f0b90534b3861c18cf/93f8a722-4e3f-4ffd-92f7-6ae1bd9bd4c7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210514%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210514T034518Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=57784ef6fe39469423f45172b4ec6029e644daf2ec449e1df548b8432cc9bc4b [2021-05-14T03:45:18.710Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-14T03:45:18.710Z] Dload Upload Total Spent Left Speed [2021-05-14T03:45:19.287Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16460 0 0 100 16460 0 41526 --:--:-- --:--:-- --:--:-- 41565 [2021-05-14T03:45:19.287Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/0649751867869be6df89d8f0b90534b3861c18cf [Pipeline] } [2021-05-14T03:45:19.312Z] 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-05-14T03:45:21.855Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-14T03:45:22.474Z] ---> package-listing.sh [2021-05-14T03:45:22.474Z] ++ facter osfamily [2021-05-14T03:45:22.474Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-14T03:45:22.474Z] + OS_FAMILY=redhat [2021-05-14T03:45:22.474Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-929 [2021-05-14T03:45:22.474Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-14T03:45:22.474Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-14T03:45:22.474Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-14T03:45:22.474Z] + PACKAGES=/tmp/packages_start.txt [2021-05-14T03:45:22.474Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-929 ']' [2021-05-14T03:45:22.474Z] + PACKAGES=/tmp/packages_end.txt [2021-05-14T03:45:22.474Z] + case "${OS_FAMILY}" in [2021-05-14T03:45:22.474Z] + rpm -qa [2021-05-14T03:45:22.474Z] + sort [2021-05-14T03:45:27.802Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-14T03:45:27.802Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-14T03:45:27.802Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-14T03:45:27.802Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-929 ']' [2021-05-14T03:45:27.802Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-929/archives/ [2021-05-14T03:45:27.802Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-929/archives/ [Pipeline] echo [2021-05-14T03:45:27.840Z] 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-929/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-14T03:45:28.159Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-14T03:45:28.509Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-14T03:45:28.510Z] [2021-05-14T03:45:28.510Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-14T03:45:28.962Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-14T03:45:28.963Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-14T03:45:28.963Z] df20fa9351a1: Pulling fs layer [2021-05-14T03:45:28.963Z] 36b3adc4ff6f: Pulling fs layer [2021-05-14T03:45:28.963Z] 8ad3a11d3b57: Pulling fs layer [2021-05-14T03:45:28.963Z] 46f8f816bc3b: Pulling fs layer [2021-05-14T03:45:28.963Z] 93b61091891f: Pulling fs layer [2021-05-14T03:45:28.963Z] 93b9cdb0e59b: Pulling fs layer [2021-05-14T03:45:28.963Z] 5e14af77c1be: Pulling fs layer [2021-05-14T03:45:28.963Z] 01666e4c0597: Pulling fs layer [2021-05-14T03:45:28.963Z] aa168da1d23b: Pulling fs layer [2021-05-14T03:45:28.963Z] 93b9cdb0e59b: Waiting [2021-05-14T03:45:28.963Z] 5e14af77c1be: Waiting [2021-05-14T03:45:28.963Z] 01666e4c0597: Waiting [2021-05-14T03:45:28.963Z] aa168da1d23b: Waiting [2021-05-14T03:45:28.963Z] 46f8f816bc3b: Waiting [2021-05-14T03:45:28.963Z] 93b61091891f: Waiting [2021-05-14T03:45:28.963Z] 36b3adc4ff6f: Download complete [2021-05-14T03:45:28.963Z] 46f8f816bc3b: Verifying Checksum [2021-05-14T03:45:28.963Z] 46f8f816bc3b: Download complete [2021-05-14T03:45:28.963Z] df20fa9351a1: Verifying Checksum [2021-05-14T03:45:28.963Z] df20fa9351a1: Download complete [2021-05-14T03:45:28.963Z] 93b9cdb0e59b: Verifying Checksum [2021-05-14T03:45:28.963Z] 93b9cdb0e59b: Download complete [2021-05-14T03:45:29.272Z] 5e14af77c1be: Verifying Checksum [2021-05-14T03:45:29.272Z] 5e14af77c1be: Download complete [2021-05-14T03:45:29.272Z] 01666e4c0597: Verifying Checksum [2021-05-14T03:45:29.272Z] 01666e4c0597: Download complete [2021-05-14T03:45:29.272Z] 93b61091891f: Verifying Checksum [2021-05-14T03:45:29.272Z] 93b61091891f: Download complete [2021-05-14T03:45:29.272Z] 8ad3a11d3b57: Verifying Checksum [2021-05-14T03:45:29.272Z] 8ad3a11d3b57: Download complete [2021-05-14T03:45:29.576Z] df20fa9351a1: Pull complete [2021-05-14T03:45:29.844Z] 36b3adc4ff6f: Pull complete [2021-05-14T03:45:30.819Z] 8ad3a11d3b57: Pull complete [2021-05-14T03:45:30.819Z] 46f8f816bc3b: Pull complete [2021-05-14T03:45:31.404Z] 93b61091891f: Pull complete [2021-05-14T03:45:31.404Z] aa168da1d23b: Verifying Checksum [2021-05-14T03:45:31.404Z] aa168da1d23b: Download complete [2021-05-14T03:45:31.404Z] 93b9cdb0e59b: Pull complete [2021-05-14T03:45:31.671Z] 5e14af77c1be: Pull complete [2021-05-14T03:45:31.671Z] 01666e4c0597: Pull complete [2021-05-14T03:45:39.865Z] aa168da1d23b: Pull complete [2021-05-14T03:45:39.866Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-14T03:45:39.866Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-14T03:45:39.866Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-14T03:45:40.034Z] prd-centos7-docker-4c-2g-54 does not seem to be running inside a container [2021-05-14T03:45:40.082Z] $ 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-929/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-929 -v /w/workspace/dgexfoundry_device-sdk-go_PR-929:/w/workspace/dgexfoundry_device-sdk-go_PR-929:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-929@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-929@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-05-14T03:45:43.331Z] $ docker top 98b63870d77c21e3da1d3fbeddd6b97325cac3eea39de105c6320f906ac89571 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-14T03:45:43.847Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-14T03:45:44.172Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-14T03:45:44.502Z] + ls /var/log/sa-host [2021-05-14T03:45:44.502Z] + sadf -c /var/log/sa-host/sa14 [2021-05-14T03:45:44.502Z] file_magic: OK [2021-05-14T03:45:44.502Z] HZ: Using current value: 100 [2021-05-14T03:45:44.502Z] file_header: OK [2021-05-14T03:45:44.502Z] 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-05-14T03:45:44.502Z] Statistics: [2021-05-14T03:45:44.502Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-14T03:45:44.502Z] File successfully converted to sysstat format version 12.2.1 [2021-05-14T03:45:44.502Z] + sadf -c /var/log/sa-host/sa23 [2021-05-14T03:45:44.502Z] file_magic: OK [2021-05-14T03:45:44.502Z] HZ: Using current value: 100 [2021-05-14T03:45:44.502Z] file_header: OK [2021-05-14T03:45:44.502Z] 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-05-14T03:45:44.502Z] Statistics: [2021-05-14T03:45:44.502Z] Hnuu...uuuununununu... [2021-05-14T03:45:44.502Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-14T03:45:44.770Z] provisioning config files... [2021-05-14T03:45:44.788Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-929@tmp/config7816876419354556388tmp [Pipeline] { [Pipeline] echo [2021-05-14T03:45:44.849Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-14T03:45:45.202Z] ---> create-netrc.sh [Pipeline] } [2021-05-14T03:45:45.235Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-14T03:45:45.323Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-14T03:45:45.669Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-14T03:45:45.709Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-14T03:45:46.064Z] ---> sudo-logs.sh [2021-05-14T03:45:46.064Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-14T03:45:46.171Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-14T03:45:46.623Z] ---> job-cost.sh [2021-05-14T03:45:46.623Z] lf-activate-venv: SKIPPING [2021-05-14T03:45:46.623Z] DEBUG: total: 0.029999999329447746 [2021-05-14T03:45:46.623Z] INFO: Retrieving Stack Cost... [2021-05-14T03:45:47.574Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-14T03:45:48.149Z] INFO: Archiving Costs [Pipeline] echo [2021-05-14T03:45:48.189Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-14T03:45:48.539Z] ---> logs-deploy.sh [2021-05-14T03:45:48.539Z] lf-activate-venv: SKIPPING [2021-05-14T03:45:48.539Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-929/1 [2021-05-14T03:45:48.539Z] INFO: archiving workspace using pattern(s): [2021-05-14T03:45:50.467Z] Archives upload complete. [2021-05-14T03:45:50.467Z] INFO: archiving logs to Nexus