Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 85c9abe6fa3cd0c0f04d55ec4f0f48affb8b929b+a384344f64426d48ad4d0b0b770ada20eab5db57 (2d4c4b3adc7b92ec2b03352a57f5a0227879dbad) 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-ssh3430724345910887686.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6a41506d72e8e131afc862d141935157bee59f41 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh7116887061564097620.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6a41506d72e8e131afc862d141935157bee59f41 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-971/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-971/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1798713089110281072.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6a41506d72e8e131afc862d141935157bee59f41 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6a41506d72e8e131afc862d141935157bee59f41 # timeout=10 Commit message: "Merge pull request #340 from ernestojeda/enable-snap-stage" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh1739876379867953813.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 958cd7e315bbc9ba310183e4d590ee91b14940ee 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-971/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-971/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh2185244074447010732.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 958cd7e315bbc9ba310183e4d590ee91b14940ee (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 958cd7e315bbc9ba310183e4d590ee91b14940ee # timeout=10 Commit message: "Fix: job-cost.sh no longer causes build failures" > 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 ‘prd-centos7-docker-4c-2g-915’ is offline Running on prd-centos7-docker-4c-2g-554 in /w/workspace/dgexfoundry_device-sdk-go_PR-971 [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-971 # 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-971@tmp/jenkins-gitclient-ssh3437408554323804347.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 a384344f64426d48ad4d0b0b770ada20eab5db57 into PR head commit 85c9abe6fa3cd0c0f04d55ec4f0f48affb8b929b Merge succeeded, producing 3a872afe27e3b23c29e29ed09666c79a5128f62a Checking out Revision 3a872afe27e3b23c29e29ed09666c79a5128f62a (PR-971) > 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-971@tmp/jenkins-gitclient-ssh1670115649035954670.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/971/head:refs/remotes/origin/PR-971 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 85c9abe6fa3cd0c0f04d55ec4f0f48affb8b929b # 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-971@tmp/jenkins-gitclient-ssh2381994725116208355.key > git merge a384344f64426d48ad4d0b0b770ada20eab5db57 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3a872afe27e3b23c29e29ed09666c79a5128f62a # timeout=10 Commit message: "Merge commit 'a384344f64426d48ad4d0b0b770ada20eab5db57' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 015380786860eedc73de1111a3d97e3fbd00f1e6 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-28T18:41:50.283Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-28T18:41:50.387Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-28T18:41:50.423Z] ========================================================= [2021-06-28T18:41:50.424Z] EdgeX Global Pipelines Version Info [2021-06-28T18:41:50.424Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-28T18:41:51.944Z] ------------------- [2021-06-28T18:41:51.944Z] stable info: [2021-06-28T18:41:51.944Z] ------------------- [2021-06-28T18:41:51.944Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-28T18:41:51.944Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-28T18:41:51.944Z] Message: update stable to v1.0.195 [2021-06-28T18:41:52.520Z] ------------------- [2021-06-28T18:41:52.520Z] experimental info: [2021-06-28T18:41:52.520Z] ------------------- [2021-06-28T18:41:52.520Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-28T18:41:52.520Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-28T18:41:52.520Z] Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-28T18:41:52.671Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-06-28T18:41:52.701Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-06-28T18:41:52.728Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-28T18:41:52.754Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-28T18:41:52.779Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-28T18:41:52.806Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-28T18:41:52.833Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-28T18:41:52.868Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-28T18:41:52.903Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-06-28T18:41:52.937Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-28T18:41:52.972Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-28T18:41:53.006Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-06-28T18:41:53.046Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-28T18:41:53.077Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-28T18:41:53.111Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-28T18:41:53.140Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-06-28T18:41:53.169Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-28T18:41:53.197Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-28T18:41:53.226Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-28T18:41:53.256Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-28T18:41:53.285Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-06-28T18:41:53.316Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-06-28T18:41:53.369Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-28T18:41:53.399Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-28T18:41:53.428Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-28T18:41:53.457Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-28T18:41:53.487Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-971 [Pipeline] echo [2021-06-28T18:41:53.514Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-971 [Pipeline] echo [2021-06-28T18:41:53.542Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-971 [Pipeline] echo [2021-06-28T18:41:53.571Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3a872afe27e3b23c29e29ed09666c79a5128f62a [Pipeline] echo [2021-06-28T18:41:53.601Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3a872af [Pipeline] echo [2021-06-28T18:41:53.631Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-28T18:41:53.730Z] provisioning config files... [2021-06-28T18:41:53.749Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/config6026281017317175515tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-28T18:41:54.080Z] ---> docker-login.sh [2021-06-28T18:41:54.080Z] nexus3.edgexfoundry.org:10001 [2021-06-28T18:41:54.080Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T18:41:54.343Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T18:41:54.343Z] Configure a credential helper to remove this warning. See [2021-06-28T18:41:54.343Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T18:41:54.343Z] [2021-06-28T18:41:54.343Z] Login Succeeded [2021-06-28T18:41:54.343Z] nexus3.edgexfoundry.org:10002 [2021-06-28T18:41:54.343Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T18:41:54.606Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T18:41:54.606Z] Configure a credential helper to remove this warning. See [2021-06-28T18:41:54.606Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T18:41:54.606Z] [2021-06-28T18:41:54.606Z] Login Succeeded [2021-06-28T18:41:54.606Z] nexus3.edgexfoundry.org:10003 [2021-06-28T18:41:54.606Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T18:41:54.606Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T18:41:54.606Z] Configure a credential helper to remove this warning. See [2021-06-28T18:41:54.606Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T18:41:54.606Z] [2021-06-28T18:41:54.606Z] Login Succeeded [2021-06-28T18:41:54.606Z] nexus3.edgexfoundry.org:10004 [2021-06-28T18:41:54.872Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T18:41:54.872Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T18:41:54.872Z] Configure a credential helper to remove this warning. See [2021-06-28T18:41:54.872Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T18:41:54.872Z] [2021-06-28T18:41:54.872Z] Login Succeeded [2021-06-28T18:41:54.872Z] docker.io [2021-06-28T18:41:54.872Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T18:41:55.139Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T18:41:55.139Z] Configure a credential helper to remove this warning. See [2021-06-28T18:41:55.139Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T18:41:55.139Z] [2021-06-28T18:41:55.139Z] Login Succeeded [2021-06-28T18:41:55.139Z] ---> docker-login.sh ends [Pipeline] } [2021-06-28T18:41:55.155Z] 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-28T18:41:55.763Z] + git log --format=format:%s -1 3a872afe27e3b23c29e29ed09666c79a5128f62a [Pipeline] echo [2021-06-28T18:41:55.809Z] GIT_COMMIT: 3a872afe27e3b23c29e29ed09666c79a5128f62a, Commit Message: Merge commit 'a384344f64426d48ad4d0b0b770ada20eab5db57' into HEAD [Pipeline] echo [2021-06-28T18:41:55.826Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-28T18:41:57.005Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-28T18:41:57.005Z] [2021-06-28T18:41:57.005Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-28T18:41:57.330Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-28T18:41:57.330Z] latest: Pulling from edgex-devops/git-semver [2021-06-28T18:41:57.330Z] 31603596830f: Pulling fs layer [2021-06-28T18:41:57.330Z] 54011a49482f: Pulling fs layer [2021-06-28T18:41:57.330Z] a6820b24f6d8: Pulling fs layer [2021-06-28T18:41:57.330Z] f581987b2513: Pulling fs layer [2021-06-28T18:41:57.330Z] f581987b2513: Waiting [2021-06-28T18:41:57.330Z] 54011a49482f: Verifying Checksum [2021-06-28T18:41:57.330Z] 54011a49482f: Download complete [2021-06-28T18:41:57.603Z] 31603596830f: Verifying Checksum [2021-06-28T18:41:57.603Z] 31603596830f: Download complete [2021-06-28T18:41:57.603Z] f581987b2513: Verifying Checksum [2021-06-28T18:41:57.603Z] f581987b2513: Download complete [2021-06-28T18:41:57.603Z] a6820b24f6d8: Verifying Checksum [2021-06-28T18:41:57.603Z] a6820b24f6d8: Download complete [2021-06-28T18:41:57.604Z] 31603596830f: Pull complete [2021-06-28T18:41:57.865Z] 54011a49482f: Pull complete [2021-06-28T18:41:58.444Z] a6820b24f6d8: Pull complete [2021-06-28T18:41:58.719Z] f581987b2513: Pull complete [2021-06-28T18:41:58.719Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-28T18:41:58.719Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-28T18:41:58.719Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-28T18:41:58.814Z] prd-centos7-docker-4c-2g-554 does not seem to be running inside a container [2021-06-28T18:41:58.867Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-971 -v /w/workspace/dgexfoundry_device-sdk-go_PR-971:/w/workspace/dgexfoundry_device-sdk-go_PR-971:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-971@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-28T18:41:59.773Z] $ docker top d767a92d9476bf7f5e50d48162acb04a92da8a58fca43b02737285556dc71b31 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-28T18:41:59.907Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-28T18:41:59.908Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-28T18:42:00.037Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-28T18:42:00.040Z] $ docker exec d767a92d9476bf7f5e50d48162acb04a92da8a58fca43b02737285556dc71b31 ssh-agent [2021-06-28T18:42:00.153Z] SSH_AUTH_SOCK=/tmp/ssh-XHOhbGz4kTlk/agent.13 [2021-06-28T18:42:00.153Z] SSH_AGENT_PID=19 [2021-06-28T18:42:00.163Z] Running ssh-add (command line suppressed) [2021-06-28T18:42:00.258Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/private_key_8069139761620617050.key (/w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/private_key_8069139761620617050.key) [2021-06-28T18:42:00.276Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-28T18:42:00.584Z] + git tag --points-at HEAD [Pipeline] } [2021-06-28T18:42:00.602Z] $ docker exec --env ******** --env ******** d767a92d9476bf7f5e50d48162acb04a92da8a58fca43b02737285556dc71b31 ssh-agent -k [2021-06-28T18:42:00.711Z] unset SSH_AUTH_SOCK; [2021-06-28T18:42:00.711Z] unset SSH_AGENT_PID; [2021-06-28T18:42:00.712Z] echo Agent pid 19 killed; [2021-06-28T18:42:00.724Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-28T18:42:00.768Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-28T18:42:00.768Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-28T18:42:00.877Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-28T18:42:00.879Z] $ docker exec d767a92d9476bf7f5e50d48162acb04a92da8a58fca43b02737285556dc71b31 ssh-agent [2021-06-28T18:42:00.987Z] SSH_AUTH_SOCK=/tmp/ssh-aB0XeeunTfkv/agent.52 [2021-06-28T18:42:00.987Z] SSH_AGENT_PID=58 [2021-06-28T18:42:00.993Z] Running ssh-add (command line suppressed) [2021-06-28T18:42:01.115Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/private_key_702970953675322793.key (/w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/private_key_702970953675322793.key) [2021-06-28T18:42:01.134Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-28T18:42:01.446Z] + git semver init [2021-06-28T18:42:01.446Z] # -> Open(): unable to determine branch for HEAD [2021-06-28T18:42:01.446Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-971/.git [2021-06-28T18:42:01.446Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-971 [2021-06-28T18:42:01.446Z] # $SEMVER_REMOTE_NAME = origin [2021-06-28T18:42:01.446Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-28T18:42:01.446Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-28T18:42:01.446Z] # $SEMVER_BRANCH = PR-971 [2021-06-28T18:42:01.446Z] # $SEMVER_TEMP = /tmp/semver-173226944 [2021-06-28T18:42:01.446Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-06-28T18:42:02.026Z] # '/tmp/semver-173226944' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-971/.semver' [2021-06-28T18:42:02.288Z] # -> Force: false [2021-06-28T18:42:02.288Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-971/.semver [Pipeline] } [2021-06-28T18:42:02.301Z] $ docker exec --env ******** --env ******** d767a92d9476bf7f5e50d48162acb04a92da8a58fca43b02737285556dc71b31 ssh-agent -k [2021-06-28T18:42:02.411Z] unset SSH_AUTH_SOCK; [2021-06-28T18:42:02.412Z] unset SSH_AGENT_PID; [2021-06-28T18:42:02.412Z] echo Agent pid 58 killed; [2021-06-28T18:42:02.424Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-28T18:42:02.790Z] + git semver [Pipeline] } [2021-06-28T18:42:02.811Z] $ docker stop --time=1 d767a92d9476bf7f5e50d48162acb04a92da8a58fca43b02737285556dc71b31 [2021-06-28T18:42:04.100Z] $ docker rm -f d767a92d9476bf7f5e50d48162acb04a92da8a58fca43b02737285556dc71b31 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-28T18:42:04.499Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-28T18:42:04.788Z] Stashed 1 file(s) [Pipeline] echo [2021-06-28T18:42:04.793Z] [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-28T18:42:20.102Z] Still waiting to schedule task [2021-06-28T18:42:20.103Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-06-28T18:42:20.105Z] Still waiting to schedule task [2021-06-28T18:42:20.105Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-1218’ is offline [2021-06-28T18:44:21.552Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-555 in /w/workspace/dgexfoundry_device-sdk-go_PR-971 [Pipeline] { [Pipeline] ws [2021-06-28T18:44:21.577Z] Running in /w/workspace/device-sdk-go/21 [Pipeline] { [Pipeline] checkout [2021-06-28T18:44:21.812Z] Selected Git installation does not exist. Using Default [2021-06-28T18:44:21.812Z] The recommended git tool is: NONE [2021-06-28T18:44:26.894Z] using credential edgex-jenkins-ssh [2021-06-28T18:44:26.918Z] Cloning the remote Git repository [2021-06-28T18:44:26.965Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-06-28T18:44:27.067Z] > git init /w/workspace/device-sdk-go/21 # timeout=10 [2021-06-28T18:44:27.175Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-28T18:44:27.176Z] > git --version # timeout=10 [2021-06-28T18:44:27.194Z] > git --version # 'git version 2.17.1' [2021-06-28T18:44:27.196Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-28T18:44:27.307Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-28T18:44:29.246Z] Merging remotes/origin/master commit a384344f64426d48ad4d0b0b770ada20eab5db57 into PR head commit 85c9abe6fa3cd0c0f04d55ec4f0f48affb8b929b [2021-06-28T18:44:28.582Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-28T18:44:28.597Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-28T18:44:28.624Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-28T18:44:28.653Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-28T18:44:28.653Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-28T18:44:28.666Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/971/head:refs/remotes/origin/PR-971 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-28T18:44:29.264Z] > git config core.sparsecheckout # timeout=10 [2021-06-28T18:44:29.277Z] > git checkout -f 85c9abe6fa3cd0c0f04d55ec4f0f48affb8b929b # timeout=10 [2021-06-28T18:44:29.506Z] Merge succeeded, producing 3250c6c930071592050406afc61453a607c1c727 [2021-06-28T18:44:29.507Z] Checking out Revision 3250c6c930071592050406afc61453a607c1c727 (PR-971) [2021-06-28T18:44:29.378Z] > git remote # timeout=10 [2021-06-28T18:44:29.395Z] > git config --get remote.origin.url # timeout=10 [2021-06-28T18:44:29.405Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-28T18:44:29.416Z] > git merge a384344f64426d48ad4d0b0b770ada20eab5db57 # timeout=10 [2021-06-28T18:44:29.492Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-28T18:44:29.513Z] > git config core.sparsecheckout # timeout=10 [2021-06-28T18:44:29.522Z] > git checkout -f 3250c6c930071592050406afc61453a607c1c727 # timeout=10 [2021-06-28T18:44:33.791Z] Commit message: "Merge commit 'a384344f64426d48ad4d0b0b770ada20eab5db57' into HEAD" [2021-06-28T18:44:33.816Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-28T18:44:33.798Z] > git rev-list --no-walk 015380786860eedc73de1111a3d97e3fbd00f1e6 # timeout=10 [2021-06-28T18:44:35.194Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-28T18:44:35.652Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-28T18:44:35.999Z] + + true [2021-06-28T18:44:35.999Z] sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-28T18:44:54.370Z] provisioning config files... [2021-06-28T18:44:54.397Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/21@tmp/config6395796437214608555tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-28T18:44:54.784Z] ---> docker-login.sh [2021-06-28T18:44:54.784Z] nexus3.edgexfoundry.org:10001 [2021-06-28T18:44:55.773Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T18:44:56.047Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T18:44:56.047Z] Configure a credential helper to remove this warning. See [2021-06-28T18:44:56.047Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T18:44:56.047Z] [2021-06-28T18:44:56.047Z] Login Succeeded [2021-06-28T18:44:56.047Z] nexus3.edgexfoundry.org:10002 [2021-06-28T18:44:56.322Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T18:44:56.604Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T18:44:56.604Z] Configure a credential helper to remove this warning. See [2021-06-28T18:44:56.604Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T18:44:56.604Z] [2021-06-28T18:44:56.604Z] Login Succeeded [2021-06-28T18:44:56.604Z] nexus3.edgexfoundry.org:10003 [2021-06-28T18:44:56.877Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T18:44:57.156Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T18:44:57.156Z] Configure a credential helper to remove this warning. See [2021-06-28T18:44:57.156Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T18:44:57.156Z] [2021-06-28T18:44:57.156Z] Login Succeeded [2021-06-28T18:44:57.156Z] nexus3.edgexfoundry.org:10004 [2021-06-28T18:44:57.430Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T18:44:57.705Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T18:44:57.705Z] Configure a credential helper to remove this warning. See [2021-06-28T18:44:57.705Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T18:44:57.705Z] [2021-06-28T18:44:57.705Z] Login Succeeded [2021-06-28T18:44:57.705Z] docker.io [2021-06-28T18:44:57.979Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T18:44:58.576Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T18:44:58.576Z] Configure a credential helper to remove this warning. See [2021-06-28T18:44:58.576Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T18:44:58.576Z] [2021-06-28T18:44:58.576Z] Login Succeeded [2021-06-28T18:44:58.576Z] ---> docker-login.sh ends [Pipeline] } [2021-06-28T18:44:58.593Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-28T18:44:58.924Z] ========================================================= [2021-06-28T18:44:58.924Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-28T18:44:58.924Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-28T18:44:59.280Z] + 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-28T18:44:59.882Z] Sending build context to Docker daemon 2.711MB [2021-06-28T18:44:59.882Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-28T18:44:59.882Z] Step 2/8 : FROM ${BASE} [2021-06-28T18:44:59.882Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-28T18:44:59.882Z] 595b0fe564bb: Pulling fs layer [2021-06-28T18:44:59.882Z] 3088b5b3c5c0: Pulling fs layer [2021-06-28T18:44:59.882Z] 5b7225fbf94c: Pulling fs layer [2021-06-28T18:44:59.882Z] ba82ee9f976e: Pulling fs layer [2021-06-28T18:44:59.882Z] 506bd15cee9f: Pulling fs layer [2021-06-28T18:44:59.882Z] 75a0a4a0db45: Pulling fs layer [2021-06-28T18:44:59.882Z] 618dc40b7e24: Pulling fs layer [2021-06-28T18:44:59.882Z] ba82ee9f976e: Waiting [2021-06-28T18:44:59.882Z] 506bd15cee9f: Waiting [2021-06-28T18:44:59.882Z] 75a0a4a0db45: Waiting [2021-06-28T18:44:59.882Z] 618dc40b7e24: Waiting [2021-06-28T18:44:59.882Z] 5b7225fbf94c: Download complete [2021-06-28T18:44:59.882Z] 3088b5b3c5c0: Download complete [2021-06-28T18:45:00.157Z] 506bd15cee9f: Download complete [2021-06-28T18:45:00.157Z] 75a0a4a0db45: Verifying Checksum [2021-06-28T18:45:00.157Z] 75a0a4a0db45: Download complete [2021-06-28T18:45:00.157Z] 595b0fe564bb: Download complete [2021-06-28T18:45:00.762Z] 595b0fe564bb: Pull complete [2021-06-28T18:45:01.367Z] 3088b5b3c5c0: Pull complete [2021-06-28T18:45:01.647Z] 5b7225fbf94c: Pull complete [2021-06-28T18:45:03.106Z] 618dc40b7e24: Verifying Checksum [2021-06-28T18:45:03.106Z] 618dc40b7e24: Download complete [2021-06-28T18:45:04.084Z] ba82ee9f976e: Verifying Checksum [2021-06-28T18:45:04.084Z] ba82ee9f976e: Download complete [2021-06-28T18:45:07.228Z] Running on prd-centos7-docker-4c-2g-556 in /w/workspace/dgexfoundry_device-sdk-go_PR-971 [Pipeline] { [Pipeline] ws [2021-06-28T18:45:07.260Z] Running in /w/workspace/device-sdk-go/21 [Pipeline] { [Pipeline] checkout [2021-06-28T18:45:07.380Z] Selected Git installation does not exist. Using Default [2021-06-28T18:45:07.380Z] The recommended git tool is: NONE [2021-06-28T18:45:10.210Z] using credential edgex-jenkins-ssh [2021-06-28T18:45:10.223Z] Cloning the remote Git repository [2021-06-28T18:45:10.245Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-06-28T18:45:10.309Z] > git init /w/workspace/device-sdk-go/21 # timeout=10 [2021-06-28T18:45:10.350Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-28T18:45:10.350Z] > git --version # timeout=10 [2021-06-28T18:45:10.366Z] > git --version # 'git version 2.24.4' [2021-06-28T18:45:10.366Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-28T18:45:10.392Z] [INFO] Currently running in a labeled security context [2021-06-28T18:45:10.392Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-28T18:45:10.392Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/21@tmp/jenkins-gitclient-ssh5546836960286331705.key [2021-06-28T18:45:10.414Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-28T18:45:11.087Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-28T18:45:11.092Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-28T18:45:11.540Z] Merging remotes/origin/master commit a384344f64426d48ad4d0b0b770ada20eab5db57 into PR head commit 85c9abe6fa3cd0c0f04d55ec4f0f48affb8b929b [2021-06-28T18:45:11.663Z] Merge succeeded, producing a200a697cbeb4a13629fc507033831eb88952044 [2021-06-28T18:45:11.664Z] Checking out Revision a200a697cbeb4a13629fc507033831eb88952044 (PR-971) [2021-06-28T18:45:11.106Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-28T18:45:11.125Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-28T18:45:11.125Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-28T18:45:11.126Z] [INFO] Currently running in a labeled security context [2021-06-28T18:45:11.126Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-28T18:45:11.126Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/21@tmp/jenkins-gitclient-ssh126404050896458479.key [2021-06-28T18:45:11.139Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/971/head:refs/remotes/origin/PR-971 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-28T18:45:11.550Z] > git config core.sparsecheckout # timeout=10 [2021-06-28T18:45:11.565Z] > git checkout -f 85c9abe6fa3cd0c0f04d55ec4f0f48affb8b929b # timeout=10 [2021-06-28T18:45:11.607Z] > git remote # timeout=10 [2021-06-28T18:45:11.618Z] > git config --get remote.origin.url # timeout=10 [2021-06-28T18:45:11.623Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-28T18:45:11.624Z] [INFO] Currently running in a labeled security context [2021-06-28T18:45:11.624Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-28T18:45:11.624Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/21@tmp/jenkins-gitclient-ssh1315606415055566391.key [2021-06-28T18:45:11.635Z] > git merge a384344f64426d48ad4d0b0b770ada20eab5db57 # timeout=10 [2021-06-28T18:45:11.657Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-28T18:45:11.667Z] > git config core.sparsecheckout # timeout=10 [2021-06-28T18:45:11.674Z] > git checkout -f a200a697cbeb4a13629fc507033831eb88952044 # timeout=10 [2021-06-28T18:45:14.412Z] ba82ee9f976e: Pull complete [2021-06-28T18:45:14.412Z] 506bd15cee9f: Pull complete [2021-06-28T18:45:14.689Z] 75a0a4a0db45: Pull complete [2021-06-28T18:45:15.379Z] Commit message: "Merge commit 'a384344f64426d48ad4d0b0b770ada20eab5db57' into HEAD" [2021-06-28T18:45:15.395Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-28T18:45:15.385Z] > git rev-list --no-walk 015380786860eedc73de1111a3d97e3fbd00f1e6 # timeout=10 [2021-06-28T18:45:16.572Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-28T18:45:16.926Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-28T18:45:17.232Z] + sudo service docker restart [2021-06-28T18:45:17.232Z] + true [2021-06-28T18:45:17.232Z] Redirecting to /bin/systemctl restart docker.service [2021-06-28T18:45:18.090Z] 618dc40b7e24: Pull complete [2021-06-28T18:45:18.090Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-06-28T18:45:18.090Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-28T18:45:18.090Z] ---> a36622ca3599 [2021-06-28T18:45:18.090Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-28T18:45:20.738Z] ---> Running in c362609cced5 [2021-06-28T18:45:20.738Z] Removing intermediate container c362609cced5 [2021-06-28T18:45:20.738Z] ---> f9a0d6078dd1 [2021-06-28T18:45:20.738Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-28T18:45:20.738Z] ---> Running in 71a87f124df5 [2021-06-28T18:45:23.367Z] Removing intermediate container 71a87f124df5 [2021-06-28T18:45:23.367Z] ---> f5ff8abed25c [2021-06-28T18:45:23.367Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-06-28T18:45:23.367Z] ---> Running in 3f1201ad8b38 [2021-06-28T18:45:24.347Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-28T18:45:25.328Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-28T18:45:26.760Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-06-28T18:45:26.760Z] (2/6) Installing libsodium (1.0.18-r0) [2021-06-28T18:45:26.760Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-06-28T18:45:26.760Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-06-28T18:45:26.760Z] (5/6) Installing libzmq (4.3.3-r1) [2021-06-28T18:45:27.033Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-06-28T18:45:27.033Z] Executing busybox-1.32.1-r6.trigger [2021-06-28T18:45:27.033Z] OK: 139 MiB in 46 packages [2021-06-28T18:45:28.473Z] Removing intermediate container 3f1201ad8b38 [2021-06-28T18:45:28.473Z] ---> 1a8035892c70 [2021-06-28T18:45:28.473Z] Step 6/8 : WORKDIR /device-sdk-go [2021-06-28T18:45:28.473Z] ---> Running in 866dce54ac10 [2021-06-28T18:45:29.070Z] Removing intermediate container 866dce54ac10 [2021-06-28T18:45:29.070Z] ---> b9f88c9bf715 [2021-06-28T18:45:29.070Z] Step 7/8 : COPY . . [2021-06-28T18:45:30.509Z] ---> 2c6cadc732f9 [2021-06-28T18:45:30.509Z] Step 8/8 : RUN go mod download [2021-06-28T18:45:30.509Z] ---> Running in ccc527f735a2 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-28T18:45:35.429Z] provisioning config files... [2021-06-28T18:45:35.444Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/21@tmp/config6795530129686105056tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-28T18:45:35.773Z] ---> docker-login.sh [2021-06-28T18:45:35.773Z] nexus3.edgexfoundry.org:10001 [2021-06-28T18:45:36.036Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T18:45:36.036Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T18:45:36.036Z] Configure a credential helper to remove this warning. See [2021-06-28T18:45:36.036Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T18:45:36.036Z] [2021-06-28T18:45:36.036Z] Login Succeeded [2021-06-28T18:45:36.036Z] nexus3.edgexfoundry.org:10002 [2021-06-28T18:45:36.301Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T18:45:36.301Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T18:45:36.301Z] Configure a credential helper to remove this warning. See [2021-06-28T18:45:36.301Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T18:45:36.301Z] [2021-06-28T18:45:36.301Z] Login Succeeded [2021-06-28T18:45:36.301Z] nexus3.edgexfoundry.org:10003 [2021-06-28T18:45:36.301Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T18:45:36.301Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T18:45:36.301Z] Configure a credential helper to remove this warning. See [2021-06-28T18:45:36.301Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T18:45:36.301Z] [2021-06-28T18:45:36.301Z] Login Succeeded [2021-06-28T18:45:36.563Z] nexus3.edgexfoundry.org:10004 [2021-06-28T18:45:36.563Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T18:45:36.563Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T18:45:36.563Z] Configure a credential helper to remove this warning. See [2021-06-28T18:45:36.563Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T18:45:36.563Z] [2021-06-28T18:45:36.563Z] Login Succeeded [2021-06-28T18:45:36.563Z] docker.io [2021-06-28T18:45:36.563Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T18:45:37.143Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T18:45:37.143Z] Configure a credential helper to remove this warning. See [2021-06-28T18:45:37.143Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T18:45:37.143Z] [2021-06-28T18:45:37.143Z] Login Succeeded [2021-06-28T18:45:37.143Z] ---> docker-login.sh ends [Pipeline] } [2021-06-28T18:45:37.153Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-28T18:45:37.335Z] ========================================================= [2021-06-28T18:45:37.336Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-28T18:45:37.336Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-28T18:45:37.656Z] + 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-28T18:45:37.656Z] Sending build context to Docker daemon 2.712MB [2021-06-28T18:45:37.656Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-28T18:45:37.656Z] Step 2/8 : FROM ${BASE} [2021-06-28T18:45:37.656Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-28T18:45:37.656Z] 540db60ca938: Pulling fs layer [2021-06-28T18:45:37.656Z] adcc1eea9eea: Pulling fs layer [2021-06-28T18:45:37.656Z] 4c4ab2625f07: Pulling fs layer [2021-06-28T18:45:37.656Z] 0510c868ecb4: Pulling fs layer [2021-06-28T18:45:37.656Z] afea3b2eda06: Pulling fs layer [2021-06-28T18:45:37.656Z] 7809a108b3ef: Pulling fs layer [2021-06-28T18:45:37.656Z] f706445af74f: Pulling fs layer [2021-06-28T18:45:37.656Z] afea3b2eda06: Waiting [2021-06-28T18:45:37.656Z] 7809a108b3ef: Waiting [2021-06-28T18:45:37.656Z] f706445af74f: Waiting [2021-06-28T18:45:37.656Z] 0510c868ecb4: Waiting [2021-06-28T18:45:37.921Z] adcc1eea9eea: Verifying Checksum [2021-06-28T18:45:37.921Z] adcc1eea9eea: Download complete [2021-06-28T18:45:37.921Z] 4c4ab2625f07: Verifying Checksum [2021-06-28T18:45:37.921Z] 4c4ab2625f07: Download complete [2021-06-28T18:45:37.921Z] afea3b2eda06: Verifying Checksum [2021-06-28T18:45:37.921Z] afea3b2eda06: Download complete [2021-06-28T18:45:37.921Z] 7809a108b3ef: Verifying Checksum [2021-06-28T18:45:37.921Z] 7809a108b3ef: Download complete [2021-06-28T18:45:37.921Z] 540db60ca938: Verifying Checksum [2021-06-28T18:45:37.921Z] 540db60ca938: Download complete [2021-06-28T18:45:38.186Z] 540db60ca938: Pull complete [2021-06-28T18:45:38.186Z] adcc1eea9eea: Pull complete [2021-06-28T18:45:38.447Z] 4c4ab2625f07: Pull complete [2021-06-28T18:45:39.845Z] f706445af74f: Verifying Checksum [2021-06-28T18:45:39.845Z] f706445af74f: Download complete [2021-06-28T18:45:40.110Z] 0510c868ecb4: Verifying Checksum [2021-06-28T18:45:40.110Z] 0510c868ecb4: Download complete [2021-06-28T18:45:44.360Z] 0510c868ecb4: Pull complete [2021-06-28T18:45:44.360Z] afea3b2eda06: Pull complete [2021-06-28T18:45:44.360Z] 7809a108b3ef: Pull complete [2021-06-28T18:45:45.775Z] f706445af74f: Pull complete [2021-06-28T18:45:45.775Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-28T18:45:45.775Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-28T18:45:45.775Z] ---> b068be0155e3 [2021-06-28T18:45:45.775Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-28T18:45:49.097Z] ---> Running in 1d2c83258468 [2021-06-28T18:45:49.097Z] Removing intermediate container 1d2c83258468 [2021-06-28T18:45:49.097Z] ---> de9b2fa53a9c [2021-06-28T18:45:49.097Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-28T18:45:49.097Z] ---> Running in 96d5ad5f6311 [2021-06-28T18:45:50.046Z] Removing intermediate container 96d5ad5f6311 [2021-06-28T18:45:50.046Z] ---> 4efff6fe20ef [2021-06-28T18:45:50.046Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-06-28T18:45:50.046Z] ---> Running in fbdffb01a501 [2021-06-28T18:45:50.046Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-28T18:45:50.994Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-28T18:45:51.574Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-06-28T18:45:51.574Z] (2/6) Installing libsodium (1.0.18-r0) [2021-06-28T18:45:51.575Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-06-28T18:45:51.575Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-06-28T18:45:51.839Z] (5/6) Installing libzmq (4.3.3-r1) [2021-06-28T18:45:51.840Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-06-28T18:45:51.840Z] Executing busybox-1.32.1-r6.trigger [2021-06-28T18:45:51.840Z] OK: 150 MiB in 46 packages [2021-06-28T18:45:52.432Z] Removing intermediate container fbdffb01a501 [2021-06-28T18:45:52.432Z] ---> 2770bcf093a4 [2021-06-28T18:45:52.432Z] Step 6/8 : WORKDIR /device-sdk-go [2021-06-28T18:45:52.432Z] ---> Running in 4eb9891841f4 [2021-06-28T18:45:52.432Z] Removing intermediate container 4eb9891841f4 [2021-06-28T18:45:52.432Z] ---> c1882970294f [2021-06-28T18:45:52.432Z] Step 7/8 : COPY . . [2021-06-28T18:45:53.011Z] ---> a01c37ab2818 [2021-06-28T18:45:53.011Z] Step 8/8 : RUN go mod download [2021-06-28T18:45:53.011Z] ---> Running in f2217e7bf895 [2021-06-28T18:45:57.344Z] Removing intermediate container ccc527f735a2 [2021-06-28T18:45:57.345Z] ---> 05f7f3f8da4b [2021-06-28T18:45:57.345Z] Successfully built 05f7f3f8da4b [2021-06-28T18:45:57.345Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-28T18:45:57.704Z] + docker inspect -f . ci-base-image-arm64 [2021-06-28T18:45:57.704Z] . [Pipeline] withDockerContainer [2021-06-28T18:45:57.972Z] prd-ubuntu18.04-docker-arm64-4c-16g-555 does not seem to be running inside a container [2021-06-28T18:45:58.055Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/21 -v /w/workspace/device-sdk-go/21:/w/workspace/device-sdk-go/21:rw,z -v /w/workspace/device-sdk-go/21@tmp:/w/workspace/device-sdk-go/21@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-28T18:45:59.660Z] $ docker top a8586f5bbe688b86f921c95aaa45ac15adac5e1fe84c02f995aed315b5f153a9 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-28T18:46:00.662Z] + go version [2021-06-28T18:46:00.662Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-06-28T18:46:00.686Z] $ docker stop --time=1 a8586f5bbe688b86f921c95aaa45ac15adac5e1fe84c02f995aed315b5f153a9 [2021-06-28T18:46:02.505Z] $ docker rm -f a8586f5bbe688b86f921c95aaa45ac15adac5e1fe84c02f995aed315b5f153a9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-28T18:46:03.377Z] + docker inspect -f . ci-base-image-arm64 [2021-06-28T18:46:03.378Z] . [Pipeline] withDockerContainer [2021-06-28T18:46:03.634Z] prd-ubuntu18.04-docker-arm64-4c-16g-555 does not seem to be running inside a container [2021-06-28T18:46:03.732Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/21 -v /w/workspace/device-sdk-go/21:/w/workspace/device-sdk-go/21:rw,z -v /w/workspace/device-sdk-go/21@tmp:/w/workspace/device-sdk-go/21@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-28T18:46:05.313Z] Removing intermediate container f2217e7bf895 [2021-06-28T18:46:05.313Z] ---> c32e0fa2c45f [2021-06-28T18:46:05.313Z] Successfully built c32e0fa2c45f [2021-06-28T18:46:05.313Z] Successfully tagged ci-base-image-x86_64:latest [2021-06-28T18:46:05.322Z] $ docker top cf67dd7746bae6c4052aa1deb3878aff82a8320b3dd23fc4b60b9f07dc981e87 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-06-28T18:46:06.048Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-28T18:46:06.048Z] . [Pipeline] withDockerContainer [2021-06-28T18:46:06.133Z] prd-centos7-docker-4c-2g-556 does not seem to be running inside a container [2021-06-28T18:46:06.206Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/21 -v /w/workspace/device-sdk-go/21:/w/workspace/device-sdk-go/21:rw,z -v /w/workspace/device-sdk-go/21@tmp:/w/workspace/device-sdk-go/21@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-28T18:46:06.322Z] + go mod tidy [2021-06-28T18:46:06.690Z] $ docker top 5e3117227e15856d34c3250062fd38f29fba969625df3e8aa122b4d90226a44f -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh [2021-06-28T18:46:07.090Z] + go version [2021-06-28T18:46:07.090Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-28T18:46:07.104Z] $ docker stop --time=1 5e3117227e15856d34c3250062fd38f29fba969625df3e8aa122b4d90226a44f [2021-06-28T18:46:07.614Z] + make test [2021-06-28T18:46:07.614Z] go mod tidy [2021-06-28T18:46:08.217Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-06-28T18:46:08.322Z] $ docker rm -f 5e3117227e15856d34c3250062fd38f29fba969625df3e8aa122b4d90226a44f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-28T18:46:08.891Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-28T18:46:08.891Z] . [Pipeline] withDockerContainer [2021-06-28T18:46:08.973Z] prd-centos7-docker-4c-2g-556 does not seem to be running inside a container [2021-06-28T18:46:09.022Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/21 -v /w/workspace/device-sdk-go/21:/w/workspace/device-sdk-go/21:rw,z -v /w/workspace/device-sdk-go/21@tmp:/w/workspace/device-sdk-go/21@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-28T18:46:09.408Z] $ docker top 8d0ecc84a5ff5c741aa4ecbb1e7b36948e95c2fb7ffbb9875052ace398768af0 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-28T18:46:09.828Z] + go mod tidy [Pipeline] sh [2021-06-28T18:46:10.415Z] + make test [2021-06-28T18:46:10.416Z] go mod tidy [2021-06-28T18:46:10.698Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-06-28T18:46:17.363Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-06-28T18:46:30.451Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-06-28T18:46:44.132Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-06-28T18:46:44.132Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-06-28T18:46:44.132Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-06-28T18:46:44.132Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.057s coverage: 24.2% of statements [2021-06-28T18:46:44.132Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-06-28T18:46:44.132Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.056s coverage: 28.1% of statements [2021-06-28T18:46:44.132Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.058s coverage: 78.9% of statements [2021-06-28T18:46:44.398Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.062s coverage: 9.0% of statements [2021-06-28T18:46:44.398Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-06-28T18:46:44.398Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-06-28T18:46:44.398Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-06-28T18:46:44.996Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.085s coverage: 28.7% of statements [2021-06-28T18:46:44.996Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-06-28T18:46:46.399Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.061s coverage: 83.3% of statements [2021-06-28T18:46:46.399Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-06-28T18:46:46.399Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-06-28T18:46:46.399Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.089s coverage: 58.0% of statements [2021-06-28T18:46:47.814Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.858s coverage: 89.2% of statements [2021-06-28T18:46:47.814Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-06-28T18:46:47.814Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.051s coverage: 4.9% of statements [2021-06-28T18:46:47.814Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-06-28T18:46:47.814Z] GO111MODULE=on go vet ./... [2021-06-28T18:47:09.944Z] gofmt -l . [2021-06-28T18:47:09.944Z] [ "`gofmt -l .`" = "" ] [2021-06-28T18:47:09.944Z] ./bin/test-attribution-txt.sh [2021-06-28T18:47:09.944Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-28T18:47:09.964Z] $ docker stop --time=1 8d0ecc84a5ff5c741aa4ecbb1e7b36948e95c2fb7ffbb9875052ace398768af0 [2021-06-28T18:47:11.552Z] $ docker rm -f 8d0ecc84a5ff5c741aa4ecbb1e7b36948e95c2fb7ffbb9875052ace398768af0 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-28T18:47:12.051Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-28T18:47:12.310Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-06-28T18:47:15.666Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-28T18:47:15.965Z] + ls -al . [2021-06-28T18:47:15.965Z] total 228 [2021-06-28T18:47:15.965Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jun 28 18:47 . [2021-06-28T18:47:15.965Z] drwxrwxr-x. 4 jenkins jenkins 30 Jun 28 18:45 .. [2021-06-28T18:47:15.965Z] drwxrwxr-x. 2 jenkins jenkins 64 Jun 28 18:45 bin [2021-06-28T18:47:15.965Z] -rw-rw-r--. 1 jenkins jenkins 24816 Jun 28 18:45 CHANGELOG.md [2021-06-28T18:47:15.965Z] -rw-r--r--. 1 jenkins jenkins 125634 Jun 28 18:46 coverage.out [2021-06-28T18:47:15.965Z] -rw-rw-r--. 1 jenkins jenkins 987 Jun 28 18:45 Dockerfile.build [2021-06-28T18:47:15.965Z] -rw-rw-r--. 1 jenkins jenkins 140 Jun 28 18:45 .dockerignore [2021-06-28T18:47:15.965Z] drwxrwxr-x. 5 jenkins jenkins 62 Jun 28 18:45 example [2021-06-28T18:47:15.965Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 28 18:45 .git [2021-06-28T18:47:15.965Z] drwxrwxr-x. 2 jenkins jenkins 103 Jun 28 18:45 .github [2021-06-28T18:47:15.965Z] -rw-rw-r--. 1 jenkins jenkins 138 Jun 28 18:45 .gitignore [2021-06-28T18:47:15.965Z] -rw-r--r--. 1 jenkins jenkins 548 Jun 28 18:47 go.mod [2021-06-28T18:47:15.965Z] -rw-r--r--. 1 jenkins jenkins 20301 Jun 28 18:46 go.sum [2021-06-28T18:47:15.965Z] drwxrwxr-x. 15 jenkins jenkins 224 Jun 28 18:45 internal [2021-06-28T18:47:15.965Z] -rw-rw-r--. 1 jenkins jenkins 894 Jun 28 18:45 Jenkinsfile [2021-06-28T18:47:15.965Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jun 28 18:45 LICENSE [2021-06-28T18:47:15.965Z] -rw-rw-r--. 1 jenkins jenkins 1026 Jun 28 18:45 Makefile [2021-06-28T18:47:15.965Z] drwxrwxr-x. 4 jenkins jenkins 26 Jun 28 18:45 openapi [2021-06-28T18:47:15.965Z] drwxrwxr-x. 5 jenkins jenkins 50 Jun 28 18:45 pkg [2021-06-28T18:47:15.965Z] -rw-rw-r--. 1 jenkins jenkins 7652 Jun 28 18:45 README.md [2021-06-28T18:47:15.965Z] drwxrwxr-x. 4 jenkins jenkins 54 Jun 28 18:45 snap [2021-06-28T18:47:15.965Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 28 18:42 VERSION [2021-06-28T18:47:15.965Z] -rw-rw-r--. 1 jenkins jenkins 222 Jun 28 18:45 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-28T18:47:16.303Z] + 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=a200a697cbeb4a13629fc507033831eb88952044 --label arch=amd64 --label version=0.0.0 . [2021-06-28T18:47:16.303Z] Sending build context to Docker daemon 2.838MB [2021-06-28T18:47:16.303Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-06-28T18:47:16.303Z] Step 2/23 : FROM ${BASE} AS builder [2021-06-28T18:47:16.303Z] ---> c32e0fa2c45f [2021-06-28T18:47:16.303Z] Step 3/23 : WORKDIR /device-sdk-go [2021-06-28T18:47:16.571Z] ---> Running in 3c59ab1170c1 [2021-06-28T18:47:16.571Z] Removing intermediate container 3c59ab1170c1 [2021-06-28T18:47:16.571Z] ---> 7045ee5eee47 [2021-06-28T18:47:16.571Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-28T18:47:16.571Z] ---> Running in 15b9d20fd8e8 [2021-06-28T18:47:16.571Z] Removing intermediate container 15b9d20fd8e8 [2021-06-28T18:47:16.571Z] ---> 54304537a382 [2021-06-28T18:47:16.571Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-28T18:47:16.571Z] ---> Running in 277dec868453 [2021-06-28T18:47:17.147Z] Removing intermediate container 277dec868453 [2021-06-28T18:47:17.147Z] ---> d8453a6519a2 [2021-06-28T18:47:17.147Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-06-28T18:47:17.147Z] ---> Running in f1711bf6733b [2021-06-28T18:47:17.723Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-28T18:47:18.297Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-28T18:47:18.873Z] OK: 150 MiB in 46 packages [2021-06-28T18:47:19.135Z] Removing intermediate container f1711bf6733b [2021-06-28T18:47:19.135Z] ---> 244727c26483 [2021-06-28T18:47:19.135Z] Step 7/23 : COPY . . [2021-06-28T18:47:19.408Z] ---> d896673e845b [2021-06-28T18:47:19.408Z] Step 8/23 : RUN go mod download [2021-06-28T18:47:19.408Z] ---> Running in f940b1b48231 [2021-06-28T18:47:19.998Z] Removing intermediate container f940b1b48231 [2021-06-28T18:47:19.998Z] ---> cb0bcc7585c7 [2021-06-28T18:47:19.998Z] Step 9/23 : RUN make build [2021-06-28T18:47:19.998Z] ---> Running in 988709baa319 [2021-06-28T18:47:20.269Z] go mod tidy [2021-06-28T18:47:20.535Z] 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-28T18:47:32.870Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-06-28T18:47:32.870Z] Removing intermediate container 988709baa319 [2021-06-28T18:47:32.870Z] ---> 99425edf0215 [2021-06-28T18:47:32.870Z] Step 10/23 : FROM alpine:3.12 [2021-06-28T18:47:33.137Z] 3.12: Pulling from library/alpine [2021-06-28T18:47:33.137Z] 339de151aab4: Pulling fs layer [2021-06-28T18:47:33.399Z] 339de151aab4: Verifying Checksum [2021-06-28T18:47:33.399Z] 339de151aab4: Download complete [2021-06-28T18:47:33.661Z] 339de151aab4: Pull complete [2021-06-28T18:47:33.661Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-28T18:47:33.661Z] Status: Downloaded newer image for alpine:3.12 [2021-06-28T18:47:33.661Z] ---> 13621d1b12d4 [2021-06-28T18:47:33.661Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-28T18:47:33.661Z] ---> Running in 5eb6aa41a0f1 [2021-06-28T18:47:33.661Z] Removing intermediate container 5eb6aa41a0f1 [2021-06-28T18:47:33.661Z] ---> 80767dff5d7d [2021-06-28T18:47:33.661Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-28T18:47:33.661Z] ---> Running in a039ec1356b5 [2021-06-28T18:47:34.251Z] Removing intermediate container a039ec1356b5 [2021-06-28T18:47:34.251Z] ---> ab933c6b65e1 [2021-06-28T18:47:34.251Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-06-28T18:47:34.251Z] ---> Running in 0900c88cacd5 [2021-06-28T18:47:34.524Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-06-28T18:47:35.098Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-06-28T18:47:36.045Z] (1/5) Installing libgcc (9.3.0-r2) [2021-06-28T18:47:36.045Z] (2/5) Installing libsodium (1.0.18-r0) [2021-06-28T18:47:36.045Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-06-28T18:47:36.991Z] (4/5) Installing libzmq (4.3.3-r0) [2021-06-28T18:47:36.991Z] (5/5) Installing zeromq (4.3.3-r0) [2021-06-28T18:47:36.991Z] Executing busybox-1.31.1-r20.trigger [2021-06-28T18:47:36.991Z] OK: 8 MiB in 19 packages [2021-06-28T18:47:37.260Z] Removing intermediate container 0900c88cacd5 [2021-06-28T18:47:37.260Z] ---> 6a54a7d19778 [2021-06-28T18:47:37.260Z] Step 14/23 : WORKDIR / [2021-06-28T18:47:37.260Z] ---> Running in 95f8410f91d7 [2021-06-28T18:47:37.522Z] Removing intermediate container 95f8410f91d7 [2021-06-28T18:47:37.522Z] ---> 8ef431c73e60 [2021-06-28T18:47:37.522Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-06-28T18:47:37.522Z] ---> 39d19a2169ed [2021-06-28T18:47:37.522Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-06-28T18:47:38.098Z] ---> 0e21dee75972 [2021-06-28T18:47:38.098Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-06-28T18:47:38.098Z] ---> 12b34e92f081 [2021-06-28T18:47:38.098Z] Step 18/23 : EXPOSE 59999 [2021-06-28T18:47:38.098Z] ---> Running in 8f4d36e8ab25 [2021-06-28T18:47:38.360Z] Removing intermediate container 8f4d36e8ab25 [2021-06-28T18:47:38.360Z] ---> 82574c1df013 [2021-06-28T18:47:38.360Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-06-28T18:47:38.360Z] ---> Running in 10839006137d [2021-06-28T18:47:38.360Z] Removing intermediate container 10839006137d [2021-06-28T18:47:38.360Z] ---> 744aff211859 [2021-06-28T18:47:38.360Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-28T18:47:38.360Z] ---> Running in de2c4a2b95c0 [2021-06-28T18:47:38.575Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-06-28T18:47:38.575Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-06-28T18:47:38.575Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-06-28T18:47:38.623Z] Removing intermediate container de2c4a2b95c0 [2021-06-28T18:47:38.623Z] ---> 637fca1ca9f1 [2021-06-28T18:47:38.623Z] Step 21/23 : LABEL arch=amd64 [2021-06-28T18:47:38.623Z] ---> Running in e6f549751462 [2021-06-28T18:47:38.623Z] Removing intermediate container e6f549751462 [2021-06-28T18:47:38.623Z] ---> 0240136448ea [2021-06-28T18:47:38.623Z] Step 22/23 : LABEL git_sha=a200a697cbeb4a13629fc507033831eb88952044 [2021-06-28T18:47:38.623Z] ---> Running in 81ca1c0d86af [2021-06-28T18:47:38.623Z] Removing intermediate container 81ca1c0d86af [2021-06-28T18:47:38.623Z] ---> c4b65de92d6e [2021-06-28T18:47:38.623Z] Step 23/23 : LABEL version=0.0.0 [2021-06-28T18:47:38.885Z] ---> Running in 6d9618a5212a [2021-06-28T18:47:38.885Z] Removing intermediate container 6d9618a5212a [2021-06-28T18:47:38.885Z] ---> 641c1f25957f [2021-06-28T18:47:38.885Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-06-28T18:47:38.885Z] Successfully built 641c1f25957f [2021-06-28T18:47:38.885Z] 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-28T18:47:39.793Z] ---> job-cost.sh [2021-06-28T18:47:39.793Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-o1dq [2021-06-28T18:47:45.315Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.232s coverage: 24.2% of statements [2021-06-28T18:47:45.315Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-06-28T18:47:45.315Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.190s coverage: 28.1% of statements [2021-06-28T18:47:45.315Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.213s coverage: 78.9% of statements [2021-06-28T18:47:45.315Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.210s coverage: 9.0% of statements [2021-06-28T18:47:45.315Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-06-28T18:47:45.315Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-06-28T18:47:45.315Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-06-28T18:47:46.300Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.300s coverage: 28.7% of statements [2021-06-28T18:47:46.300Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-06-28T18:47:48.948Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.187s coverage: 83.3% of statements [2021-06-28T18:47:48.948Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-06-28T18:47:48.948Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-06-28T18:47:48.948Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.420s coverage: 58.0% of statements [2021-06-28T18:47:49.823Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-28T18:47:49.933Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.119s coverage: 89.2% of statements [2021-06-28T18:47:49.933Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-06-28T18:47:50.527Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.169s coverage: 4.9% of statements [2021-06-28T18:47:50.527Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-06-28T18:47:51.121Z] GO111MODULE=on go vet ./... [2021-06-28T18:48:02.120Z] lf-activate-venv(): INFO: Adding /tmp/venv-o1dq/bin to PATH [2021-06-28T18:48:02.120Z] INFO: No Stack... [2021-06-28T18:48:02.120Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-28T18:48:02.703Z] INFO: Archiving Costs [Pipeline] sh [2021-06-28T18:48:03.009Z] + cut -d, -f6 [2021-06-28T18:48:03.009Z] + cat /w/workspace/device-sdk-go/21/archives/cost.csv [Pipeline] lock [2021-06-28T18:48:03.043Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-971-21-stack-cost] [2021-06-28T18:48:03.054Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-971-21-stack-cost] did not exist. Created. [2021-06-28T18:48:03.054Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-971-21-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-28T18:48:03.390Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-28T18:48:03.464Z] Stashed 1 file(s) [Pipeline] } [2021-06-28T18:48:03.478Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-971-21-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-28T18:48:47.708Z] gofmt -l . [2021-06-28T18:48:47.708Z] [ "`gofmt -l .`" = "" ] [2021-06-28T18:48:47.708Z] ./bin/test-attribution-txt.sh [2021-06-28T18:48:47.708Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-28T18:48:47.724Z] $ docker stop --time=1 cf67dd7746bae6c4052aa1deb3878aff82a8320b3dd23fc4b60b9f07dc981e87 [2021-06-28T18:48:49.795Z] $ docker rm -f cf67dd7746bae6c4052aa1deb3878aff82a8320b3dd23fc4b60b9f07dc981e87 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-28T18:48:50.833Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-28T18:48:50.869Z] Warning: overwriting stash ‘coverage-report’ [2021-06-28T18:48:51.498Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-28T18:48:52.105Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-28T18:48:52.500Z] + ls -al . [2021-06-28T18:48:52.500Z] total 264 [2021-06-28T18:48:52.500Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 28 18:48 . [2021-06-28T18:48:52.500Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 28 18:44 .. [2021-06-28T18:48:52.500Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 28 18:44 .dockerignore [2021-06-28T18:48:52.500Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 28 18:44 .git [2021-06-28T18:48:52.500Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 28 18:44 .github [2021-06-28T18:48:52.500Z] -rw-rw-r-- 1 jenkins jenkins 138 Jun 28 18:44 .gitignore [2021-06-28T18:48:52.500Z] -rw-rw-r-- 1 jenkins jenkins 24816 Jun 28 18:44 CHANGELOG.md [2021-06-28T18:48:52.500Z] -rw-rw-r-- 1 jenkins jenkins 987 Jun 28 18:44 Dockerfile.build [2021-06-28T18:48:52.500Z] -rw-rw-r-- 1 jenkins jenkins 894 Jun 28 18:44 Jenkinsfile [2021-06-28T18:48:52.500Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jun 28 18:44 LICENSE [2021-06-28T18:48:52.500Z] -rw-rw-r-- 1 jenkins jenkins 1026 Jun 28 18:44 Makefile [2021-06-28T18:48:52.500Z] -rw-rw-r-- 1 jenkins jenkins 7652 Jun 28 18:44 README.md [2021-06-28T18:48:52.500Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 28 18:42 VERSION [2021-06-28T18:48:52.500Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 28 18:44 bin [2021-06-28T18:48:52.500Z] -rw-r--r-- 1 jenkins jenkins 125634 Jun 28 18:47 coverage.out [2021-06-28T18:48:52.500Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 28 18:44 example [2021-06-28T18:48:52.500Z] -rw-r--r-- 1 jenkins jenkins 548 Jun 28 18:48 go.mod [2021-06-28T18:48:52.500Z] -rw-r--r-- 1 jenkins jenkins 20301 Jun 28 18:46 go.sum [2021-06-28T18:48:52.500Z] drwxrwxr-x 15 jenkins jenkins 4096 Jun 28 18:44 internal [2021-06-28T18:48:52.500Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 28 18:44 openapi [2021-06-28T18:48:52.500Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 28 18:44 pkg [2021-06-28T18:48:52.500Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 28 18:44 snap [2021-06-28T18:48:52.500Z] -rw-rw-r-- 1 jenkins jenkins 222 Jun 28 18:44 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-28T18:48:52.985Z] + 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=3250c6c930071592050406afc61453a607c1c727 --label arch=arm64 --label version=0.0.0 . [2021-06-28T18:48:53.602Z] Sending build context to Docker daemon 2.838MB [2021-06-28T18:48:53.602Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-06-28T18:48:53.602Z] Step 2/23 : FROM ${BASE} AS builder [2021-06-28T18:48:53.602Z] ---> 05f7f3f8da4b [2021-06-28T18:48:53.602Z] Step 3/23 : WORKDIR /device-sdk-go [2021-06-28T18:48:53.876Z] ---> Running in 0bc94896bdd5 [2021-06-28T18:48:54.474Z] Removing intermediate container 0bc94896bdd5 [2021-06-28T18:48:54.474Z] ---> 4db10f459764 [2021-06-28T18:48:54.474Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-28T18:48:54.474Z] ---> Running in 23379c9b3b8e [2021-06-28T18:48:55.071Z] Removing intermediate container 23379c9b3b8e [2021-06-28T18:48:55.071Z] ---> 87927ca56886 [2021-06-28T18:48:55.072Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-28T18:48:55.072Z] ---> Running in f6e7e0c98be2 [2021-06-28T18:48:57.053Z] Removing intermediate container f6e7e0c98be2 [2021-06-28T18:48:57.053Z] ---> 63a5d2199d44 [2021-06-28T18:48:57.053Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-06-28T18:48:57.326Z] ---> Running in a01abd6a778c [2021-06-28T18:48:58.768Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-28T18:48:59.362Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-28T18:49:00.794Z] OK: 139 MiB in 46 packages [2021-06-28T18:49:01.776Z] Removing intermediate container a01abd6a778c [2021-06-28T18:49:01.776Z] ---> 18d6129b40bc [2021-06-28T18:49:01.776Z] Step 7/23 : COPY . . [2021-06-28T18:49:03.211Z] ---> 4a623c42d8ec [2021-06-28T18:49:03.211Z] Step 8/23 : RUN go mod download [2021-06-28T18:49:03.211Z] ---> Running in f945cb4241eb [2021-06-28T18:49:05.840Z] Removing intermediate container f945cb4241eb [2021-06-28T18:49:05.840Z] ---> 6dcbb64489d3 [2021-06-28T18:49:05.840Z] Step 9/23 : RUN make build [2021-06-28T18:49:05.840Z] ---> Running in 20fe97b1bf24 [2021-06-28T18:49:06.822Z] go mod tidy [2021-06-28T18:49:07.422Z] 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-28T18:49:39.819Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-06-28T18:49:41.260Z] Removing intermediate container 20fe97b1bf24 [2021-06-28T18:49:41.260Z] ---> 5d47a70dfa75 [2021-06-28T18:49:41.260Z] Step 10/23 : FROM alpine:3.12 [2021-06-28T18:49:42.239Z] 3.12: Pulling from library/alpine [2021-06-28T18:49:42.239Z] d2f70382dc9a: Pulling fs layer [2021-06-28T18:49:42.512Z] d2f70382dc9a: Verifying Checksum [2021-06-28T18:49:42.512Z] d2f70382dc9a: Download complete [2021-06-28T18:49:43.109Z] d2f70382dc9a: Pull complete [2021-06-28T18:49:43.109Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-28T18:49:43.109Z] Status: Downloaded newer image for alpine:3.12 [2021-06-28T18:49:43.109Z] ---> c4fd0aeabfcf [2021-06-28T18:49:43.109Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-28T18:49:43.381Z] ---> Running in 60d8caa3b618 [2021-06-28T18:49:43.656Z] Removing intermediate container 60d8caa3b618 [2021-06-28T18:49:43.656Z] ---> 52a061886931 [2021-06-28T18:49:43.656Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-28T18:49:43.929Z] ---> Running in a95bf43c4409 [2021-06-28T18:49:45.899Z] Removing intermediate container a95bf43c4409 [2021-06-28T18:49:45.899Z] ---> 02508d7060a6 [2021-06-28T18:49:45.899Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-06-28T18:49:46.180Z] ---> Running in c8fc2405311b [2021-06-28T18:49:47.616Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-28T18:49:48.207Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-28T18:49:48.800Z] (1/5) Installing libgcc (9.3.0-r2) [2021-06-28T18:49:48.800Z] (2/5) Installing libsodium (1.0.18-r0) [2021-06-28T18:49:48.800Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-06-28T18:49:49.392Z] (4/5) Installing libzmq (4.3.3-r0) [2021-06-28T18:49:49.392Z] (5/5) Installing zeromq (4.3.3-r0) [2021-06-28T18:49:49.392Z] Executing busybox-1.31.1-r20.trigger [2021-06-28T18:49:49.392Z] OK: 8 MiB in 19 packages [2021-06-28T18:49:50.826Z] Removing intermediate container c8fc2405311b [2021-06-28T18:49:50.826Z] ---> 2ba21c9f5936 [2021-06-28T18:49:50.826Z] Step 14/23 : WORKDIR / [2021-06-28T18:49:50.826Z] ---> Running in 46046f21b2d6 [2021-06-28T18:49:51.100Z] Removing intermediate container 46046f21b2d6 [2021-06-28T18:49:51.100Z] ---> 6233d736ecfb [2021-06-28T18:49:51.100Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-06-28T18:49:52.076Z] ---> 863de2ff0e31 [2021-06-28T18:49:52.076Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-06-28T18:49:53.058Z] ---> 031f08cbd078 [2021-06-28T18:49:53.058Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-06-28T18:49:54.050Z] ---> 0c487613874c [2021-06-28T18:49:54.050Z] Step 18/23 : EXPOSE 59999 [2021-06-28T18:49:54.050Z] ---> Running in 42a24d951561 [2021-06-28T18:49:54.648Z] Removing intermediate container 42a24d951561 [2021-06-28T18:49:54.648Z] ---> 4165c1c8eb56 [2021-06-28T18:49:54.648Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-06-28T18:49:54.648Z] ---> Running in 635609e0af23 [2021-06-28T18:49:55.248Z] Removing intermediate container 635609e0af23 [2021-06-28T18:49:55.248Z] ---> 4d4c118047df [2021-06-28T18:49:55.248Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-28T18:49:55.248Z] ---> Running in fd15727e61cd [2021-06-28T18:49:55.845Z] Removing intermediate container fd15727e61cd [2021-06-28T18:49:55.846Z] ---> a0e0520587c8 [2021-06-28T18:49:55.846Z] Step 21/23 : LABEL arch=arm64 [2021-06-28T18:49:55.846Z] ---> Running in 5c791b02b147 [2021-06-28T18:49:56.440Z] Removing intermediate container 5c791b02b147 [2021-06-28T18:49:56.440Z] ---> 7fbef65bd4b1 [2021-06-28T18:49:56.440Z] Step 22/23 : LABEL git_sha=3250c6c930071592050406afc61453a607c1c727 [2021-06-28T18:49:56.440Z] ---> Running in 3615559aa1ea [2021-06-28T18:49:57.042Z] Removing intermediate container 3615559aa1ea [2021-06-28T18:49:57.042Z] ---> 28b1377464d1 [2021-06-28T18:49:57.042Z] Step 23/23 : LABEL version=0.0.0 [2021-06-28T18:49:57.042Z] ---> Running in 1adc3cc5a768 [2021-06-28T18:49:57.637Z] Removing intermediate container 1adc3cc5a768 [2021-06-28T18:49:57.637Z] ---> 98d40cbd9f9b [2021-06-28T18:49:57.637Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-06-28T18:49:57.637Z] Successfully built 98d40cbd9f9b [2021-06-28T18:49:57.637Z] 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-28T18:49:58.266Z] ---> job-cost.sh [2021-06-28T18:49:58.266Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-DmtC [2021-06-28T18:50:37.235Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-28T18:51:59.021Z] lf-activate-venv(): INFO: Adding /tmp/venv-DmtC/bin to PATH [2021-06-28T18:51:59.021Z] INFO: No Stack... [2021-06-28T18:51:59.991Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-28T18:52:00.263Z] INFO: Archiving Costs [Pipeline] sh [2021-06-28T18:52:00.607Z] + cat /w/workspace/device-sdk-go/21/archives/cost.csv [2021-06-28T18:52:00.608Z] + cut -d, -f6 [Pipeline] lock [2021-06-28T18:52:00.669Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-971-21-stack-cost] [2021-06-28T18:52:00.679Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-971-21-stack-cost] did not exist. Created. [2021-06-28T18:52:00.679Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-971-21-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-28T18:52:01.061Z] /w/workspace/device-sdk-go/21@tmp/durable-25f797e8/script.sh: 1: /w/workspace/device-sdk-go/21@tmp/durable-25f797e8/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-28T18:52:01.443Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-28T18:52:01.497Z] Warning: overwriting stash ‘stack-cost’ [2021-06-28T18:52:01.670Z] Stashed 1 file(s) [Pipeline] } [2021-06-28T18:52:01.680Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-971-21-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-28T18:52:02.565Z] provisioning config files... [2021-06-28T18:52:02.575Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/config6380287408191571560tmp [Pipeline] { [Pipeline] sh [2021-06-28T18:52:02.910Z] + set +x [2021-06-28T18:52:02.910Z] + curl -s https://codecov.io/bash [2021-06-28T18:52:02.910Z] + bash -s -- [2021-06-28T18:52:02.910Z] [2021-06-28T18:52:02.910Z] _____ _ [2021-06-28T18:52:02.910Z] / ____| | | [2021-06-28T18:52:02.910Z] | | ___ __| | ___ ___ _____ __ [2021-06-28T18:52:02.910Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-28T18:52:02.910Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-28T18:52:02.910Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-28T18:52:02.910Z] Bash-1.0.3 [2021-06-28T18:52:02.910Z] [2021-06-28T18:52:02.910Z] [2021-06-28T18:52:02.910Z] ==> git version 2.24.4 found [2021-06-28T18:52:02.910Z] ==> 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-28T18:52:02.910Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-28T18:52:02.910Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-28T18:52:02.910Z] ==> Jenkins CI detected. [2021-06-28T18:52:02.910Z] project root: . [2021-06-28T18:52:02.910Z] --> token set from env [2021-06-28T18:52:02.910Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-28T18:52:03.172Z] ==> Running gcov in . (disable via -X gcov) [2021-06-28T18:52:03.172Z] ==> Python coveragepy not found [2021-06-28T18:52:03.172Z] ==> Searching for coverage reports in: [2021-06-28T18:52:03.172Z] + . [2021-06-28T18:52:03.172Z] -> Found 1 reports [2021-06-28T18:52:03.172Z] ==> Detecting git/mercurial file structure [2021-06-28T18:52:03.172Z] ==> Reading reports [2021-06-28T18:52:03.172Z] + ./coverage.out bytes=125634 [2021-06-28T18:52:03.172Z] ==> Appending adjustments [2021-06-28T18:52:03.172Z] https://docs.codecov.io/docs/fixing-reports [2021-06-28T18:52:03.436Z] + Found adjustments [2021-06-28T18:52:03.436Z] ==> Gzipping contents [2021-06-28T18:52:03.436Z] 16K /tmp/codecov.jrTuQK.gz [2021-06-28T18:52:03.436Z] ==> Uploading reports [2021-06-28T18:52:03.436Z] url: https://codecov.io [2021-06-28T18:52:03.436Z] query: branch=PR-971&commit=3a872afe27e3b23c29e29ed09666c79a5128f62a&build=21&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-971%2F21%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=971&job=&cmd_args= [2021-06-28T18:52:03.436Z] -> Pinging Codecov [2021-06-28T18:52:03.436Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-971&commit=3a872afe27e3b23c29e29ed09666c79a5128f62a&build=21&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-971%2F21%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=971&job=&cmd_args= [2021-06-28T18:52:03.700Z] -> Uploading to [2021-06-28T18:52:03.700Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-28/7E55EF52A471D76F132DFD9A03CDDE97/3a872afe27e3b23c29e29ed09666c79a5128f62a/fd57d0f5-a810-44ba-b2f7-d5a7e0aae524.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210628%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210628T185203Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ae5575afa734ec112a299ee64be4e11096ee024308ab5e2d33f9a5b6287cfddb [2021-06-28T18:52:03.963Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-28T18:52:03.963Z] Dload Upload Total Spent Left Speed [2021-06-28T18:52:04.226Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16353 0 0 100 16353 0 32185 --:--:-- --:--:-- --:--:-- 32254 [2021-06-28T18:52:04.226Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/3a872afe27e3b23c29e29ed09666c79a5128f62a [Pipeline] } [2021-06-28T18:52:04.235Z] 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-28T18:52:05.977Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-28T18:52:06.553Z] ---> package-listing.sh [2021-06-28T18:52:06.553Z] ++ facter osfamily [2021-06-28T18:52:06.553Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-28T18:52:06.814Z] + OS_FAMILY=redhat [2021-06-28T18:52:06.814Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-971 [2021-06-28T18:52:06.814Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-28T18:52:06.814Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-28T18:52:06.814Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-28T18:52:06.814Z] + PACKAGES=/tmp/packages_start.txt [2021-06-28T18:52:06.814Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-971 ']' [2021-06-28T18:52:06.814Z] + PACKAGES=/tmp/packages_end.txt [2021-06-28T18:52:06.814Z] + case "${OS_FAMILY}" in [2021-06-28T18:52:06.814Z] + sort [2021-06-28T18:52:06.814Z] + rpm -qa [2021-06-28T18:52:07.762Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-28T18:52:07.762Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-28T18:52:07.762Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-28T18:52:07.762Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-971 ']' [2021-06-28T18:52:07.762Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-971/archives/ [2021-06-28T18:52:07.762Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-971/archives/ [Pipeline] echo [2021-06-28T18:52:07.777Z] 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-971/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-06-28T18:52:08.064Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-28T18:52:08.636Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-28T18:52:08.636Z] [2021-06-28T18:52:08.636Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-28T18:52:08.960Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-28T18:52:08.960Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-28T18:52:08.960Z] df20fa9351a1: Pulling fs layer [2021-06-28T18:52:08.960Z] 36b3adc4ff6f: Pulling fs layer [2021-06-28T18:52:08.960Z] 8ad3a11d3b57: Pulling fs layer [2021-06-28T18:52:08.960Z] 46f8f816bc3b: Pulling fs layer [2021-06-28T18:52:08.960Z] 93b61091891f: Pulling fs layer [2021-06-28T18:52:08.960Z] 93b9cdb0e59b: Pulling fs layer [2021-06-28T18:52:08.960Z] 5e14af77c1be: Pulling fs layer [2021-06-28T18:52:08.960Z] 01666e4c0597: Pulling fs layer [2021-06-28T18:52:08.960Z] aa168da1d23b: Pulling fs layer [2021-06-28T18:52:08.960Z] 46f8f816bc3b: Waiting [2021-06-28T18:52:08.960Z] 93b61091891f: Waiting [2021-06-28T18:52:08.960Z] 93b9cdb0e59b: Waiting [2021-06-28T18:52:08.960Z] 5e14af77c1be: Waiting [2021-06-28T18:52:08.960Z] 01666e4c0597: Waiting [2021-06-28T18:52:08.960Z] aa168da1d23b: Waiting [2021-06-28T18:52:09.223Z] df20fa9351a1: Verifying Checksum [2021-06-28T18:52:09.223Z] 46f8f816bc3b: Verifying Checksum [2021-06-28T18:52:09.223Z] 46f8f816bc3b: Download complete [2021-06-28T18:52:09.223Z] 36b3adc4ff6f: Verifying Checksum [2021-06-28T18:52:09.223Z] 36b3adc4ff6f: Download complete [2021-06-28T18:52:09.223Z] 93b61091891f: Verifying Checksum [2021-06-28T18:52:09.223Z] 93b61091891f: Download complete [2021-06-28T18:52:09.223Z] 93b9cdb0e59b: Verifying Checksum [2021-06-28T18:52:09.223Z] 93b9cdb0e59b: Download complete [2021-06-28T18:52:09.223Z] 8ad3a11d3b57: Verifying Checksum [2021-06-28T18:52:09.223Z] 8ad3a11d3b57: Download complete [2021-06-28T18:52:09.223Z] 5e14af77c1be: Verifying Checksum [2021-06-28T18:52:09.223Z] 5e14af77c1be: Download complete [2021-06-28T18:52:09.223Z] 01666e4c0597: Verifying Checksum [2021-06-28T18:52:09.223Z] 01666e4c0597: Download complete [2021-06-28T18:52:09.223Z] df20fa9351a1: Pull complete [2021-06-28T18:52:09.489Z] 36b3adc4ff6f: Pull complete [2021-06-28T18:52:10.072Z] 8ad3a11d3b57: Pull complete [2021-06-28T18:52:10.072Z] 46f8f816bc3b: Pull complete [2021-06-28T18:52:10.333Z] 93b61091891f: Pull complete [2021-06-28T18:52:10.602Z] 93b9cdb0e59b: Pull complete [2021-06-28T18:52:10.602Z] 5e14af77c1be: Pull complete [2021-06-28T18:52:10.866Z] 01666e4c0597: Pull complete [2021-06-28T18:52:11.446Z] aa168da1d23b: Verifying Checksum [2021-06-28T18:52:11.446Z] aa168da1d23b: Download complete [2021-06-28T18:52:16.784Z] aa168da1d23b: Pull complete [2021-06-28T18:52:16.784Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-28T18:52:16.784Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-28T18:52:16.784Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-28T18:52:16.870Z] prd-centos7-docker-4c-2g-554 does not seem to be running inside a container [2021-06-28T18:52:16.914Z] $ 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-971/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-971 -v /w/workspace/dgexfoundry_device-sdk-go_PR-971:/w/workspace/dgexfoundry_device-sdk-go_PR-971:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-971@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-28T18:52:18.744Z] $ docker top cfaec36fb654cd3cde5935ba67d8dddf2d23155cff342a04455cf0ddcb4a4f70 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-28T18:52:19.156Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-28T18:52:19.461Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-28T18:52:19.762Z] + ls /var/log/sa-host [2021-06-28T18:52:19.762Z] + sadf -c /var/log/sa-host/sa05 [2021-06-28T18:52:19.762Z] file_magic: OK [2021-06-28T18:52:19.762Z] HZ: Using current value: 100 [2021-06-28T18:52:19.762Z] file_header: OK [2021-06-28T18:52:19.762Z] 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-28T18:52:19.762Z] Statistics: [2021-06-28T18:52:19.762Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-28T18:52:19.762Z] File successfully converted to sysstat format version 12.2.1 [2021-06-28T18:52:19.762Z] + sadf -c /var/log/sa-host/sa28 [2021-06-28T18:52:19.762Z] file_magic: OK [2021-06-28T18:52:19.762Z] HZ: Using current value: 100 [2021-06-28T18:52:19.762Z] file_header: OK [2021-06-28T18:52:19.762Z] 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-28T18:52:19.762Z] Statistics: [2021-06-28T18:52:19.762Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-28T18:52:19.762Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-28T18:52:20.453Z] provisioning config files... [2021-06-28T18:52:20.468Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/config5478291772623397812tmp [Pipeline] { [Pipeline] echo [2021-06-28T18:52:20.493Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-28T18:52:20.798Z] ---> create-netrc.sh [Pipeline] } [2021-06-28T18:52:20.807Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-28T18:52:21.227Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-28T18:52:21.239Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-28T18:52:21.546Z] ---> sudo-logs.sh [2021-06-28T18:52:21.546Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-28T18:52:21.579Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-28T18:52:21.887Z] ---> job-cost.sh [2021-06-28T18:52:21.887Z] lf-activate-venv: SKIPPING [2021-06-28T18:52:21.887Z] DEBUG: total: 0.18000000715255737 [2021-06-28T18:52:21.887Z] INFO: Retrieving Stack Cost... [2021-06-28T18:52:22.835Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-28T18:52:23.410Z] INFO: Archiving Costs [Pipeline] echo [2021-06-28T18:52:23.425Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-28T18:52:23.726Z] ---> logs-deploy.sh [2021-06-28T18:52:23.726Z] lf-activate-venv: SKIPPING [2021-06-28T18:52:23.726Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-971/21 [2021-06-28T18:52:23.726Z] INFO: archiving workspace using pattern(s): [2021-06-28T18:52:24.678Z] Archives upload complete. [2021-06-28T18:52:24.678Z] INFO: archiving logs to Nexus