Pull request #972 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from c9c344e94e1131edb24af4e6dce04edca984b298+88bc9287cbb2eac6fea22b2a3b0d65630b8919c2 (bd7d6ac2a8492258c730d9311eeeb0f15471f52d) 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-ssh1033819422019080241.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-ssh973952903545881748.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-972/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-972/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1111095142747520057.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-972/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7320485336520512957.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-ssh7418899730778390234.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-972/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-972/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh8705826484353697688.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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-1640 in /w/workspace/dgexfoundry_device-sdk-go_PR-972 [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-972 # 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-972@tmp/jenkins-gitclient-ssh4682702545089266477.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 88bc9287cbb2eac6fea22b2a3b0d65630b8919c2 into PR head commit c9c344e94e1131edb24af4e6dce04edca984b298 Merge succeeded, producing c9c344e94e1131edb24af4e6dce04edca984b298 Checking out Revision c9c344e94e1131edb24af4e6dce04edca984b298 (PR-972) > 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-972@tmp/jenkins-gitclient-ssh1025725829516136189.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/972/head:refs/remotes/origin/PR-972 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c9c344e94e1131edb24af4e6dce04edca984b298 # 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-972@tmp/jenkins-gitclient-ssh2318138433407720044.key > git merge 88bc9287cbb2eac6fea22b2a3b0d65630b8919c2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c9c344e94e1131edb24af4e6dce04edca984b298 # 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-16T05:38:01.582Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-16T05:38:01.801Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-16T05:38:01.934Z] ========================================================= [2021-06-16T05:38:01.934Z] EdgeX Global Pipelines Version Info [2021-06-16T05:38:01.934Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-16T05:38:03.470Z] ------------------- [2021-06-16T05:38:03.470Z] stable info: [2021-06-16T05:38:03.470Z] ------------------- [2021-06-16T05:38:03.470Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-16T05:38:03.470Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-16T05:38:03.470Z] Message: update stable to v1.0.195 [2021-06-16T05:38:04.047Z] ------------------- [2021-06-16T05:38:04.048Z] experimental info: [2021-06-16T05:38:04.048Z] ------------------- [2021-06-16T05:38:04.048Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-16T05:38:04.048Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-16T05:38:04.048Z] Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-16T05:38:04.308Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-06-16T05:38:04.372Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-06-16T05:38:04.434Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-16T05:38:04.496Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-16T05:38:04.556Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-16T05:38:04.620Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-16T05:38:04.686Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-16T05:38:04.762Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-16T05:38:04.824Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-06-16T05:38:04.893Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-16T05:38:04.954Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-16T05:38:05.022Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-06-16T05:38:05.094Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-16T05:38:05.170Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-16T05:38:05.234Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-16T05:38:05.301Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-06-16T05:38:05.361Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-16T05:38:05.421Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-16T05:38:05.485Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-16T05:38:05.545Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-16T05:38:07.563Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-06-16T05:38:07.636Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-06-16T05:38:07.698Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-16T05:38:07.763Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-16T05:38:07.830Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-16T05:38:07.898Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-16T05:38:07.964Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-972 [Pipeline] echo [2021-06-16T05:38:08.023Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-972 [Pipeline] echo [2021-06-16T05:38:08.085Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-972 [Pipeline] echo [2021-06-16T05:38:08.148Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c9c344e94e1131edb24af4e6dce04edca984b298 [Pipeline] echo [2021-06-16T05:38:08.234Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c9c344e [Pipeline] echo [2021-06-16T05:38:08.301Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-16T05:38:08.469Z] provisioning config files... [2021-06-16T05:38:08.488Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-972@tmp/config8097592728505876598tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-16T05:38:08.870Z] ---> docker-login.sh [2021-06-16T05:38:08.870Z] nexus3.edgexfoundry.org:10001 [2021-06-16T05:38:09.140Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-16T05:38:09.140Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-16T05:38:09.140Z] Configure a credential helper to remove this warning. See [2021-06-16T05:38:09.140Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-16T05:38:09.140Z] [2021-06-16T05:38:09.140Z] Login Succeeded [2021-06-16T05:38:09.140Z] nexus3.edgexfoundry.org:10002 [2021-06-16T05:38:09.404Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-16T05:38:09.404Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-16T05:38:09.404Z] Configure a credential helper to remove this warning. See [2021-06-16T05:38:09.404Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-16T05:38:09.404Z] [2021-06-16T05:38:09.404Z] Login Succeeded [2021-06-16T05:38:09.404Z] nexus3.edgexfoundry.org:10003 [2021-06-16T05:38:09.404Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-16T05:38:09.677Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-16T05:38:09.677Z] Configure a credential helper to remove this warning. See [2021-06-16T05:38:09.677Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-16T05:38:09.677Z] [2021-06-16T05:38:09.677Z] Login Succeeded [2021-06-16T05:38:09.677Z] nexus3.edgexfoundry.org:10004 [2021-06-16T05:38:09.677Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-16T05:38:09.677Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-16T05:38:09.677Z] Configure a credential helper to remove this warning. See [2021-06-16T05:38:09.677Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-16T05:38:09.677Z] [2021-06-16T05:38:09.677Z] Login Succeeded [2021-06-16T05:38:09.677Z] docker.io [2021-06-16T05:38:09.940Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-16T05:38:10.203Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-16T05:38:10.203Z] Configure a credential helper to remove this warning. See [2021-06-16T05:38:10.203Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-16T05:38:10.203Z] [2021-06-16T05:38:10.203Z] Login Succeeded [2021-06-16T05:38:10.203Z] ---> docker-login.sh ends [Pipeline] } [2021-06-16T05:38:10.229Z] 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-16T05:38:11.080Z] + git log --format=format:%s -1 c9c344e94e1131edb24af4e6dce04edca984b298 [Pipeline] echo [2021-06-16T05:38:11.146Z] GIT_COMMIT: c9c344e94e1131edb24af4e6dce04edca984b298, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 [Pipeline] echo [2021-06-16T05:38:11.194Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-16T05:38:12.261Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-16T05:38:12.261Z] [2021-06-16T05:38:12.261Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-16T05:38:12.642Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-16T05:38:12.642Z] latest: Pulling from edgex-devops/git-semver [2021-06-16T05:38:12.642Z] 31603596830f: Pulling fs layer [2021-06-16T05:38:12.642Z] 54011a49482f: Pulling fs layer [2021-06-16T05:38:12.642Z] a6820b24f6d8: Pulling fs layer [2021-06-16T05:38:12.642Z] f581987b2513: Pulling fs layer [2021-06-16T05:38:12.642Z] f581987b2513: Waiting [2021-06-16T05:38:12.642Z] 54011a49482f: Verifying Checksum [2021-06-16T05:38:12.642Z] 54011a49482f: Download complete [2021-06-16T05:38:12.903Z] 31603596830f: Verifying Checksum [2021-06-16T05:38:12.903Z] 31603596830f: Download complete [2021-06-16T05:38:12.903Z] a6820b24f6d8: Verifying Checksum [2021-06-16T05:38:12.903Z] a6820b24f6d8: Download complete [2021-06-16T05:38:12.903Z] f581987b2513: Verifying Checksum [2021-06-16T05:38:12.903Z] f581987b2513: Download complete [2021-06-16T05:38:13.165Z] 31603596830f: Pull complete [2021-06-16T05:38:13.165Z] 54011a49482f: Pull complete [2021-06-16T05:38:13.750Z] a6820b24f6d8: Pull complete [2021-06-16T05:38:14.014Z] f581987b2513: Pull complete [2021-06-16T05:38:14.014Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-16T05:38:14.014Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-16T05:38:14.014Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-16T05:38:14.124Z] prd-centos7-docker-4c-2g-1640 does not seem to be running inside a container [2021-06-16T05:38:14.172Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-972 -v /w/workspace/dgexfoundry_device-sdk-go_PR-972:/w/workspace/dgexfoundry_device-sdk-go_PR-972:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-972@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-972@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-16T05:38:15.378Z] $ docker top 7df4d3ca6ed281b85e4dfa8e21d76ffc1a18c9c80b81c0507e2bafe72c2a6c54 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-16T05:38:15.611Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-16T05:38:15.611Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-16T05:38:15.744Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-16T05:38:15.746Z] $ docker exec 7df4d3ca6ed281b85e4dfa8e21d76ffc1a18c9c80b81c0507e2bafe72c2a6c54 ssh-agent [2021-06-16T05:38:15.874Z] SSH_AUTH_SOCK=/tmp/ssh-KxYH6WfBxgH5/agent.13 [2021-06-16T05:38:15.874Z] SSH_AGENT_PID=19 [2021-06-16T05:38:15.885Z] Running ssh-add (command line suppressed) [2021-06-16T05:38:15.991Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-972@tmp/private_key_2071631715725421867.key (/w/workspace/dgexfoundry_device-sdk-go_PR-972@tmp/private_key_2071631715725421867.key) [2021-06-16T05:38:16.011Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-16T05:38:16.378Z] + git tag --points-at HEAD [Pipeline] } [2021-06-16T05:38:16.403Z] $ docker exec --env ******** --env ******** 7df4d3ca6ed281b85e4dfa8e21d76ffc1a18c9c80b81c0507e2bafe72c2a6c54 ssh-agent -k [2021-06-16T05:38:16.510Z] unset SSH_AUTH_SOCK; [2021-06-16T05:38:16.511Z] unset SSH_AGENT_PID; [2021-06-16T05:38:16.511Z] echo Agent pid 19 killed; [2021-06-16T05:38:16.525Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-16T05:38:16.654Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-16T05:38:16.654Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-16T05:38:16.782Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-16T05:38:16.784Z] $ docker exec 7df4d3ca6ed281b85e4dfa8e21d76ffc1a18c9c80b81c0507e2bafe72c2a6c54 ssh-agent [2021-06-16T05:38:16.904Z] SSH_AUTH_SOCK=/tmp/ssh-NCMJEVFS7INs/agent.52 [2021-06-16T05:38:16.904Z] SSH_AGENT_PID=58 [2021-06-16T05:38:16.910Z] Running ssh-add (command line suppressed) [2021-06-16T05:38:17.017Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-972@tmp/private_key_7258248072452785511.key (/w/workspace/dgexfoundry_device-sdk-go_PR-972@tmp/private_key_7258248072452785511.key) [2021-06-16T05:38:17.037Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-16T05:38:17.420Z] + git semver init [2021-06-16T05:38:17.421Z] # -> Open(): unable to determine branch for HEAD [2021-06-16T05:38:17.421Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-972/.git [2021-06-16T05:38:17.421Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-972 [2021-06-16T05:38:17.421Z] # $SEMVER_REMOTE_NAME = origin [2021-06-16T05:38:17.421Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-16T05:38:17.421Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-16T05:38:17.421Z] # $SEMVER_BRANCH = PR-972 [2021-06-16T05:38:17.421Z] # $SEMVER_TEMP = /tmp/semver-293304588 [2021-06-16T05:38:17.421Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-06-16T05:38:18.822Z] # '/tmp/semver-293304588' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-972/.semver' [2021-06-16T05:38:18.822Z] # -> Force: false [2021-06-16T05:38:18.822Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-972/.semver [Pipeline] } [2021-06-16T05:38:18.842Z] $ docker exec --env ******** --env ******** 7df4d3ca6ed281b85e4dfa8e21d76ffc1a18c9c80b81c0507e2bafe72c2a6c54 ssh-agent -k [2021-06-16T05:38:18.954Z] unset SSH_AUTH_SOCK; [2021-06-16T05:38:18.954Z] unset SSH_AGENT_PID; [2021-06-16T05:38:18.954Z] echo Agent pid 58 killed; [2021-06-16T05:38:18.968Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-16T05:38:19.425Z] + git semver [Pipeline] } [2021-06-16T05:38:19.456Z] $ docker stop --time=1 7df4d3ca6ed281b85e4dfa8e21d76ffc1a18c9c80b81c0507e2bafe72c2a6c54 [2021-06-16T05:38:20.771Z] $ docker rm -f 7df4d3ca6ed281b85e4dfa8e21d76ffc1a18c9c80b81c0507e2bafe72c2a6c54 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-16T05:38:21.229Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-16T05:38:21.561Z] Stashed 1 file(s) [Pipeline] echo [2021-06-16T05:38:21.619Z] [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-16T05:38:37.321Z] Still waiting to schedule task [2021-06-16T05:38:37.322Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-1640’ [2021-06-16T05:38:37.351Z] Still waiting to schedule task [2021-06-16T05:38:37.351Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-06-16T05:40:38.565Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1641 in /w/workspace/dgexfoundry_device-sdk-go_PR-972 [Pipeline] { [Pipeline] ws [2021-06-16T05:40:38.626Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-06-16T05:40:38.888Z] Selected Git installation does not exist. Using Default [2021-06-16T05:40:38.889Z] The recommended git tool is: NONE [2021-06-16T05:40:44.476Z] using credential edgex-jenkins-ssh [2021-06-16T05:40:44.496Z] Cloning the remote Git repository [2021-06-16T05:40:44.561Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-06-16T05:40:44.670Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-06-16T05:40:44.732Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-16T05:40:44.733Z] > git --version # timeout=10 [2021-06-16T05:40:44.747Z] > git --version # 'git version 2.17.1' [2021-06-16T05:40:44.749Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-16T05:40:44.834Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-16T05:40:45.979Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-16T05:40:45.992Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-16T05:40:46.032Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-16T05:40:46.063Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-16T05:40:46.064Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-16T05:40:46.076Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/972/head:refs/remotes/origin/PR-972 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-16T05:40:46.578Z] Merging remotes/origin/master commit 88bc9287cbb2eac6fea22b2a3b0d65630b8919c2 into PR head commit c9c344e94e1131edb24af4e6dce04edca984b298 [2021-06-16T05:40:46.789Z] Merge succeeded, producing c9c344e94e1131edb24af4e6dce04edca984b298 [2021-06-16T05:40:46.790Z] Checking out Revision c9c344e94e1131edb24af4e6dce04edca984b298 (PR-972) [2021-06-16T05:40:46.594Z] > git config core.sparsecheckout # timeout=10 [2021-06-16T05:40:46.607Z] > git checkout -f c9c344e94e1131edb24af4e6dce04edca984b298 # timeout=10 [2021-06-16T05:40:46.705Z] > git remote # timeout=10 [2021-06-16T05:40:46.721Z] > git config --get remote.origin.url # timeout=10 [2021-06-16T05:40:46.736Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-16T05:40:46.747Z] > git merge 88bc9287cbb2eac6fea22b2a3b0d65630b8919c2 # timeout=10 [2021-06-16T05:40:46.769Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-16T05:40:46.793Z] > git config core.sparsecheckout # timeout=10 [2021-06-16T05:40:46.803Z] > git checkout -f c9c344e94e1131edb24af4e6dce04edca984b298 # timeout=10 [2021-06-16T05:40:51.006Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" [2021-06-16T05:40:51.060Z] > git --version # timeout=10 [2021-06-16T05:40:51.074Z] > git --version # 'git version 2.17.1' [2021-06-16T05:40:51.092Z] fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-16T05:40:52.943Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-16T05:40:53.365Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-16T05:40:53.736Z] + sudo service docker restart [2021-06-16T05:40:53.736Z] + true [2021-06-16T05:41:05.997Z] Running on prd-centos7-docker-4c-2g-1642 in /w/workspace/dgexfoundry_device-sdk-go_PR-972 [Pipeline] { [Pipeline] ws [2021-06-16T05:41:06.071Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-06-16T05:41:06.218Z] Selected Git installation does not exist. Using Default [2021-06-16T05:41:06.218Z] The recommended git tool is: NONE [2021-06-16T05:41:08.620Z] using credential edgex-jenkins-ssh [2021-06-16T05:41:08.634Z] Cloning the remote Git repository [2021-06-16T05:41:08.506Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-06-16T05:41:08.573Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-06-16T05:41:08.615Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-16T05:41:08.615Z] > git --version # timeout=10 [2021-06-16T05:41:08.620Z] > git --version # 'git version 2.24.4' [2021-06-16T05:41:08.621Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-16T05:41:08.658Z] [INFO] Currently running in a labeled security context [2021-06-16T05:41:08.658Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-16T05:41:08.658Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh7028209577820275293.key [2021-06-16T05:41:08.692Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-16T05:41:10.127Z] Merging remotes/origin/master commit 88bc9287cbb2eac6fea22b2a3b0d65630b8919c2 into PR head commit c9c344e94e1131edb24af4e6dce04edca984b298 [2021-06-16T05:41:10.212Z] Merge succeeded, producing c9c344e94e1131edb24af4e6dce04edca984b298 [2021-06-16T05:41:10.212Z] Checking out Revision c9c344e94e1131edb24af4e6dce04edca984b298 (PR-972) [2021-06-16T05:41:09.566Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-16T05:41:09.574Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-16T05:41:09.587Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-16T05:41:09.609Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-16T05:41:09.609Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-16T05:41:09.610Z] [INFO] Currently running in a labeled security context [2021-06-16T05:41:09.610Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-16T05:41:09.610Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh7529935866233202136.key [2021-06-16T05:41:09.619Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/972/head:refs/remotes/origin/PR-972 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-16T05:41:10.108Z] > git config core.sparsecheckout # timeout=10 [2021-06-16T05:41:10.113Z] > git checkout -f c9c344e94e1131edb24af4e6dce04edca984b298 # timeout=10 [2021-06-16T05:41:10.147Z] > git remote # timeout=10 [2021-06-16T05:41:10.156Z] > git config --get remote.origin.url # timeout=10 [2021-06-16T05:41:10.165Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-16T05:41:10.166Z] [INFO] Currently running in a labeled security context [2021-06-16T05:41:10.166Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-16T05:41:10.166Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh1123903477729256266.key [2021-06-16T05:41:10.175Z] > git merge 88bc9287cbb2eac6fea22b2a3b0d65630b8919c2 # timeout=10 [2021-06-16T05:41:10.187Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-16T05:41:10.196Z] > git config core.sparsecheckout # timeout=10 [2021-06-16T05:41:10.202Z] > git checkout -f c9c344e94e1131edb24af4e6dce04edca984b298 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-16T05:41:13.232Z] provisioning config files... [2021-06-16T05:41:13.263Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config2871032312783607854tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-16T05:41:13.682Z] ---> docker-login.sh [2021-06-16T05:41:13.682Z] nexus3.edgexfoundry.org:10001 [2021-06-16T05:41:13.800Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" [2021-06-16T05:41:13.831Z] > git --version # timeout=10 [2021-06-16T05:41:13.834Z] > git --version # 'git version 2.24.4' [2021-06-16T05:41:13.859Z] fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [2021-06-16T05:41:14.301Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-16T05:41:14.902Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-16T05:41:14.902Z] Configure a credential helper to remove this warning. See [2021-06-16T05:41:14.902Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-16T05:41:14.902Z] [2021-06-16T05:41:14.902Z] Login Succeeded [2021-06-16T05:41:14.902Z] nexus3.edgexfoundry.org:10002 [2021-06-16T05:41:15.055Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-16T05:41:15.178Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-16T05:41:15.402Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-16T05:41:15.454Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-16T05:41:15.454Z] Configure a credential helper to remove this warning. See [2021-06-16T05:41:15.454Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-16T05:41:15.454Z] [2021-06-16T05:41:15.454Z] Login Succeeded [2021-06-16T05:41:15.454Z] nexus3.edgexfoundry.org:10003 [2021-06-16T05:41:15.728Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-16T05:41:15.729Z] + sudo service docker restart [2021-06-16T05:41:15.730Z] + true [2021-06-16T05:41:15.730Z] Redirecting to /bin/systemctl restart docker.service [2021-06-16T05:41:16.004Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-16T05:41:16.004Z] Configure a credential helper to remove this warning. See [2021-06-16T05:41:16.004Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-16T05:41:16.004Z] [2021-06-16T05:41:16.004Z] Login Succeeded [2021-06-16T05:41:16.004Z] nexus3.edgexfoundry.org:10004 [2021-06-16T05:41:16.279Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-16T05:41:16.556Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-16T05:41:16.556Z] Configure a credential helper to remove this warning. See [2021-06-16T05:41:16.556Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-16T05:41:16.556Z] [2021-06-16T05:41:16.556Z] Login Succeeded [2021-06-16T05:41:16.556Z] docker.io [2021-06-16T05:41:16.831Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-16T05:41:17.433Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-16T05:41:17.433Z] Configure a credential helper to remove this warning. See [2021-06-16T05:41:17.433Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-16T05:41:17.433Z] [2021-06-16T05:41:17.433Z] Login Succeeded [2021-06-16T05:41:17.433Z] ---> docker-login.sh ends [Pipeline] } [2021-06-16T05:41:17.464Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-16T05:41:18.076Z] ========================================================= [2021-06-16T05:41:18.076Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-16T05:41:18.076Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-16T05:41:21.971Z] + 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-16T05:41:21.972Z] Sending build context to Docker daemon 2.678MB [2021-06-16T05:41:21.972Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-16T05:41:21.972Z] Step 2/8 : FROM ${BASE} [2021-06-16T05:41:21.972Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-16T05:41:21.972Z] 595b0fe564bb: Pulling fs layer [2021-06-16T05:41:21.972Z] 3088b5b3c5c0: Pulling fs layer [2021-06-16T05:41:21.972Z] 5b7225fbf94c: Pulling fs layer [2021-06-16T05:41:21.972Z] ba82ee9f976e: Pulling fs layer [2021-06-16T05:41:21.972Z] 506bd15cee9f: Pulling fs layer [2021-06-16T05:41:21.972Z] 75a0a4a0db45: Pulling fs layer [2021-06-16T05:41:21.972Z] 618dc40b7e24: Pulling fs layer [2021-06-16T05:41:21.972Z] 506bd15cee9f: Waiting [2021-06-16T05:41:21.972Z] 75a0a4a0db45: Waiting [2021-06-16T05:41:21.972Z] 618dc40b7e24: Waiting [2021-06-16T05:41:21.972Z] ba82ee9f976e: Waiting [2021-06-16T05:41:21.972Z] 5b7225fbf94c: Verifying Checksum [2021-06-16T05:41:21.972Z] 5b7225fbf94c: Download complete [2021-06-16T05:41:21.972Z] 3088b5b3c5c0: Download complete [2021-06-16T05:41:21.972Z] 506bd15cee9f: Verifying Checksum [2021-06-16T05:41:21.972Z] 506bd15cee9f: Download complete [2021-06-16T05:41:21.972Z] 75a0a4a0db45: Download complete [2021-06-16T05:41:21.972Z] 595b0fe564bb: Verifying Checksum [2021-06-16T05:41:21.972Z] 595b0fe564bb: Download complete [2021-06-16T05:41:21.972Z] 595b0fe564bb: Pull complete [2021-06-16T05:41:21.972Z] 3088b5b3c5c0: Pull complete [2021-06-16T05:41:21.972Z] 5b7225fbf94c: Pull complete [2021-06-16T05:41:21.972Z] 618dc40b7e24: Verifying Checksum [2021-06-16T05:41:21.972Z] 618dc40b7e24: Download complete [2021-06-16T05:41:23.403Z] ba82ee9f976e: Download complete [2021-06-16T05:41:33.571Z] ba82ee9f976e: Pull complete [2021-06-16T05:41:33.571Z] 506bd15cee9f: Pull complete [2021-06-16T05:41:33.571Z] 75a0a4a0db45: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-16T05:41:34.448Z] provisioning config files... [2021-06-16T05:41:34.468Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config5508844689148271918tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-16T05:41:34.851Z] ---> docker-login.sh [2021-06-16T05:41:34.851Z] nexus3.edgexfoundry.org:10001 [2021-06-16T05:41:35.114Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-16T05:41:35.114Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-16T05:41:35.114Z] Configure a credential helper to remove this warning. See [2021-06-16T05:41:35.114Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-16T05:41:35.114Z] [2021-06-16T05:41:35.114Z] Login Succeeded [2021-06-16T05:41:35.114Z] nexus3.edgexfoundry.org:10002 [2021-06-16T05:41:35.114Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-16T05:41:35.114Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-16T05:41:35.114Z] Configure a credential helper to remove this warning. See [2021-06-16T05:41:35.114Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-16T05:41:35.114Z] [2021-06-16T05:41:35.114Z] Login Succeeded [2021-06-16T05:41:35.114Z] nexus3.edgexfoundry.org:10003 [2021-06-16T05:41:35.384Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-16T05:41:35.384Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-16T05:41:35.384Z] Configure a credential helper to remove this warning. See [2021-06-16T05:41:35.384Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-16T05:41:35.384Z] [2021-06-16T05:41:35.384Z] Login Succeeded [2021-06-16T05:41:35.384Z] nexus3.edgexfoundry.org:10004 [2021-06-16T05:41:35.384Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-16T05:41:35.384Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-16T05:41:35.384Z] Configure a credential helper to remove this warning. See [2021-06-16T05:41:35.384Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-16T05:41:35.384Z] [2021-06-16T05:41:35.384Z] Login Succeeded [2021-06-16T05:41:35.384Z] docker.io [2021-06-16T05:41:35.646Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-16T05:41:35.908Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-16T05:41:35.908Z] Configure a credential helper to remove this warning. See [2021-06-16T05:41:35.908Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-16T05:41:35.908Z] [2021-06-16T05:41:35.908Z] Login Succeeded [2021-06-16T05:41:35.908Z] ---> docker-login.sh ends [Pipeline] } [2021-06-16T05:41:35.935Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-16T05:41:36.238Z] ========================================================= [2021-06-16T05:41:36.238Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-16T05:41:36.238Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-16T05:41:36.602Z] + 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-16T05:41:36.602Z] Sending build context to Docker daemon 2.681MB [2021-06-16T05:41:36.602Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-16T05:41:36.602Z] Step 2/8 : FROM ${BASE} [2021-06-16T05:41:36.602Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-16T05:41:36.602Z] 540db60ca938: Pulling fs layer [2021-06-16T05:41:36.602Z] adcc1eea9eea: Pulling fs layer [2021-06-16T05:41:36.602Z] 4c4ab2625f07: Pulling fs layer [2021-06-16T05:41:36.602Z] 0510c868ecb4: Pulling fs layer [2021-06-16T05:41:36.602Z] afea3b2eda06: Pulling fs layer [2021-06-16T05:41:36.602Z] 7809a108b3ef: Pulling fs layer [2021-06-16T05:41:36.602Z] f706445af74f: Pulling fs layer [2021-06-16T05:41:36.602Z] afea3b2eda06: Waiting [2021-06-16T05:41:36.602Z] 7809a108b3ef: Waiting [2021-06-16T05:41:36.602Z] f706445af74f: Waiting [2021-06-16T05:41:36.602Z] 0510c868ecb4: Waiting [2021-06-16T05:41:36.877Z] 4c4ab2625f07: Verifying Checksum [2021-06-16T05:41:36.877Z] 4c4ab2625f07: Download complete [2021-06-16T05:41:36.877Z] 540db60ca938: Verifying Checksum [2021-06-16T05:41:36.877Z] afea3b2eda06: Verifying Checksum [2021-06-16T05:41:36.877Z] afea3b2eda06: Download complete [2021-06-16T05:41:36.877Z] 7809a108b3ef: Verifying Checksum [2021-06-16T05:41:36.877Z] 7809a108b3ef: Download complete [2021-06-16T05:41:36.877Z] 540db60ca938: Pull complete [2021-06-16T05:41:36.877Z] adcc1eea9eea: Verifying Checksum [2021-06-16T05:41:36.877Z] adcc1eea9eea: Download complete [2021-06-16T05:41:37.143Z] adcc1eea9eea: Pull complete [2021-06-16T05:41:37.143Z] 4c4ab2625f07: Pull complete [2021-06-16T05:41:37.896Z] 618dc40b7e24: Pull complete [2021-06-16T05:41:37.896Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-06-16T05:41:37.896Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-16T05:41:37.896Z] ---> a36622ca3599 [2021-06-16T05:41:37.896Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-16T05:41:38.085Z] f706445af74f: Verifying Checksum [2021-06-16T05:41:38.085Z] f706445af74f: Download complete [2021-06-16T05:41:38.665Z] 0510c868ecb4: Verifying Checksum [2021-06-16T05:41:38.665Z] 0510c868ecb4: Download complete [2021-06-16T05:41:39.338Z] ---> Running in a61adb1f13fb [2021-06-16T05:41:39.934Z] Removing intermediate container a61adb1f13fb [2021-06-16T05:41:39.934Z] ---> d3468f6a64dd [2021-06-16T05:41:39.934Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-16T05:41:39.934Z] ---> Running in d48f6195475c [2021-06-16T05:41:42.004Z] 0510c868ecb4: Pull complete [2021-06-16T05:41:42.004Z] afea3b2eda06: Pull complete [2021-06-16T05:41:42.265Z] 7809a108b3ef: Pull complete [2021-06-16T05:41:42.566Z] Removing intermediate container d48f6195475c [2021-06-16T05:41:42.566Z] ---> 7d15e4ea5f9e [2021-06-16T05:41:42.566Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-06-16T05:41:42.566Z] ---> Running in 88824bd854d4 [2021-06-16T05:41:43.554Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-16T05:41:43.670Z] f706445af74f: Pull complete [2021-06-16T05:41:43.670Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-16T05:41:43.670Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-16T05:41:43.670Z] ---> b068be0155e3 [2021-06-16T05:41:43.670Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-16T05:41:44.523Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-16T05:41:48.816Z] ---> Running in 186a3fa3c695 [2021-06-16T05:41:48.816Z] Removing intermediate container 186a3fa3c695 [2021-06-16T05:41:48.816Z] ---> f4383f768442 [2021-06-16T05:41:48.816Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-16T05:41:48.816Z] ---> Running in a15558f159b6 [2021-06-16T05:41:48.816Z] Removing intermediate container a15558f159b6 [2021-06-16T05:41:48.816Z] ---> 66efaae18336 [2021-06-16T05:41:48.816Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-06-16T05:41:48.816Z] ---> Running in 9ab0c338dbe6 [2021-06-16T05:41:48.830Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-06-16T05:41:48.830Z] (2/6) Installing libsodium (1.0.18-r0) [2021-06-16T05:41:48.830Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-06-16T05:41:48.830Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-06-16T05:41:48.831Z] (5/6) Installing libzmq (4.3.3-r1) [2021-06-16T05:41:48.831Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-06-16T05:41:48.831Z] Executing busybox-1.32.1-r6.trigger [2021-06-16T05:41:48.831Z] OK: 139 MiB in 46 packages [2021-06-16T05:41:48.831Z] Removing intermediate container 88824bd854d4 [2021-06-16T05:41:48.831Z] ---> 35706bbcdb42 [2021-06-16T05:41:48.831Z] Step 6/8 : WORKDIR /device-sdk-go [2021-06-16T05:41:48.831Z] ---> Running in 6e37b268264b [2021-06-16T05:41:48.831Z] Removing intermediate container 6e37b268264b [2021-06-16T05:41:48.831Z] ---> b847e2862956 [2021-06-16T05:41:48.831Z] Step 7/8 : COPY . . [2021-06-16T05:41:49.078Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-16T05:41:49.116Z] ---> 881caaf65776 [2021-06-16T05:41:49.116Z] Step 8/8 : RUN go mod download [2021-06-16T05:41:49.391Z] ---> Running in 37a263d4bc1c [2021-06-16T05:41:50.024Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-16T05:41:50.300Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-06-16T05:41:50.300Z] (2/6) Installing libsodium (1.0.18-r0) [2021-06-16T05:41:50.300Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-06-16T05:41:50.563Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-06-16T05:41:50.563Z] (5/6) Installing libzmq (4.3.3-r1) [2021-06-16T05:41:50.827Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-06-16T05:41:50.827Z] Executing busybox-1.32.1-r6.trigger [2021-06-16T05:41:50.827Z] OK: 150 MiB in 46 packages [2021-06-16T05:41:51.096Z] Removing intermediate container 9ab0c338dbe6 [2021-06-16T05:41:51.096Z] ---> d75e2c6f728f [2021-06-16T05:41:51.096Z] Step 6/8 : WORKDIR /device-sdk-go [2021-06-16T05:41:51.096Z] ---> Running in 6ea883247b72 [2021-06-16T05:41:51.356Z] Removing intermediate container 6ea883247b72 [2021-06-16T05:41:51.356Z] ---> a8a60eec0362 [2021-06-16T05:41:51.356Z] Step 7/8 : COPY . . [2021-06-16T05:41:51.626Z] ---> 71549d69b829 [2021-06-16T05:41:51.626Z] Step 8/8 : RUN go mod download [2021-06-16T05:41:51.626Z] ---> Running in 6ea0413dcbbc [2021-06-16T05:42:03.903Z] Removing intermediate container 6ea0413dcbbc [2021-06-16T05:42:03.903Z] ---> cf210c6f5107 [2021-06-16T05:42:03.903Z] Successfully built cf210c6f5107 [2021-06-16T05:42:03.903Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-16T05:42:04.373Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-16T05:42:04.374Z] . [Pipeline] withDockerContainer [2021-06-16T05:42:04.528Z] prd-centos7-docker-4c-2g-1642 does not seem to be running inside a container [2021-06-16T05:42:04.569Z] $ 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 ******** ci-base-image-x86_64 cat [2021-06-16T05:42:04.957Z] $ docker top dd9883adea451bec4eed79a38f85f3e48bd8063ae6da9b8d9b9fcabc4f3071f9 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-16T05:42:05.388Z] + go version [2021-06-16T05:42:05.389Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-16T05:42:05.419Z] $ docker stop --time=1 dd9883adea451bec4eed79a38f85f3e48bd8063ae6da9b8d9b9fcabc4f3071f9 [2021-06-16T05:42:06.623Z] $ docker rm -f dd9883adea451bec4eed79a38f85f3e48bd8063ae6da9b8d9b9fcabc4f3071f9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-16T05:42:07.554Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-16T05:42:07.554Z] . [Pipeline] withDockerContainer [2021-06-16T05:42:07.661Z] prd-centos7-docker-4c-2g-1642 does not seem to be running inside a container [2021-06-16T05:42:07.710Z] $ 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 ******** ci-base-image-x86_64 cat [2021-06-16T05:42:08.054Z] $ docker top 3fd8dc28053cb995e0a09f62eff8f3384a41269e2dc3030a770fd573fd97d005 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-16T05:42:08.653Z] + go mod tidy [Pipeline] sh [2021-06-16T05:42:09.312Z] + make test [2021-06-16T05:42:09.312Z] go mod tidy [2021-06-16T05:42:09.312Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-06-16T05:42:14.632Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-06-16T05:42:16.210Z] Removing intermediate container 37a263d4bc1c [2021-06-16T05:42:16.210Z] ---> 2776a6b9033a [2021-06-16T05:42:16.210Z] Successfully built 2776a6b9033a [2021-06-16T05:42:16.210Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-16T05:42:16.675Z] + docker inspect -f . ci-base-image-arm64 [2021-06-16T05:42:16.675Z] . [Pipeline] withDockerContainer [2021-06-16T05:42:16.929Z] prd-ubuntu18.04-docker-arm64-4c-16g-1641 does not seem to be running inside a container [2021-06-16T05:42:17.025Z] $ 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 ******** ci-base-image-arm64 cat [2021-06-16T05:42:18.599Z] $ docker top 27431b05866e4e3ea470581a9241dfe84266f2fa82c28a32b79ae254c921286a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-16T05:42:19.635Z] + go version [2021-06-16T05:42:19.635Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-06-16T05:42:19.683Z] $ docker stop --time=1 27431b05866e4e3ea470581a9241dfe84266f2fa82c28a32b79ae254c921286a [2021-06-16T05:42:23.453Z] $ docker rm -f 27431b05866e4e3ea470581a9241dfe84266f2fa82c28a32b79ae254c921286a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-16T05:42:24.485Z] + docker inspect -f . ci-base-image-arm64 [2021-06-16T05:42:24.485Z] . [Pipeline] withDockerContainer [2021-06-16T05:42:24.721Z] prd-ubuntu18.04-docker-arm64-4c-16g-1641 does not seem to be running inside a container [2021-06-16T05:42:24.818Z] $ 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 ******** ci-base-image-arm64 cat [2021-06-16T05:42:26.299Z] $ docker top d5b7259138de426c2ace79d21262a16a2f64a725ac833fb6f15759695c6af6fc -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-16T05:42:27.289Z] + go mod tidy [Pipeline] sh [2021-06-16T05:42:28.572Z] + make test [2021-06-16T05:42:28.573Z] go mod tidy [2021-06-16T05:42:29.175Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-06-16T05:42:37.296Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-06-16T05:42:37.296Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-06-16T05:42:37.296Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-06-16T05:42:38.721Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.052s coverage: 25.4% of statements [2021-06-16T05:42:38.721Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-06-16T05:42:38.721Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.067s coverage: 28.1% of statements [2021-06-16T05:42:38.721Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.058s coverage: 78.9% of statements [2021-06-16T05:42:39.305Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.055s coverage: 9.0% of statements [2021-06-16T05:42:39.305Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-06-16T05:42:39.305Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-06-16T05:42:39.305Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-06-16T05:42:39.569Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.058s coverage: 29.2% of statements [2021-06-16T05:42:39.569Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-06-16T05:42:40.965Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.065s coverage: 83.3% of statements [2021-06-16T05:42:40.965Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-06-16T05:42:40.965Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-06-16T05:42:40.965Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.073s coverage: 58.0% of statements [2021-06-16T05:42:41.927Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.811s coverage: 89.2% of statements [2021-06-16T05:42:41.927Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-06-16T05:42:41.927Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.044s coverage: 5.0% of statements [2021-06-16T05:42:41.927Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-06-16T05:42:41.927Z] GO111MODULE=on go vet ./... [2021-06-16T05:42:51.381Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-06-16T05:43:00.097Z] gofmt -l . [2021-06-16T05:43:00.097Z] [ "`gofmt -l .`" = "" ] [2021-06-16T05:43:00.097Z] ./bin/test-attribution-txt.sh [2021-06-16T05:43:00.097Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-16T05:43:00.128Z] $ docker stop --time=1 3fd8dc28053cb995e0a09f62eff8f3384a41269e2dc3030a770fd573fd97d005 [2021-06-16T05:43:01.735Z] $ docker rm -f 3fd8dc28053cb995e0a09f62eff8f3384a41269e2dc3030a770fd573fd97d005 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-16T05:43:02.272Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-16T05:43:02.532Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-06-16T05:43:07.670Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-16T05:43:07.992Z] + ls -al . [2021-06-16T05:43:07.992Z] total 208 [2021-06-16T05:43:07.992Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jun 16 05:42 . [2021-06-16T05:43:07.992Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 16 05:41 .. [2021-06-16T05:43:07.992Z] drwxrwxr-x. 2 jenkins jenkins 64 Jun 16 05:41 bin [2021-06-16T05:43:07.992Z] -rw-r--r--. 1 jenkins jenkins 126073 Jun 16 05:42 coverage.out [2021-06-16T05:43:07.992Z] -rw-rw-r--. 1 jenkins jenkins 987 Jun 16 05:41 Dockerfile.build [2021-06-16T05:43:07.992Z] -rw-rw-r--. 1 jenkins jenkins 140 Jun 16 05:41 .dockerignore [2021-06-16T05:43:07.992Z] drwxrwxr-x. 5 jenkins jenkins 62 Jun 16 05:41 example [2021-06-16T05:43:07.992Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 16 05:41 .git [2021-06-16T05:43:07.992Z] drwxrwxr-x. 2 jenkins jenkins 103 Jun 16 05:41 .github [2021-06-16T05:43:07.992Z] -rw-rw-r--. 1 jenkins jenkins 138 Jun 16 05:41 .gitignore [2021-06-16T05:43:07.992Z] -rw-r--r--. 1 jenkins jenkins 576 Jun 16 05:42 go.mod [2021-06-16T05:43:07.992Z] -rw-r--r--. 1 jenkins jenkins 20294 Jun 16 05:42 go.sum [2021-06-16T05:43:07.992Z] drwxrwxr-x. 15 jenkins jenkins 224 Jun 16 05:41 internal [2021-06-16T05:43:07.992Z] -rw-rw-r--. 1 jenkins jenkins 894 Jun 16 05:41 Jenkinsfile [2021-06-16T05:43:07.992Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jun 16 05:41 LICENSE [2021-06-16T05:43:07.992Z] -rw-rw-r--. 1 jenkins jenkins 1026 Jun 16 05:41 Makefile [2021-06-16T05:43:07.992Z] drwxrwxr-x. 4 jenkins jenkins 26 Jun 16 05:41 openapi [2021-06-16T05:43:07.992Z] drwxrwxr-x. 5 jenkins jenkins 50 Jun 16 05:41 pkg [2021-06-16T05:43:07.992Z] -rw-rw-r--. 1 jenkins jenkins 7652 Jun 16 05:41 README.md [2021-06-16T05:43:07.992Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jun 16 05:41 RELEASE-NOTES.txt [2021-06-16T05:43:07.992Z] drwxrwxr-x. 4 jenkins jenkins 54 Jun 16 05:41 snap [2021-06-16T05:43:07.992Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 16 05:38 VERSION [2021-06-16T05:43:07.992Z] -rw-rw-r--. 1 jenkins jenkins 222 Jun 16 05:41 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-16T05:43:08.342Z] + 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=c9c344e94e1131edb24af4e6dce04edca984b298 --label arch=amd64 --label version=0.0.0 . [2021-06-16T05:43:08.342Z] Sending build context to Docker daemon 2.808MB [2021-06-16T05:43:08.342Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-06-16T05:43:08.343Z] Step 2/23 : FROM ${BASE} AS builder [2021-06-16T05:43:08.343Z] ---> cf210c6f5107 [2021-06-16T05:43:08.343Z] Step 3/23 : WORKDIR /device-sdk-go [2021-06-16T05:43:08.343Z] ---> Running in 04df4ff66bf6 [2021-06-16T05:43:08.608Z] Removing intermediate container 04df4ff66bf6 [2021-06-16T05:43:08.608Z] ---> 80d941d230fe [2021-06-16T05:43:08.608Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-16T05:43:08.608Z] ---> Running in 8478deaf68bf [2021-06-16T05:43:08.608Z] Removing intermediate container 8478deaf68bf [2021-06-16T05:43:08.608Z] ---> 9a58bc183607 [2021-06-16T05:43:08.608Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-16T05:43:08.608Z] ---> Running in ca45886be1a5 [2021-06-16T05:43:09.188Z] Removing intermediate container ca45886be1a5 [2021-06-16T05:43:09.188Z] ---> f00afa307218 [2021-06-16T05:43:09.188Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-06-16T05:43:09.188Z] ---> Running in 6714c247b3da [2021-06-16T05:43:09.452Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-16T05:43:10.396Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-16T05:43:10.657Z] OK: 150 MiB in 46 packages [2021-06-16T05:43:10.919Z] Removing intermediate container 6714c247b3da [2021-06-16T05:43:10.919Z] ---> 72a1e134becc [2021-06-16T05:43:10.919Z] Step 7/23 : COPY . . [2021-06-16T05:43:11.195Z] ---> a72516dcb117 [2021-06-16T05:43:11.195Z] Step 8/23 : RUN go mod download [2021-06-16T05:43:11.195Z] ---> Running in 3a29da7d8832 [2021-06-16T05:43:11.776Z] Removing intermediate container 3a29da7d8832 [2021-06-16T05:43:11.776Z] ---> afa1c17dd107 [2021-06-16T05:43:11.776Z] Step 9/23 : RUN make build [2021-06-16T05:43:11.776Z] ---> Running in 0b3aa3c831d3 [2021-06-16T05:43:12.041Z] go mod tidy [2021-06-16T05:43:12.305Z] 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-16T05:43:22.384Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-06-16T05:43:24.478Z] Removing intermediate container 0b3aa3c831d3 [2021-06-16T05:43:24.478Z] ---> 98184bef933e [2021-06-16T05:43:24.478Z] Step 10/23 : FROM alpine:3.12 [2021-06-16T05:43:24.478Z] 3.12: Pulling from library/alpine [2021-06-16T05:43:24.478Z] 339de151aab4: Pulling fs layer [2021-06-16T05:43:24.478Z] 339de151aab4: Verifying Checksum [2021-06-16T05:43:24.478Z] 339de151aab4: Download complete [2021-06-16T05:43:24.478Z] 339de151aab4: Pull complete [2021-06-16T05:43:24.478Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-16T05:43:24.478Z] Status: Downloaded newer image for alpine:3.12 [2021-06-16T05:43:24.478Z] ---> 13621d1b12d4 [2021-06-16T05:43:24.478Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-16T05:43:24.478Z] ---> Running in 99b71268b00d [2021-06-16T05:43:24.478Z] Removing intermediate container 99b71268b00d [2021-06-16T05:43:24.478Z] ---> 0de25c99e1cc [2021-06-16T05:43:24.478Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-16T05:43:24.478Z] ---> Running in bdcc512fd862 [2021-06-16T05:43:24.478Z] Removing intermediate container bdcc512fd862 [2021-06-16T05:43:24.478Z] ---> d0704f3471e7 [2021-06-16T05:43:24.478Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-06-16T05:43:24.478Z] ---> Running in 9737b337d8b4 [2021-06-16T05:43:24.738Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-06-16T05:43:25.316Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-06-16T05:43:26.101Z] (1/5) Installing libgcc (9.3.0-r2) [2021-06-16T05:43:26.101Z] (2/5) Installing libsodium (1.0.18-r0) [2021-06-16T05:43:26.101Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-06-16T05:43:26.674Z] (4/5) Installing libzmq (4.3.3-r0) [2021-06-16T05:43:26.938Z] (5/5) Installing zeromq (4.3.3-r0) [2021-06-16T05:43:26.939Z] Executing busybox-1.31.1-r20.trigger [2021-06-16T05:43:26.939Z] OK: 8 MiB in 19 packages [2021-06-16T05:43:27.200Z] Removing intermediate container 9737b337d8b4 [2021-06-16T05:43:27.200Z] ---> 8b16ed177030 [2021-06-16T05:43:27.200Z] Step 14/23 : WORKDIR / [2021-06-16T05:43:27.200Z] ---> Running in 5b6f32c5a856 [2021-06-16T05:43:27.200Z] Removing intermediate container 5b6f32c5a856 [2021-06-16T05:43:27.200Z] ---> b3f8804e353b [2021-06-16T05:43:27.200Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-06-16T05:43:27.463Z] ---> 141538a7f94f [2021-06-16T05:43:27.463Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-06-16T05:43:27.727Z] ---> d8e079c157c0 [2021-06-16T05:43:27.727Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-06-16T05:43:27.990Z] ---> bcbc9a95ec1e [2021-06-16T05:43:27.990Z] Step 18/23 : EXPOSE 59999 [2021-06-16T05:43:27.990Z] ---> Running in b2fe07502d4b [2021-06-16T05:43:27.990Z] Removing intermediate container b2fe07502d4b [2021-06-16T05:43:27.990Z] ---> 40dcf58371a8 [2021-06-16T05:43:27.990Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-06-16T05:43:28.253Z] ---> Running in f3790e29ae9a [2021-06-16T05:43:28.254Z] Removing intermediate container f3790e29ae9a [2021-06-16T05:43:28.254Z] ---> b3d7d012e2f1 [2021-06-16T05:43:28.254Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-16T05:43:28.254Z] ---> Running in 0e095a7a0b7e [2021-06-16T05:43:28.254Z] Removing intermediate container 0e095a7a0b7e [2021-06-16T05:43:28.254Z] ---> aa6563c51807 [2021-06-16T05:43:28.254Z] Step 21/23 : LABEL arch=amd64 [2021-06-16T05:43:28.254Z] ---> Running in ec974456348c [2021-06-16T05:43:28.515Z] Removing intermediate container ec974456348c [2021-06-16T05:43:28.515Z] ---> 923ed51cb45c [2021-06-16T05:43:28.515Z] Step 22/23 : LABEL git_sha=c9c344e94e1131edb24af4e6dce04edca984b298 [2021-06-16T05:43:28.515Z] ---> Running in 8fd6f7ae1610 [2021-06-16T05:43:28.515Z] Removing intermediate container 8fd6f7ae1610 [2021-06-16T05:43:28.515Z] ---> 96eb4f6a446e [2021-06-16T05:43:28.515Z] Step 23/23 : LABEL version=0.0.0 [2021-06-16T05:43:28.515Z] ---> Running in 2f4a0637b386 [2021-06-16T05:43:28.780Z] Removing intermediate container 2f4a0637b386 [2021-06-16T05:43:28.780Z] ---> 5bcaf9dac1cf [2021-06-16T05:43:28.780Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-06-16T05:43:28.780Z] Successfully built 5bcaf9dac1cf [2021-06-16T05:43:28.780Z] 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-16T05:43:29.908Z] ---> job-cost.sh [2021-06-16T05:43:29.909Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-LhP9 [2021-06-16T05:43:39.789Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-16T05:43:49.379Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-06-16T05:43:49.379Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-06-16T05:43:49.379Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-06-16T05:43:52.053Z] lf-activate-venv(): INFO: Adding /tmp/venv-LhP9/bin to PATH [2021-06-16T05:43:52.053Z] INFO: No Stack... [2021-06-16T05:43:52.053Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-16T05:43:52.314Z] INFO: Archiving Costs [Pipeline] sh [2021-06-16T05:43:52.657Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-06-16T05:43:52.657Z] + cut -d, -f6 [Pipeline] lock [2021-06-16T05:43:52.771Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-972-1-stack-cost] [2021-06-16T05:43:52.778Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-972-1-stack-cost] did not exist. Created. [2021-06-16T05:43:52.778Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-972-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-16T05:43:53.214Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-16T05:43:53.298Z] Stashed 1 file(s) [Pipeline] } [2021-06-16T05:43:53.321Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-972-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-16T05:44:07.722Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.271s coverage: 25.4% of statements [2021-06-16T05:44:07.722Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-06-16T05:44:07.722Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.242s coverage: 28.1% of statements [2021-06-16T05:44:07.722Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.253s coverage: 78.9% of statements [2021-06-16T05:44:07.722Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.247s coverage: 9.0% of statements [2021-06-16T05:44:07.722Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-06-16T05:44:07.722Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-06-16T05:44:07.722Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-06-16T05:44:07.722Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.291s coverage: 29.2% of statements [2021-06-16T05:44:07.722Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-06-16T05:44:07.722Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.334s coverage: 83.3% of statements [2021-06-16T05:44:07.722Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-06-16T05:44:07.722Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-06-16T05:44:07.722Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.341s coverage: 58.0% of statements [2021-06-16T05:44:14.965Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.989s coverage: 89.2% of statements [2021-06-16T05:44:14.965Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-06-16T05:44:14.965Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.180s coverage: 5.0% of statements [2021-06-16T05:44:14.965Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-06-16T05:44:14.965Z] GO111MODULE=on go vet ./... [2021-06-16T05:45:11.772Z] gofmt -l . [2021-06-16T05:45:11.773Z] [ "`gofmt -l .`" = "" ] [2021-06-16T05:45:11.773Z] ./bin/test-attribution-txt.sh [2021-06-16T05:45:11.773Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-16T05:45:11.837Z] $ docker stop --time=1 d5b7259138de426c2ace79d21262a16a2f64a725ac833fb6f15759695c6af6fc [2021-06-16T05:45:13.869Z] $ docker rm -f d5b7259138de426c2ace79d21262a16a2f64a725ac833fb6f15759695c6af6fc [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-16T05:45:14.999Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-16T05:45:15.045Z] Warning: overwriting stash ‘coverage-report’ [2021-06-16T05:45:15.643Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-16T05:45:16.405Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-16T05:45:16.762Z] + ls -al . [2021-06-16T05:45:16.763Z] total 244 [2021-06-16T05:45:16.763Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 16 05:45 . [2021-06-16T05:45:16.763Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 16 05:40 .. [2021-06-16T05:45:16.763Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 16 05:40 .dockerignore [2021-06-16T05:45:16.763Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 16 05:40 .git [2021-06-16T05:45:16.763Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 16 05:40 .github [2021-06-16T05:45:16.763Z] -rw-rw-r-- 1 jenkins jenkins 138 Jun 16 05:40 .gitignore [2021-06-16T05:45:16.763Z] -rw-rw-r-- 1 jenkins jenkins 987 Jun 16 05:40 Dockerfile.build [2021-06-16T05:45:16.763Z] -rw-rw-r-- 1 jenkins jenkins 894 Jun 16 05:40 Jenkinsfile [2021-06-16T05:45:16.763Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jun 16 05:40 LICENSE [2021-06-16T05:45:16.763Z] -rw-rw-r-- 1 jenkins jenkins 1026 Jun 16 05:40 Makefile [2021-06-16T05:45:16.763Z] -rw-rw-r-- 1 jenkins jenkins 7652 Jun 16 05:40 README.md [2021-06-16T05:45:16.763Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jun 16 05:40 RELEASE-NOTES.txt [2021-06-16T05:45:16.763Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 16 05:38 VERSION [2021-06-16T05:45:16.763Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 16 05:40 bin [2021-06-16T05:45:16.763Z] -rw-r--r-- 1 jenkins jenkins 126072 Jun 16 05:44 coverage.out [2021-06-16T05:45:16.763Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 16 05:40 example [2021-06-16T05:45:16.763Z] -rw-r--r-- 1 jenkins jenkins 576 Jun 16 05:45 go.mod [2021-06-16T05:45:16.763Z] -rw-r--r-- 1 jenkins jenkins 20294 Jun 16 05:42 go.sum [2021-06-16T05:45:16.763Z] drwxrwxr-x 15 jenkins jenkins 4096 Jun 16 05:40 internal [2021-06-16T05:45:16.763Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 16 05:40 openapi [2021-06-16T05:45:16.763Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 16 05:40 pkg [2021-06-16T05:45:16.763Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 16 05:40 snap [2021-06-16T05:45:16.763Z] -rw-rw-r-- 1 jenkins jenkins 222 Jun 16 05:40 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-16T05:45:17.149Z] + 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=c9c344e94e1131edb24af4e6dce04edca984b298 --label arch=arm64 --label version=0.0.0 . [2021-06-16T05:45:17.748Z] Sending build context to Docker daemon 2.805MB [2021-06-16T05:45:17.749Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-06-16T05:45:17.749Z] Step 2/23 : FROM ${BASE} AS builder [2021-06-16T05:45:17.749Z] ---> 2776a6b9033a [2021-06-16T05:45:17.749Z] Step 3/23 : WORKDIR /device-sdk-go [2021-06-16T05:45:18.022Z] ---> Running in bc632527765a [2021-06-16T05:45:18.619Z] Removing intermediate container bc632527765a [2021-06-16T05:45:18.619Z] ---> daafcd457ff6 [2021-06-16T05:45:18.619Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-16T05:45:18.619Z] ---> Running in 67418da51ebf [2021-06-16T05:45:19.218Z] Removing intermediate container 67418da51ebf [2021-06-16T05:45:19.218Z] ---> 269d14db2a7d [2021-06-16T05:45:19.218Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-16T05:45:19.218Z] ---> Running in 6e4d90475202 [2021-06-16T05:45:21.854Z] Removing intermediate container 6e4d90475202 [2021-06-16T05:45:21.854Z] ---> 88634bfdd218 [2021-06-16T05:45:21.854Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-06-16T05:45:21.854Z] ---> Running in 1a85e770df95 [2021-06-16T05:45:23.299Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-16T05:45:23.902Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-16T05:45:24.878Z] OK: 139 MiB in 46 packages [2021-06-16T05:45:25.858Z] Removing intermediate container 1a85e770df95 [2021-06-16T05:45:25.858Z] ---> e60020984d13 [2021-06-16T05:45:25.858Z] Step 7/23 : COPY . . [2021-06-16T05:45:27.295Z] ---> 1d6d5f1ffaeb [2021-06-16T05:45:27.295Z] Step 8/23 : RUN go mod download [2021-06-16T05:45:27.295Z] ---> Running in 903472ab828d [2021-06-16T05:45:29.937Z] Removing intermediate container 903472ab828d [2021-06-16T05:45:29.937Z] ---> 0fa8c60ecf73 [2021-06-16T05:45:29.937Z] Step 9/23 : RUN make build [2021-06-16T05:45:29.937Z] ---> Running in cd3b8ea309ba [2021-06-16T05:45:30.922Z] go mod tidy [2021-06-16T05:45:31.906Z] 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-16T05:46:04.296Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-06-16T05:46:05.738Z] Removing intermediate container cd3b8ea309ba [2021-06-16T05:46:05.738Z] ---> 8fae21a92b65 [2021-06-16T05:46:05.738Z] Step 10/23 : FROM alpine:3.12 [2021-06-16T05:46:06.332Z] 3.12: Pulling from library/alpine [2021-06-16T05:46:06.332Z] d2f70382dc9a: Pulling fs layer [2021-06-16T05:46:06.607Z] d2f70382dc9a: Verifying Checksum [2021-06-16T05:46:07.206Z] d2f70382dc9a: Pull complete [2021-06-16T05:46:07.206Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-16T05:46:07.206Z] Status: Downloaded newer image for alpine:3.12 [2021-06-16T05:46:07.206Z] ---> c4fd0aeabfcf [2021-06-16T05:46:07.206Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-16T05:46:07.479Z] ---> Running in 31c6af689ce4 [2021-06-16T05:46:08.080Z] Removing intermediate container 31c6af689ce4 [2021-06-16T05:46:08.080Z] ---> bf624a7e948f [2021-06-16T05:46:08.080Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-16T05:46:08.080Z] ---> Running in 8761ca49539e [2021-06-16T05:46:10.059Z] Removing intermediate container 8761ca49539e [2021-06-16T05:46:10.059Z] ---> cc634f4dfa25 [2021-06-16T05:46:10.059Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-06-16T05:46:10.334Z] ---> Running in ee71f5eb2315 [2021-06-16T05:46:11.770Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-16T05:46:12.364Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-16T05:46:12.958Z] (1/5) Installing libgcc (9.3.0-r2) [2021-06-16T05:46:12.958Z] (2/5) Installing libsodium (1.0.18-r0) [2021-06-16T05:46:13.230Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-06-16T05:46:13.507Z] (4/5) Installing libzmq (4.3.3-r0) [2021-06-16T05:46:13.507Z] (5/5) Installing zeromq (4.3.3-r0) [2021-06-16T05:46:13.507Z] Executing busybox-1.31.1-r20.trigger [2021-06-16T05:46:13.507Z] OK: 8 MiB in 19 packages [2021-06-16T05:46:14.959Z] Removing intermediate container ee71f5eb2315 [2021-06-16T05:46:14.959Z] ---> db669fc4e5ec [2021-06-16T05:46:14.959Z] Step 14/23 : WORKDIR / [2021-06-16T05:46:14.959Z] ---> Running in 2110b03df748 [2021-06-16T05:46:15.262Z] Removing intermediate container 2110b03df748 [2021-06-16T05:46:15.262Z] ---> df12504d4ae8 [2021-06-16T05:46:15.262Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-06-16T05:46:16.242Z] ---> 0e48da42f243 [2021-06-16T05:46:16.242Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-06-16T05:46:17.223Z] ---> 1c63f5cc898c [2021-06-16T05:46:17.223Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-06-16T05:46:17.836Z] ---> 522438f902a0 [2021-06-16T05:46:17.836Z] Step 18/23 : EXPOSE 59999 [2021-06-16T05:46:18.122Z] ---> Running in 30db9ccbcfa7 [2021-06-16T05:46:18.720Z] Removing intermediate container 30db9ccbcfa7 [2021-06-16T05:46:18.720Z] ---> 23d55fcf6700 [2021-06-16T05:46:18.720Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-06-16T05:46:18.720Z] ---> Running in 75b03df88540 [2021-06-16T05:46:19.318Z] Removing intermediate container 75b03df88540 [2021-06-16T05:46:19.318Z] ---> 1f4536d99d4d [2021-06-16T05:46:19.318Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-16T05:46:19.318Z] ---> Running in 3615cd1871b3 [2021-06-16T05:46:19.916Z] Removing intermediate container 3615cd1871b3 [2021-06-16T05:46:19.916Z] ---> 94946bc8e9fe [2021-06-16T05:46:19.916Z] Step 21/23 : LABEL arch=arm64 [2021-06-16T05:46:19.916Z] ---> Running in 0a3a031d8812 [2021-06-16T05:46:20.517Z] Removing intermediate container 0a3a031d8812 [2021-06-16T05:46:20.517Z] ---> 395700361992 [2021-06-16T05:46:20.517Z] Step 22/23 : LABEL git_sha=c9c344e94e1131edb24af4e6dce04edca984b298 [2021-06-16T05:46:20.517Z] ---> Running in a647f629cde9 [2021-06-16T05:46:21.112Z] Removing intermediate container a647f629cde9 [2021-06-16T05:46:21.113Z] ---> bab0f4c8b823 [2021-06-16T05:46:21.113Z] Step 23/23 : LABEL version=0.0.0 [2021-06-16T05:46:21.113Z] ---> Running in 80e32ca27844 [2021-06-16T05:46:21.708Z] Removing intermediate container 80e32ca27844 [2021-06-16T05:46:21.708Z] ---> 6aad73ce3b1b [2021-06-16T05:46:21.708Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-06-16T05:46:21.708Z] Successfully built 6aad73ce3b1b [2021-06-16T05:46:21.708Z] 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-16T05:46:22.588Z] ---> job-cost.sh [2021-06-16T05:46:22.588Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-UEDn [2021-06-16T05:47:03.078Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-16T05:48:24.816Z] lf-activate-venv(): INFO: Adding /tmp/venv-UEDn/bin to PATH [2021-06-16T05:48:24.816Z] INFO: No Stack... [2021-06-16T05:48:24.816Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-16T05:48:25.088Z] INFO: Archiving Costs [Pipeline] sh [2021-06-16T05:48:25.473Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-06-16T05:48:25.473Z] + cut -d, -f6 [Pipeline] lock [2021-06-16T05:48:25.561Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-972-1-stack-cost] [2021-06-16T05:48:25.567Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-972-1-stack-cost] did not exist. Created. [2021-06-16T05:48:25.567Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-972-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-16T05:48:26.012Z] /w/workspace/device-sdk-go/1@tmp/durable-fb53c1b5/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-fb53c1b5/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-16T05:48:26.405Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-16T05:48:26.448Z] Warning: overwriting stash ‘stack-cost’ [2021-06-16T05:48:26.620Z] Stashed 1 file(s) [Pipeline] } [2021-06-16T05:48:26.642Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-972-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-16T05:48:29.939Z] provisioning config files... [2021-06-16T05:48:29.950Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-972@tmp/config1099703987258499693tmp [Pipeline] { [Pipeline] sh [2021-06-16T05:48:30.309Z] + set +x [2021-06-16T05:48:30.309Z] + bash -s -- [2021-06-16T05:48:30.310Z] + curl -s https://codecov.io/bash [2021-06-16T05:48:30.310Z] [2021-06-16T05:48:30.310Z] _____ _ [2021-06-16T05:48:30.310Z] / ____| | | [2021-06-16T05:48:30.310Z] | | ___ __| | ___ ___ _____ __ [2021-06-16T05:48:30.310Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-16T05:48:30.310Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-16T05:48:30.310Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-16T05:48:30.310Z] Bash-1.0.3 [2021-06-16T05:48:30.310Z] [2021-06-16T05:48:30.310Z] [2021-06-16T05:48:30.310Z] ==> git version 2.24.4 found [2021-06-16T05:48:30.310Z] ==> 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-16T05:48:30.310Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-16T05:48:30.310Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-16T05:48:30.310Z] ==> Jenkins CI detected. [2021-06-16T05:48:30.310Z] project root: . [2021-06-16T05:48:30.310Z] --> token set from env [2021-06-16T05:48:30.310Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-16T05:48:30.580Z] ==> Running gcov in . (disable via -X gcov) [2021-06-16T05:48:30.580Z] ==> Python coveragepy not found [2021-06-16T05:48:30.580Z] ==> Searching for coverage reports in: [2021-06-16T05:48:30.580Z] + . [2021-06-16T05:48:30.580Z] -> Found 1 reports [2021-06-16T05:48:30.580Z] ==> Detecting git/mercurial file structure [2021-06-16T05:48:30.580Z] ==> Reading reports [2021-06-16T05:48:30.580Z] + ./coverage.out bytes=126072 [2021-06-16T05:48:30.580Z] ==> Appending adjustments [2021-06-16T05:48:30.580Z] https://docs.codecov.io/docs/fixing-reports [2021-06-16T05:48:30.844Z] + Found adjustments [2021-06-16T05:48:30.844Z] ==> Gzipping contents [2021-06-16T05:48:30.844Z] 20K /tmp/codecov.sW3jID.gz [2021-06-16T05:48:30.844Z] ==> Uploading reports [2021-06-16T05:48:30.844Z] url: https://codecov.io [2021-06-16T05:48:30.844Z] query: branch=PR-972&commit=c9c344e94e1131edb24af4e6dce04edca984b298&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-972%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=972&job=&cmd_args= [2021-06-16T05:48:30.844Z] -> Pinging Codecov [2021-06-16T05:48:30.844Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-972&commit=c9c344e94e1131edb24af4e6dce04edca984b298&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-972%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=972&job=&cmd_args= [2021-06-16T05:48:31.428Z] -> Uploading to [2021-06-16T05:48:31.429Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-16/7E55EF52A471D76F132DFD9A03CDDE97/c9c344e94e1131edb24af4e6dce04edca984b298/a37fe6fb-7eb9-458e-91f2-0948cf00b13d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210616%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210616T054831Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f4150e8d9d4d2e689c808a73bfb03634bbebceb01514c39e7aa441c0ba6f113e [2021-06-16T05:48:31.429Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-16T05:48:31.429Z] Dload Upload Total Spent Left Speed [2021-06-16T05:48:31.690Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16412 0 0 100 16412 0 46445 --:--:-- --:--:-- --:--:-- 46492 [2021-06-16T05:48:31.690Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/c9c344e94e1131edb24af4e6dce04edca984b298 [Pipeline] } [2021-06-16T05:48:31.712Z] 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-16T05:48:34.492Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-16T05:48:35.127Z] ---> package-listing.sh [2021-06-16T05:48:35.128Z] ++ facter osfamily [2021-06-16T05:48:35.128Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-16T05:48:35.391Z] + OS_FAMILY=redhat [2021-06-16T05:48:35.391Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-972 [2021-06-16T05:48:35.391Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-16T05:48:35.391Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-16T05:48:35.391Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-16T05:48:35.391Z] + PACKAGES=/tmp/packages_start.txt [2021-06-16T05:48:35.391Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-972 ']' [2021-06-16T05:48:35.391Z] + PACKAGES=/tmp/packages_end.txt [2021-06-16T05:48:35.391Z] + case "${OS_FAMILY}" in [2021-06-16T05:48:35.391Z] + rpm -qa [2021-06-16T05:48:35.391Z] + sort [2021-06-16T05:48:35.966Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-16T05:48:35.966Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-16T05:48:35.966Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-16T05:48:35.966Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-972 ']' [2021-06-16T05:48:35.966Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-972/archives/ [2021-06-16T05:48:35.966Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-972/archives/ [Pipeline] echo [2021-06-16T05:48:36.001Z] 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-972/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-06-16T05:48:36.310Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-16T05:48:36.915Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-16T05:48:36.915Z] [2021-06-16T05:48:36.915Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-16T05:48:37.272Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-16T05:48:37.272Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-16T05:48:37.272Z] df20fa9351a1: Pulling fs layer [2021-06-16T05:48:37.272Z] 36b3adc4ff6f: Pulling fs layer [2021-06-16T05:48:37.272Z] 8ad3a11d3b57: Pulling fs layer [2021-06-16T05:48:37.272Z] 46f8f816bc3b: Pulling fs layer [2021-06-16T05:48:37.272Z] 93b61091891f: Pulling fs layer [2021-06-16T05:48:37.272Z] 93b9cdb0e59b: Pulling fs layer [2021-06-16T05:48:37.272Z] 5e14af77c1be: Pulling fs layer [2021-06-16T05:48:37.272Z] 01666e4c0597: Pulling fs layer [2021-06-16T05:48:37.272Z] aa168da1d23b: Pulling fs layer [2021-06-16T05:48:37.272Z] 93b9cdb0e59b: Waiting [2021-06-16T05:48:37.272Z] 5e14af77c1be: Waiting [2021-06-16T05:48:37.272Z] 01666e4c0597: Waiting [2021-06-16T05:48:37.272Z] aa168da1d23b: Waiting [2021-06-16T05:48:37.272Z] 93b61091891f: Waiting [2021-06-16T05:48:37.272Z] 46f8f816bc3b: Waiting [2021-06-16T05:48:37.272Z] 36b3adc4ff6f: Verifying Checksum [2021-06-16T05:48:37.272Z] 36b3adc4ff6f: Download complete [2021-06-16T05:48:37.272Z] 46f8f816bc3b: Verifying Checksum [2021-06-16T05:48:37.272Z] 46f8f816bc3b: Download complete [2021-06-16T05:48:37.546Z] df20fa9351a1: Verifying Checksum [2021-06-16T05:48:37.546Z] df20fa9351a1: Download complete [2021-06-16T05:48:37.546Z] 93b9cdb0e59b: Verifying Checksum [2021-06-16T05:48:37.546Z] 93b9cdb0e59b: Download complete [2021-06-16T05:48:37.546Z] 93b61091891f: Verifying Checksum [2021-06-16T05:48:37.546Z] 93b61091891f: Download complete [2021-06-16T05:48:37.546Z] 5e14af77c1be: Verifying Checksum [2021-06-16T05:48:37.546Z] 5e14af77c1be: Download complete [2021-06-16T05:48:37.546Z] 01666e4c0597: Verifying Checksum [2021-06-16T05:48:37.546Z] 01666e4c0597: Download complete [2021-06-16T05:48:37.546Z] df20fa9351a1: Pull complete [2021-06-16T05:48:37.813Z] 8ad3a11d3b57: Verifying Checksum [2021-06-16T05:48:37.813Z] 8ad3a11d3b57: Download complete [2021-06-16T05:48:37.813Z] 36b3adc4ff6f: Pull complete [2021-06-16T05:48:38.395Z] 8ad3a11d3b57: Pull complete [2021-06-16T05:48:38.395Z] 46f8f816bc3b: Pull complete [2021-06-16T05:48:38.708Z] 93b61091891f: Pull complete [2021-06-16T05:48:38.970Z] 93b9cdb0e59b: Pull complete [2021-06-16T05:48:38.970Z] 5e14af77c1be: Pull complete [2021-06-16T05:48:38.970Z] 01666e4c0597: Pull complete [2021-06-16T05:48:40.388Z] aa168da1d23b: Verifying Checksum [2021-06-16T05:48:40.388Z] aa168da1d23b: Download complete [2021-06-16T05:48:45.721Z] aa168da1d23b: Pull complete [2021-06-16T05:48:45.721Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-16T05:48:45.721Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-16T05:48:45.721Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-16T05:48:45.828Z] prd-centos7-docker-4c-2g-1640 does not seem to be running inside a container [2021-06-16T05:48:45.886Z] $ 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-972/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-972 -v /w/workspace/dgexfoundry_device-sdk-go_PR-972:/w/workspace/dgexfoundry_device-sdk-go_PR-972:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-972@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-972@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-16T05:48:48.764Z] $ docker top 0c62c9f9df6f84fae056b4bddc3814762389fab5b9d3f9f7bfbcaf7bc1024b36 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-16T05:48:49.233Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-16T05:48:49.557Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-16T05:48:49.876Z] + ls /var/log/sa-host [2021-06-16T05:48:49.876Z] + sadf -c /var/log/sa-host/sa05 [2021-06-16T05:48:49.876Z] file_magic: OK [2021-06-16T05:48:49.876Z] HZ: Using current value: 100 [2021-06-16T05:48:49.876Z] file_header: OK [2021-06-16T05:48:49.876Z] 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-16T05:48:49.876Z] Statistics: [2021-06-16T05:48:49.876Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-16T05:48:49.876Z] File successfully converted to sysstat format version 12.2.1 [2021-06-16T05:48:49.876Z] + sadf -c /var/log/sa-host/sa16 [2021-06-16T05:48:49.876Z] file_magic: OK [2021-06-16T05:48:49.876Z] HZ: Using current value: 100 [2021-06-16T05:48:49.876Z] file_header: OK [2021-06-16T05:48:49.876Z] 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-16T05:48:49.876Z] Statistics: [2021-06-16T05:48:49.876Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-16T05:48:49.876Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-16T05:48:52.483Z] provisioning config files... [2021-06-16T05:48:52.495Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-972@tmp/config7536799514437263424tmp [Pipeline] { [Pipeline] echo [2021-06-16T05:48:52.560Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-16T05:48:52.900Z] ---> create-netrc.sh [Pipeline] } [2021-06-16T05:48:52.927Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-16T05:48:53.393Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-16T05:48:53.431Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-16T05:48:53.789Z] ---> sudo-logs.sh [2021-06-16T05:48:53.789Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-16T05:48:53.908Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-16T05:48:54.249Z] ---> job-cost.sh [2021-06-16T05:48:54.249Z] lf-activate-venv: SKIPPING [2021-06-16T05:48:54.249Z] DEBUG: total: 0.18000000715255737 [2021-06-16T05:48:54.250Z] INFO: Retrieving Stack Cost... [2021-06-16T05:48:55.646Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-16T05:48:55.916Z] INFO: Archiving Costs [Pipeline] echo [2021-06-16T05:48:55.952Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-16T05:48:56.307Z] ---> logs-deploy.sh [2021-06-16T05:48:56.307Z] lf-activate-venv: SKIPPING [2021-06-16T05:48:56.307Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-972/1 [2021-06-16T05:48:56.307Z] INFO: archiving workspace using pattern(s): [2021-06-16T05:48:57.263Z] Archives upload complete. [2021-06-16T05:48:57.263Z] INFO: archiving logs to Nexus