Pull request #973 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 0887c0ef194ba6a504b0214fcf2fa499e99ba925+a0283ea75e3b124ec5b34ddb1bd6fdababf84013 (07c607546b4e0fbbfdf2b4f2fb6f1637b78ce488) 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-ssh5439199479362816490.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6a41506d72e8e131afc862d141935157bee59f41 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh7196769489856540171.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6a41506d72e8e131afc862d141935157bee59f41 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-973/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-973/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2349416480700179748.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-973/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh137183648257615661.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6a41506d72e8e131afc862d141935157bee59f41 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6a41506d72e8e131afc862d141935157bee59f41 # timeout=10 Commit message: "Merge pull request #340 from ernestojeda/enable-snap-stage" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8480773388928932952.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-973/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-973/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh7393232947713306737.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd (master) > git config core.sparsecheckout # timeout=10 > git checkout -f d1a99147b03c6cd90561f8e70b7af78166bcd4cd # timeout=10 Commit message: "Feat: Add initial Java pipeline functionality" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-1825’ is offline Running on prd-centos7-docker-4c-2g-2027 in /w/workspace/dgexfoundry_device-sdk-go_PR-973 [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-973 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/dgexfoundry_device-sdk-go_PR-973@tmp/jenkins-gitclient-ssh7445604735759485411.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [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-973@tmp/jenkins-gitclient-ssh5653675109087648769.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/973/head:refs/remotes/origin/PR-973 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit a0283ea75e3b124ec5b34ddb1bd6fdababf84013 into PR head commit 0887c0ef194ba6a504b0214fcf2fa499e99ba925 Merge succeeded, producing 0887c0ef194ba6a504b0214fcf2fa499e99ba925 Checking out Revision 0887c0ef194ba6a504b0214fcf2fa499e99ba925 (PR-973) > git config core.sparsecheckout # timeout=10 > git checkout -f 0887c0ef194ba6a504b0214fcf2fa499e99ba925 # 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-973@tmp/jenkins-gitclient-ssh3133304074789061154.key > git merge a0283ea75e3b124ec5b34ddb1bd6fdababf84013 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0887c0ef194ba6a504b0214fcf2fa499e99ba925 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-17T04:08:12.424Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-17T04:08:12.689Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-17T04:08:12.820Z] ========================================================= [2021-06-17T04:08:12.820Z] EdgeX Global Pipelines Version Info [2021-06-17T04:08:12.820Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-17T04:08:17.434Z] ------------------- [2021-06-17T04:08:17.434Z] stable info: [2021-06-17T04:08:17.434Z] ------------------- [2021-06-17T04:08:17.434Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-17T04:08:17.434Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-17T04:08:17.434Z] Message: update stable to v1.0.195 [2021-06-17T04:08:19.948Z] ------------------- [2021-06-17T04:08:19.948Z] experimental info: [2021-06-17T04:08:19.948Z] ------------------- [2021-06-17T04:08:19.948Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-17T04:08:19.948Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-17T04:08:19.948Z] Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-17T04:08:20.220Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-06-17T04:08:20.287Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-06-17T04:08:20.344Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-17T04:08:20.402Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-17T04:08:20.459Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-17T04:08:20.518Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-17T04:08:22.826Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-17T04:08:22.883Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-17T04:08:22.940Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-06-17T04:08:23.000Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-17T04:08:23.057Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-17T04:08:23.118Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-06-17T04:08:23.179Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-17T04:08:23.239Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-17T04:08:23.300Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-17T04:08:23.365Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-06-17T04:08:23.424Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-17T04:08:23.492Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-17T04:08:25.712Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-17T04:08:25.776Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-17T04:08:25.833Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-06-17T04:08:25.898Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-06-17T04:08:25.959Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-17T04:08:26.017Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-17T04:08:26.079Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-17T04:08:26.137Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-17T04:08:26.197Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-973 [Pipeline] echo [2021-06-17T04:08:26.278Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-973 [Pipeline] echo [2021-06-17T04:08:26.380Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-973 [Pipeline] echo [2021-06-17T04:08:28.674Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0887c0ef194ba6a504b0214fcf2fa499e99ba925 [Pipeline] echo [2021-06-17T04:08:28.740Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0887c0e [Pipeline] echo [2021-06-17T04:08:28.803Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-17T04:08:29.004Z] provisioning config files... [2021-06-17T04:08:29.023Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-973@tmp/config4525867871867339557tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-17T04:08:31.460Z] ---> docker-login.sh [2021-06-17T04:08:31.460Z] nexus3.edgexfoundry.org:10001 [2021-06-17T04:08:31.460Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T04:08:31.460Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T04:08:31.460Z] Configure a credential helper to remove this warning. See [2021-06-17T04:08:31.460Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T04:08:31.460Z] [2021-06-17T04:08:31.460Z] Login Succeeded [2021-06-17T04:08:31.460Z] nexus3.edgexfoundry.org:10002 [2021-06-17T04:08:31.460Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T04:08:31.460Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T04:08:31.460Z] Configure a credential helper to remove this warning. See [2021-06-17T04:08:31.460Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T04:08:31.460Z] [2021-06-17T04:08:31.460Z] Login Succeeded [2021-06-17T04:08:31.460Z] nexus3.edgexfoundry.org:10003 [2021-06-17T04:08:31.460Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T04:08:31.460Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T04:08:31.460Z] Configure a credential helper to remove this warning. See [2021-06-17T04:08:31.460Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T04:08:31.460Z] [2021-06-17T04:08:31.460Z] Login Succeeded [2021-06-17T04:08:31.460Z] nexus3.edgexfoundry.org:10004 [2021-06-17T04:08:31.460Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T04:08:31.460Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T04:08:31.460Z] Configure a credential helper to remove this warning. See [2021-06-17T04:08:31.460Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T04:08:31.460Z] [2021-06-17T04:08:31.460Z] Login Succeeded [2021-06-17T04:08:31.460Z] docker.io [2021-06-17T04:08:31.460Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T04:08:31.460Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T04:08:31.460Z] Configure a credential helper to remove this warning. See [2021-06-17T04:08:31.460Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T04:08:31.460Z] [2021-06-17T04:08:31.460Z] Login Succeeded [2021-06-17T04:08:31.460Z] ---> docker-login.sh ends [Pipeline] } [2021-06-17T04:08:31.488Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-17T04:08:34.731Z] + git log --format=format:%s -1 0887c0ef194ba6a504b0214fcf2fa499e99ba925 [Pipeline] echo [2021-06-17T04:08:34.800Z] GIT_COMMIT: 0887c0ef194ba6a504b0214fcf2fa499e99ba925, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 [Pipeline] echo [2021-06-17T04:08:34.847Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-17T04:08:44.677Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-17T04:08:44.677Z] [2021-06-17T04:08:44.677Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-17T04:08:45.060Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-17T04:08:45.060Z] latest: Pulling from edgex-devops/git-semver [2021-06-17T04:08:45.060Z] 31603596830f: Pulling fs layer [2021-06-17T04:08:45.060Z] 54011a49482f: Pulling fs layer [2021-06-17T04:08:45.060Z] a6820b24f6d8: Pulling fs layer [2021-06-17T04:08:45.060Z] f581987b2513: Pulling fs layer [2021-06-17T04:08:45.060Z] f581987b2513: Waiting [2021-06-17T04:08:45.060Z] 54011a49482f: Verifying Checksum [2021-06-17T04:08:45.060Z] 54011a49482f: Download complete [2021-06-17T04:08:47.467Z] 31603596830f: Verifying Checksum [2021-06-17T04:08:47.467Z] 31603596830f: Download complete [2021-06-17T04:08:47.467Z] 31603596830f: Pull complete [2021-06-17T04:08:47.467Z] 54011a49482f: Pull complete [2021-06-17T04:08:47.467Z] f581987b2513: Verifying Checksum [2021-06-17T04:08:47.467Z] f581987b2513: Download complete [2021-06-17T04:08:47.467Z] a6820b24f6d8: Verifying Checksum [2021-06-17T04:08:47.467Z] a6820b24f6d8: Download complete [2021-06-17T04:08:47.467Z] a6820b24f6d8: Pull complete [2021-06-17T04:08:47.467Z] f581987b2513: Pull complete [2021-06-17T04:08:47.467Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-17T04:08:47.467Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-17T04:08:47.467Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-17T04:08:47.580Z] prd-centos7-docker-4c-2g-2027 does not seem to be running inside a container [2021-06-17T04:08:47.617Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-973 -v /w/workspace/dgexfoundry_device-sdk-go_PR-973:/w/workspace/dgexfoundry_device-sdk-go_PR-973:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-973@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-973@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-17T04:08:50.377Z] $ docker top bc3c3a5ba3840f6bf682baad984cd164d3c2f8f776c5ebcd7e487f244bd1a688 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-17T04:08:50.620Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-17T04:08:50.620Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-17T04:08:52.852Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-17T04:08:52.853Z] $ docker exec bc3c3a5ba3840f6bf682baad984cd164d3c2f8f776c5ebcd7e487f244bd1a688 ssh-agent [2021-06-17T04:08:52.964Z] SSH_AUTH_SOCK=/tmp/ssh-dR9H1HbL3goX/agent.14 [2021-06-17T04:08:52.965Z] SSH_AGENT_PID=20 [2021-06-17T04:08:52.974Z] Running ssh-add (command line suppressed) [2021-06-17T04:08:53.071Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-973@tmp/private_key_757160226817784152.key (/w/workspace/dgexfoundry_device-sdk-go_PR-973@tmp/private_key_757160226817784152.key) [2021-06-17T04:08:53.092Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-17T04:08:55.591Z] + git tag --points-at HEAD [Pipeline] } [2021-06-17T04:08:55.619Z] $ docker exec --env ******** --env ******** bc3c3a5ba3840f6bf682baad984cd164d3c2f8f776c5ebcd7e487f244bd1a688 ssh-agent -k [2021-06-17T04:08:55.719Z] unset SSH_AUTH_SOCK; [2021-06-17T04:08:55.719Z] unset SSH_AGENT_PID; [2021-06-17T04:08:55.719Z] echo Agent pid 20 killed; [2021-06-17T04:08:55.743Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-17T04:08:55.846Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-17T04:08:55.846Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-17T04:08:55.958Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-17T04:08:55.958Z] $ docker exec bc3c3a5ba3840f6bf682baad984cd164d3c2f8f776c5ebcd7e487f244bd1a688 ssh-agent [2021-06-17T04:08:58.277Z] SSH_AUTH_SOCK=/tmp/ssh-jb4boWCESsmn/agent.53 [2021-06-17T04:08:58.277Z] SSH_AGENT_PID=59 [2021-06-17T04:08:58.284Z] Running ssh-add (command line suppressed) [2021-06-17T04:08:58.383Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-973@tmp/private_key_8296713678002580710.key (/w/workspace/dgexfoundry_device-sdk-go_PR-973@tmp/private_key_8296713678002580710.key) [2021-06-17T04:08:58.400Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-17T04:09:00.742Z] + git semver init [2021-06-17T04:09:00.743Z] # -> Open(): unable to determine branch for HEAD [2021-06-17T04:09:00.743Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-973/.git [2021-06-17T04:09:00.743Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-973 [2021-06-17T04:09:00.743Z] # $SEMVER_REMOTE_NAME = origin [2021-06-17T04:09:00.743Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-17T04:09:00.743Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-17T04:09:00.743Z] # $SEMVER_BRANCH = PR-973 [2021-06-17T04:09:00.743Z] # $SEMVER_TEMP = /tmp/semver-874678890 [2021-06-17T04:09:00.743Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-06-17T04:09:00.743Z] # '/tmp/semver-874678890' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-973/.semver' [2021-06-17T04:09:00.743Z] # -> Force: false [2021-06-17T04:09:00.743Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-973/.semver [Pipeline] } [2021-06-17T04:09:00.761Z] $ docker exec --env ******** --env ******** bc3c3a5ba3840f6bf682baad984cd164d3c2f8f776c5ebcd7e487f244bd1a688 ssh-agent -k [2021-06-17T04:09:00.857Z] unset SSH_AUTH_SOCK; [2021-06-17T04:09:00.858Z] unset SSH_AGENT_PID; [2021-06-17T04:09:00.858Z] echo Agent pid 59 killed; [2021-06-17T04:09:00.871Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-17T04:09:03.707Z] + git semver [Pipeline] } [2021-06-17T04:09:03.738Z] $ docker stop --time=1 bc3c3a5ba3840f6bf682baad984cd164d3c2f8f776c5ebcd7e487f244bd1a688 [2021-06-17T04:09:05.974Z] $ docker rm -f bc3c3a5ba3840f6bf682baad984cd164d3c2f8f776c5ebcd7e487f244bd1a688 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-17T04:09:06.421Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-17T04:09:11.149Z] Stashed 1 file(s) [Pipeline] echo [2021-06-17T04:09:11.182Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-06-17T04:09:32.727Z] Still waiting to schedule task [2021-06-17T04:09:32.729Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-06-17T04:09:32.727Z] Still waiting to schedule task [2021-06-17T04:09:32.730Z] ‘prd-centos7-blackbox-4c-2g-591’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-06-17T04:09:32.730Z] ‘prd-centos7-builder-2c-1g-2026’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-06-17T04:09:32.730Z] ‘prd-centos7-docker-4c-2g-1825’ is offline [2021-06-17T04:09:32.731Z] ‘prd-centos7-docker-4c-2g-2029’ is offline [2021-06-17T04:11:40.241Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2030 in /w/workspace/dgexfoundry_device-sdk-go_PR-973 [Pipeline] { [Pipeline] ws [2021-06-17T04:11:40.314Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-06-17T04:11:43.118Z] Selected Git installation does not exist. Using Default [2021-06-17T04:11:43.118Z] The recommended git tool is: NONE [2021-06-17T04:11:59.690Z] Running on prd-centos7-docker-4c-2g-2031 in /w/workspace/dgexfoundry_device-sdk-go_PR-973 [Pipeline] { [Pipeline] ws [2021-06-17T04:12:02.024Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-06-17T04:12:02.198Z] Selected Git installation does not exist. Using Default [2021-06-17T04:12:02.198Z] The recommended git tool is: NONE [2021-06-17T04:12:10.064Z] using credential edgex-jenkins-ssh [2021-06-17T04:12:12.280Z] Cloning the remote Git repository [2021-06-17T04:12:12.332Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-06-17T04:12:12.442Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-06-17T04:12:12.529Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-17T04:12:12.530Z] > git --version # timeout=10 [2021-06-17T04:12:12.549Z] > git --version # 'git version 2.17.1' [2021-06-17T04:12:12.550Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-17T04:12:12.636Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-17T04:12:13.781Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-17T04:12:13.799Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-17T04:12:15.314Z] using credential edgex-jenkins-ssh [2021-06-17T04:12:15.330Z] Cloning the remote Git repository [2021-06-17T04:12:15.530Z] Merging remotes/origin/master commit a0283ea75e3b124ec5b34ddb1bd6fdababf84013 into PR head commit 0887c0ef194ba6a504b0214fcf2fa499e99ba925 [2021-06-17T04:12:15.732Z] Merge succeeded, producing 0887c0ef194ba6a504b0214fcf2fa499e99ba925 [2021-06-17T04:12:15.733Z] Checking out Revision 0887c0ef194ba6a504b0214fcf2fa499e99ba925 (PR-973) [2021-06-17T04:12:15.345Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-06-17T04:12:15.409Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-06-17T04:12:15.437Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-17T04:12:15.437Z] > git --version # timeout=10 [2021-06-17T04:12:15.445Z] > git --version # 'git version 2.24.4' [2021-06-17T04:12:15.446Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-17T04:12:15.482Z] [INFO] Currently running in a labeled security context [2021-06-17T04:12:15.482Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-17T04:12:15.482Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh6437131729195090502.key [2021-06-17T04:12:15.492Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-17T04:12:16.284Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-17T04:12:16.295Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-17T04:12:14.930Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-17T04:12:14.968Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-17T04:12:14.968Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-17T04:12:14.983Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/973/head:refs/remotes/origin/PR-973 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-17T04:12:15.549Z] > git config core.sparsecheckout # timeout=10 [2021-06-17T04:12:15.566Z] > git checkout -f 0887c0ef194ba6a504b0214fcf2fa499e99ba925 # timeout=10 [2021-06-17T04:12:15.660Z] > git remote # timeout=10 [2021-06-17T04:12:15.676Z] > git config --get remote.origin.url # timeout=10 [2021-06-17T04:12:15.687Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-17T04:12:15.697Z] > git merge a0283ea75e3b124ec5b34ddb1bd6fdababf84013 # timeout=10 [2021-06-17T04:12:15.719Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-17T04:12:15.737Z] > git config core.sparsecheckout # timeout=10 [2021-06-17T04:12:15.745Z] > git checkout -f 0887c0ef194ba6a504b0214fcf2fa499e99ba925 # timeout=10 [2021-06-17T04:12:18.522Z] Merging remotes/origin/master commit a0283ea75e3b124ec5b34ddb1bd6fdababf84013 into PR head commit 0887c0ef194ba6a504b0214fcf2fa499e99ba925 [2021-06-17T04:12:18.617Z] Merge succeeded, producing 0887c0ef194ba6a504b0214fcf2fa499e99ba925 [2021-06-17T04:12:18.617Z] Checking out Revision 0887c0ef194ba6a504b0214fcf2fa499e99ba925 (PR-973) [2021-06-17T04:12:18.039Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-17T04:12:18.062Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-17T04:12:18.063Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-17T04:12:18.068Z] [INFO] Currently running in a labeled security context [2021-06-17T04:12:18.068Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-17T04:12:18.068Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh6422120307776833926.key [2021-06-17T04:12:18.075Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/973/head:refs/remotes/origin/PR-973 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-17T04:12:18.528Z] > git config core.sparsecheckout # timeout=10 [2021-06-17T04:12:18.536Z] > git checkout -f 0887c0ef194ba6a504b0214fcf2fa499e99ba925 # timeout=10 [2021-06-17T04:12:18.571Z] > git remote # timeout=10 [2021-06-17T04:12:18.580Z] > git config --get remote.origin.url # timeout=10 [2021-06-17T04:12:18.586Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-17T04:12:18.587Z] [INFO] Currently running in a labeled security context [2021-06-17T04:12:18.587Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-17T04:12:18.588Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh2643894011449500764.key [2021-06-17T04:12:18.595Z] > git merge a0283ea75e3b124ec5b34ddb1bd6fdababf84013 # timeout=10 [2021-06-17T04:12:18.604Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-17T04:12:18.617Z] > git config core.sparsecheckout # timeout=10 [2021-06-17T04:12:18.622Z] > git checkout -f 0887c0ef194ba6a504b0214fcf2fa499e99ba925 # timeout=10 [2021-06-17T04:12:22.234Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" [2021-06-17T04:12:24.511Z] > git --version # timeout=10 [2021-06-17T04:12:24.521Z] > git --version # 'git version 2.17.1' [2021-06-17T04:12:24.535Z] fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-17T04:12:24.642Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" [2021-06-17T04:12:24.713Z] > git --version # timeout=10 [2021-06-17T04:12:24.724Z] > git --version # 'git version 2.24.4' [2021-06-17T04:12:24.732Z] fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-17T04:12:30.624Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-17T04:12:32.927Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-17T04:12:33.258Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-17T04:12:33.366Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-17T04:12:33.622Z] + sudo service docker restart [2021-06-17T04:12:33.622Z] + true [2021-06-17T04:12:33.703Z] + sudo service docker restart [2021-06-17T04:12:33.703Z] + true [2021-06-17T04:12:33.703Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-17T04:12:49.966Z] provisioning config files... [2021-06-17T04:12:49.981Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config1861204887453915349tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-17T04:12:52.395Z] provisioning config files... [2021-06-17T04:12:54.759Z] ---> docker-login.sh [2021-06-17T04:12:54.759Z] nexus3.edgexfoundry.org:10001 [2021-06-17T04:12:54.759Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T04:12:54.759Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T04:12:54.759Z] Configure a credential helper to remove this warning. See [2021-06-17T04:12:54.759Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T04:12:54.759Z] [2021-06-17T04:12:54.759Z] Login Succeeded [2021-06-17T04:12:54.759Z] nexus3.edgexfoundry.org:10002 [2021-06-17T04:12:54.759Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T04:12:54.759Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T04:12:54.759Z] Configure a credential helper to remove this warning. See [2021-06-17T04:12:54.759Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T04:12:54.759Z] [2021-06-17T04:12:54.759Z] Login Succeeded [2021-06-17T04:12:54.759Z] nexus3.edgexfoundry.org:10003 [2021-06-17T04:12:54.759Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T04:12:54.759Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T04:12:54.759Z] Configure a credential helper to remove this warning. See [2021-06-17T04:12:54.759Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T04:12:54.759Z] [2021-06-17T04:12:54.759Z] Login Succeeded [2021-06-17T04:12:54.759Z] nexus3.edgexfoundry.org:10004 [2021-06-17T04:12:54.759Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T04:12:54.759Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T04:12:54.759Z] Configure a credential helper to remove this warning. See [2021-06-17T04:12:54.759Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T04:12:54.759Z] [2021-06-17T04:12:54.759Z] Login Succeeded [2021-06-17T04:12:54.759Z] docker.io [2021-06-17T04:12:54.759Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T04:12:54.759Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T04:12:54.759Z] Configure a credential helper to remove this warning. See [2021-06-17T04:12:54.759Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T04:12:54.759Z] [2021-06-17T04:12:54.759Z] Login Succeeded [2021-06-17T04:12:54.759Z] ---> docker-login.sh ends [2021-06-17T04:12:54.765Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config226417705971217624tmp [Pipeline] } [2021-06-17T04:12:54.794Z] Deleting 1 temporary files [Pipeline] { [Pipeline] // configFileProvider [Pipeline] } [Pipeline] libraryResource [Pipeline] sh [Pipeline] // withEnv [2021-06-17T04:12:57.739Z] ---> docker-login.sh [2021-06-17T04:12:57.739Z] nexus3.edgexfoundry.org:10001 [2021-06-17T04:12:57.739Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T04:12:57.739Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T04:12:57.739Z] Configure a credential helper to remove this warning. See [2021-06-17T04:12:57.739Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T04:12:57.739Z] [2021-06-17T04:12:57.739Z] Login Succeeded [2021-06-17T04:12:57.739Z] nexus3.edgexfoundry.org:10002 [2021-06-17T04:12:57.739Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T04:12:57.739Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T04:12:57.739Z] Configure a credential helper to remove this warning. See [2021-06-17T04:12:57.739Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T04:12:57.739Z] [2021-06-17T04:12:57.739Z] Login Succeeded [2021-06-17T04:12:57.739Z] nexus3.edgexfoundry.org:10003 [2021-06-17T04:12:57.739Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T04:12:57.739Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T04:12:57.739Z] Configure a credential helper to remove this warning. See [2021-06-17T04:12:57.739Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T04:12:57.739Z] [2021-06-17T04:12:57.739Z] Login Succeeded [2021-06-17T04:12:57.739Z] nexus3.edgexfoundry.org:10004 [Pipeline] unstash [2021-06-17T04:13:00.388Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T04:13:00.388Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T04:13:00.388Z] Configure a credential helper to remove this warning. See [2021-06-17T04:13:00.388Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T04:13:00.388Z] [2021-06-17T04:13:00.388Z] Login Succeeded [2021-06-17T04:13:00.388Z] docker.io [2021-06-17T04:13:00.388Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T04:13:00.388Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T04:13:00.388Z] Configure a credential helper to remove this warning. See [2021-06-17T04:13:00.388Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T04:13:00.388Z] [2021-06-17T04:13:00.388Z] Login Succeeded [2021-06-17T04:13:00.388Z] ---> docker-login.sh ends [Pipeline] } [2021-06-17T04:13:00.426Z] Deleting 1 temporary files [Pipeline] echo [2021-06-17T04:13:00.452Z] ========================================================= [2021-06-17T04:13:00.452Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-17T04:13:00.452Z] ========================================================= [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] isUnix [Pipeline] sh [2021-06-17T04:13:06.474Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-06-17T04:13:06.474Z] Sending build context to Docker daemon 2.684MB [2021-06-17T04:13:06.474Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-17T04:13:06.474Z] Step 2/8 : FROM ${BASE} [2021-06-17T04:13:06.474Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-17T04:13:06.474Z] 540db60ca938: Pulling fs layer [2021-06-17T04:13:06.474Z] adcc1eea9eea: Pulling fs layer [2021-06-17T04:13:06.474Z] 4c4ab2625f07: Pulling fs layer [2021-06-17T04:13:06.474Z] 0510c868ecb4: Pulling fs layer [2021-06-17T04:13:06.474Z] afea3b2eda06: Pulling fs layer [2021-06-17T04:13:06.474Z] 7809a108b3ef: Pulling fs layer [2021-06-17T04:13:06.474Z] f706445af74f: Pulling fs layer [2021-06-17T04:13:06.474Z] afea3b2eda06: Waiting [2021-06-17T04:13:06.474Z] 7809a108b3ef: Waiting [2021-06-17T04:13:06.474Z] f706445af74f: Waiting [2021-06-17T04:13:06.474Z] 0510c868ecb4: Waiting [2021-06-17T04:13:06.474Z] 4c4ab2625f07: Download complete [2021-06-17T04:13:06.474Z] adcc1eea9eea: Verifying Checksum [2021-06-17T04:13:06.474Z] adcc1eea9eea: Download complete [2021-06-17T04:13:06.474Z] afea3b2eda06: Verifying Checksum [2021-06-17T04:13:06.474Z] afea3b2eda06: Download complete [2021-06-17T04:13:06.474Z] 540db60ca938: Verifying Checksum [2021-06-17T04:13:06.474Z] 540db60ca938: Download complete [2021-06-17T04:13:06.474Z] 7809a108b3ef: Verifying Checksum [2021-06-17T04:13:06.474Z] 7809a108b3ef: Download complete [2021-06-17T04:13:06.474Z] 540db60ca938: Pull complete [2021-06-17T04:13:06.474Z] adcc1eea9eea: Pull complete [2021-06-17T04:13:06.474Z] 4c4ab2625f07: Pull complete [2021-06-17T04:13:06.474Z] f706445af74f: Verifying Checksum [2021-06-17T04:13:06.474Z] f706445af74f: Download complete [2021-06-17T04:13:06.474Z] 0510c868ecb4: Verifying Checksum [2021-06-17T04:13:06.474Z] 0510c868ecb4: Download complete [Pipeline] echo [2021-06-17T04:13:06.517Z] ========================================================= [2021-06-17T04:13:06.517Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-17T04:13:06.517Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-17T04:13:09.317Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-06-17T04:13:09.317Z] Sending build context to Docker daemon 2.683MB [2021-06-17T04:13:09.317Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-17T04:13:09.317Z] Step 2/8 : FROM ${BASE} [2021-06-17T04:13:09.317Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-17T04:13:09.317Z] 595b0fe564bb: Pulling fs layer [2021-06-17T04:13:09.317Z] 3088b5b3c5c0: Pulling fs layer [2021-06-17T04:13:09.317Z] 5b7225fbf94c: Pulling fs layer [2021-06-17T04:13:09.317Z] ba82ee9f976e: Pulling fs layer [2021-06-17T04:13:09.317Z] 506bd15cee9f: Pulling fs layer [2021-06-17T04:13:09.317Z] 75a0a4a0db45: Pulling fs layer [2021-06-17T04:13:09.317Z] 618dc40b7e24: Pulling fs layer [2021-06-17T04:13:09.317Z] 506bd15cee9f: Waiting [2021-06-17T04:13:09.317Z] 75a0a4a0db45: Waiting [2021-06-17T04:13:09.318Z] 618dc40b7e24: Waiting [2021-06-17T04:13:09.318Z] ba82ee9f976e: Waiting [2021-06-17T04:13:09.318Z] 5b7225fbf94c: Verifying Checksum [2021-06-17T04:13:09.318Z] 5b7225fbf94c: Download complete [2021-06-17T04:13:09.318Z] 3088b5b3c5c0: Verifying Checksum [2021-06-17T04:13:09.318Z] 3088b5b3c5c0: Download complete [2021-06-17T04:13:09.318Z] 506bd15cee9f: Verifying Checksum [2021-06-17T04:13:09.318Z] 506bd15cee9f: Download complete [2021-06-17T04:13:09.318Z] 75a0a4a0db45: Verifying Checksum [2021-06-17T04:13:09.318Z] 75a0a4a0db45: Download complete [2021-06-17T04:13:09.318Z] 595b0fe564bb: Download complete [2021-06-17T04:13:09.318Z] 595b0fe564bb: Pull complete [2021-06-17T04:13:09.318Z] 3088b5b3c5c0: Pull complete [2021-06-17T04:13:11.564Z] 0510c868ecb4: Pull complete [2021-06-17T04:13:11.564Z] afea3b2eda06: Pull complete [2021-06-17T04:13:11.564Z] 7809a108b3ef: Pull complete [2021-06-17T04:13:11.564Z] f706445af74f: Pull complete [2021-06-17T04:13:11.564Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-17T04:13:11.564Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-17T04:13:11.564Z] ---> b068be0155e3 [2021-06-17T04:13:11.564Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-17T04:13:14.217Z] 5b7225fbf94c: Pull complete [2021-06-17T04:13:14.217Z] 618dc40b7e24: Verifying Checksum [2021-06-17T04:13:14.217Z] 618dc40b7e24: Download complete [2021-06-17T04:13:14.217Z] ba82ee9f976e: Verifying Checksum [2021-06-17T04:13:14.217Z] ba82ee9f976e: Download complete [2021-06-17T04:13:16.652Z] ---> Running in fc89a879d7dd [2021-06-17T04:13:16.652Z] Removing intermediate container fc89a879d7dd [2021-06-17T04:13:16.652Z] ---> c1cc63e0dbe9 [2021-06-17T04:13:16.652Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-17T04:13:16.652Z] ---> Running in 5ba6d6bc16ff [2021-06-17T04:13:16.652Z] Removing intermediate container 5ba6d6bc16ff [2021-06-17T04:13:16.652Z] ---> a83031e3c503 [2021-06-17T04:13:16.652Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-06-17T04:13:16.652Z] ---> Running in 8ebe36dad3e3 [2021-06-17T04:13:16.652Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-17T04:13:19.193Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-17T04:13:19.193Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-06-17T04:13:19.193Z] (2/6) Installing libsodium (1.0.18-r0) [2021-06-17T04:13:19.193Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-06-17T04:13:19.193Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-06-17T04:13:19.193Z] (5/6) Installing libzmq (4.3.3-r1) [2021-06-17T04:13:19.193Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-06-17T04:13:19.193Z] Executing busybox-1.32.1-r6.trigger [2021-06-17T04:13:19.193Z] OK: 150 MiB in 46 packages [2021-06-17T04:13:19.193Z] Removing intermediate container 8ebe36dad3e3 [2021-06-17T04:13:19.193Z] ---> 072296e49ace [2021-06-17T04:13:19.193Z] Step 6/8 : WORKDIR /device-sdk-go [2021-06-17T04:13:19.193Z] ---> Running in ce338ef15cd9 [2021-06-17T04:13:19.193Z] Removing intermediate container ce338ef15cd9 [2021-06-17T04:13:19.193Z] ---> e5e38a399635 [2021-06-17T04:13:19.193Z] Step 7/8 : COPY . . [2021-06-17T04:13:19.193Z] ---> 5588e38341ea [2021-06-17T04:13:19.193Z] Step 8/8 : RUN go mod download [2021-06-17T04:13:19.193Z] ---> Running in dea7d3f6ba34 [2021-06-17T04:13:21.653Z] ba82ee9f976e: Pull complete [2021-06-17T04:13:21.653Z] 506bd15cee9f: Pull complete [2021-06-17T04:13:21.653Z] 75a0a4a0db45: Pull complete [2021-06-17T04:13:26.808Z] 618dc40b7e24: Pull complete [2021-06-17T04:13:26.808Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-06-17T04:13:26.808Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-17T04:13:26.808Z] ---> a36622ca3599 [2021-06-17T04:13:26.808Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-17T04:13:29.166Z] ---> Running in 037df76cb164 [2021-06-17T04:13:29.166Z] Removing intermediate container 037df76cb164 [2021-06-17T04:13:29.166Z] ---> 73a6c1ae3a6c [2021-06-17T04:13:29.166Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-17T04:13:29.166Z] ---> Running in 142d0becb198 [2021-06-17T04:13:31.384Z] Removing intermediate container 142d0becb198 [2021-06-17T04:13:31.384Z] ---> ce11ebc95117 [2021-06-17T04:13:31.384Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-06-17T04:13:31.384Z] ---> Running in c5c2c41b80b9 [2021-06-17T04:13:31.384Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-17T04:13:33.920Z] Removing intermediate container dea7d3f6ba34 [2021-06-17T04:13:33.920Z] ---> 59cf3f19af50 [2021-06-17T04:13:33.920Z] Successfully built 59cf3f19af50 [2021-06-17T04:13:33.920Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-17T04:13:36.357Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-17T04:13:36.357Z] . [2021-06-17T04:13:36.363Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-17T04:13:36.363Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-06-17T04:13:36.363Z] (2/6) Installing libsodium (1.0.18-r0) [2021-06-17T04:13:36.363Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-06-17T04:13:36.363Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-06-17T04:13:36.363Z] (5/6) Installing libzmq (4.3.3-r1) [2021-06-17T04:13:36.363Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-06-17T04:13:36.363Z] Executing busybox-1.32.1-r6.trigger [2021-06-17T04:13:36.363Z] OK: 139 MiB in 46 packages [2021-06-17T04:13:36.363Z] Removing intermediate container c5c2c41b80b9 [2021-06-17T04:13:36.363Z] ---> b0bcdbd43a32 [2021-06-17T04:13:36.363Z] Step 6/8 : WORKDIR /device-sdk-go [2021-06-17T04:13:36.363Z] ---> Running in 29791dfeffec [2021-06-17T04:13:36.363Z] Removing intermediate container 29791dfeffec [2021-06-17T04:13:36.363Z] ---> 27df6631e798 [2021-06-17T04:13:36.363Z] Step 7/8 : COPY . . [Pipeline] withDockerContainer [2021-06-17T04:13:38.569Z] prd-centos7-docker-4c-2g-2031 does not seem to be running inside a container [2021-06-17T04:13:38.570Z] ---> 35b4f308a8be [2021-06-17T04:13:38.570Z] Step 8/8 : RUN go mod download [2021-06-17T04:13:38.570Z] ---> Running in a9c9489a3f49 [2021-06-17T04:13:38.627Z] $ 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 ******** ci-base-image-x86_64 cat [2021-06-17T04:13:41.165Z] $ docker top 60aa506e5871c02b6988f272eb91138d9a6570d4007b522e5d16513c5f853896 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-17T04:13:43.960Z] + go version [2021-06-17T04:13:43.960Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-17T04:13:43.997Z] $ docker stop --time=1 60aa506e5871c02b6988f272eb91138d9a6570d4007b522e5d16513c5f853896 [2021-06-17T04:13:46.953Z] $ docker rm -f 60aa506e5871c02b6988f272eb91138d9a6570d4007b522e5d16513c5f853896 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-17T04:13:55.837Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-17T04:13:55.837Z] . [Pipeline] withDockerContainer [2021-06-17T04:13:55.962Z] prd-centos7-docker-4c-2g-2031 does not seem to be running inside a container [2021-06-17T04:13:56.020Z] $ 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 ******** ci-base-image-x86_64 cat [2021-06-17T04:13:58.772Z] $ docker top b6d0cf6bfd65e038ea0df36412ff4ed4f7bf394fb170ca5c9911da99031f0b9e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-17T04:14:01.530Z] Removing intermediate container a9c9489a3f49 [2021-06-17T04:14:01.530Z] ---> 32af0b1f9419 [2021-06-17T04:14:01.530Z] Successfully built 32af0b1f9419 [2021-06-17T04:14:01.530Z] Successfully tagged ci-base-image-arm64:latest [2021-06-17T04:14:04.503Z] + go mod tidy [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-06-17T04:14:07.185Z] + docker inspect -f . ci-base-image-arm64 [2021-06-17T04:14:07.185Z] . [2021-06-17T04:14:07.198Z] + make test [2021-06-17T04:14:07.198Z] go mod tidy [2021-06-17T04:14:07.198Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [Pipeline] withDockerContainer [2021-06-17T04:14:07.461Z] prd-ubuntu18.04-docker-arm64-4c-16g-2030 does not seem to be running inside a container [2021-06-17T04:14:07.552Z] $ 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 ******** ci-base-image-arm64 cat [2021-06-17T04:14:10.011Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-06-17T04:14:10.013Z] $ docker top 8e6e865c11f881dea77b37fb139a8e20af2a0bfeedcb2f74054327e913d3b30f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-17T04:14:15.450Z] + go version [2021-06-17T04:14:15.450Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-06-17T04:14:15.509Z] $ docker stop --time=1 8e6e865c11f881dea77b37fb139a8e20af2a0bfeedcb2f74054327e913d3b30f [2021-06-17T04:14:17.883Z] $ docker rm -f 8e6e865c11f881dea77b37fb139a8e20af2a0bfeedcb2f74054327e913d3b30f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-17T04:14:26.574Z] + docker inspect -f . ci-base-image-arm64 [2021-06-17T04:14:26.574Z] . [Pipeline] withDockerContainer [2021-06-17T04:14:29.284Z] prd-ubuntu18.04-docker-arm64-4c-16g-2030 does not seem to be running inside a container [2021-06-17T04:14:29.383Z] $ 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 ******** ci-base-image-arm64 cat [2021-06-17T04:14:31.812Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-06-17T04:14:31.812Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-06-17T04:14:31.812Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-06-17T04:14:31.825Z] $ docker top 276c47cb0e4785a551f44d239f1a9e5effc7d86867951f4c76e8008775c0e386 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-17T04:14:34.848Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.054s coverage: 25.4% of statements [2021-06-17T04:14:34.849Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-06-17T04:14:34.849Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.047s coverage: 28.1% of statements [2021-06-17T04:14:34.849Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.063s coverage: 78.9% of statements [2021-06-17T04:14:35.137Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.044s coverage: 9.0% of statements [2021-06-17T04:14:35.137Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-06-17T04:14:35.137Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-06-17T04:14:35.137Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-06-17T04:14:35.504Z] + go mod tidy [2021-06-17T04:14:37.789Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.066s coverage: 29.2% of statements [2021-06-17T04:14:37.789Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-06-17T04:14:37.789Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.058s coverage: 83.3% of statements [2021-06-17T04:14:37.789Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-06-17T04:14:37.789Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-06-17T04:14:37.789Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.077s coverage: 58.0% of statements [2021-06-17T04:14:37.789Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.816s coverage: 89.2% of statements [2021-06-17T04:14:37.789Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-06-17T04:14:37.789Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.047s coverage: 5.0% of statements [2021-06-17T04:14:37.789Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [Pipeline] sh [2021-06-17T04:14:38.070Z] GO111MODULE=on go vet ./... [2021-06-17T04:14:40.389Z] + make test [2021-06-17T04:14:40.389Z] go mod tidy [2021-06-17T04:14:40.389Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-06-17T04:14:54.593Z] gofmt -l . [2021-06-17T04:14:54.593Z] [ "`gofmt -l .`" = "" ] [2021-06-17T04:14:54.593Z] ./bin/test-attribution-txt.sh [2021-06-17T04:14:57.164Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-17T04:14:57.243Z] $ docker stop --time=1 b6d0cf6bfd65e038ea0df36412ff4ed4f7bf394fb170ca5c9911da99031f0b9e [2021-06-17T04:14:59.779Z] $ docker rm -f b6d0cf6bfd65e038ea0df36412ff4ed4f7bf394fb170ca5c9911da99031f0b9e [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-17T04:15:00.301Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-17T04:15:03.660Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-06-17T04:15:04.203Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-06-17T04:16:02.128Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-06-17T04:16:02.129Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-06-17T04:16:02.129Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-06-17T04:16:18.882Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.264s coverage: 25.4% of statements [2021-06-17T04:16:18.882Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-06-17T04:16:18.882Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.208s coverage: 28.1% of statements [2021-06-17T04:16:18.882Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.208s coverage: 78.9% of statements [2021-06-17T04:16:18.882Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.213s coverage: 9.0% of statements [2021-06-17T04:16:18.882Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-06-17T04:16:18.882Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-06-17T04:16:18.882Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-06-17T04:16:18.882Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.253s coverage: 29.2% of statements [2021-06-17T04:16:18.882Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [Pipeline] sh [2021-06-17T04:16:21.845Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.226s coverage: 83.3% of statements [2021-06-17T04:16:21.845Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-06-17T04:16:21.845Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-06-17T04:16:21.845Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.344s coverage: 58.0% of statements [2021-06-17T04:16:21.851Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-17T04:16:24.667Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.020s coverage: 89.2% of statements [2021-06-17T04:16:24.667Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-06-17T04:16:24.667Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.192s coverage: 5.0% of statements [2021-06-17T04:16:24.667Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-06-17T04:16:24.667Z] GO111MODULE=on go vet ./... [2021-06-17T04:16:24.672Z] + ls -al . [2021-06-17T04:16:24.672Z] total 208 [2021-06-17T04:16:24.672Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jun 17 04:14 . [2021-06-17T04:16:24.672Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 17 04:12 .. [2021-06-17T04:16:24.672Z] drwxrwxr-x. 2 jenkins jenkins 64 Jun 17 04:12 bin [2021-06-17T04:16:24.672Z] -rw-r--r--. 1 jenkins jenkins 126073 Jun 17 04:14 coverage.out [2021-06-17T04:16:24.672Z] -rw-rw-r--. 1 jenkins jenkins 987 Jun 17 04:12 Dockerfile.build [2021-06-17T04:16:24.672Z] -rw-rw-r--. 1 jenkins jenkins 140 Jun 17 04:12 .dockerignore [2021-06-17T04:16:24.672Z] drwxrwxr-x. 5 jenkins jenkins 62 Jun 17 04:12 example [2021-06-17T04:16:24.672Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 17 04:12 .git [2021-06-17T04:16:24.672Z] drwxrwxr-x. 2 jenkins jenkins 103 Jun 17 04:12 .github [2021-06-17T04:16:24.672Z] -rw-rw-r--. 1 jenkins jenkins 138 Jun 17 04:12 .gitignore [2021-06-17T04:16:24.672Z] -rw-r--r--. 1 jenkins jenkins 576 Jun 17 04:14 go.mod [2021-06-17T04:16:24.672Z] -rw-r--r--. 1 jenkins jenkins 20294 Jun 17 04:14 go.sum [2021-06-17T04:16:24.672Z] drwxrwxr-x. 15 jenkins jenkins 224 Jun 17 04:12 internal [2021-06-17T04:16:24.672Z] -rw-rw-r--. 1 jenkins jenkins 894 Jun 17 04:12 Jenkinsfile [2021-06-17T04:16:24.672Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jun 17 04:12 LICENSE [2021-06-17T04:16:24.672Z] -rw-rw-r--. 1 jenkins jenkins 1026 Jun 17 04:12 Makefile [2021-06-17T04:16:24.672Z] drwxrwxr-x. 4 jenkins jenkins 26 Jun 17 04:12 openapi [2021-06-17T04:16:24.672Z] drwxrwxr-x. 5 jenkins jenkins 50 Jun 17 04:12 pkg [2021-06-17T04:16:24.672Z] -rw-rw-r--. 1 jenkins jenkins 7652 Jun 17 04:12 README.md [2021-06-17T04:16:24.672Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jun 17 04:12 RELEASE-NOTES.txt [2021-06-17T04:16:24.672Z] drwxrwxr-x. 4 jenkins jenkins 54 Jun 17 04:12 snap [2021-06-17T04:16:24.672Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 17 04:09 VERSION [2021-06-17T04:16:24.672Z] -rw-rw-r--. 1 jenkins jenkins 222 Jun 17 04:12 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-17T04:16:27.612Z] + 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=0887c0ef194ba6a504b0214fcf2fa499e99ba925 --label arch=amd64 --label version=0.0.0 . [2021-06-17T04:16:27.612Z] Sending build context to Docker daemon 2.811MB [2021-06-17T04:16:27.612Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-06-17T04:16:27.612Z] Step 2/23 : FROM ${BASE} AS builder [2021-06-17T04:16:27.612Z] ---> 59cf3f19af50 [2021-06-17T04:16:27.612Z] Step 3/23 : WORKDIR /device-sdk-go [2021-06-17T04:16:27.612Z] ---> Running in 1d9705ec638d [2021-06-17T04:16:27.612Z] Removing intermediate container 1d9705ec638d [2021-06-17T04:16:27.612Z] ---> 016970f531db [2021-06-17T04:16:27.612Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-17T04:16:27.612Z] ---> Running in 3391e4cb7dfc [2021-06-17T04:16:27.612Z] Removing intermediate container 3391e4cb7dfc [2021-06-17T04:16:27.612Z] ---> 4f51fe93b826 [2021-06-17T04:16:27.612Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-17T04:16:27.612Z] ---> Running in 369fd99fd461 [2021-06-17T04:16:27.612Z] Removing intermediate container 369fd99fd461 [2021-06-17T04:16:27.612Z] ---> fb3dbf21cb19 [2021-06-17T04:16:27.612Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-06-17T04:16:27.612Z] ---> Running in 7a914dea499a [2021-06-17T04:16:27.612Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-17T04:16:27.612Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-17T04:16:27.612Z] OK: 150 MiB in 46 packages [2021-06-17T04:16:27.612Z] Removing intermediate container 7a914dea499a [2021-06-17T04:16:27.612Z] ---> 188c9613d9cf [2021-06-17T04:16:27.612Z] Step 7/23 : COPY . . [2021-06-17T04:16:28.200Z] ---> f34d6bbd3a7f [2021-06-17T04:16:28.200Z] Step 8/23 : RUN go mod download [2021-06-17T04:16:28.200Z] ---> Running in 18f4962bb3db [2021-06-17T04:16:30.567Z] Removing intermediate container 18f4962bb3db [2021-06-17T04:16:30.567Z] ---> d2e87c458947 [2021-06-17T04:16:30.567Z] Step 9/23 : RUN make build [2021-06-17T04:16:30.567Z] ---> Running in 59879b9ce66a [2021-06-17T04:16:30.567Z] go mod tidy [2021-06-17T04:16:30.567Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-06-17T04:16:39.314Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-06-17T04:16:40.703Z] Removing intermediate container 59879b9ce66a [2021-06-17T04:16:40.703Z] ---> d5c38992ea7e [2021-06-17T04:16:40.703Z] Step 10/23 : FROM alpine:3.12 [2021-06-17T04:16:40.963Z] 3.12: Pulling from library/alpine [2021-06-17T04:16:40.963Z] 339de151aab4: Pulling fs layer [2021-06-17T04:16:41.223Z] 339de151aab4: Verifying Checksum [2021-06-17T04:16:41.223Z] 339de151aab4: Download complete [2021-06-17T04:16:41.487Z] 339de151aab4: Pull complete [2021-06-17T04:16:41.487Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-17T04:16:41.487Z] Status: Downloaded newer image for alpine:3.12 [2021-06-17T04:16:41.487Z] ---> 13621d1b12d4 [2021-06-17T04:16:41.487Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-17T04:16:41.487Z] ---> Running in ae754fb3544e [2021-06-17T04:16:41.487Z] Removing intermediate container ae754fb3544e [2021-06-17T04:16:41.487Z] ---> 4e5e31de912f [2021-06-17T04:16:41.487Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-17T04:16:41.487Z] ---> Running in 77673825b1f6 [2021-06-17T04:16:43.691Z] Removing intermediate container 77673825b1f6 [2021-06-17T04:16:43.691Z] ---> 704456891368 [2021-06-17T04:16:43.691Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-06-17T04:16:43.691Z] ---> Running in 6596fa12fbe5 [2021-06-17T04:16:43.691Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-06-17T04:16:43.691Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-06-17T04:16:43.691Z] (1/5) Installing libgcc (9.3.0-r2) [2021-06-17T04:16:43.691Z] (2/5) Installing libsodium (1.0.18-r0) [2021-06-17T04:16:43.691Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-06-17T04:16:43.952Z] (4/5) Installing libzmq (4.3.3-r0) [2021-06-17T04:16:43.952Z] (5/5) Installing zeromq (4.3.3-r0) [2021-06-17T04:16:44.212Z] Executing busybox-1.31.1-r20.trigger [2021-06-17T04:16:44.212Z] OK: 8 MiB in 19 packages [2021-06-17T04:16:44.474Z] Removing intermediate container 6596fa12fbe5 [2021-06-17T04:16:44.474Z] ---> 79e28eca22fb [2021-06-17T04:16:44.474Z] Step 14/23 : WORKDIR / [2021-06-17T04:16:44.474Z] ---> Running in fd2a705a6d85 [2021-06-17T04:16:44.474Z] Removing intermediate container fd2a705a6d85 [2021-06-17T04:16:44.474Z] ---> 53c77a55e71c [2021-06-17T04:16:44.474Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-06-17T04:16:44.735Z] ---> 97fcca71e8b2 [2021-06-17T04:16:44.736Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-06-17T04:16:47.550Z] ---> cbd47068344a [2021-06-17T04:16:47.550Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-06-17T04:16:47.550Z] ---> bb30c200b295 [2021-06-17T04:16:47.550Z] Step 18/23 : EXPOSE 59999 [2021-06-17T04:16:47.550Z] ---> Running in 4b1e9422fa1d [2021-06-17T04:16:47.550Z] Removing intermediate container 4b1e9422fa1d [2021-06-17T04:16:47.550Z] ---> 7a02b86d0934 [2021-06-17T04:16:47.550Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-06-17T04:16:47.550Z] ---> Running in f0b33bd5bb29 [2021-06-17T04:16:47.550Z] Removing intermediate container f0b33bd5bb29 [2021-06-17T04:16:47.550Z] ---> 8d561a06ae81 [2021-06-17T04:16:47.550Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-17T04:16:47.550Z] ---> Running in d3ee4be89cc9 [2021-06-17T04:16:47.550Z] Removing intermediate container d3ee4be89cc9 [2021-06-17T04:16:47.550Z] ---> e7af4d3fdf9e [2021-06-17T04:16:47.550Z] Step 21/23 : LABEL arch=amd64 [2021-06-17T04:16:47.550Z] ---> Running in e0d1ba95d4e0 [2021-06-17T04:16:47.550Z] Removing intermediate container e0d1ba95d4e0 [2021-06-17T04:16:47.550Z] ---> e031451a1910 [2021-06-17T04:16:47.550Z] Step 22/23 : LABEL git_sha=0887c0ef194ba6a504b0214fcf2fa499e99ba925 [2021-06-17T04:16:47.550Z] ---> Running in e5e4f3bf254a [2021-06-17T04:16:47.550Z] Removing intermediate container e5e4f3bf254a [2021-06-17T04:16:47.550Z] ---> e76121490bbd [2021-06-17T04:16:47.550Z] Step 23/23 : LABEL version=0.0.0 [2021-06-17T04:16:47.550Z] ---> Running in 236bd43e84ab [2021-06-17T04:16:47.550Z] Removing intermediate container 236bd43e84ab [2021-06-17T04:16:47.550Z] ---> b3267f441904 [2021-06-17T04:16:47.550Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-06-17T04:16:47.550Z] Successfully built b3267f441904 [2021-06-17T04:16:47.550Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-06-17T04:16:59.693Z] ---> job-cost.sh [2021-06-17T04:16:59.693Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Ic1v [2021-06-17T04:17:09.048Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-17T04:17:21.302Z] gofmt -l . [2021-06-17T04:17:21.302Z] [ "`gofmt -l .`" = "" ] [2021-06-17T04:17:21.302Z] ./bin/test-attribution-txt.sh [2021-06-17T04:17:21.302Z] ./bin/test-go-mod-tidy.sh [2021-06-17T04:17:21.552Z] lf-activate-venv(): INFO: Adding /tmp/venv-Ic1v/bin to PATH [2021-06-17T04:17:21.552Z] INFO: No Stack... [Pipeline] } [2021-06-17T04:17:21.615Z] $ docker stop --time=1 276c47cb0e4785a551f44d239f1a9e5effc7d86867951f4c76e8008775c0e386 [2021-06-17T04:17:22.492Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-17T04:17:22.752Z] INFO: Archiving Costs [2021-06-17T04:17:23.752Z] $ docker rm -f 276c47cb0e4785a551f44d239f1a9e5effc7d86867951f4c76e8008775c0e386 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] sh [2021-06-17T04:17:26.512Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-06-17T04:17:26.512Z] + cut -d, -f6 [Pipeline] lock [2021-06-17T04:17:26.571Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-973-1-stack-cost] [2021-06-17T04:17:26.578Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-973-1-stack-cost] did not exist. Created. [2021-06-17T04:17:26.578Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-973-1-stack-cost] [Pipeline] { [2021-06-17T04:17:26.604Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-17T04:17:26.671Z] Warning: overwriting stash ‘coverage-report’ [Pipeline] unstash [Pipeline] sh [2021-06-17T04:17:29.288Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-17T04:17:31.516Z] Stashed 1 file(s) [Pipeline] } [2021-06-17T04:17:31.562Z] Stashed 1 file(s) [Pipeline] // script [Pipeline] } [Pipeline] } [2021-06-17T04:17:31.650Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-973-1-stack-cost] [Pipeline] // stage [Pipeline] // lock [Pipeline] stage [Pipeline] { (Build) [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-17T04:17:41.317Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-17T04:17:43.702Z] + ls -al . [2021-06-17T04:17:43.702Z] total 244 [2021-06-17T04:17:43.702Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 17 04:17 . [2021-06-17T04:17:43.702Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 17 04:12 .. [2021-06-17T04:17:43.702Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 17 04:12 .dockerignore [2021-06-17T04:17:43.702Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 17 04:12 .git [2021-06-17T04:17:43.702Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 04:12 .github [2021-06-17T04:17:43.702Z] -rw-rw-r-- 1 jenkins jenkins 138 Jun 17 04:12 .gitignore [2021-06-17T04:17:43.702Z] -rw-rw-r-- 1 jenkins jenkins 987 Jun 17 04:12 Dockerfile.build [2021-06-17T04:17:43.702Z] -rw-rw-r-- 1 jenkins jenkins 894 Jun 17 04:12 Jenkinsfile [2021-06-17T04:17:43.702Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jun 17 04:12 LICENSE [2021-06-17T04:17:43.702Z] -rw-rw-r-- 1 jenkins jenkins 1026 Jun 17 04:12 Makefile [2021-06-17T04:17:43.702Z] -rw-rw-r-- 1 jenkins jenkins 7652 Jun 17 04:12 README.md [2021-06-17T04:17:43.702Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jun 17 04:12 RELEASE-NOTES.txt [2021-06-17T04:17:43.702Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 17 04:09 VERSION [2021-06-17T04:17:43.702Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 04:12 bin [2021-06-17T04:17:43.702Z] -rw-r--r-- 1 jenkins jenkins 126073 Jun 17 04:16 coverage.out [2021-06-17T04:17:43.702Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 17 04:12 example [2021-06-17T04:17:43.702Z] -rw-r--r-- 1 jenkins jenkins 576 Jun 17 04:17 go.mod [2021-06-17T04:17:43.702Z] -rw-r--r-- 1 jenkins jenkins 20294 Jun 17 04:14 go.sum [2021-06-17T04:17:43.702Z] drwxrwxr-x 15 jenkins jenkins 4096 Jun 17 04:12 internal [2021-06-17T04:17:43.702Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 17 04:12 openapi [2021-06-17T04:17:43.702Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 17 04:12 pkg [2021-06-17T04:17:43.702Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 17 04:12 snap [2021-06-17T04:17:43.702Z] -rw-rw-r-- 1 jenkins jenkins 222 Jun 17 04:12 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-17T04:17:46.248Z] + 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=0887c0ef194ba6a504b0214fcf2fa499e99ba925 --label arch=arm64 --label version=0.0.0 . [2021-06-17T04:17:46.248Z] Sending build context to Docker daemon 2.81MB [2021-06-17T04:17:46.248Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-06-17T04:17:46.248Z] Step 2/23 : FROM ${BASE} AS builder [2021-06-17T04:17:46.248Z] ---> 32af0b1f9419 [2021-06-17T04:17:46.248Z] Step 3/23 : WORKDIR /device-sdk-go [2021-06-17T04:17:46.248Z] ---> Running in b6b1385a690e [2021-06-17T04:17:46.248Z] Removing intermediate container b6b1385a690e [2021-06-17T04:17:46.248Z] ---> e660bf82da1f [2021-06-17T04:17:46.248Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-17T04:17:46.248Z] ---> Running in 3ae46c7c13e1 [2021-06-17T04:17:46.248Z] Removing intermediate container 3ae46c7c13e1 [2021-06-17T04:17:46.248Z] ---> 507af04bfa48 [2021-06-17T04:17:46.249Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-17T04:17:46.249Z] ---> Running in b60b8cd73f31 [2021-06-17T04:17:48.644Z] Removing intermediate container b60b8cd73f31 [2021-06-17T04:17:48.644Z] ---> af19e9f49151 [2021-06-17T04:17:48.644Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-06-17T04:17:48.644Z] ---> Running in 2348ecc50d91 [2021-06-17T04:17:49.702Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-17T04:17:50.677Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-17T04:17:53.118Z] OK: 139 MiB in 46 packages [2021-06-17T04:17:53.118Z] Removing intermediate container 2348ecc50d91 [2021-06-17T04:17:53.118Z] ---> 74e6c9814818 [2021-06-17T04:17:53.118Z] Step 7/23 : COPY . . [2021-06-17T04:17:54.098Z] ---> 5f595a29570e [2021-06-17T04:17:54.098Z] Step 8/23 : RUN go mod download [2021-06-17T04:17:54.098Z] ---> Running in 28be26a54b24 [2021-06-17T04:17:56.775Z] Removing intermediate container 28be26a54b24 [2021-06-17T04:17:56.775Z] ---> 04c83a4fcf9f [2021-06-17T04:17:56.775Z] Step 9/23 : RUN make build [2021-06-17T04:17:56.775Z] ---> Running in 2ee05dd204e0 [2021-06-17T04:17:59.283Z] go mod tidy [2021-06-17T04:17:59.283Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-06-17T04:18:33.524Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-06-17T04:18:35.506Z] Removing intermediate container 2ee05dd204e0 [2021-06-17T04:18:35.506Z] ---> f9b0968242c7 [2021-06-17T04:18:35.506Z] Step 10/23 : FROM alpine:3.12 [2021-06-17T04:18:36.099Z] 3.12: Pulling from library/alpine [2021-06-17T04:18:36.372Z] d2f70382dc9a: Pulling fs layer [2021-06-17T04:18:36.645Z] d2f70382dc9a: Verifying Checksum [2021-06-17T04:18:36.645Z] d2f70382dc9a: Download complete [2021-06-17T04:18:37.240Z] d2f70382dc9a: Pull complete [2021-06-17T04:18:37.240Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-17T04:18:37.240Z] Status: Downloaded newer image for alpine:3.12 [2021-06-17T04:18:37.240Z] ---> c4fd0aeabfcf [2021-06-17T04:18:37.240Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-17T04:18:37.513Z] ---> Running in 7caf3fccb8da [2021-06-17T04:18:38.124Z] Removing intermediate container 7caf3fccb8da [2021-06-17T04:18:38.124Z] ---> 59d05551138c [2021-06-17T04:18:38.124Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-17T04:18:38.124Z] ---> Running in 15d5feebda7b [2021-06-17T04:18:41.282Z] Removing intermediate container 15d5feebda7b [2021-06-17T04:18:41.282Z] ---> 6d441cbe6855 [2021-06-17T04:18:41.282Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-06-17T04:18:41.282Z] ---> Running in 7e30efcf01de [2021-06-17T04:18:41.555Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-17T04:18:42.170Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-17T04:18:43.148Z] (1/5) Installing libgcc (9.3.0-r2) [2021-06-17T04:18:43.747Z] (2/5) Installing libsodium (1.0.18-r0) [2021-06-17T04:18:43.747Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-06-17T04:18:44.020Z] (4/5) Installing libzmq (4.3.3-r0) [2021-06-17T04:18:44.020Z] (5/5) Installing zeromq (4.3.3-r0) [2021-06-17T04:18:44.292Z] Executing busybox-1.31.1-r20.trigger [2021-06-17T04:18:44.292Z] OK: 8 MiB in 19 packages [2021-06-17T04:18:45.266Z] Removing intermediate container 7e30efcf01de [2021-06-17T04:18:45.266Z] ---> 1ce8c933b72f [2021-06-17T04:18:45.266Z] Step 14/23 : WORKDIR / [2021-06-17T04:18:47.787Z] ---> Running in d858c7cb94b9 [2021-06-17T04:18:47.787Z] Removing intermediate container d858c7cb94b9 [2021-06-17T04:18:47.787Z] ---> 40991e700e71 [2021-06-17T04:18:47.787Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-06-17T04:18:47.787Z] ---> caee0de5eaa5 [2021-06-17T04:18:47.787Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-06-17T04:18:48.062Z] ---> ff65972b640c [2021-06-17T04:18:48.062Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-06-17T04:18:49.050Z] ---> 55f83c3af27c [2021-06-17T04:18:49.050Z] Step 18/23 : EXPOSE 59999 [2021-06-17T04:18:49.050Z] ---> Running in 58e9425ddb7d [2021-06-17T04:18:49.653Z] Removing intermediate container 58e9425ddb7d [2021-06-17T04:18:49.653Z] ---> 76255dd9787a [2021-06-17T04:18:49.653Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-06-17T04:18:49.653Z] ---> Running in 79b64f26ff8e [2021-06-17T04:18:50.253Z] Removing intermediate container 79b64f26ff8e [2021-06-17T04:18:50.253Z] ---> 4d4dde085407 [2021-06-17T04:18:50.253Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-17T04:18:50.253Z] ---> Running in 5451a16e7005 [2021-06-17T04:18:52.527Z] Removing intermediate container 5451a16e7005 [2021-06-17T04:18:52.527Z] ---> c25aabb396ba [2021-06-17T04:18:52.527Z] Step 21/23 : LABEL arch=arm64 [2021-06-17T04:18:52.527Z] ---> Running in da02c6c8a00f [2021-06-17T04:18:52.527Z] Removing intermediate container da02c6c8a00f [2021-06-17T04:18:52.527Z] ---> 989729e0d358 [2021-06-17T04:18:52.527Z] Step 22/23 : LABEL git_sha=0887c0ef194ba6a504b0214fcf2fa499e99ba925 [2021-06-17T04:18:52.527Z] ---> Running in eefac1fae98c [2021-06-17T04:18:52.527Z] Removing intermediate container eefac1fae98c [2021-06-17T04:18:52.527Z] ---> 43f3bf7235f5 [2021-06-17T04:18:52.527Z] Step 23/23 : LABEL version=0.0.0 [2021-06-17T04:18:52.527Z] ---> Running in 7f646580ba25 [2021-06-17T04:18:52.799Z] Removing intermediate container 7f646580ba25 [2021-06-17T04:18:52.799Z] ---> b541a67eefc3 [2021-06-17T04:18:52.799Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-06-17T04:18:52.799Z] Successfully built b541a67eefc3 [2021-06-17T04:18:52.799Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-06-17T04:18:55.895Z] ---> job-cost.sh [2021-06-17T04:18:55.895Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-m3EA [2021-06-17T04:19:55.149Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-17T04:21:40.686Z] lf-activate-venv(): INFO: Adding /tmp/venv-m3EA/bin to PATH [2021-06-17T04:21:40.686Z] INFO: No Stack... [2021-06-17T04:21:40.686Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-17T04:21:40.686Z] INFO: Archiving Costs [Pipeline] sh [2021-06-17T04:21:41.051Z] + cut -d, -f6 [2021-06-17T04:21:41.051Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock [2021-06-17T04:21:41.149Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-973-1-stack-cost] [2021-06-17T04:21:41.155Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-973-1-stack-cost] did not exist. Created. [2021-06-17T04:21:41.156Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-973-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-17T04:21:41.622Z] /w/workspace/device-sdk-go/1@tmp/durable-ee3da25c/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-ee3da25c/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-17T04:21:41.996Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-17T04:21:42.040Z] Warning: overwriting stash ‘stack-cost’ [2021-06-17T04:21:42.201Z] Stashed 1 file(s) [Pipeline] } [2021-06-17T04:21:42.223Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-973-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2021-06-17T04:21:57.139Z] provisioning config files... [2021-06-17T04:21:57.150Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-973@tmp/config5982520817818213976tmp [Pipeline] { [Pipeline] sh [2021-06-17T04:21:57.520Z] + set +x [2021-06-17T04:21:57.520Z] + bash -s -- [2021-06-17T04:21:57.520Z] + curl -s https://codecov.io/bash [2021-06-17T04:21:57.520Z] [2021-06-17T04:21:57.520Z] _____ _ [2021-06-17T04:21:57.520Z] / ____| | | [2021-06-17T04:21:57.520Z] | | ___ __| | ___ ___ _____ __ [2021-06-17T04:21:57.520Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-17T04:21:57.520Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-17T04:21:57.520Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-17T04:21:57.520Z] Bash-1.0.3 [2021-06-17T04:21:57.520Z] [2021-06-17T04:21:57.520Z] [2021-06-17T04:21:57.520Z] ==> git version 2.24.4 found [2021-06-17T04:21:57.520Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-06-17T04:21:57.520Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-17T04:21:57.520Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-17T04:21:57.520Z] ==> Jenkins CI detected. [2021-06-17T04:21:57.520Z] project root: . [2021-06-17T04:21:57.520Z] --> token set from env [2021-06-17T04:21:57.520Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-17T04:21:57.781Z] ==> Running gcov in . (disable via -X gcov) [2021-06-17T04:21:57.781Z] ==> Python coveragepy not found [2021-06-17T04:21:57.781Z] ==> Searching for coverage reports in: [2021-06-17T04:21:57.781Z] + . [2021-06-17T04:21:57.781Z] -> Found 1 reports [2021-06-17T04:21:57.781Z] ==> Detecting git/mercurial file structure [2021-06-17T04:21:57.781Z] ==> Reading reports [2021-06-17T04:21:57.781Z] + ./coverage.out bytes=126073 [2021-06-17T04:21:57.781Z] ==> Appending adjustments [2021-06-17T04:21:57.781Z] https://docs.codecov.io/docs/fixing-reports [2021-06-17T04:21:58.041Z] + Found adjustments [2021-06-17T04:21:58.041Z] ==> Gzipping contents [2021-06-17T04:21:58.041Z] 20K /tmp/codecov.oWxUPT.gz [2021-06-17T04:21:58.041Z] ==> Uploading reports [2021-06-17T04:21:58.041Z] url: https://codecov.io [2021-06-17T04:21:58.041Z] query: branch=PR-973&commit=0887c0ef194ba6a504b0214fcf2fa499e99ba925&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-973%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=973&job=&cmd_args= [2021-06-17T04:21:58.041Z] -> Pinging Codecov [2021-06-17T04:21:58.041Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-973&commit=0887c0ef194ba6a504b0214fcf2fa499e99ba925&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-973%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=973&job=&cmd_args= [2021-06-17T04:21:58.613Z] -> Uploading to [2021-06-17T04:21:58.613Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-17/7E55EF52A471D76F132DFD9A03CDDE97/0887c0ef194ba6a504b0214fcf2fa499e99ba925/1c75f11b-aa51-4037-a39f-a7632d95f2c2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210617%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210617T042158Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a5057eb125e7ba76a8b2af613dd19a9a3c75c17a3f947b4f259e0a6c4ec4bdfd [2021-06-17T04:21:58.613Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-17T04:21:58.613Z] Dload Upload Total Spent Left Speed [2021-06-17T04:21:58.874Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16415 0 0 100 16415 0 43352 --:--:-- --:--:-- --:--:-- 43311 100 16415 0 0 100 16415 0 43340 --:--:-- --:--:-- --:--:-- 43311 [2021-06-17T04:21:58.874Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/0887c0ef194ba6a504b0214fcf2fa499e99ba925 [Pipeline] } [2021-06-17T04:21:58.900Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-06-17T04:22:18.720Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-17T04:22:19.337Z] ---> package-listing.sh [2021-06-17T04:22:19.337Z] ++ facter osfamily [2021-06-17T04:22:19.337Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-17T04:22:19.600Z] + OS_FAMILY=redhat [2021-06-17T04:22:19.600Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-973 [2021-06-17T04:22:19.600Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-17T04:22:19.600Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-17T04:22:19.600Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-17T04:22:19.600Z] + PACKAGES=/tmp/packages_start.txt [2021-06-17T04:22:19.600Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-973 ']' [2021-06-17T04:22:19.600Z] + PACKAGES=/tmp/packages_end.txt [2021-06-17T04:22:19.600Z] + case "${OS_FAMILY}" in [2021-06-17T04:22:19.600Z] + sort [2021-06-17T04:22:19.600Z] + rpm -qa [2021-06-17T04:22:20.172Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-17T04:22:20.172Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-17T04:22:20.172Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-17T04:22:20.172Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-973 ']' [2021-06-17T04:22:20.172Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-973/archives/ [2021-06-17T04:22:20.172Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-973/archives/ [Pipeline] echo [2021-06-17T04:22:20.207Z] 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-973/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-06-17T04:22:20.520Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-17T04:22:23.022Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-17T04:22:23.022Z] [2021-06-17T04:22:23.022Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-17T04:22:23.378Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-17T04:22:23.378Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-17T04:22:23.378Z] df20fa9351a1: Pulling fs layer [2021-06-17T04:22:23.378Z] 36b3adc4ff6f: Pulling fs layer [2021-06-17T04:22:23.378Z] 8ad3a11d3b57: Pulling fs layer [2021-06-17T04:22:23.378Z] 46f8f816bc3b: Pulling fs layer [2021-06-17T04:22:23.378Z] 93b61091891f: Pulling fs layer [2021-06-17T04:22:23.378Z] 93b9cdb0e59b: Pulling fs layer [2021-06-17T04:22:23.378Z] 5e14af77c1be: Pulling fs layer [2021-06-17T04:22:23.378Z] 01666e4c0597: Pulling fs layer [2021-06-17T04:22:23.378Z] aa168da1d23b: Pulling fs layer [2021-06-17T04:22:23.378Z] 93b9cdb0e59b: Waiting [2021-06-17T04:22:23.378Z] 5e14af77c1be: Waiting [2021-06-17T04:22:23.378Z] 01666e4c0597: Waiting [2021-06-17T04:22:23.378Z] aa168da1d23b: Waiting [2021-06-17T04:22:23.378Z] 46f8f816bc3b: Waiting [2021-06-17T04:22:23.378Z] 93b61091891f: Waiting [2021-06-17T04:22:23.378Z] 36b3adc4ff6f: Verifying Checksum [2021-06-17T04:22:23.378Z] 36b3adc4ff6f: Download complete [2021-06-17T04:22:23.378Z] 46f8f816bc3b: Verifying Checksum [2021-06-17T04:22:23.378Z] 46f8f816bc3b: Download complete [2021-06-17T04:22:23.644Z] df20fa9351a1: Verifying Checksum [2021-06-17T04:22:23.644Z] df20fa9351a1: Download complete [2021-06-17T04:22:23.644Z] 93b9cdb0e59b: Verifying Checksum [2021-06-17T04:22:23.644Z] 93b9cdb0e59b: Download complete [2021-06-17T04:22:23.644Z] 5e14af77c1be: Verifying Checksum [2021-06-17T04:22:23.644Z] 5e14af77c1be: Download complete [2021-06-17T04:22:23.644Z] 93b61091891f: Verifying Checksum [2021-06-17T04:22:23.644Z] 93b61091891f: Download complete [2021-06-17T04:22:23.644Z] 01666e4c0597: Verifying Checksum [2021-06-17T04:22:23.644Z] 01666e4c0597: Download complete [2021-06-17T04:22:23.644Z] df20fa9351a1: Pull complete [2021-06-17T04:22:23.909Z] 36b3adc4ff6f: Pull complete [2021-06-17T04:22:24.179Z] 8ad3a11d3b57: Verifying Checksum [2021-06-17T04:22:24.179Z] 8ad3a11d3b57: Download complete [2021-06-17T04:22:24.768Z] 8ad3a11d3b57: Pull complete [2021-06-17T04:22:24.768Z] 46f8f816bc3b: Pull complete [2021-06-17T04:22:25.028Z] 93b61091891f: Pull complete [2021-06-17T04:22:25.294Z] 93b9cdb0e59b: Pull complete [2021-06-17T04:22:25.294Z] 5e14af77c1be: Pull complete [2021-06-17T04:22:25.606Z] 01666e4c0597: Pull complete [2021-06-17T04:22:25.870Z] aa168da1d23b: Verifying Checksum [2021-06-17T04:22:25.870Z] aa168da1d23b: Download complete [2021-06-17T04:22:30.130Z] aa168da1d23b: Pull complete [2021-06-17T04:22:30.131Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-17T04:22:30.131Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-17T04:22:30.131Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-17T04:22:32.442Z] prd-centos7-docker-4c-2g-2027 does not seem to be running inside a container [2021-06-17T04:22:32.480Z] $ 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-973/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-973 -v /w/workspace/dgexfoundry_device-sdk-go_PR-973:/w/workspace/dgexfoundry_device-sdk-go_PR-973:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-973@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-973@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:10003/edgex-lftools-log-publisher:alpine cat [2021-06-17T04:22:34.388Z] $ docker top aa2519eb175ff8ab497ecdb9dcd5557ddc4e110c2eb903043a52a907cd8ed563 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-17T04:22:36.935Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-17T04:22:37.263Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-17T04:22:37.581Z] + ls /var/log/sa-host [2021-06-17T04:22:37.581Z] + sadf -c /var/log/sa-host/sa05 [2021-06-17T04:22:37.581Z] file_magic: OK [2021-06-17T04:22:37.581Z] HZ: Using current value: 100 [2021-06-17T04:22:37.581Z] file_header: OK [2021-06-17T04:22:37.581Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-06-17T04:22:37.581Z] Statistics: [2021-06-17T04:22:37.581Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-17T04:22:37.581Z] File successfully converted to sysstat format version 12.2.1 [2021-06-17T04:22:37.581Z] + sadf -c /var/log/sa-host/sa17 [2021-06-17T04:22:37.581Z] file_magic: OK [2021-06-17T04:22:37.581Z] HZ: Using current value: 100 [2021-06-17T04:22:37.581Z] file_header: OK [2021-06-17T04:22:37.581Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-06-17T04:22:37.581Z] Statistics: [2021-06-17T04:22:37.581Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-17T04:22:37.581Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-17T04:22:46.902Z] provisioning config files... [2021-06-17T04:22:46.922Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-973@tmp/config7990930049871456704tmp [Pipeline] { [Pipeline] echo [2021-06-17T04:22:46.984Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-17T04:22:47.316Z] ---> create-netrc.sh [Pipeline] } [2021-06-17T04:22:47.342Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-17T04:22:50.054Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-17T04:22:50.085Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-17T04:22:50.420Z] ---> sudo-logs.sh [2021-06-17T04:22:50.420Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-17T04:22:50.503Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-17T04:22:50.849Z] ---> job-cost.sh [2021-06-17T04:22:50.849Z] lf-activate-venv: SKIPPING [2021-06-17T04:22:50.849Z] DEBUG: total: 0.18000000715255737 [2021-06-17T04:22:50.849Z] INFO: Retrieving Stack Cost... [2021-06-17T04:22:51.422Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-17T04:22:51.995Z] INFO: Archiving Costs [Pipeline] echo [2021-06-17T04:22:52.031Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh