Pull request #962 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from f654371f5cbd69739ab6647064448fc290223e54+7da1a5c70de286a2cd09e8b91a7cd8a6ffb23a5f (46662e4b22788449db7c9d6722797ddfbb0ad38b) Running in Durability level: PERFORMANCE_OPTIMIZED 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-ssh1292898457282432150.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f4a1163c6b2b14014f487cca778b157dcbc6cc6b 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-ssh87211681761370481.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 f4a1163c6b2b14014f487cca778b157dcbc6cc6b The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-962/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-962/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1922604396614639429.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f4a1163c6b2b14014f487cca778b157dcbc6cc6b (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f4a1163c6b2b14014f487cca778b157dcbc6cc6b # timeout=10 Commit message: "Merge pull request #339 from ernestojeda/disable-snaps-temp" > 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 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-ssh3488814455698446664.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-962/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-962/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh7570498689445327720.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-15 in /w/workspace/dgexfoundry_device-sdk-go_PR-962 [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-962 # 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-962@tmp/jenkins-gitclient-ssh2405732486189352451.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 7da1a5c70de286a2cd09e8b91a7cd8a6ffb23a5f into PR head commit f654371f5cbd69739ab6647064448fc290223e54 Merge succeeded, producing f654371f5cbd69739ab6647064448fc290223e54 Checking out Revision f654371f5cbd69739ab6647064448fc290223e54 (PR-962) > 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-962@tmp/jenkins-gitclient-ssh2240568812869493494.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/962/head:refs/remotes/origin/PR-962 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f654371f5cbd69739ab6647064448fc290223e54 # 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-962@tmp/jenkins-gitclient-ssh405128436545448645.key > git merge 7da1a5c70de286a2cd09e8b91a7cd8a6ffb23a5f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f654371f5cbd69739ab6647064448fc290223e54 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-09T10:24:53.306Z] Timeout set to expire in 6 hr 0 min [Pipeline] { > git rev-list --no-walk 772187df650255a1e1cf469709344f6308cbb40a # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-09T10:24:53.398Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-09T10:24:53.439Z] ========================================================= [2021-06-09T10:24:53.439Z] EdgeX Global Pipelines Version Info [2021-06-09T10:24:53.439Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-09T10:24:54.844Z] ------------------- [2021-06-09T10:24:54.844Z] stable info: [2021-06-09T10:24:54.844Z] ------------------- [2021-06-09T10:24:54.844Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-09T10:24:54.844Z] Commit SHA: f4a1163c6b2b14014f487cca778b157dcbc6cc6b [2021-06-09T10:24:54.844Z] Message: update stable to v1.0.194 [2021-06-09T10:24:55.419Z] ------------------- [2021-06-09T10:24:55.419Z] experimental info: [2021-06-09T10:24:55.419Z] ------------------- [2021-06-09T10:24:55.419Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-09T10:24:55.419Z] Commit SHA: f4a1163c6b2b14014f487cca778b157dcbc6cc6b [2021-06-09T10:24:55.419Z] Message: update experimental to v1.0.194 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-09T10:24:55.561Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-06-09T10:24:55.592Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-06-09T10:24:55.619Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-09T10:24:55.648Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-09T10:24:55.677Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-09T10:24:55.716Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-09T10:24:55.743Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-09T10:24:55.769Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-09T10:24:55.798Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-06-09T10:24:55.823Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-09T10:24:55.854Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-09T10:24:55.883Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-06-09T10:24:55.912Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-09T10:24:55.939Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-09T10:24:55.965Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-09T10:24:55.990Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-06-09T10:24:56.018Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-09T10:24:56.043Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-09T10:24:56.068Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-09T10:24:56.094Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-09T10:24:56.125Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-06-09T10:24:56.151Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-06-09T10:24:56.177Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-09T10:24:56.204Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-09T10:24:56.229Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-09T10:24:56.252Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-09T10:24:56.275Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-962 [Pipeline] echo [2021-06-09T10:24:56.298Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-962 [Pipeline] echo [2021-06-09T10:24:56.324Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-962 [Pipeline] echo [2021-06-09T10:24:56.348Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f654371f5cbd69739ab6647064448fc290223e54 [Pipeline] echo [2021-06-09T10:24:56.372Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f654371 [Pipeline] echo [2021-06-09T10:24:56.402Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-09T10:24:56.482Z] provisioning config files... [2021-06-09T10:24:56.502Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-962@tmp/config2034107591941721202tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-09T10:24:56.831Z] ---> docker-login.sh [2021-06-09T10:24:56.831Z] nexus3.edgexfoundry.org:10001 [2021-06-09T10:24:57.097Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T10:24:57.102Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T10:24:57.102Z] Configure a credential helper to remove this warning. See [2021-06-09T10:24:57.102Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T10:24:57.102Z] [2021-06-09T10:24:57.102Z] Login Succeeded [2021-06-09T10:24:57.102Z] nexus3.edgexfoundry.org:10002 [2021-06-09T10:24:57.102Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T10:24:57.102Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T10:24:57.102Z] Configure a credential helper to remove this warning. See [2021-06-09T10:24:57.102Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T10:24:57.102Z] [2021-06-09T10:24:57.102Z] Login Succeeded [2021-06-09T10:24:57.364Z] nexus3.edgexfoundry.org:10003 [2021-06-09T10:24:57.364Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T10:24:57.364Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T10:24:57.364Z] Configure a credential helper to remove this warning. See [2021-06-09T10:24:57.364Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T10:24:57.364Z] [2021-06-09T10:24:57.364Z] Login Succeeded [2021-06-09T10:24:57.364Z] nexus3.edgexfoundry.org:10004 [2021-06-09T10:24:57.364Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T10:24:57.364Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T10:24:57.364Z] Configure a credential helper to remove this warning. See [2021-06-09T10:24:57.364Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T10:24:57.364Z] [2021-06-09T10:24:57.364Z] Login Succeeded [2021-06-09T10:24:57.364Z] docker.io [2021-06-09T10:24:57.630Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T10:24:57.898Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T10:24:57.898Z] Configure a credential helper to remove this warning. See [2021-06-09T10:24:57.898Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T10:24:57.898Z] [2021-06-09T10:24:57.898Z] Login Succeeded [2021-06-09T10:24:57.898Z] ---> docker-login.sh ends [Pipeline] } [2021-06-09T10:24:57.908Z] 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-09T10:24:58.443Z] + git log --format=format:%s -1 f654371f5cbd69739ab6647064448fc290223e54 [Pipeline] echo [2021-06-09T10:24:58.490Z] GIT_COMMIT: f654371f5cbd69739ab6647064448fc290223e54, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo [2021-06-09T10:24:58.505Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-09T10:24:59.088Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-09T10:24:59.088Z] [2021-06-09T10:24:59.088Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-09T10:24:59.407Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-09T10:24:59.407Z] latest: Pulling from edgex-devops/git-semver [2021-06-09T10:24:59.407Z] 31603596830f: Pulling fs layer [2021-06-09T10:24:59.407Z] 54011a49482f: Pulling fs layer [2021-06-09T10:24:59.407Z] a6820b24f6d8: Pulling fs layer [2021-06-09T10:24:59.407Z] f581987b2513: Pulling fs layer [2021-06-09T10:24:59.407Z] f581987b2513: Waiting [2021-06-09T10:24:59.407Z] 54011a49482f: Verifying Checksum [2021-06-09T10:24:59.407Z] 54011a49482f: Download complete [2021-06-09T10:24:59.670Z] 31603596830f: Verifying Checksum [2021-06-09T10:24:59.671Z] 31603596830f: Download complete [2021-06-09T10:24:59.671Z] f581987b2513: Verifying Checksum [2021-06-09T10:24:59.671Z] f581987b2513: Download complete [2021-06-09T10:24:59.671Z] a6820b24f6d8: Verifying Checksum [2021-06-09T10:24:59.671Z] a6820b24f6d8: Download complete [2021-06-09T10:24:59.932Z] 31603596830f: Pull complete [2021-06-09T10:24:59.932Z] 54011a49482f: Pull complete [2021-06-09T10:25:00.885Z] a6820b24f6d8: Pull complete [2021-06-09T10:25:01.147Z] f581987b2513: Pull complete [2021-06-09T10:25:01.408Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-09T10:25:01.408Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-09T10:25:01.408Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-09T10:25:01.494Z] prd-centos7-docker-4c-2g-15 does not seem to be running inside a container [2021-06-09T10:25:01.581Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-962 -v /w/workspace/dgexfoundry_device-sdk-go_PR-962:/w/workspace/dgexfoundry_device-sdk-go_PR-962:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-962@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-962@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-09T10:25:03.403Z] $ docker top eda87ae8c05bb66bb23772eda5374ce6ad0a2b64d6b4085d5871889ab7e5c619 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-09T10:25:03.528Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-09T10:25:03.528Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-09T10:25:03.663Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-09T10:25:03.664Z] $ docker exec eda87ae8c05bb66bb23772eda5374ce6ad0a2b64d6b4085d5871889ab7e5c619 ssh-agent [2021-06-09T10:25:03.779Z] SSH_AUTH_SOCK=/tmp/ssh-DUguFp2ik40d/agent.15 [2021-06-09T10:25:03.779Z] SSH_AGENT_PID=21 [2021-06-09T10:25:03.789Z] Running ssh-add (command line suppressed) [2021-06-09T10:25:03.890Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-962@tmp/private_key_2057864616572555619.key (/w/workspace/dgexfoundry_device-sdk-go_PR-962@tmp/private_key_2057864616572555619.key) [2021-06-09T10:25:03.907Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-09T10:25:04.213Z] + git tag --points-at HEAD [Pipeline] } [2021-06-09T10:25:04.227Z] $ docker exec --env ******** --env ******** eda87ae8c05bb66bb23772eda5374ce6ad0a2b64d6b4085d5871889ab7e5c619 ssh-agent -k [2021-06-09T10:25:04.319Z] unset SSH_AUTH_SOCK; [2021-06-09T10:25:04.319Z] unset SSH_AGENT_PID; [2021-06-09T10:25:04.319Z] echo Agent pid 21 killed; [2021-06-09T10:25:04.336Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-09T10:25:04.381Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-09T10:25:04.381Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-09T10:25:04.498Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-09T10:25:04.499Z] $ docker exec eda87ae8c05bb66bb23772eda5374ce6ad0a2b64d6b4085d5871889ab7e5c619 ssh-agent [2021-06-09T10:25:04.605Z] SSH_AUTH_SOCK=/tmp/ssh-RaXkNETVG9TV/agent.54 [2021-06-09T10:25:04.605Z] SSH_AGENT_PID=61 [2021-06-09T10:25:04.612Z] Running ssh-add (command line suppressed) [2021-06-09T10:25:04.710Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-962@tmp/private_key_5881870689663968788.key (/w/workspace/dgexfoundry_device-sdk-go_PR-962@tmp/private_key_5881870689663968788.key) [2021-06-09T10:25:04.728Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-09T10:25:05.038Z] + git semver init [2021-06-09T10:25:05.038Z] # -> Open(): unable to determine branch for HEAD [2021-06-09T10:25:05.038Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-962/.git [2021-06-09T10:25:05.038Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-962 [2021-06-09T10:25:05.038Z] # $SEMVER_REMOTE_NAME = origin [2021-06-09T10:25:05.038Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-09T10:25:05.038Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-09T10:25:05.038Z] # $SEMVER_BRANCH = PR-962 [2021-06-09T10:25:05.038Z] # $SEMVER_TEMP = /tmp/semver-255365942 [2021-06-09T10:25:05.038Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-06-09T10:25:05.981Z] # '/tmp/semver-255365942' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-962/.semver' [2021-06-09T10:25:05.981Z] # -> Force: false [2021-06-09T10:25:05.981Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-962/.semver [Pipeline] } [2021-06-09T10:25:05.993Z] $ docker exec --env ******** --env ******** eda87ae8c05bb66bb23772eda5374ce6ad0a2b64d6b4085d5871889ab7e5c619 ssh-agent -k [2021-06-09T10:25:06.099Z] unset SSH_AUTH_SOCK; [2021-06-09T10:25:06.099Z] unset SSH_AGENT_PID; [2021-06-09T10:25:06.099Z] echo Agent pid 61 killed; [2021-06-09T10:25:06.115Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-09T10:25:06.454Z] + git semver [Pipeline] } [2021-06-09T10:25:06.470Z] $ docker stop --time=1 eda87ae8c05bb66bb23772eda5374ce6ad0a2b64d6b4085d5871889ab7e5c619 [2021-06-09T10:25:07.754Z] $ docker rm -f eda87ae8c05bb66bb23772eda5374ce6ad0a2b64d6b4085d5871889ab7e5c619 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-09T10:25:08.138Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-09T10:25:08.394Z] Stashed 1 file(s) [Pipeline] echo [2021-06-09T10:25:08.398Z] [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-09T10:25:23.635Z] Still waiting to schedule task [2021-06-09T10:25:23.636Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-06-09T10:25:23.639Z] Still waiting to schedule task [2021-06-09T10:25:23.640Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-06-09T10:26:29.513Z] Running on prd-centos7-docker-4c-2g-21 in /w/workspace/dgexfoundry_device-sdk-go_PR-962 [Pipeline] { [Pipeline] ws [2021-06-09T10:26:29.533Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-06-09T10:26:29.632Z] Selected Git installation does not exist. Using Default [2021-06-09T10:26:29.632Z] The recommended git tool is: NONE [2021-06-09T10:26:31.946Z] using credential edgex-jenkins-ssh [2021-06-09T10:26:31.965Z] Cloning the remote Git repository [2021-06-09T10:26:31.653Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-06-09T10:26:31.719Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-06-09T10:26:31.752Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-09T10:26:31.752Z] > git --version # timeout=10 [2021-06-09T10:26:31.763Z] > git --version # 'git version 2.24.4' [2021-06-09T10:26:31.764Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-09T10:26:31.790Z] [INFO] Currently running in a labeled security context [2021-06-09T10:26:31.790Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-09T10:26:31.791Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh4068999968564588891.key [2021-06-09T10:26:31.829Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-09T10:26:33.475Z] Merging remotes/origin/master commit 7da1a5c70de286a2cd09e8b91a7cd8a6ffb23a5f into PR head commit f654371f5cbd69739ab6647064448fc290223e54 [2021-06-09T10:26:33.610Z] Merge succeeded, producing f654371f5cbd69739ab6647064448fc290223e54 [2021-06-09T10:26:33.611Z] Checking out Revision f654371f5cbd69739ab6647064448fc290223e54 (PR-962) [2021-06-09T10:26:32.780Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-09T10:26:32.791Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-09T10:26:32.808Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-09T10:26:32.820Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-09T10:26:32.821Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-09T10:26:32.823Z] [INFO] Currently running in a labeled security context [2021-06-09T10:26:32.823Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-09T10:26:32.823Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh6728034639518415307.key [2021-06-09T10:26:32.833Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/962/head:refs/remotes/origin/PR-962 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-09T10:26:33.278Z] > git config core.sparsecheckout # timeout=10 [2021-06-09T10:26:33.295Z] > git checkout -f f654371f5cbd69739ab6647064448fc290223e54 # timeout=10 [2021-06-09T10:26:33.340Z] > git remote # timeout=10 [2021-06-09T10:26:33.359Z] > git config --get remote.origin.url # timeout=10 [2021-06-09T10:26:33.380Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-09T10:26:33.381Z] [INFO] Currently running in a labeled security context [2021-06-09T10:26:33.381Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-09T10:26:33.381Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh840941163607347087.key [2021-06-09T10:26:33.395Z] > git merge 7da1a5c70de286a2cd09e8b91a7cd8a6ffb23a5f # timeout=10 [2021-06-09T10:26:33.406Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-09T10:26:33.417Z] > git config core.sparsecheckout # timeout=10 [2021-06-09T10:26:33.421Z] > git checkout -f f654371f5cbd69739ab6647064448fc290223e54 # timeout=10 [2021-06-09T10:26:37.043Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-09T10:26:38.012Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-09T10:26:38.360Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-09T10:26:38.667Z] + sudo service docker restart [2021-06-09T10:26:38.667Z] + true [2021-06-09T10:26:38.667Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-09T10:26:56.857Z] provisioning config files... [2021-06-09T10:26:56.874Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config7499036663449856802tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-09T10:26:57.191Z] ---> docker-login.sh [2021-06-09T10:26:57.191Z] nexus3.edgexfoundry.org:10001 [2021-06-09T10:26:57.453Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T10:26:57.453Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T10:26:57.453Z] Configure a credential helper to remove this warning. See [2021-06-09T10:26:57.453Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T10:26:57.453Z] [2021-06-09T10:26:57.453Z] Login Succeeded [2021-06-09T10:26:57.453Z] nexus3.edgexfoundry.org:10002 [2021-06-09T10:26:57.453Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T10:26:57.715Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T10:26:57.715Z] Configure a credential helper to remove this warning. See [2021-06-09T10:26:57.715Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T10:26:57.715Z] [2021-06-09T10:26:57.715Z] Login Succeeded [2021-06-09T10:26:57.715Z] nexus3.edgexfoundry.org:10003 [2021-06-09T10:26:57.715Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T10:26:57.715Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T10:26:57.715Z] Configure a credential helper to remove this warning. See [2021-06-09T10:26:57.715Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T10:26:57.715Z] [2021-06-09T10:26:57.715Z] Login Succeeded [2021-06-09T10:26:57.715Z] nexus3.edgexfoundry.org:10004 [2021-06-09T10:26:57.715Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T10:26:57.982Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T10:26:57.982Z] Configure a credential helper to remove this warning. See [2021-06-09T10:26:57.982Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T10:26:57.982Z] [2021-06-09T10:26:57.982Z] Login Succeeded [2021-06-09T10:26:57.982Z] docker.io [2021-06-09T10:26:57.982Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T10:26:58.243Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T10:26:58.243Z] Configure a credential helper to remove this warning. See [2021-06-09T10:26:58.243Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T10:26:58.243Z] [2021-06-09T10:26:58.243Z] Login Succeeded [2021-06-09T10:26:58.243Z] ---> docker-login.sh ends [Pipeline] } [2021-06-09T10:26:58.251Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-09T10:26:58.423Z] ========================================================= [2021-06-09T10:26:58.424Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-09T10:26:58.424Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-09T10:26:58.810Z] + 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-09T10:26:58.811Z] Sending build context to Docker daemon 2.634MB [2021-06-09T10:26:58.811Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-09T10:26:58.811Z] Step 2/8 : FROM ${BASE} [2021-06-09T10:26:59.075Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-09T10:26:59.075Z] 540db60ca938: Pulling fs layer [2021-06-09T10:26:59.075Z] adcc1eea9eea: Pulling fs layer [2021-06-09T10:26:59.075Z] 4c4ab2625f07: Pulling fs layer [2021-06-09T10:26:59.075Z] 0510c868ecb4: Pulling fs layer [2021-06-09T10:26:59.075Z] afea3b2eda06: Pulling fs layer [2021-06-09T10:26:59.075Z] 7809a108b3ef: Pulling fs layer [2021-06-09T10:26:59.075Z] f706445af74f: Pulling fs layer [2021-06-09T10:26:59.075Z] afea3b2eda06: Waiting [2021-06-09T10:26:59.075Z] 7809a108b3ef: Waiting [2021-06-09T10:26:59.075Z] f706445af74f: Waiting [2021-06-09T10:26:59.075Z] 0510c868ecb4: Waiting [2021-06-09T10:26:59.075Z] 4c4ab2625f07: Verifying Checksum [2021-06-09T10:26:59.075Z] 4c4ab2625f07: Download complete [2021-06-09T10:26:59.075Z] adcc1eea9eea: Verifying Checksum [2021-06-09T10:26:59.075Z] adcc1eea9eea: Download complete [2021-06-09T10:26:59.075Z] afea3b2eda06: Verifying Checksum [2021-06-09T10:26:59.075Z] afea3b2eda06: Download complete [2021-06-09T10:26:59.075Z] 7809a108b3ef: Verifying Checksum [2021-06-09T10:26:59.075Z] 7809a108b3ef: Download complete [2021-06-09T10:26:59.075Z] 540db60ca938: Verifying Checksum [2021-06-09T10:26:59.075Z] 540db60ca938: Download complete [2021-06-09T10:26:59.336Z] 540db60ca938: Pull complete [2021-06-09T10:26:59.336Z] adcc1eea9eea: Pull complete [2021-06-09T10:26:59.598Z] 4c4ab2625f07: Pull complete [2021-06-09T10:27:01.520Z] f706445af74f: Verifying Checksum [2021-06-09T10:27:01.520Z] f706445af74f: Download complete [2021-06-09T10:27:01.520Z] 0510c868ecb4: Verifying Checksum [2021-06-09T10:27:01.520Z] 0510c868ecb4: Download complete [2021-06-09T10:27:04.859Z] 0510c868ecb4: Pull complete [2021-06-09T10:27:04.859Z] afea3b2eda06: Pull complete [2021-06-09T10:27:04.859Z] 7809a108b3ef: Pull complete [2021-06-09T10:27:05.805Z] f706445af74f: Pull complete [2021-06-09T10:27:05.805Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-09T10:27:06.064Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-09T10:27:06.064Z] ---> b068be0155e3 [2021-06-09T10:27:06.064Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-09T10:27:10.277Z] ---> Running in 761618aab2bb [2021-06-09T10:27:10.277Z] Removing intermediate container 761618aab2bb [2021-06-09T10:27:10.277Z] ---> 13a9661f3314 [2021-06-09T10:27:10.277Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-09T10:27:10.277Z] ---> Running in c3644cd24981 [2021-06-09T10:27:10.277Z] Removing intermediate container c3644cd24981 [2021-06-09T10:27:10.277Z] ---> 38376fd5c4da [2021-06-09T10:27:10.277Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-06-09T10:27:10.538Z] ---> Running in fd7f04d7e272 [2021-06-09T10:27:10.800Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-09T10:27:12.198Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-09T10:27:13.141Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-06-09T10:27:13.401Z] (2/6) Installing libsodium (1.0.18-r0) [2021-06-09T10:27:13.401Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-06-09T10:27:13.662Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-06-09T10:27:13.662Z] (5/6) Installing libzmq (4.3.3-r1) [2021-06-09T10:27:13.930Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-06-09T10:27:13.930Z] Executing busybox-1.32.1-r6.trigger [2021-06-09T10:27:13.930Z] OK: 150 MiB in 46 packages [2021-06-09T10:27:14.192Z] Removing intermediate container fd7f04d7e272 [2021-06-09T10:27:14.192Z] ---> 492e374e3e5d [2021-06-09T10:27:14.192Z] Step 6/8 : WORKDIR /device-sdk-go [2021-06-09T10:27:14.454Z] ---> Running in 79b12947f74b [2021-06-09T10:27:14.454Z] Removing intermediate container 79b12947f74b [2021-06-09T10:27:14.454Z] ---> 89df9c17779c [2021-06-09T10:27:14.454Z] Step 7/8 : COPY . . [2021-06-09T10:27:14.714Z] ---> 5b1c940b9a6c [2021-06-09T10:27:14.714Z] Step 8/8 : RUN go mod download [2021-06-09T10:27:14.714Z] ---> Running in aa445013a1e7 [2021-06-09T10:27:26.974Z] Removing intermediate container aa445013a1e7 [2021-06-09T10:27:26.974Z] ---> 7b26d523f99a [2021-06-09T10:27:26.974Z] Successfully built 7b26d523f99a [2021-06-09T10:27:26.974Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-09T10:27:27.279Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-09T10:27:27.280Z] . [Pipeline] withDockerContainer [2021-06-09T10:27:27.360Z] prd-centos7-docker-4c-2g-21 does not seem to be running inside a container [2021-06-09T10:27:27.396Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-09T10:27:27.769Z] $ docker top 1dfa44f630b6ff3ce87d95c3c80be95b577e0ad33d48db60bcf989acfb429efb -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-09T10:27:28.148Z] + go version [2021-06-09T10:27:28.148Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-09T10:27:28.159Z] $ docker stop --time=1 1dfa44f630b6ff3ce87d95c3c80be95b577e0ad33d48db60bcf989acfb429efb [2021-06-09T10:27:29.355Z] $ docker rm -f 1dfa44f630b6ff3ce87d95c3c80be95b577e0ad33d48db60bcf989acfb429efb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-09T10:27:29.937Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-09T10:27:29.937Z] . [Pipeline] withDockerContainer [2021-06-09T10:27:30.018Z] prd-centos7-docker-4c-2g-21 does not seem to be running inside a container [2021-06-09T10:27:30.283Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-09T10:27:30.693Z] $ docker top 47ed09a4a09f69dac553f468c5be3f6bde94bdb10119e81e6cbbf7f38ccf0739 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-09T10:27:31.080Z] + go mod tidy [Pipeline] sh [2021-06-09T10:27:31.642Z] + make test [2021-06-09T10:27:31.642Z] go mod tidy [2021-06-09T10:27:31.642Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-06-09T10:27:37.009Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-06-09T10:27:59.122Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-06-09T10:27:59.122Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-06-09T10:27:59.122Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-06-09T10:28:01.674Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.057s coverage: 25.4% of statements [2021-06-09T10:28:01.674Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-06-09T10:28:01.674Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.055s coverage: 28.1% of statements [2021-06-09T10:28:01.947Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.053s coverage: 78.9% of statements [2021-06-09T10:28:02.210Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.045s coverage: 9.0% of statements [2021-06-09T10:28:02.210Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-06-09T10:28:02.210Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-06-09T10:28:02.210Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-06-09T10:28:02.791Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.068s coverage: 29.2% of statements [2021-06-09T10:28:02.791Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-06-09T10:28:04.193Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.052s coverage: 83.3% of statements [2021-06-09T10:28:04.193Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-06-09T10:28:04.193Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-06-09T10:28:04.193Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.078s coverage: 58.0% of statements [2021-06-09T10:28:05.146Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.811s coverage: 89.2% of statements [2021-06-09T10:28:05.146Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-06-09T10:28:05.146Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.041s coverage: 5.0% of statements [2021-06-09T10:28:05.146Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-06-09T10:28:05.146Z] GO111MODULE=on go vet ./... [2021-06-09T10:28:23.336Z] gofmt -l . [2021-06-09T10:28:23.336Z] [ "`gofmt -l .`" = "" ] [2021-06-09T10:28:23.336Z] ./bin/test-attribution-txt.sh [2021-06-09T10:28:23.336Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-09T10:28:23.345Z] $ docker stop --time=1 47ed09a4a09f69dac553f468c5be3f6bde94bdb10119e81e6cbbf7f38ccf0739 [2021-06-09T10:28:24.784Z] $ docker rm -f 47ed09a4a09f69dac553f468c5be3f6bde94bdb10119e81e6cbbf7f38ccf0739 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-09T10:28:25.237Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-09T10:28:25.466Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-06-09T10:28:26.598Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-09T10:28:26.889Z] + ls -al . [2021-06-09T10:28:26.889Z] total 212 [2021-06-09T10:28:26.889Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jun 9 10:28 . [2021-06-09T10:28:26.889Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 9 10:26 .. [2021-06-09T10:28:26.889Z] drwxrwxr-x. 2 jenkins jenkins 64 Jun 9 10:26 bin [2021-06-09T10:28:26.889Z] -rw-r--r--. 1 jenkins jenkins 126071 Jun 9 10:28 coverage.out [2021-06-09T10:28:26.889Z] -rw-rw-r--. 1 jenkins jenkins 987 Jun 9 10:26 Dockerfile.build [2021-06-09T10:28:26.889Z] -rw-rw-r--. 1 jenkins jenkins 140 Jun 9 10:26 .dockerignore [2021-06-09T10:28:26.889Z] drwxrwxr-x. 5 jenkins jenkins 62 Jun 9 10:26 example [2021-06-09T10:28:26.889Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 9 10:26 .git [2021-06-09T10:28:26.889Z] drwxrwxr-x. 2 jenkins jenkins 103 Jun 9 10:26 .github [2021-06-09T10:28:26.889Z] -rw-rw-r--. 1 jenkins jenkins 138 Jun 9 10:26 .gitignore [2021-06-09T10:28:26.889Z] -rw-r--r--. 1 jenkins jenkins 575 Jun 9 10:28 go.mod [2021-06-09T10:28:26.889Z] -rw-r--r--. 1 jenkins jenkins 20499 Jun 9 10:27 go.sum [2021-06-09T10:28:26.889Z] drwxrwxr-x. 15 jenkins jenkins 224 Jun 9 10:26 internal [2021-06-09T10:28:26.889Z] -rw-rw-r--. 1 jenkins jenkins 894 Jun 9 10:26 Jenkinsfile [2021-06-09T10:28:26.889Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jun 9 10:26 LICENSE [2021-06-09T10:28:26.889Z] -rw-rw-r--. 1 jenkins jenkins 1026 Jun 9 10:26 Makefile [2021-06-09T10:28:26.889Z] drwxrwxr-x. 4 jenkins jenkins 26 Jun 9 10:26 openapi [2021-06-09T10:28:26.889Z] drwxrwxr-x. 5 jenkins jenkins 50 Jun 9 10:26 pkg [2021-06-09T10:28:26.889Z] -rw-rw-r--. 1 jenkins jenkins 7652 Jun 9 10:26 README.md [2021-06-09T10:28:26.889Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jun 9 10:26 RELEASE-NOTES.txt [2021-06-09T10:28:26.889Z] drwxrwxr-x. 4 jenkins jenkins 54 Jun 9 10:26 snap [2021-06-09T10:28:26.889Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 9 10:25 VERSION [2021-06-09T10:28:26.889Z] -rw-rw-r--. 1 jenkins jenkins 222 Jun 9 10:26 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-09T10:28:27.201Z] + 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=f654371f5cbd69739ab6647064448fc290223e54 --label arch=amd64 --label version=0.0.0 . [2021-06-09T10:28:27.201Z] Sending build context to Docker daemon 2.761MB [2021-06-09T10:28:27.201Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-06-09T10:28:27.201Z] Step 2/23 : FROM ${BASE} AS builder [2021-06-09T10:28:27.201Z] ---> 7b26d523f99a [2021-06-09T10:28:27.201Z] Step 3/23 : WORKDIR /device-sdk-go [2021-06-09T10:28:27.201Z] ---> Running in 108c83728de9 [2021-06-09T10:28:27.469Z] Removing intermediate container 108c83728de9 [2021-06-09T10:28:27.469Z] ---> ec1427182999 [2021-06-09T10:28:27.469Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-09T10:28:27.469Z] ---> Running in 11843a1e9020 [2021-06-09T10:28:27.469Z] Removing intermediate container 11843a1e9020 [2021-06-09T10:28:27.469Z] ---> d22e79f94e4b [2021-06-09T10:28:27.469Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-09T10:28:27.469Z] ---> Running in df24f3a38d75 [2021-06-09T10:28:28.051Z] Removing intermediate container df24f3a38d75 [2021-06-09T10:28:28.051Z] ---> bdf34b291de2 [2021-06-09T10:28:28.051Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-06-09T10:28:28.051Z] ---> Running in 93a2194af124 [2021-06-09T10:28:28.311Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-09T10:28:28.882Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-09T10:28:29.457Z] OK: 150 MiB in 46 packages [2021-06-09T10:28:29.718Z] Removing intermediate container 93a2194af124 [2021-06-09T10:28:29.718Z] ---> 10782a64e007 [2021-06-09T10:28:29.718Z] Step 7/23 : COPY . . [2021-06-09T10:28:29.981Z] ---> e1d72d8f4148 [2021-06-09T10:28:29.981Z] Step 8/23 : RUN go mod download [2021-06-09T10:28:29.981Z] ---> Running in 93b297f52235 [2021-06-09T10:28:30.553Z] Removing intermediate container 93b297f52235 [2021-06-09T10:28:30.553Z] ---> c0187a295b69 [2021-06-09T10:28:30.553Z] Step 9/23 : RUN make build [2021-06-09T10:28:30.553Z] ---> Running in 21b022f91de3 [2021-06-09T10:28:30.815Z] go mod tidy [2021-06-09T10:28:30.815Z] 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-09T10:28:40.904Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-06-09T10:28:42.292Z] Removing intermediate container 21b022f91de3 [2021-06-09T10:28:42.292Z] ---> be71dcb40cea [2021-06-09T10:28:42.292Z] Step 10/23 : FROM alpine:3.12 [2021-06-09T10:28:42.553Z] 3.12: Pulling from library/alpine [2021-06-09T10:28:42.814Z] 339de151aab4: Pulling fs layer [2021-06-09T10:28:42.814Z] 339de151aab4: Verifying Checksum [2021-06-09T10:28:42.814Z] 339de151aab4: Download complete [2021-06-09T10:28:43.075Z] 339de151aab4: Pull complete [2021-06-09T10:28:43.075Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-06-09T10:28:43.075Z] Status: Downloaded newer image for alpine:3.12 [2021-06-09T10:28:43.075Z] ---> 13621d1b12d4 [2021-06-09T10:28:43.075Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-09T10:28:43.075Z] ---> Running in 1981f84a0d02 [2021-06-09T10:28:43.075Z] Removing intermediate container 1981f84a0d02 [2021-06-09T10:28:43.075Z] ---> 59daa2cfdf9c [2021-06-09T10:28:43.075Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-09T10:28:43.075Z] ---> Running in 46155578a81b [2021-06-09T10:28:43.648Z] Removing intermediate container 46155578a81b [2021-06-09T10:28:43.648Z] ---> 462dbcbd5ecb [2021-06-09T10:28:43.648Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-06-09T10:28:43.648Z] ---> Running in bfcf53bce7e0 [2021-06-09T10:28:43.917Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-06-09T10:28:44.861Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-06-09T10:28:45.358Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-24 in /w/workspace/dgexfoundry_device-sdk-go_PR-962 [Pipeline] { [Pipeline] ws [2021-06-09T10:28:45.377Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-06-09T10:28:45.654Z] Selected Git installation does not exist. Using Default [2021-06-09T10:28:45.654Z] The recommended git tool is: NONE [2021-06-09T10:28:45.800Z] (1/5) Installing libgcc (9.3.0-r2) [2021-06-09T10:28:45.800Z] (2/5) Installing libsodium (1.0.18-r0) [2021-06-09T10:28:45.800Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-06-09T10:28:46.375Z] (4/5) Installing libzmq (4.3.3-r0) [2021-06-09T10:28:46.375Z] (5/5) Installing zeromq (4.3.3-r0) [2021-06-09T10:28:46.638Z] Executing busybox-1.31.1-r20.trigger [2021-06-09T10:28:46.638Z] OK: 8 MiB in 19 packages [2021-06-09T10:28:46.904Z] Removing intermediate container bfcf53bce7e0 [2021-06-09T10:28:46.904Z] ---> c0514550e305 [2021-06-09T10:28:46.904Z] Step 14/23 : WORKDIR / [2021-06-09T10:28:46.904Z] ---> Running in 704901f83076 [2021-06-09T10:28:46.904Z] Removing intermediate container 704901f83076 [2021-06-09T10:28:46.904Z] ---> 288736b01991 [2021-06-09T10:28:46.904Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-06-09T10:28:47.164Z] ---> 200e5cbf94c4 [2021-06-09T10:28:47.164Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-06-09T10:28:47.424Z] ---> d2443e44162a [2021-06-09T10:28:47.424Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-06-09T10:28:47.424Z] ---> 5600c51dbb6e [2021-06-09T10:28:47.424Z] Step 18/23 : EXPOSE 59999 [2021-06-09T10:28:47.424Z] ---> Running in 5c4bbfa96b09 [2021-06-09T10:28:47.686Z] Removing intermediate container 5c4bbfa96b09 [2021-06-09T10:28:47.686Z] ---> e88e45651ef3 [2021-06-09T10:28:47.686Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-06-09T10:28:47.686Z] ---> Running in 55b7068ba12b [2021-06-09T10:28:47.686Z] Removing intermediate container 55b7068ba12b [2021-06-09T10:28:47.686Z] ---> b9b1c3d1b63a [2021-06-09T10:28:47.686Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-09T10:28:47.686Z] ---> Running in b35ff40230e1 [2021-06-09T10:28:47.686Z] Removing intermediate container b35ff40230e1 [2021-06-09T10:28:47.686Z] ---> 427c6ddb036d [2021-06-09T10:28:47.686Z] Step 21/23 : LABEL arch=amd64 [2021-06-09T10:28:47.946Z] ---> Running in 6579e27967a1 [2021-06-09T10:28:47.946Z] Removing intermediate container 6579e27967a1 [2021-06-09T10:28:47.946Z] ---> 90604863ba50 [2021-06-09T10:28:47.946Z] Step 22/23 : LABEL git_sha=f654371f5cbd69739ab6647064448fc290223e54 [2021-06-09T10:28:47.946Z] ---> Running in 23d959c1da05 [2021-06-09T10:28:47.946Z] Removing intermediate container 23d959c1da05 [2021-06-09T10:28:47.946Z] ---> fae2419dd17a [2021-06-09T10:28:47.946Z] Step 23/23 : LABEL version=0.0.0 [2021-06-09T10:28:47.946Z] ---> Running in 75aad008f4e3 [2021-06-09T10:28:48.210Z] Removing intermediate container 75aad008f4e3 [2021-06-09T10:28:48.210Z] ---> 152a3648749f [2021-06-09T10:28:48.210Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-06-09T10:28:48.210Z] Successfully built 152a3648749f [2021-06-09T10:28:48.210Z] 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-09T10:28:48.966Z] ---> job-cost.sh [2021-06-09T10:28:48.966Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-4G2O [2021-06-09T10:28:52.273Z] using credential edgex-jenkins-ssh [2021-06-09T10:28:52.297Z] Cloning the remote Git repository [2021-06-09T10:28:52.367Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-06-09T10:28:52.503Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-06-09T10:28:52.613Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-09T10:28:52.614Z] > git --version # timeout=10 [2021-06-09T10:28:52.637Z] > git --version # 'git version 2.17.1' [2021-06-09T10:28:52.638Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-09T10:28:52.744Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-09T10:28:54.022Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-09T10:28:54.043Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-09T10:28:54.080Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-09T10:28:54.132Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-09T10:28:54.133Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-09T10:28:54.146Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/962/head:refs/remotes/origin/PR-962 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-09T10:28:54.692Z] Merging remotes/origin/master commit 7da1a5c70de286a2cd09e8b91a7cd8a6ffb23a5f into PR head commit f654371f5cbd69739ab6647064448fc290223e54 [2021-06-09T10:28:54.969Z] Merge succeeded, producing f654371f5cbd69739ab6647064448fc290223e54 [2021-06-09T10:28:54.970Z] Checking out Revision f654371f5cbd69739ab6647064448fc290223e54 (PR-962) [2021-06-09T10:28:54.713Z] > git config core.sparsecheckout # timeout=10 [2021-06-09T10:28:54.736Z] > git checkout -f f654371f5cbd69739ab6647064448fc290223e54 # timeout=10 [2021-06-09T10:28:54.855Z] > git remote # timeout=10 [2021-06-09T10:28:54.881Z] > git config --get remote.origin.url # timeout=10 [2021-06-09T10:28:54.906Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-09T10:28:54.918Z] > git merge 7da1a5c70de286a2cd09e8b91a7cd8a6ffb23a5f # timeout=10 [2021-06-09T10:28:54.943Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-09T10:28:54.976Z] > git config core.sparsecheckout # timeout=10 [2021-06-09T10:28:55.001Z] > git checkout -f f654371f5cbd69739ab6647064448fc290223e54 # timeout=10 [2021-06-09T10:28:57.130Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-09T10:28:59.504Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2021-06-09T10:28:59.801Z] [2021-06-09T10:28:59.801Z] GitHub has been notified of this commit’s build result [2021-06-09T10:28:59.801Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-09T10:29:00.826Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-09T10:29:01.259Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-09T10:29:01.613Z] + sudo service docker restart [2021-06-09T10:29:01.613Z] + true [2021-06-09T10:29:12.089Z] lf-activate-venv(): INFO: Adding /tmp/venv-4G2O/bin to PATH [2021-06-09T10:29:12.090Z] INFO: No Stack... [2021-06-09T10:29:12.663Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-09T10:29:13.234Z] INFO: Archiving Costs [Pipeline] sh [2021-06-09T10:29:13.530Z] + cut -d, -f6 [2021-06-09T10:29:13.530Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [Pipeline] lock [2021-06-09T10:29:13.560Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-962-2-stack-cost] [2021-06-09T10:29:13.569Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-962-2-stack-cost] did not exist. Created. [2021-06-09T10:29:13.569Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-962-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-09T10:29:13.896Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-09T10:29:13.949Z] Stashed 1 file(s) [Pipeline] } [2021-06-09T10:29:13.962Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-962-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-09T10:29:19.993Z] provisioning config files... [2021-06-09T10:29:20.022Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config5967589718562652223tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-09T10:29:20.438Z] ---> docker-login.sh [2021-06-09T10:29:20.438Z] nexus3.edgexfoundry.org:10001 [2021-06-09T10:29:21.430Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T10:29:21.704Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T10:29:21.705Z] Configure a credential helper to remove this warning. See [2021-06-09T10:29:21.705Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T10:29:21.705Z] [2021-06-09T10:29:21.705Z] Login Succeeded [2021-06-09T10:29:21.705Z] nexus3.edgexfoundry.org:10002 [2021-06-09T10:29:22.305Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T10:29:22.305Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T10:29:22.305Z] Configure a credential helper to remove this warning. See [2021-06-09T10:29:22.305Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T10:29:22.305Z] [2021-06-09T10:29:22.305Z] Login Succeeded [2021-06-09T10:29:22.577Z] nexus3.edgexfoundry.org:10003 [2021-06-09T10:29:22.852Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T10:29:23.128Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T10:29:23.128Z] Configure a credential helper to remove this warning. See [2021-06-09T10:29:23.128Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T10:29:23.128Z] [2021-06-09T10:29:23.128Z] Login Succeeded [2021-06-09T10:29:23.128Z] nexus3.edgexfoundry.org:10004 [2021-06-09T10:29:23.403Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T10:29:23.681Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T10:29:23.681Z] Configure a credential helper to remove this warning. See [2021-06-09T10:29:23.681Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T10:29:23.681Z] [2021-06-09T10:29:23.681Z] Login Succeeded [2021-06-09T10:29:23.681Z] docker.io [2021-06-09T10:29:23.956Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T10:29:24.564Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T10:29:24.564Z] Configure a credential helper to remove this warning. See [2021-06-09T10:29:24.564Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T10:29:24.564Z] [2021-06-09T10:29:24.564Z] Login Succeeded [2021-06-09T10:29:24.564Z] ---> docker-login.sh ends [Pipeline] } [2021-06-09T10:29:24.584Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-09T10:29:24.988Z] ========================================================= [2021-06-09T10:29:24.988Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-09T10:29:24.988Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-09T10:29:25.339Z] + 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-09T10:29:25.950Z] Sending build context to Docker daemon 2.637MB [2021-06-09T10:29:25.950Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-09T10:29:25.950Z] Step 2/8 : FROM ${BASE} [2021-06-09T10:29:26.224Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-09T10:29:26.225Z] 595b0fe564bb: Pulling fs layer [2021-06-09T10:29:26.225Z] 7186ed65a4f7: Pulling fs layer [2021-06-09T10:29:26.225Z] 316046926c0a: Pulling fs layer [2021-06-09T10:29:26.225Z] 4ebd0625c992: Pulling fs layer [2021-06-09T10:29:26.225Z] 207e8628e3a3: Pulling fs layer [2021-06-09T10:29:26.225Z] c791037a9be2: Pulling fs layer [2021-06-09T10:29:26.225Z] ffd874e62e21: Pulling fs layer [2021-06-09T10:29:26.225Z] 4ebd0625c992: Waiting [2021-06-09T10:29:26.225Z] 207e8628e3a3: Waiting [2021-06-09T10:29:26.225Z] c791037a9be2: Waiting [2021-06-09T10:29:26.225Z] ffd874e62e21: Waiting [2021-06-09T10:29:26.225Z] 316046926c0a: Verifying Checksum [2021-06-09T10:29:26.225Z] 316046926c0a: Download complete [2021-06-09T10:29:26.225Z] 7186ed65a4f7: Download complete [2021-06-09T10:29:26.225Z] 207e8628e3a3: Download complete [2021-06-09T10:29:26.225Z] 595b0fe564bb: Verifying Checksum [2021-06-09T10:29:26.225Z] 595b0fe564bb: Download complete [2021-06-09T10:29:26.225Z] c791037a9be2: Download complete [2021-06-09T10:29:27.221Z] 595b0fe564bb: Pull complete [2021-06-09T10:29:27.504Z] 7186ed65a4f7: Pull complete [2021-06-09T10:29:28.103Z] 316046926c0a: Pull complete [2021-06-09T10:29:28.379Z] ffd874e62e21: Verifying Checksum [2021-06-09T10:29:28.379Z] ffd874e62e21: Download complete [2021-06-09T10:29:30.350Z] 4ebd0625c992: Verifying Checksum [2021-06-09T10:29:30.350Z] 4ebd0625c992: Download complete [2021-06-09T10:29:40.507Z] 4ebd0625c992: Pull complete [2021-06-09T10:29:40.507Z] 207e8628e3a3: Pull complete [2021-06-09T10:29:40.507Z] c791037a9be2: Pull complete [2021-06-09T10:29:43.932Z] ffd874e62e21: Pull complete [2021-06-09T10:29:43.932Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-06-09T10:29:43.932Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-09T10:29:43.932Z] ---> cfc18b08335c [2021-06-09T10:29:43.932Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-09T10:29:45.571Z] ---> Running in 1682ccb478dc [2021-06-09T10:29:45.571Z] Removing intermediate container 1682ccb478dc [2021-06-09T10:29:45.571Z] ---> 6c9d89712cd3 [2021-06-09T10:29:45.571Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-09T10:29:45.891Z] ---> Running in 3e73d6ba35da [2021-06-09T10:29:48.537Z] Removing intermediate container 3e73d6ba35da [2021-06-09T10:29:48.537Z] ---> 46e329ddb7cb [2021-06-09T10:29:48.537Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-06-09T10:29:48.537Z] ---> Running in 07dedb90d076 [2021-06-09T10:29:49.977Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-09T10:29:50.568Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-09T10:29:51.543Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-06-09T10:29:51.543Z] (2/6) Installing libsodium (1.0.18-r0) [2021-06-09T10:29:51.816Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-06-09T10:29:51.816Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-06-09T10:29:51.816Z] (5/6) Installing libzmq (4.3.3-r1) [2021-06-09T10:29:52.089Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-06-09T10:29:52.089Z] Executing busybox-1.32.1-r6.trigger [2021-06-09T10:29:52.089Z] OK: 139 MiB in 46 packages [2021-06-09T10:29:53.520Z] Removing intermediate container 07dedb90d076 [2021-06-09T10:29:53.520Z] ---> 6b3348a883a2 [2021-06-09T10:29:53.520Z] Step 6/8 : WORKDIR /device-sdk-go [2021-06-09T10:29:53.520Z] ---> Running in 66465caeccb1 [2021-06-09T10:29:54.118Z] Removing intermediate container 66465caeccb1 [2021-06-09T10:29:54.118Z] ---> a0b3ed619a15 [2021-06-09T10:29:54.118Z] Step 7/8 : COPY . . [2021-06-09T10:29:55.601Z] ---> 247e90496129 [2021-06-09T10:29:55.601Z] Step 8/8 : RUN go mod download [2021-06-09T10:29:55.601Z] ---> Running in c1b27cc56264 [2021-06-09T10:30:22.458Z] Removing intermediate container c1b27cc56264 [2021-06-09T10:30:22.458Z] ---> 9816cf799a26 [2021-06-09T10:30:22.458Z] Successfully built 9816cf799a26 [2021-06-09T10:30:22.458Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-09T10:30:22.819Z] + docker inspect -f . ci-base-image-arm64 [2021-06-09T10:30:22.819Z] . [Pipeline] withDockerContainer [2021-06-09T10:30:23.077Z] prd-ubuntu18.04-docker-arm64-4c-16g-24 does not seem to be running inside a container [2021-06-09T10:30:23.172Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-09T10:30:24.918Z] $ docker top 5e0d9f10ce426484d78872e870076514a24824fc9d603e0fe98f4bb8f8841313 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-09T10:30:25.910Z] + go version [2021-06-09T10:30:25.910Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-06-09T10:30:25.936Z] $ docker stop --time=1 5e0d9f10ce426484d78872e870076514a24824fc9d603e0fe98f4bb8f8841313 [2021-06-09T10:30:27.860Z] $ docker rm -f 5e0d9f10ce426484d78872e870076514a24824fc9d603e0fe98f4bb8f8841313 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-09T10:30:28.744Z] + docker inspect -f . ci-base-image-arm64 [2021-06-09T10:30:28.745Z] . [Pipeline] withDockerContainer [2021-06-09T10:30:29.029Z] prd-ubuntu18.04-docker-arm64-4c-16g-24 does not seem to be running inside a container [2021-06-09T10:30:29.110Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-09T10:30:30.860Z] $ docker top 3eb4a9ae341b8fcf4ad5424d05deb326c82c73c1210f42753ade9f21ee430544 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-09T10:30:31.860Z] + go mod tidy [Pipeline] sh [2021-06-09T10:30:33.149Z] + make test [2021-06-09T10:30:33.149Z] go mod tidy [2021-06-09T10:30:33.755Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-06-09T10:31:00.608Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-06-09T10:32:22.584Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-06-09T10:32:22.585Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-06-09T10:32:22.585Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-06-09T10:32:29.379Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.355s coverage: 25.4% of statements [2021-06-09T10:32:29.379Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-06-09T10:32:29.379Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.237s coverage: 28.1% of statements [2021-06-09T10:32:29.379Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.313s coverage: 78.9% of statements [2021-06-09T10:32:29.379Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.207s coverage: 9.0% of statements [2021-06-09T10:32:29.379Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-06-09T10:32:29.379Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-06-09T10:32:29.379Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-06-09T10:32:29.662Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.345s coverage: 29.2% of statements [2021-06-09T10:32:29.662Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-06-09T10:32:32.347Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.255s coverage: 83.3% of statements [2021-06-09T10:32:32.348Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-06-09T10:32:32.348Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-06-09T10:32:32.348Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.426s coverage: 58.0% of statements [2021-06-09T10:32:36.668Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.090s coverage: 89.2% of statements [2021-06-09T10:32:36.668Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-06-09T10:32:36.668Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.204s coverage: 5.0% of statements [2021-06-09T10:32:36.668Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-06-09T10:32:36.668Z] GO111MODULE=on go vet ./... [2021-06-09T10:33:34.271Z] gofmt -l . [2021-06-09T10:33:34.271Z] [ "`gofmt -l .`" = "" ] [2021-06-09T10:33:34.271Z] ./bin/test-attribution-txt.sh [2021-06-09T10:33:36.250Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-09T10:33:36.273Z] $ docker stop --time=1 3eb4a9ae341b8fcf4ad5424d05deb326c82c73c1210f42753ade9f21ee430544 [2021-06-09T10:33:38.431Z] $ docker rm -f 3eb4a9ae341b8fcf4ad5424d05deb326c82c73c1210f42753ade9f21ee430544 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-09T10:33:39.573Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-09T10:33:39.612Z] Warning: overwriting stash ‘coverage-report’ [2021-06-09T10:33:40.230Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-09T10:33:40.897Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-09T10:33:41.241Z] + ls -al . [2021-06-09T10:33:41.241Z] total 248 [2021-06-09T10:33:41.241Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 9 10:33 . [2021-06-09T10:33:41.241Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 9 10:28 .. [2021-06-09T10:33:41.241Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 9 10:28 .dockerignore [2021-06-09T10:33:41.241Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 9 10:28 .git [2021-06-09T10:33:41.241Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 9 10:28 .github [2021-06-09T10:33:41.241Z] -rw-rw-r-- 1 jenkins jenkins 138 Jun 9 10:28 .gitignore [2021-06-09T10:33:41.241Z] -rw-rw-r-- 1 jenkins jenkins 987 Jun 9 10:28 Dockerfile.build [2021-06-09T10:33:41.241Z] -rw-rw-r-- 1 jenkins jenkins 894 Jun 9 10:28 Jenkinsfile [2021-06-09T10:33:41.241Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jun 9 10:28 LICENSE [2021-06-09T10:33:41.241Z] -rw-rw-r-- 1 jenkins jenkins 1026 Jun 9 10:28 Makefile [2021-06-09T10:33:41.241Z] -rw-rw-r-- 1 jenkins jenkins 7652 Jun 9 10:28 README.md [2021-06-09T10:33:41.241Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jun 9 10:28 RELEASE-NOTES.txt [2021-06-09T10:33:41.241Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 9 10:25 VERSION [2021-06-09T10:33:41.241Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 9 10:28 bin [2021-06-09T10:33:41.241Z] -rw-r--r-- 1 jenkins jenkins 126071 Jun 9 10:32 coverage.out [2021-06-09T10:33:41.241Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 9 10:28 example [2021-06-09T10:33:41.241Z] -rw-r--r-- 1 jenkins jenkins 575 Jun 9 10:33 go.mod [2021-06-09T10:33:41.241Z] -rw-r--r-- 1 jenkins jenkins 20499 Jun 9 10:30 go.sum [2021-06-09T10:33:41.241Z] drwxrwxr-x 15 jenkins jenkins 4096 Jun 9 10:28 internal [2021-06-09T10:33:41.241Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 9 10:28 openapi [2021-06-09T10:33:41.241Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 9 10:28 pkg [2021-06-09T10:33:41.241Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 9 10:28 snap [2021-06-09T10:33:41.241Z] -rw-rw-r-- 1 jenkins jenkins 222 Jun 9 10:28 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-09T10:33:41.584Z] + 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=f654371f5cbd69739ab6647064448fc290223e54 --label arch=arm64 --label version=0.0.0 . [2021-06-09T10:33:41.891Z] Sending build context to Docker daemon 2.764MB [2021-06-09T10:33:42.164Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-06-09T10:33:42.164Z] Step 2/23 : FROM ${BASE} AS builder [2021-06-09T10:33:42.164Z] ---> 9816cf799a26 [2021-06-09T10:33:42.164Z] Step 3/23 : WORKDIR /device-sdk-go [2021-06-09T10:33:42.437Z] ---> Running in d47c0e1c8f58 [2021-06-09T10:33:43.040Z] Removing intermediate container d47c0e1c8f58 [2021-06-09T10:33:43.040Z] ---> c1cbdfa691bf [2021-06-09T10:33:43.040Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-09T10:33:43.040Z] ---> Running in 2f2a330c62a5 [2021-06-09T10:33:43.635Z] Removing intermediate container 2f2a330c62a5 [2021-06-09T10:33:43.635Z] ---> ba18425796d9 [2021-06-09T10:33:43.635Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-09T10:33:43.635Z] ---> Running in fd1d44a0f3f9 [2021-06-09T10:33:45.618Z] Removing intermediate container fd1d44a0f3f9 [2021-06-09T10:33:45.618Z] ---> 3ade265b7d27 [2021-06-09T10:33:45.618Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-06-09T10:33:45.899Z] ---> Running in 178c31696390 [2021-06-09T10:33:47.341Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-09T10:33:47.937Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-09T10:33:48.916Z] OK: 139 MiB in 46 packages [2021-06-09T10:33:49.910Z] Removing intermediate container 178c31696390 [2021-06-09T10:33:49.910Z] ---> e3e739941571 [2021-06-09T10:33:49.910Z] Step 7/23 : COPY . . [2021-06-09T10:33:51.359Z] ---> c4f5cb0f2d5e [2021-06-09T10:33:51.359Z] Step 8/23 : RUN go mod download [2021-06-09T10:33:51.359Z] ---> Running in 52638b59862c [2021-06-09T10:33:53.976Z] Removing intermediate container 52638b59862c [2021-06-09T10:33:53.976Z] ---> 5bd22238e30c [2021-06-09T10:33:53.976Z] Step 9/23 : RUN make build [2021-06-09T10:33:53.976Z] ---> Running in 5aca581daffd [2021-06-09T10:33:54.954Z] go mod tidy [2021-06-09T10:33:55.238Z] 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-09T10:34:27.634Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-06-09T10:34:31.025Z] Removing intermediate container 5aca581daffd [2021-06-09T10:34:31.025Z] ---> aa02223523be [2021-06-09T10:34:31.025Z] Step 10/23 : FROM alpine:3.12 [2021-06-09T10:34:31.296Z] 3.12: Pulling from library/alpine [2021-06-09T10:34:31.572Z] d2f70382dc9a: Pulling fs layer [2021-06-09T10:34:31.846Z] d2f70382dc9a: Verifying Checksum [2021-06-09T10:34:31.846Z] d2f70382dc9a: Download complete [2021-06-09T10:34:32.446Z] d2f70382dc9a: Pull complete [2021-06-09T10:34:32.446Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-06-09T10:34:32.446Z] Status: Downloaded newer image for alpine:3.12 [2021-06-09T10:34:32.446Z] ---> 9852663dfa18 [2021-06-09T10:34:32.446Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-09T10:34:32.717Z] ---> Running in 39c6c7cda42b [2021-06-09T10:34:32.991Z] Removing intermediate container 39c6c7cda42b [2021-06-09T10:34:32.991Z] ---> 19ee4e69e789 [2021-06-09T10:34:32.991Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-09T10:34:33.264Z] ---> Running in 2815b94db6c8 [2021-06-09T10:34:35.333Z] Removing intermediate container 2815b94db6c8 [2021-06-09T10:34:35.333Z] ---> 1b569702d2fc [2021-06-09T10:34:35.333Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-06-09T10:34:35.609Z] ---> Running in efc638c057ab [2021-06-09T10:34:36.591Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-09T10:34:37.230Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-09T10:34:38.206Z] (1/5) Installing libgcc (9.3.0-r2) [2021-06-09T10:34:38.206Z] (2/5) Installing libsodium (1.0.18-r0) [2021-06-09T10:34:38.206Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-06-09T10:34:38.480Z] (4/5) Installing libzmq (4.3.3-r0) [2021-06-09T10:34:38.480Z] (5/5) Installing zeromq (4.3.3-r0) [2021-06-09T10:34:38.751Z] Executing busybox-1.31.1-r20.trigger [2021-06-09T10:34:38.751Z] OK: 8 MiB in 19 packages [2021-06-09T10:34:39.742Z] Removing intermediate container efc638c057ab [2021-06-09T10:34:39.742Z] ---> 35644db37945 [2021-06-09T10:34:39.742Z] Step 14/23 : WORKDIR / [2021-06-09T10:34:40.020Z] ---> Running in 976170dac9e1 [2021-06-09T10:34:40.305Z] Removing intermediate container 976170dac9e1 [2021-06-09T10:34:40.305Z] ---> 4c0067186be2 [2021-06-09T10:34:40.305Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-06-09T10:34:41.309Z] ---> 1074e8e5a1be [2021-06-09T10:34:41.309Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-06-09T10:34:42.768Z] ---> a14cd523d4d8 [2021-06-09T10:34:42.768Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-06-09T10:34:43.377Z] ---> 4e729214de6a [2021-06-09T10:34:43.377Z] Step 18/23 : EXPOSE 59999 [2021-06-09T10:34:43.377Z] ---> Running in 754bd2b0f722 [2021-06-09T10:34:43.980Z] Removing intermediate container 754bd2b0f722 [2021-06-09T10:34:43.980Z] ---> 99f61921e492 [2021-06-09T10:34:43.980Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-06-09T10:34:43.980Z] ---> Running in 8ccd8a914872 [2021-06-09T10:34:44.583Z] Removing intermediate container 8ccd8a914872 [2021-06-09T10:34:44.583Z] ---> 22424b8b6b9c [2021-06-09T10:34:44.583Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-09T10:34:44.583Z] ---> Running in 63db7e1ee90a [2021-06-09T10:34:45.186Z] Removing intermediate container 63db7e1ee90a [2021-06-09T10:34:45.186Z] ---> 691c0cf079ce [2021-06-09T10:34:45.186Z] Step 21/23 : LABEL arch=arm64 [2021-06-09T10:34:45.186Z] ---> Running in 4115cc921d79 [2021-06-09T10:34:45.788Z] Removing intermediate container 4115cc921d79 [2021-06-09T10:34:45.788Z] ---> 989e1e36b25d [2021-06-09T10:34:45.788Z] Step 22/23 : LABEL git_sha=f654371f5cbd69739ab6647064448fc290223e54 [2021-06-09T10:34:45.788Z] ---> Running in cce266edf90e [2021-06-09T10:34:46.390Z] Removing intermediate container cce266edf90e [2021-06-09T10:34:46.390Z] ---> fca5e3f8eb42 [2021-06-09T10:34:46.390Z] Step 23/23 : LABEL version=0.0.0 [2021-06-09T10:34:46.390Z] ---> Running in 9799e40d5d2f [2021-06-09T10:34:46.992Z] Removing intermediate container 9799e40d5d2f [2021-06-09T10:34:46.992Z] ---> d6d38bc56bcc [2021-06-09T10:34:46.992Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-06-09T10:34:46.992Z] Successfully built d6d38bc56bcc [2021-06-09T10:34:46.992Z] 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-09T10:34:47.653Z] ---> job-cost.sh [2021-06-09T10:34:47.653Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-yOoJ [2021-06-09T10:35:26.678Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-09T10:37:03.533Z] lf-activate-venv(): INFO: Adding /tmp/venv-yOoJ/bin to PATH [2021-06-09T10:37:03.533Z] INFO: No Stack... [2021-06-09T10:37:03.533Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-09T10:37:03.533Z] INFO: Archiving Costs [Pipeline] sh [2021-06-09T10:37:03.880Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2021-06-09T10:37:03.880Z] + cut -d, -f6 [Pipeline] lock [2021-06-09T10:37:03.943Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-962-2-stack-cost] [2021-06-09T10:37:03.952Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-962-2-stack-cost] did not exist. Created. [2021-06-09T10:37:03.952Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-962-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-09T10:37:04.329Z] /w/workspace/device-sdk-go/2@tmp/durable-89354b6c/script.sh: 1: /w/workspace/device-sdk-go/2@tmp/durable-89354b6c/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-09T10:37:04.687Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-09T10:37:04.751Z] Warning: overwriting stash ‘stack-cost’ [2021-06-09T10:37:04.919Z] Stashed 1 file(s) [Pipeline] } [2021-06-09T10:37:04.932Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-962-2-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-09T10:37:05.478Z] provisioning config files... [2021-06-09T10:37:05.491Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-962@tmp/config815470894273510726tmp [Pipeline] { [Pipeline] sh [2021-06-09T10:37:05.826Z] + set +x [2021-06-09T10:37:05.826Z] + curl -s https://codecov.io/bash [2021-06-09T10:37:05.826Z] + bash -s -- [2021-06-09T10:37:05.826Z] [2021-06-09T10:37:05.826Z] _____ _ [2021-06-09T10:37:05.826Z] / ____| | | [2021-06-09T10:37:05.826Z] | | ___ __| | ___ ___ _____ __ [2021-06-09T10:37:05.826Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-09T10:37:05.826Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-09T10:37:05.826Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-09T10:37:05.826Z] Bash-1.0.3 [2021-06-09T10:37:05.826Z] [2021-06-09T10:37:05.826Z] [2021-06-09T10:37:05.826Z] ==> git version 2.24.4 found [2021-06-09T10:37:05.826Z] ==> 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-09T10:37:05.826Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-09T10:37:05.826Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-09T10:37:05.826Z] ==> Jenkins CI detected. [2021-06-09T10:37:05.826Z] project root: . [2021-06-09T10:37:05.826Z] --> token set from env [2021-06-09T10:37:05.826Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-09T10:37:05.826Z] ==> Running gcov in . (disable via -X gcov) [2021-06-09T10:37:05.826Z] ==> Python coveragepy not found [2021-06-09T10:37:05.826Z] ==> Searching for coverage reports in: [2021-06-09T10:37:05.826Z] + . [2021-06-09T10:37:05.826Z] -> Found 1 reports [2021-06-09T10:37:05.826Z] ==> Detecting git/mercurial file structure [2021-06-09T10:37:05.826Z] ==> Reading reports [2021-06-09T10:37:05.826Z] + ./coverage.out bytes=126071 [2021-06-09T10:37:05.826Z] ==> Appending adjustments [2021-06-09T10:37:05.826Z] https://docs.codecov.io/docs/fixing-reports [2021-06-09T10:37:06.088Z] + Found adjustments [2021-06-09T10:37:06.088Z] ==> Gzipping contents [2021-06-09T10:37:06.088Z] 20K /tmp/codecov.1hlRTS.gz [2021-06-09T10:37:06.088Z] ==> Uploading reports [2021-06-09T10:37:06.088Z] url: https://codecov.io [2021-06-09T10:37:06.088Z] query: branch=PR-962&commit=f654371f5cbd69739ab6647064448fc290223e54&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-962%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=962&job=&cmd_args= [2021-06-09T10:37:06.088Z] -> Pinging Codecov [2021-06-09T10:37:06.088Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-962&commit=f654371f5cbd69739ab6647064448fc290223e54&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-962%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=962&job=&cmd_args= [2021-06-09T10:37:06.660Z] -> Uploading to [2021-06-09T10:37:06.660Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-09/7E55EF52A471D76F132DFD9A03CDDE97/f654371f5cbd69739ab6647064448fc290223e54/4fff90ec-6b51-4efe-85e5-1c2d9ab6246d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210609%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210609T103706Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=33b268c4bd1aecc79ca35519212811c37e188f4d77f7e424df510903651f7788 [2021-06-09T10:37:06.660Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-09T10:37:06.660Z] Dload Upload Total Spent Left Speed [2021-06-09T10:37:06.920Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16418 0 0 100 16418 0 52384 --:--:-- --:--:-- --:--:-- 52453 [2021-06-09T10:37:06.920Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/f654371f5cbd69739ab6647064448fc290223e54 [Pipeline] } [2021-06-09T10:37:06.928Z] 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-09T10:37:08.414Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-09T10:37:09.014Z] ---> package-listing.sh [2021-06-09T10:37:09.015Z] ++ facter osfamily [2021-06-09T10:37:09.015Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-09T10:37:09.280Z] + OS_FAMILY=redhat [2021-06-09T10:37:09.280Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-962 [2021-06-09T10:37:09.280Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-09T10:37:09.280Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-09T10:37:09.280Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-09T10:37:09.280Z] + PACKAGES=/tmp/packages_start.txt [2021-06-09T10:37:09.280Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-962 ']' [2021-06-09T10:37:09.280Z] + PACKAGES=/tmp/packages_end.txt [2021-06-09T10:37:09.280Z] + case "${OS_FAMILY}" in [2021-06-09T10:37:09.280Z] + sort [2021-06-09T10:37:09.280Z] + rpm -qa [2021-06-09T10:37:09.853Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-09T10:37:09.853Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-09T10:37:09.853Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-09T10:37:09.853Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-962 ']' [2021-06-09T10:37:09.853Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-962/archives/ [2021-06-09T10:37:09.853Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-962/archives/ [Pipeline] echo [2021-06-09T10:37:09.866Z] 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-962/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-06-09T10:37:10.153Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-09T10:37:10.721Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-09T10:37:10.722Z] [2021-06-09T10:37:10.722Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-09T10:37:11.042Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-09T10:37:11.042Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-09T10:37:11.042Z] df20fa9351a1: Pulling fs layer [2021-06-09T10:37:11.042Z] 36b3adc4ff6f: Pulling fs layer [2021-06-09T10:37:11.042Z] 8ad3a11d3b57: Pulling fs layer [2021-06-09T10:37:11.042Z] 46f8f816bc3b: Pulling fs layer [2021-06-09T10:37:11.042Z] 93b61091891f: Pulling fs layer [2021-06-09T10:37:11.042Z] 93b9cdb0e59b: Pulling fs layer [2021-06-09T10:37:11.042Z] 5e14af77c1be: Pulling fs layer [2021-06-09T10:37:11.042Z] 01666e4c0597: Pulling fs layer [2021-06-09T10:37:11.042Z] aa168da1d23b: Pulling fs layer [2021-06-09T10:37:11.042Z] 93b9cdb0e59b: Waiting [2021-06-09T10:37:11.042Z] 5e14af77c1be: Waiting [2021-06-09T10:37:11.042Z] 01666e4c0597: Waiting [2021-06-09T10:37:11.042Z] aa168da1d23b: Waiting [2021-06-09T10:37:11.042Z] 46f8f816bc3b: Waiting [2021-06-09T10:37:11.042Z] 93b61091891f: Waiting [2021-06-09T10:37:11.042Z] 36b3adc4ff6f: Verifying Checksum [2021-06-09T10:37:11.042Z] 36b3adc4ff6f: Download complete [2021-06-09T10:37:11.042Z] 46f8f816bc3b: Verifying Checksum [2021-06-09T10:37:11.042Z] 46f8f816bc3b: Download complete [2021-06-09T10:37:11.042Z] df20fa9351a1: Verifying Checksum [2021-06-09T10:37:11.042Z] df20fa9351a1: Download complete [2021-06-09T10:37:11.305Z] 93b9cdb0e59b: Verifying Checksum [2021-06-09T10:37:11.305Z] 93b9cdb0e59b: Download complete [2021-06-09T10:37:11.305Z] 5e14af77c1be: Verifying Checksum [2021-06-09T10:37:11.305Z] 5e14af77c1be: Download complete [2021-06-09T10:37:11.305Z] 93b61091891f: Verifying Checksum [2021-06-09T10:37:11.305Z] 93b61091891f: Download complete [2021-06-09T10:37:11.305Z] 01666e4c0597: Verifying Checksum [2021-06-09T10:37:11.305Z] 01666e4c0597: Download complete [2021-06-09T10:37:11.305Z] df20fa9351a1: Pull complete [2021-06-09T10:37:11.305Z] 8ad3a11d3b57: Verifying Checksum [2021-06-09T10:37:11.305Z] 8ad3a11d3b57: Download complete [2021-06-09T10:37:11.568Z] 36b3adc4ff6f: Pull complete [2021-06-09T10:37:12.150Z] 8ad3a11d3b57: Pull complete [2021-06-09T10:37:12.150Z] 46f8f816bc3b: Pull complete [2021-06-09T10:37:12.412Z] 93b61091891f: Pull complete [2021-06-09T10:37:12.672Z] 93b9cdb0e59b: Pull complete [2021-06-09T10:37:12.672Z] 5e14af77c1be: Pull complete [2021-06-09T10:37:12.672Z] 01666e4c0597: Pull complete [2021-06-09T10:37:12.933Z] aa168da1d23b: Verifying Checksum [2021-06-09T10:37:12.933Z] aa168da1d23b: Download complete [2021-06-09T10:37:17.196Z] aa168da1d23b: Pull complete [2021-06-09T10:37:17.196Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-09T10:37:17.196Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-09T10:37:17.196Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-09T10:37:17.270Z] prd-centos7-docker-4c-2g-15 does not seem to be running inside a container [2021-06-09T10:37:17.304Z] $ 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-962/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-962 -v /w/workspace/dgexfoundry_device-sdk-go_PR-962:/w/workspace/dgexfoundry_device-sdk-go_PR-962:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-962@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-962@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-06-09T10:37:19.484Z] $ docker top 0a270a06d26ce33b4e18cc8d8ce6a7b4423823f52862c3c0a96ec3c95e470712 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-09T10:37:19.893Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-09T10:37:20.191Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-09T10:37:20.486Z] + ls /var/log/sa-host [2021-06-09T10:37:20.486Z] + sadf -c /var/log/sa-host/sa05 [2021-06-09T10:37:20.486Z] file_magic: OK [2021-06-09T10:37:20.486Z] HZ: Using current value: 100 [2021-06-09T10:37:20.486Z] file_header: OK [2021-06-09T10:37:20.486Z] 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-09T10:37:20.486Z] Statistics: [2021-06-09T10:37:20.486Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-09T10:37:20.486Z] File successfully converted to sysstat format version 12.2.1 [2021-06-09T10:37:20.486Z] + sadf -c /var/log/sa-host/sa09 [2021-06-09T10:37:20.486Z] file_magic: OK [2021-06-09T10:37:20.486Z] HZ: Using current value: 100 [2021-06-09T10:37:20.486Z] file_header: OK [2021-06-09T10:37:20.486Z] 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-09T10:37:20.486Z] Statistics: [2021-06-09T10:37:20.486Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-09T10:37:20.486Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-09T10:37:20.673Z] provisioning config files... [2021-06-09T10:37:20.686Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-962@tmp/config8817823445105455405tmp [Pipeline] { [Pipeline] echo [2021-06-09T10:37:20.708Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-09T10:37:21.008Z] ---> create-netrc.sh [Pipeline] } [2021-06-09T10:37:21.016Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-09T10:37:21.391Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-09T10:37:21.401Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-09T10:37:21.700Z] ---> sudo-logs.sh [2021-06-09T10:37:21.700Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-09T10:37:21.727Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-09T10:37:22.029Z] ---> job-cost.sh [2021-06-09T10:37:22.029Z] lf-activate-venv: SKIPPING [2021-06-09T10:37:22.029Z] DEBUG: total: 0.18000000715255737 [2021-06-09T10:37:22.029Z] INFO: Retrieving Stack Cost... [2021-06-09T10:37:22.972Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-09T10:37:23.233Z] INFO: Archiving Costs [Pipeline] echo [2021-06-09T10:37:23.248Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-09T10:37:23.544Z] ---> logs-deploy.sh [2021-06-09T10:37:23.544Z] lf-activate-venv: SKIPPING [2021-06-09T10:37:23.544Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-962/2 [2021-06-09T10:37:23.544Z] INFO: archiving workspace using pattern(s): [2021-06-09T10:37:24.499Z] Archives upload complete. [2021-06-09T10:37:24.499Z] INFO: archiving logs to Nexus