Pull request #963 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 20da3331bdb28ab51644e28d14139a1a09155047+7da1a5c70de286a2cd09e8b91a7cd8a6ffb23a5f (610c422f29ad54461dfe75c6561c8e2df5ae6b96) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4234654449944186160.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f4a1163c6b2b14014f487cca778b157dcbc6cc6b Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh6202515558746540489.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision f4a1163c6b2b14014f487cca778b157dcbc6cc6b The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-963/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-963/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6753205932702988919.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f4a1163c6b2b14014f487cca778b157dcbc6cc6b (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f4a1163c6b2b14014f487cca778b157dcbc6cc6b # timeout=10 Commit message: "Merge pull request #339 from ernestojeda/disable-snaps-temp" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8406017319081091174.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-963/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-963/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh244567288285097008.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd (master) > git config core.sparsecheckout # timeout=10 > git checkout -f d1a99147b03c6cd90561f8e70b7af78166bcd4cd # timeout=10 Commit message: "Feat: Add initial Java pipeline functionality" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-29 in /w/workspace/dgexfoundry_device-sdk-go_PR-963 [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-963 # 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-963@tmp/jenkins-gitclient-ssh3724032671929765981.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/dgexfoundry_device-sdk-go_PR-963@tmp/jenkins-gitclient-ssh3620375395944621847.key Merging remotes/origin/master commit 7da1a5c70de286a2cd09e8b91a7cd8a6ffb23a5f into PR head commit 20da3331bdb28ab51644e28d14139a1a09155047 Merge succeeded, producing 20da3331bdb28ab51644e28d14139a1a09155047 Checking out Revision 20da3331bdb28ab51644e28d14139a1a09155047 (PR-963) > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/963/head:refs/remotes/origin/PR-963 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 20da3331bdb28ab51644e28d14139a1a09155047 # 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-963@tmp/jenkins-gitclient-ssh8972834881410824973.key > git merge 7da1a5c70de286a2cd09e8b91a7cd8a6ffb23a5f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 20da3331bdb28ab51644e28d14139a1a09155047 # timeout=10 Commit message: "Merge branch 'master' into issue-954" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-09T12:42:42.520Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-09T12:42:42.743Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-09T12:42:42.869Z] ========================================================= [2021-06-09T12:42:42.869Z] EdgeX Global Pipelines Version Info [2021-06-09T12:42:42.869Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-09T12:42:44.452Z] ------------------- [2021-06-09T12:42:44.452Z] stable info: [2021-06-09T12:42:44.452Z] ------------------- [2021-06-09T12:42:44.452Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-09T12:42:44.452Z] Commit SHA: f4a1163c6b2b14014f487cca778b157dcbc6cc6b [2021-06-09T12:42:44.452Z] Message: update stable to v1.0.194 [2021-06-09T12:42:45.024Z] ------------------- [2021-06-09T12:42:45.024Z] experimental info: [2021-06-09T12:42:45.024Z] ------------------- [2021-06-09T12:42:45.024Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-09T12:42:45.024Z] Commit SHA: f4a1163c6b2b14014f487cca778b157dcbc6cc6b [2021-06-09T12:42:45.024Z] Message: update experimental to v1.0.194 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-09T12:42:45.266Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-06-09T12:42:45.363Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-06-09T12:42:45.425Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-09T12:42:45.486Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-09T12:42:45.549Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-09T12:42:45.611Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-09T12:42:45.689Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-09T12:42:45.746Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-09T12:42:45.813Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-06-09T12:42:45.871Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-09T12:42:45.931Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-09T12:42:45.991Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-06-09T12:42:46.051Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-09T12:42:46.113Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-09T12:42:46.173Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-09T12:42:46.231Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-06-09T12:42:46.290Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-09T12:42:46.356Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-09T12:42:46.425Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-09T12:42:46.487Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-09T12:42:46.548Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-06-09T12:42:46.624Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-06-09T12:42:46.682Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-09T12:42:46.743Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-09T12:42:46.798Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-09T12:42:46.857Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-09T12:42:46.944Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-963 [Pipeline] echo [2021-06-09T12:42:47.001Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-963 [Pipeline] echo [2021-06-09T12:42:47.061Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-963 [Pipeline] echo [2021-06-09T12:42:47.117Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 20da3331bdb28ab51644e28d14139a1a09155047 [Pipeline] echo [2021-06-09T12:42:47.202Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 20da333 [Pipeline] echo [2021-06-09T12:42:47.262Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-09T12:42:47.427Z] provisioning config files... [2021-06-09T12:42:47.443Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-963@tmp/config5393631957545954979tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-09T12:42:47.823Z] ---> docker-login.sh [2021-06-09T12:42:47.823Z] nexus3.edgexfoundry.org:10001 [2021-06-09T12:42:47.823Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T12:42:48.088Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T12:42:48.088Z] Configure a credential helper to remove this warning. See [2021-06-09T12:42:48.088Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T12:42:48.088Z] [2021-06-09T12:42:48.088Z] Login Succeeded [2021-06-09T12:42:48.088Z] nexus3.edgexfoundry.org:10002 [2021-06-09T12:42:48.088Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T12:42:48.350Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T12:42:48.350Z] Configure a credential helper to remove this warning. See [2021-06-09T12:42:48.350Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T12:42:48.350Z] [2021-06-09T12:42:48.350Z] Login Succeeded [2021-06-09T12:42:48.350Z] nexus3.edgexfoundry.org:10003 [2021-06-09T12:42:48.350Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T12:42:48.350Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T12:42:48.350Z] Configure a credential helper to remove this warning. See [2021-06-09T12:42:48.350Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T12:42:48.350Z] [2021-06-09T12:42:48.350Z] Login Succeeded [2021-06-09T12:42:48.350Z] nexus3.edgexfoundry.org:10004 [2021-06-09T12:42:48.350Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T12:42:48.624Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T12:42:48.624Z] Configure a credential helper to remove this warning. See [2021-06-09T12:42:48.624Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T12:42:48.624Z] [2021-06-09T12:42:48.624Z] Login Succeeded [2021-06-09T12:42:48.624Z] docker.io [2021-06-09T12:42:48.624Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T12:42:48.886Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T12:42:48.886Z] Configure a credential helper to remove this warning. See [2021-06-09T12:42:48.886Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T12:42:48.886Z] [2021-06-09T12:42:48.886Z] Login Succeeded [2021-06-09T12:42:48.886Z] ---> docker-login.sh ends [Pipeline] } [2021-06-09T12:42:48.910Z] 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-09T12:42:49.729Z] + git log --format=format:%s -1 20da3331bdb28ab51644e28d14139a1a09155047 [Pipeline] echo [2021-06-09T12:42:49.788Z] GIT_COMMIT: 20da3331bdb28ab51644e28d14139a1a09155047, Commit Message: Merge branch 'master' into issue-954 [Pipeline] echo [2021-06-09T12:42:49.828Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-09T12:42:50.456Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-09T12:42:50.456Z] [2021-06-09T12:42:50.456Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-09T12:42:50.808Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-09T12:42:50.808Z] latest: Pulling from edgex-devops/git-semver [2021-06-09T12:42:50.808Z] 31603596830f: Pulling fs layer [2021-06-09T12:42:50.808Z] 54011a49482f: Pulling fs layer [2021-06-09T12:42:50.808Z] a6820b24f6d8: Pulling fs layer [2021-06-09T12:42:50.808Z] f581987b2513: Pulling fs layer [2021-06-09T12:42:50.808Z] f581987b2513: Waiting [2021-06-09T12:42:50.808Z] 54011a49482f: Download complete [2021-06-09T12:42:50.808Z] 31603596830f: Verifying Checksum [2021-06-09T12:42:50.808Z] 31603596830f: Download complete [2021-06-09T12:42:51.073Z] f581987b2513: Verifying Checksum [2021-06-09T12:42:51.073Z] f581987b2513: Download complete [2021-06-09T12:42:51.073Z] 31603596830f: Pull complete [2021-06-09T12:42:51.073Z] a6820b24f6d8: Verifying Checksum [2021-06-09T12:42:51.073Z] a6820b24f6d8: Download complete [2021-06-09T12:42:51.333Z] 54011a49482f: Pull complete [2021-06-09T12:42:51.916Z] a6820b24f6d8: Pull complete [2021-06-09T12:42:52.187Z] f581987b2513: Pull complete [2021-06-09T12:42:52.187Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-09T12:42:52.187Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-09T12:42:52.187Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-09T12:42:52.289Z] prd-centos7-docker-4c-2g-29 does not seem to be running inside a container [2021-06-09T12:42:52.364Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-963 -v /w/workspace/dgexfoundry_device-sdk-go_PR-963:/w/workspace/dgexfoundry_device-sdk-go_PR-963:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-963@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-963@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-09T12:42:53.459Z] $ docker top c2baa435f99a25b2e0a229a5afe649bc4317efb680372ee0f0bb67542d25144c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-09T12:42:53.665Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-09T12:42:53.666Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-09T12:42:53.777Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-09T12:42:53.781Z] $ docker exec c2baa435f99a25b2e0a229a5afe649bc4317efb680372ee0f0bb67542d25144c ssh-agent [2021-06-09T12:42:53.894Z] SSH_AUTH_SOCK=/tmp/ssh-xXcEZpwY8gfz/agent.14 [2021-06-09T12:42:53.894Z] SSH_AGENT_PID=20 [2021-06-09T12:42:53.902Z] Running ssh-add (command line suppressed) [2021-06-09T12:42:54.019Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-963@tmp/private_key_6106615286058027723.key (/w/workspace/dgexfoundry_device-sdk-go_PR-963@tmp/private_key_6106615286058027723.key) [2021-06-09T12:42:54.030Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-09T12:42:54.389Z] + git tag --points-at HEAD [Pipeline] } [2021-06-09T12:42:54.414Z] $ docker exec --env ******** --env ******** c2baa435f99a25b2e0a229a5afe649bc4317efb680372ee0f0bb67542d25144c ssh-agent -k [2021-06-09T12:42:54.516Z] unset SSH_AUTH_SOCK; [2021-06-09T12:42:54.516Z] unset SSH_AGENT_PID; [2021-06-09T12:42:54.516Z] echo Agent pid 20 killed; [2021-06-09T12:42:54.526Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-09T12:42:54.615Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-09T12:42:54.615Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-09T12:42:54.742Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-09T12:42:54.747Z] $ docker exec c2baa435f99a25b2e0a229a5afe649bc4317efb680372ee0f0bb67542d25144c ssh-agent [2021-06-09T12:42:54.855Z] SSH_AUTH_SOCK=/tmp/ssh-p0JIU51b12tO/agent.52 [2021-06-09T12:42:54.855Z] SSH_AGENT_PID=59 [2021-06-09T12:42:54.861Z] Running ssh-add (command line suppressed) [2021-06-09T12:42:54.955Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-963@tmp/private_key_5637792013580254826.key (/w/workspace/dgexfoundry_device-sdk-go_PR-963@tmp/private_key_5637792013580254826.key) [2021-06-09T12:42:54.967Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-09T12:42:55.309Z] + git semver init [2021-06-09T12:42:55.309Z] # -> Open(): unable to determine branch for HEAD [2021-06-09T12:42:55.309Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-963/.git [2021-06-09T12:42:55.309Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-963 [2021-06-09T12:42:55.309Z] # $SEMVER_REMOTE_NAME = origin [2021-06-09T12:42:55.309Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-09T12:42:55.309Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-09T12:42:55.309Z] # $SEMVER_BRANCH = PR-963 [2021-06-09T12:42:55.309Z] # $SEMVER_TEMP = /tmp/semver-849904824 [2021-06-09T12:42:55.309Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-06-09T12:42:56.263Z] # '/tmp/semver-849904824' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-963/.semver' [2021-06-09T12:42:56.263Z] # -> Force: false [2021-06-09T12:42:56.263Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-963/.semver [Pipeline] } [2021-06-09T12:42:56.285Z] $ docker exec --env ******** --env ******** c2baa435f99a25b2e0a229a5afe649bc4317efb680372ee0f0bb67542d25144c ssh-agent -k [2021-06-09T12:42:56.380Z] unset SSH_AUTH_SOCK; [2021-06-09T12:42:56.380Z] unset SSH_AGENT_PID; [2021-06-09T12:42:56.380Z] echo Agent pid 59 killed; [2021-06-09T12:42:56.391Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-09T12:42:56.848Z] + git semver [Pipeline] } [2021-06-09T12:42:56.887Z] $ docker stop --time=1 c2baa435f99a25b2e0a229a5afe649bc4317efb680372ee0f0bb67542d25144c [2021-06-09T12:42:58.171Z] $ docker rm -f c2baa435f99a25b2e0a229a5afe649bc4317efb680372ee0f0bb67542d25144c [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-09T12:42:58.608Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-09T12:42:58.929Z] Stashed 1 file(s) [Pipeline] echo [2021-06-09T12:42:58.950Z] [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-09T12:43:14.476Z] Still waiting to schedule task [2021-06-09T12:43:14.476Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-06-09T12:43:14.499Z] Still waiting to schedule task [2021-06-09T12:43:14.500Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-06-09T12:45:21.281Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-30 in /w/workspace/dgexfoundry_device-sdk-go_PR-963 [Pipeline] { [Pipeline] ws [2021-06-09T12:45:21.362Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-06-09T12:45:21.643Z] Selected Git installation does not exist. Using Default [2021-06-09T12:45:21.643Z] The recommended git tool is: NONE [2021-06-09T12:45:26.785Z] using credential edgex-jenkins-ssh [2021-06-09T12:45:26.802Z] Cloning the remote Git repository [2021-06-09T12:45:26.847Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-06-09T12:45:26.976Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2021-06-09T12:45:27.054Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-09T12:45:27.055Z] > git --version # timeout=10 [2021-06-09T12:45:27.077Z] > git --version # 'git version 2.17.1' [2021-06-09T12:45:27.078Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-09T12:45:27.242Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-09T12:45:28.605Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-09T12:45:28.626Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-09T12:45:28.656Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-09T12:45:28.694Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-09T12:45:28.695Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-09T12:45:28.708Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/963/head:refs/remotes/origin/PR-963 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-09T12:45:29.413Z] Merging remotes/origin/master commit 7da1a5c70de286a2cd09e8b91a7cd8a6ffb23a5f into PR head commit 20da3331bdb28ab51644e28d14139a1a09155047 [2021-06-09T12:45:29.633Z] Merge succeeded, producing 20da3331bdb28ab51644e28d14139a1a09155047 [2021-06-09T12:45:29.634Z] Checking out Revision 20da3331bdb28ab51644e28d14139a1a09155047 (PR-963) [2021-06-09T12:45:29.429Z] > git config core.sparsecheckout # timeout=10 [2021-06-09T12:45:29.459Z] > git checkout -f 20da3331bdb28ab51644e28d14139a1a09155047 # timeout=10 [2021-06-09T12:45:29.554Z] > git remote # timeout=10 [2021-06-09T12:45:29.570Z] > git config --get remote.origin.url # timeout=10 [2021-06-09T12:45:29.586Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-09T12:45:29.597Z] > git merge 7da1a5c70de286a2cd09e8b91a7cd8a6ffb23a5f # timeout=10 [2021-06-09T12:45:29.618Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-09T12:45:29.637Z] > git config core.sparsecheckout # timeout=10 [2021-06-09T12:45:29.649Z] > git checkout -f 20da3331bdb28ab51644e28d14139a1a09155047 # timeout=10 [2021-06-09T12:45:33.925Z] Commit message: "Merge branch 'master' into issue-954" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-09T12:45:35.947Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-09T12:45:36.425Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-09T12:45:36.803Z] + sudo service docker restart [2021-06-09T12:45:36.804Z] + true [2021-06-09T12:45:39.678Z] Running on prd-centos7-docker-4c-2g-31 in /w/workspace/dgexfoundry_device-sdk-go_PR-963 [Pipeline] { [Pipeline] ws [2021-06-09T12:45:39.731Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-06-09T12:45:39.889Z] Selected Git installation does not exist. Using Default [2021-06-09T12:45:39.889Z] The recommended git tool is: NONE [2021-06-09T12:45:42.066Z] using credential edgex-jenkins-ssh [2021-06-09T12:45:42.079Z] Cloning the remote Git repository [2021-06-09T12:45:42.092Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-06-09T12:45:42.157Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2021-06-09T12:45:42.192Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-09T12:45:42.192Z] > git --version # timeout=10 [2021-06-09T12:45:42.202Z] > git --version # 'git version 2.24.4' [2021-06-09T12:45:42.202Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-09T12:45:42.223Z] [INFO] Currently running in a labeled security context [2021-06-09T12:45:42.223Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-09T12:45:42.223Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/3@tmp/jenkins-gitclient-ssh3419680377467281221.key [2021-06-09T12:45:42.271Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-09T12:45:42.903Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-09T12:45:42.911Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-09T12:45:42.919Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-09T12:45:42.935Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-09T12:45:42.935Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-09T12:45:42.936Z] [INFO] Currently running in a labeled security context [2021-06-09T12:45:42.937Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-09T12:45:42.937Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/3@tmp/jenkins-gitclient-ssh3606483600383228200.key [2021-06-09T12:45:42.944Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/963/head:refs/remotes/origin/PR-963 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-09T12:45:43.447Z] Merging remotes/origin/master commit 7da1a5c70de286a2cd09e8b91a7cd8a6ffb23a5f into PR head commit 20da3331bdb28ab51644e28d14139a1a09155047 [2021-06-09T12:45:43.546Z] Merge succeeded, producing 20da3331bdb28ab51644e28d14139a1a09155047 [2021-06-09T12:45:43.547Z] Checking out Revision 20da3331bdb28ab51644e28d14139a1a09155047 (PR-963) [2021-06-09T12:45:43.451Z] > git config core.sparsecheckout # timeout=10 [2021-06-09T12:45:43.456Z] > git checkout -f 20da3331bdb28ab51644e28d14139a1a09155047 # timeout=10 [2021-06-09T12:45:43.491Z] > git remote # timeout=10 [2021-06-09T12:45:43.498Z] > git config --get remote.origin.url # timeout=10 [2021-06-09T12:45:43.508Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-09T12:45:43.509Z] [INFO] Currently running in a labeled security context [2021-06-09T12:45:43.509Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-09T12:45:43.509Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/3@tmp/jenkins-gitclient-ssh2995477103107228883.key [2021-06-09T12:45:43.515Z] > git merge 7da1a5c70de286a2cd09e8b91a7cd8a6ffb23a5f # timeout=10 [2021-06-09T12:45:43.527Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-09T12:45:43.544Z] > git config core.sparsecheckout # timeout=10 [2021-06-09T12:45:43.553Z] > git checkout -f 20da3331bdb28ab51644e28d14139a1a09155047 # timeout=10 [2021-06-09T12:45:47.091Z] Commit message: "Merge branch 'master' into issue-954" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-09T12:45:48.334Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-09T12:45:48.678Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-09T12:45:49.006Z] + true [2021-06-09T12:45:49.007Z] + sudo service docker restart [2021-06-09T12:45:49.007Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-09T12:45:55.209Z] provisioning config files... [2021-06-09T12:45:55.236Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config3919230680335644542tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-09T12:45:55.670Z] ---> docker-login.sh [2021-06-09T12:45:55.670Z] nexus3.edgexfoundry.org:10001 [2021-06-09T12:45:56.647Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T12:45:56.921Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T12:45:56.921Z] Configure a credential helper to remove this warning. See [2021-06-09T12:45:56.921Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T12:45:56.921Z] [2021-06-09T12:45:56.921Z] Login Succeeded [2021-06-09T12:45:56.921Z] nexus3.edgexfoundry.org:10002 [2021-06-09T12:45:57.196Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T12:45:57.471Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T12:45:57.471Z] Configure a credential helper to remove this warning. See [2021-06-09T12:45:57.471Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T12:45:57.471Z] [2021-06-09T12:45:57.471Z] Login Succeeded [2021-06-09T12:45:57.471Z] nexus3.edgexfoundry.org:10003 [2021-06-09T12:45:57.743Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T12:45:57.743Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T12:45:57.743Z] Configure a credential helper to remove this warning. See [2021-06-09T12:45:57.743Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T12:45:57.743Z] [2021-06-09T12:45:57.743Z] Login Succeeded [2021-06-09T12:45:58.016Z] nexus3.edgexfoundry.org:10004 [2021-06-09T12:45:58.292Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T12:45:58.292Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T12:45:58.292Z] Configure a credential helper to remove this warning. See [2021-06-09T12:45:58.292Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T12:45:58.292Z] [2021-06-09T12:45:58.292Z] Login Succeeded [2021-06-09T12:45:58.292Z] docker.io [2021-06-09T12:45:58.890Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T12:45:59.163Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T12:45:59.163Z] Configure a credential helper to remove this warning. See [2021-06-09T12:45:59.163Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T12:45:59.163Z] [2021-06-09T12:45:59.163Z] Login Succeeded [2021-06-09T12:45:59.163Z] ---> docker-login.sh ends [Pipeline] } [2021-06-09T12:45:59.234Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-09T12:45:59.640Z] ========================================================= [2021-06-09T12:45:59.640Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-09T12:45:59.640Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-09T12:46:00.037Z] + 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-09T12:46:00.646Z] Sending build context to Docker daemon 2.67MB [2021-06-09T12:46:00.646Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-09T12:46:00.646Z] Step 2/8 : FROM ${BASE} [2021-06-09T12:46:00.920Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-09T12:46:00.920Z] 595b0fe564bb: Pulling fs layer [2021-06-09T12:46:00.920Z] 7186ed65a4f7: Pulling fs layer [2021-06-09T12:46:00.920Z] 316046926c0a: Pulling fs layer [2021-06-09T12:46:00.920Z] 4ebd0625c992: Pulling fs layer [2021-06-09T12:46:00.920Z] 207e8628e3a3: Pulling fs layer [2021-06-09T12:46:00.920Z] c791037a9be2: Pulling fs layer [2021-06-09T12:46:00.920Z] ffd874e62e21: Pulling fs layer [2021-06-09T12:46:00.920Z] 207e8628e3a3: Waiting [2021-06-09T12:46:00.920Z] c791037a9be2: Waiting [2021-06-09T12:46:00.920Z] ffd874e62e21: Waiting [2021-06-09T12:46:00.920Z] 4ebd0625c992: Waiting [2021-06-09T12:46:00.920Z] 316046926c0a: Download complete [2021-06-09T12:46:00.920Z] 7186ed65a4f7: Download complete [2021-06-09T12:46:00.920Z] 207e8628e3a3: Download complete [2021-06-09T12:46:00.920Z] 595b0fe564bb: Verifying Checksum [2021-06-09T12:46:00.920Z] 595b0fe564bb: Download complete [2021-06-09T12:46:00.920Z] c791037a9be2: Verifying Checksum [2021-06-09T12:46:00.920Z] c791037a9be2: Download complete [2021-06-09T12:46:01.521Z] 595b0fe564bb: Pull complete [2021-06-09T12:46:02.129Z] 7186ed65a4f7: Pull complete [2021-06-09T12:46:02.734Z] 316046926c0a: Pull complete [2021-06-09T12:46:03.342Z] ffd874e62e21: Verifying Checksum [2021-06-09T12:46:03.342Z] ffd874e62e21: Download complete [2021-06-09T12:46:04.323Z] 4ebd0625c992: Verifying Checksum [2021-06-09T12:46:04.323Z] 4ebd0625c992: Download complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-09T12:46:07.270Z] provisioning config files... [2021-06-09T12:46:07.284Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config8604431586018209026tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-09T12:46:07.681Z] ---> docker-login.sh [2021-06-09T12:46:07.681Z] nexus3.edgexfoundry.org:10001 [2021-06-09T12:46:07.681Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T12:46:07.945Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T12:46:07.945Z] Configure a credential helper to remove this warning. See [2021-06-09T12:46:07.945Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T12:46:07.945Z] [2021-06-09T12:46:07.945Z] Login Succeeded [2021-06-09T12:46:07.945Z] nexus3.edgexfoundry.org:10002 [2021-06-09T12:46:07.945Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T12:46:07.945Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T12:46:07.945Z] Configure a credential helper to remove this warning. See [2021-06-09T12:46:07.945Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T12:46:07.945Z] [2021-06-09T12:46:07.945Z] Login Succeeded [2021-06-09T12:46:07.945Z] nexus3.edgexfoundry.org:10003 [2021-06-09T12:46:08.215Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T12:46:08.215Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T12:46:08.215Z] Configure a credential helper to remove this warning. See [2021-06-09T12:46:08.215Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T12:46:08.215Z] [2021-06-09T12:46:08.215Z] Login Succeeded [2021-06-09T12:46:08.215Z] nexus3.edgexfoundry.org:10004 [2021-06-09T12:46:08.215Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T12:46:08.215Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T12:46:08.215Z] Configure a credential helper to remove this warning. See [2021-06-09T12:46:08.215Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T12:46:08.215Z] [2021-06-09T12:46:08.215Z] Login Succeeded [2021-06-09T12:46:08.215Z] docker.io [2021-06-09T12:46:08.215Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T12:46:08.478Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T12:46:08.478Z] Configure a credential helper to remove this warning. See [2021-06-09T12:46:08.478Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T12:46:08.478Z] [2021-06-09T12:46:08.478Z] Login Succeeded [2021-06-09T12:46:08.478Z] ---> docker-login.sh ends [Pipeline] } [2021-06-09T12:46:08.508Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-09T12:46:08.848Z] ========================================================= [2021-06-09T12:46:08.848Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-09T12:46:08.848Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-09T12:46:09.208Z] + 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-09T12:46:09.208Z] Sending build context to Docker daemon 2.671MB [2021-06-09T12:46:09.208Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-09T12:46:09.208Z] Step 2/8 : FROM ${BASE} [2021-06-09T12:46:09.208Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-09T12:46:09.208Z] 540db60ca938: Pulling fs layer [2021-06-09T12:46:09.208Z] adcc1eea9eea: Pulling fs layer [2021-06-09T12:46:09.208Z] 4c4ab2625f07: Pulling fs layer [2021-06-09T12:46:09.208Z] 0510c868ecb4: Pulling fs layer [2021-06-09T12:46:09.208Z] afea3b2eda06: Pulling fs layer [2021-06-09T12:46:09.208Z] 7809a108b3ef: Pulling fs layer [2021-06-09T12:46:09.208Z] f706445af74f: Pulling fs layer [2021-06-09T12:46:09.208Z] 0510c868ecb4: Waiting [2021-06-09T12:46:09.208Z] afea3b2eda06: Waiting [2021-06-09T12:46:09.208Z] 7809a108b3ef: Waiting [2021-06-09T12:46:09.208Z] f706445af74f: Waiting [2021-06-09T12:46:09.472Z] 4c4ab2625f07: Verifying Checksum [2021-06-09T12:46:09.472Z] 4c4ab2625f07: Download complete [2021-06-09T12:46:09.472Z] adcc1eea9eea: Verifying Checksum [2021-06-09T12:46:09.472Z] adcc1eea9eea: Download complete [2021-06-09T12:46:09.472Z] afea3b2eda06: Verifying Checksum [2021-06-09T12:46:09.472Z] afea3b2eda06: Download complete [2021-06-09T12:46:09.472Z] 7809a108b3ef: Verifying Checksum [2021-06-09T12:46:09.472Z] 7809a108b3ef: Download complete [2021-06-09T12:46:09.472Z] 540db60ca938: Verifying Checksum [2021-06-09T12:46:09.472Z] 540db60ca938: Download complete [2021-06-09T12:46:09.735Z] 540db60ca938: Pull complete [2021-06-09T12:46:09.735Z] adcc1eea9eea: Pull complete [2021-06-09T12:46:09.995Z] 4c4ab2625f07: Pull complete [2021-06-09T12:46:11.388Z] f706445af74f: Verifying Checksum [2021-06-09T12:46:11.388Z] f706445af74f: Download complete [2021-06-09T12:46:11.388Z] 0510c868ecb4: Verifying Checksum [2021-06-09T12:46:11.388Z] 0510c868ecb4: Download complete [2021-06-09T12:46:14.515Z] 4ebd0625c992: Pull complete [2021-06-09T12:46:14.515Z] 207e8628e3a3: Pull complete [2021-06-09T12:46:14.706Z] 0510c868ecb4: Pull complete [2021-06-09T12:46:14.706Z] afea3b2eda06: Pull complete [2021-06-09T12:46:14.706Z] 7809a108b3ef: Pull complete [2021-06-09T12:46:14.799Z] c791037a9be2: Pull complete [2021-06-09T12:46:16.140Z] f706445af74f: Pull complete [2021-06-09T12:46:16.140Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-09T12:46:16.140Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-09T12:46:16.140Z] ---> b068be0155e3 [2021-06-09T12:46:16.140Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-09T12:46:19.140Z] ffd874e62e21: Pull complete [2021-06-09T12:46:19.140Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-06-09T12:46:19.140Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-09T12:46:19.140Z] ---> cfc18b08335c [2021-06-09T12:46:19.140Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-09T12:46:19.499Z] ---> Running in 4ed4754afa18 [2021-06-09T12:46:19.499Z] Removing intermediate container 4ed4754afa18 [2021-06-09T12:46:19.499Z] ---> 7ad6a171be3d [2021-06-09T12:46:19.499Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-09T12:46:19.499Z] ---> Running in a1b0bf2a7011 [2021-06-09T12:46:20.079Z] Removing intermediate container a1b0bf2a7011 [2021-06-09T12:46:20.079Z] ---> 3aa55d51ad6c [2021-06-09T12:46:20.079Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-06-09T12:46:20.079Z] ---> Running in e5dab974f35f [2021-06-09T12:46:20.344Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-09T12:46:21.130Z] ---> Running in ee17c742ad68 [2021-06-09T12:46:21.292Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-09T12:46:21.865Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-06-09T12:46:21.865Z] (2/6) Installing libsodium (1.0.18-r0) [2021-06-09T12:46:21.865Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-06-09T12:46:21.865Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-06-09T12:46:21.874Z] Removing intermediate container ee17c742ad68 [2021-06-09T12:46:21.874Z] ---> 633a604a89df [2021-06-09T12:46:21.874Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-09T12:46:22.127Z] (5/6) Installing libzmq (4.3.3-r1) [2021-06-09T12:46:22.127Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-06-09T12:46:22.127Z] Executing busybox-1.32.1-r6.trigger [2021-06-09T12:46:22.148Z] ---> Running in 3da22f2974f4 [2021-06-09T12:46:22.388Z] OK: 150 MiB in 46 packages [2021-06-09T12:46:22.652Z] Removing intermediate container e5dab974f35f [2021-06-09T12:46:22.652Z] ---> fdc5150c8e23 [2021-06-09T12:46:22.652Z] Step 6/8 : WORKDIR /device-sdk-go [2021-06-09T12:46:22.652Z] ---> Running in 339ef8fc6c7b [2021-06-09T12:46:22.652Z] Removing intermediate container 339ef8fc6c7b [2021-06-09T12:46:22.652Z] ---> 0cdf20fac09c [2021-06-09T12:46:22.652Z] Step 7/8 : COPY . . [2021-06-09T12:46:22.918Z] ---> 9cd808cbd189 [2021-06-09T12:46:22.918Z] Step 8/8 : RUN go mod download [2021-06-09T12:46:22.918Z] ---> Running in 30c8f56af6a9 [2021-06-09T12:46:24.792Z] Removing intermediate container 3da22f2974f4 [2021-06-09T12:46:24.792Z] ---> 0594a6db4f9a [2021-06-09T12:46:24.792Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-06-09T12:46:25.064Z] ---> Running in 975f61a03406 [2021-06-09T12:46:26.494Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-09T12:46:27.472Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-09T12:46:28.066Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-06-09T12:46:28.335Z] (2/6) Installing libsodium (1.0.18-r0) [2021-06-09T12:46:28.335Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-06-09T12:46:28.335Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-06-09T12:46:28.608Z] (5/6) Installing libzmq (4.3.3-r1) [2021-06-09T12:46:28.608Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-06-09T12:46:28.608Z] Executing busybox-1.32.1-r6.trigger [2021-06-09T12:46:28.608Z] OK: 139 MiB in 46 packages [2021-06-09T12:46:30.587Z] Removing intermediate container 975f61a03406 [2021-06-09T12:46:30.587Z] ---> 4b16246026ea [2021-06-09T12:46:30.587Z] Step 6/8 : WORKDIR /device-sdk-go [2021-06-09T12:46:30.587Z] ---> Running in 22fa7fe7bfb7 [2021-06-09T12:46:32.024Z] Removing intermediate container 22fa7fe7bfb7 [2021-06-09T12:46:32.024Z] ---> a368f202cdce [2021-06-09T12:46:32.024Z] Step 7/8 : COPY . . [2021-06-09T12:46:33.023Z] ---> be2c8784b90d [2021-06-09T12:46:33.023Z] Step 8/8 : RUN go mod download [2021-06-09T12:46:33.294Z] ---> Running in 3d106c57cf9a [2021-06-09T12:46:37.845Z] Removing intermediate container 30c8f56af6a9 [2021-06-09T12:46:37.845Z] ---> b96b6f4603a9 [2021-06-09T12:46:37.845Z] Successfully built b96b6f4603a9 [2021-06-09T12:46:37.845Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-09T12:46:38.183Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-09T12:46:38.183Z] . [Pipeline] withDockerContainer [2021-06-09T12:46:38.293Z] prd-centos7-docker-4c-2g-31 does not seem to be running inside a container [2021-06-09T12:46:38.331Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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-x86_64 cat [2021-06-09T12:46:38.710Z] $ docker top d2c73523d64989a65c7f4eeae01fa200537599859278d15d17ae1d1b46a9074e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-09T12:46:39.160Z] + go version [2021-06-09T12:46:39.161Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-09T12:46:39.189Z] $ docker stop --time=1 d2c73523d64989a65c7f4eeae01fa200537599859278d15d17ae1d1b46a9074e [2021-06-09T12:46:40.366Z] $ docker rm -f d2c73523d64989a65c7f4eeae01fa200537599859278d15d17ae1d1b46a9074e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-09T12:46:41.251Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-09T12:46:41.251Z] . [Pipeline] withDockerContainer [2021-06-09T12:46:41.352Z] prd-centos7-docker-4c-2g-31 does not seem to be running inside a container [2021-06-09T12:46:41.400Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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-x86_64 cat [2021-06-09T12:46:41.780Z] $ docker top d843a5bd3114fd240df94607a94be5d1b1b3d745715d1bf7bcaae63ec4ca7e7f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-09T12:46:42.246Z] + go mod tidy [Pipeline] sh [2021-06-09T12:46:42.851Z] + make test [2021-06-09T12:46:42.852Z] go mod tidy [2021-06-09T12:46:42.852Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-06-09T12:46:48.163Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-06-09T12:47:00.090Z] Removing intermediate container 3d106c57cf9a [2021-06-09T12:47:00.090Z] ---> e329defc7a22 [2021-06-09T12:47:00.090Z] Successfully built e329defc7a22 [2021-06-09T12:47:00.090Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-09T12:47:00.460Z] + docker inspect -f . ci-base-image-arm64 [2021-06-09T12:47:00.460Z] . [Pipeline] withDockerContainer [2021-06-09T12:47:00.711Z] prd-ubuntu18.04-docker-arm64-4c-16g-30 does not seem to be running inside a container [2021-06-09T12:47:00.814Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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-arm64 cat [2021-06-09T12:47:02.482Z] $ docker top 7f50be78fc0b8c92bc05ea41db3f5f1b5a7cf98190f71711147245691f0f11ba -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-09T12:47:03.486Z] + go version [2021-06-09T12:47:03.486Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-06-09T12:47:03.523Z] $ docker stop --time=1 7f50be78fc0b8c92bc05ea41db3f5f1b5a7cf98190f71711147245691f0f11ba [2021-06-09T12:47:05.327Z] $ docker rm -f 7f50be78fc0b8c92bc05ea41db3f5f1b5a7cf98190f71711147245691f0f11ba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-09T12:47:06.464Z] + docker inspect -f . ci-base-image-arm64 [2021-06-09T12:47:06.464Z] . [Pipeline] withDockerContainer [2021-06-09T12:47:06.740Z] prd-ubuntu18.04-docker-arm64-4c-16g-30 does not seem to be running inside a container [2021-06-09T12:47:06.817Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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-arm64 cat [2021-06-09T12:47:08.434Z] $ docker top 82a5f1b1c08556ad32b470034bdac87b556177923a634f6da6964424f1491447 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-09T12:47:09.506Z] + go mod tidy [Pipeline] sh [2021-06-09T12:47:10.207Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-06-09T12:47:10.208Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-06-09T12:47:10.208Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-06-09T12:47:10.844Z] + make test [2021-06-09T12:47:10.844Z] go mod tidy [2021-06-09T12:47:11.452Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-06-09T12:47:12.190Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.048s coverage: 25.4% of statements [2021-06-09T12:47:12.190Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-06-09T12:47:12.190Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.057s coverage: 28.1% of statements [2021-06-09T12:47:12.770Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.049s coverage: 78.9% of statements [2021-06-09T12:47:13.034Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.047s coverage: 9.0% of statements [2021-06-09T12:47:13.034Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-06-09T12:47:13.034Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-06-09T12:47:13.034Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-06-09T12:47:13.989Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.062s coverage: 29.2% of statements [2021-06-09T12:47:13.989Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-06-09T12:47:14.945Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.049s coverage: 83.3% of statements [2021-06-09T12:47:14.945Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-06-09T12:47:14.945Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-06-09T12:47:14.945Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.077s coverage: 58.0% of statements [2021-06-09T12:47:15.892Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.821s coverage: 89.2% of statements [2021-06-09T12:47:15.892Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-06-09T12:47:15.892Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.048s coverage: 5.0% of statements [2021-06-09T12:47:15.892Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-06-09T12:47:16.157Z] GO111MODULE=on go vet ./... [2021-06-09T12:47:34.367Z] gofmt -l . [2021-06-09T12:47:34.367Z] [ "`gofmt -l .`" = "" ] [2021-06-09T12:47:34.367Z] ./bin/test-attribution-txt.sh [2021-06-09T12:47:34.367Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-09T12:47:34.398Z] $ docker stop --time=1 d843a5bd3114fd240df94607a94be5d1b1b3d745715d1bf7bcaae63ec4ca7e7f [2021-06-09T12:47:35.887Z] $ docker rm -f d843a5bd3114fd240df94607a94be5d1b1b3d745715d1bf7bcaae63ec4ca7e7f [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-09T12:47:36.415Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-09T12:47:36.675Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-06-09T12:47:38.295Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [Pipeline] sh [2021-06-09T12:47:40.924Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-09T12:47:41.245Z] + ls -al . [2021-06-09T12:47:41.245Z] total 208 [2021-06-09T12:47:41.245Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jun 9 12:47 . [2021-06-09T12:47:41.245Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 9 12:45 .. [2021-06-09T12:47:41.245Z] drwxrwxr-x. 2 jenkins jenkins 64 Jun 9 12:45 bin [2021-06-09T12:47:41.245Z] -rw-r--r--. 1 jenkins jenkins 126071 Jun 9 12:47 coverage.out [2021-06-09T12:47:41.245Z] -rw-rw-r--. 1 jenkins jenkins 987 Jun 9 12:45 Dockerfile.build [2021-06-09T12:47:41.245Z] -rw-rw-r--. 1 jenkins jenkins 140 Jun 9 12:45 .dockerignore [2021-06-09T12:47:41.245Z] drwxrwxr-x. 5 jenkins jenkins 62 Jun 9 12:45 example [2021-06-09T12:47:41.245Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 9 12:45 .git [2021-06-09T12:47:41.245Z] drwxrwxr-x. 2 jenkins jenkins 103 Jun 9 12:45 .github [2021-06-09T12:47:41.245Z] -rw-rw-r--. 1 jenkins jenkins 138 Jun 9 12:45 .gitignore [2021-06-09T12:47:41.245Z] -rw-r--r--. 1 jenkins jenkins 575 Jun 9 12:47 go.mod [2021-06-09T12:47:41.245Z] -rw-r--r--. 1 jenkins jenkins 20381 Jun 9 12:46 go.sum [2021-06-09T12:47:41.245Z] drwxrwxr-x. 15 jenkins jenkins 224 Jun 9 12:45 internal [2021-06-09T12:47:41.245Z] -rw-rw-r--. 1 jenkins jenkins 894 Jun 9 12:45 Jenkinsfile [2021-06-09T12:47:41.245Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jun 9 12:45 LICENSE [2021-06-09T12:47:41.245Z] -rw-rw-r--. 1 jenkins jenkins 1026 Jun 9 12:45 Makefile [2021-06-09T12:47:41.245Z] drwxrwxr-x. 4 jenkins jenkins 26 Jun 9 12:45 openapi [2021-06-09T12:47:41.245Z] drwxrwxr-x. 5 jenkins jenkins 50 Jun 9 12:45 pkg [2021-06-09T12:47:41.245Z] -rw-rw-r--. 1 jenkins jenkins 7652 Jun 9 12:45 README.md [2021-06-09T12:47:41.245Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jun 9 12:45 RELEASE-NOTES.txt [2021-06-09T12:47:41.245Z] drwxrwxr-x. 4 jenkins jenkins 54 Jun 9 12:45 snap [2021-06-09T12:47:41.245Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 9 12:42 VERSION [2021-06-09T12:47:41.245Z] -rw-rw-r--. 1 jenkins jenkins 222 Jun 9 12:45 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-09T12:47:41.593Z] + 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=20da3331bdb28ab51644e28d14139a1a09155047 --label arch=amd64 --label version=0.0.0 . [2021-06-09T12:47:41.593Z] Sending build context to Docker daemon 2.798MB [2021-06-09T12:47:41.593Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-06-09T12:47:41.593Z] Step 2/23 : FROM ${BASE} AS builder [2021-06-09T12:47:41.593Z] ---> b96b6f4603a9 [2021-06-09T12:47:41.593Z] Step 3/23 : WORKDIR /device-sdk-go [2021-06-09T12:47:41.593Z] ---> Running in f0021dc1edb2 [2021-06-09T12:47:41.860Z] Removing intermediate container f0021dc1edb2 [2021-06-09T12:47:41.860Z] ---> 9796a3aa3fc0 [2021-06-09T12:47:41.860Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-09T12:47:41.860Z] ---> Running in d5e02efe5675 [2021-06-09T12:47:41.860Z] Removing intermediate container d5e02efe5675 [2021-06-09T12:47:41.860Z] ---> ca5f06924457 [2021-06-09T12:47:41.860Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-09T12:47:41.860Z] ---> Running in b5d1a028f8b4 [2021-06-09T12:47:42.433Z] Removing intermediate container b5d1a028f8b4 [2021-06-09T12:47:42.433Z] ---> 10570a46b185 [2021-06-09T12:47:42.433Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-06-09T12:47:42.433Z] ---> Running in 82c99836e2a1 [2021-06-09T12:47:42.694Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-09T12:47:43.634Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-09T12:47:43.896Z] OK: 150 MiB in 46 packages [2021-06-09T12:47:44.157Z] Removing intermediate container 82c99836e2a1 [2021-06-09T12:47:44.157Z] ---> 2d547f6062f6 [2021-06-09T12:47:44.157Z] Step 7/23 : COPY . . [2021-06-09T12:47:44.418Z] ---> d05d32c94603 [2021-06-09T12:47:44.418Z] Step 8/23 : RUN go mod download [2021-06-09T12:47:44.418Z] ---> Running in 2e06d23f0206 [2021-06-09T12:47:44.994Z] Removing intermediate container 2e06d23f0206 [2021-06-09T12:47:44.994Z] ---> 3d0ae9a67c50 [2021-06-09T12:47:44.994Z] Step 9/23 : RUN make build [2021-06-09T12:47:44.994Z] ---> Running in 956aa3d06663 [2021-06-09T12:47:45.268Z] go mod tidy [2021-06-09T12:47:45.540Z] 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-09T12:47:55.620Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-06-09T12:47:56.193Z] Removing intermediate container 956aa3d06663 [2021-06-09T12:47:56.193Z] ---> e6461e6fdbdf [2021-06-09T12:47:56.193Z] Step 10/23 : FROM alpine:3.12 [2021-06-09T12:47:56.765Z] 3.12: Pulling from library/alpine [2021-06-09T12:47:56.765Z] 339de151aab4: Pulling fs layer [2021-06-09T12:47:56.765Z] 339de151aab4: Verifying Checksum [2021-06-09T12:47:56.765Z] 339de151aab4: Download complete [2021-06-09T12:47:57.026Z] 339de151aab4: Pull complete [2021-06-09T12:47:57.026Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-06-09T12:47:57.026Z] Status: Downloaded newer image for alpine:3.12 [2021-06-09T12:47:57.026Z] ---> 13621d1b12d4 [2021-06-09T12:47:57.026Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-09T12:47:57.026Z] ---> Running in 69f1f733ed1d [2021-06-09T12:47:57.026Z] Removing intermediate container 69f1f733ed1d [2021-06-09T12:47:57.026Z] ---> 47f0874aa374 [2021-06-09T12:47:57.026Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-09T12:47:57.286Z] ---> Running in 123cfc08c9e2 [2021-06-09T12:47:57.549Z] Removing intermediate container 123cfc08c9e2 [2021-06-09T12:47:57.549Z] ---> 16a1fb50f020 [2021-06-09T12:47:57.549Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-06-09T12:47:57.549Z] ---> Running in 89e7e0d79d44 [2021-06-09T12:47:57.812Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-06-09T12:47:58.384Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-06-09T12:47:58.956Z] (1/5) Installing libgcc (9.3.0-r2) [2021-06-09T12:47:58.956Z] (2/5) Installing libsodium (1.0.18-r0) [2021-06-09T12:47:58.956Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-06-09T12:47:59.899Z] (4/5) Installing libzmq (4.3.3-r0) [2021-06-09T12:47:59.899Z] (5/5) Installing zeromq (4.3.3-r0) [2021-06-09T12:48:00.162Z] Executing busybox-1.31.1-r20.trigger [2021-06-09T12:48:00.162Z] OK: 8 MiB in 19 packages [2021-06-09T12:48:00.438Z] Removing intermediate container 89e7e0d79d44 [2021-06-09T12:48:00.438Z] ---> f002e303fd1c [2021-06-09T12:48:00.438Z] Step 14/23 : WORKDIR / [2021-06-09T12:48:00.438Z] ---> Running in f708ee1cbb08 [2021-06-09T12:48:00.438Z] Removing intermediate container f708ee1cbb08 [2021-06-09T12:48:00.438Z] ---> ed6061bd6150 [2021-06-09T12:48:00.438Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-06-09T12:48:00.699Z] ---> 0d725aea4921 [2021-06-09T12:48:00.699Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-06-09T12:48:00.964Z] ---> bc0cf8a065c0 [2021-06-09T12:48:00.964Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-06-09T12:48:01.227Z] ---> 65941bfcd993 [2021-06-09T12:48:01.227Z] Step 18/23 : EXPOSE 59999 [2021-06-09T12:48:01.227Z] ---> Running in fa751d1e2a86 [2021-06-09T12:48:01.227Z] Removing intermediate container fa751d1e2a86 [2021-06-09T12:48:01.227Z] ---> aff69a2a7505 [2021-06-09T12:48:01.227Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-06-09T12:48:01.228Z] ---> Running in 59ba9285ea04 [2021-06-09T12:48:01.491Z] Removing intermediate container 59ba9285ea04 [2021-06-09T12:48:01.491Z] ---> 9f1fe3b4c139 [2021-06-09T12:48:01.491Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-09T12:48:01.491Z] ---> Running in 260b7e51d823 [2021-06-09T12:48:01.491Z] Removing intermediate container 260b7e51d823 [2021-06-09T12:48:01.491Z] ---> a4591f9cd21e [2021-06-09T12:48:01.491Z] Step 21/23 : LABEL arch=amd64 [2021-06-09T12:48:01.491Z] ---> Running in 33f48c02ef2b [2021-06-09T12:48:01.491Z] Removing intermediate container 33f48c02ef2b [2021-06-09T12:48:01.491Z] ---> 6d06f7ad1c5e [2021-06-09T12:48:01.491Z] Step 22/23 : LABEL git_sha=20da3331bdb28ab51644e28d14139a1a09155047 [2021-06-09T12:48:01.780Z] ---> Running in f1d9d69850ac [2021-06-09T12:48:01.780Z] Removing intermediate container f1d9d69850ac [2021-06-09T12:48:01.780Z] ---> 7816b37dc871 [2021-06-09T12:48:01.780Z] Step 23/23 : LABEL version=0.0.0 [2021-06-09T12:48:01.780Z] ---> Running in ec58b4d6535e [2021-06-09T12:48:01.780Z] Removing intermediate container ec58b4d6535e [2021-06-09T12:48:01.780Z] ---> 5b42df6af1c2 [2021-06-09T12:48:01.780Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-06-09T12:48:01.780Z] Successfully built 5b42df6af1c2 [2021-06-09T12:48:01.780Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-06-09T12:48:02.878Z] ---> job-cost.sh [2021-06-09T12:48:02.879Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-YJeH [2021-06-09T12:48:11.039Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-09T12:48:26.002Z] lf-activate-venv(): INFO: Adding /tmp/venv-YJeH/bin to PATH [2021-06-09T12:48:26.002Z] INFO: No Stack... [2021-06-09T12:48:26.002Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-09T12:48:26.002Z] INFO: Archiving Costs [Pipeline] sh [2021-06-09T12:48:26.334Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv [2021-06-09T12:48:26.335Z] + cut -d, -f6 [Pipeline] lock [2021-06-09T12:48:26.397Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-963-3-stack-cost] [2021-06-09T12:48:26.403Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-963-3-stack-cost] did not exist. Created. [2021-06-09T12:48:26.403Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-963-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-09T12:48:26.836Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-09T12:48:26.921Z] Stashed 1 file(s) [Pipeline] } [2021-06-09T12:48:26.942Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-963-3-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-09T12:48:34.917Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-06-09T12:48:34.917Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-06-09T12:48:34.917Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-06-09T12:48:50.040Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.363s coverage: 25.4% of statements [2021-06-09T12:48:50.040Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-06-09T12:48:50.040Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.293s coverage: 28.1% of statements [2021-06-09T12:48:50.040Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.213s coverage: 78.9% of statements [2021-06-09T12:48:50.040Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.223s coverage: 9.0% of statements [2021-06-09T12:48:50.040Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-06-09T12:48:50.040Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-06-09T12:48:50.040Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-06-09T12:48:50.646Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.265s coverage: 29.2% of statements [2021-06-09T12:48:50.646Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-06-09T12:48:51.640Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.206s coverage: 83.3% of statements [2021-06-09T12:48:51.640Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-06-09T12:48:51.640Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-06-09T12:48:52.628Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.359s coverage: 58.0% of statements [2021-06-09T12:48:55.243Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.149s coverage: 89.2% of statements [2021-06-09T12:48:55.243Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-06-09T12:48:55.243Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.186s coverage: 5.0% of statements [2021-06-09T12:48:55.243Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-06-09T12:48:55.841Z] GO111MODULE=on go vet ./... [2021-06-09T12:49:52.434Z] gofmt -l . [2021-06-09T12:49:52.434Z] [ "`gofmt -l .`" = "" ] [2021-06-09T12:49:52.434Z] ./bin/test-attribution-txt.sh [2021-06-09T12:49:52.434Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-09T12:49:52.470Z] $ docker stop --time=1 82a5f1b1c08556ad32b470034bdac87b556177923a634f6da6964424f1491447 [2021-06-09T12:49:54.510Z] $ docker rm -f 82a5f1b1c08556ad32b470034bdac87b556177923a634f6da6964424f1491447 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-09T12:49:55.680Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-09T12:49:55.721Z] Warning: overwriting stash ‘coverage-report’ [2021-06-09T12:49:56.374Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-09T12:49:57.182Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-09T12:49:57.538Z] + ls -al . [2021-06-09T12:49:57.538Z] total 244 [2021-06-09T12:49:57.538Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 9 12:49 . [2021-06-09T12:49:57.538Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 9 12:45 .. [2021-06-09T12:49:57.538Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 9 12:45 .dockerignore [2021-06-09T12:49:57.538Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 9 12:45 .git [2021-06-09T12:49:57.538Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 9 12:45 .github [2021-06-09T12:49:57.538Z] -rw-rw-r-- 1 jenkins jenkins 138 Jun 9 12:45 .gitignore [2021-06-09T12:49:57.538Z] -rw-rw-r-- 1 jenkins jenkins 987 Jun 9 12:45 Dockerfile.build [2021-06-09T12:49:57.538Z] -rw-rw-r-- 1 jenkins jenkins 894 Jun 9 12:45 Jenkinsfile [2021-06-09T12:49:57.538Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jun 9 12:45 LICENSE [2021-06-09T12:49:57.538Z] -rw-rw-r-- 1 jenkins jenkins 1026 Jun 9 12:45 Makefile [2021-06-09T12:49:57.538Z] -rw-rw-r-- 1 jenkins jenkins 7652 Jun 9 12:45 README.md [2021-06-09T12:49:57.538Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jun 9 12:45 RELEASE-NOTES.txt [2021-06-09T12:49:57.538Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 9 12:42 VERSION [2021-06-09T12:49:57.538Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 9 12:45 bin [2021-06-09T12:49:57.538Z] -rw-r--r-- 1 jenkins jenkins 126071 Jun 9 12:48 coverage.out [2021-06-09T12:49:57.538Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 9 12:45 example [2021-06-09T12:49:57.538Z] -rw-r--r-- 1 jenkins jenkins 575 Jun 9 12:49 go.mod [2021-06-09T12:49:57.538Z] -rw-r--r-- 1 jenkins jenkins 20381 Jun 9 12:47 go.sum [2021-06-09T12:49:57.538Z] drwxrwxr-x 15 jenkins jenkins 4096 Jun 9 12:45 internal [2021-06-09T12:49:57.538Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 9 12:45 openapi [2021-06-09T12:49:57.538Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 9 12:45 pkg [2021-06-09T12:49:57.538Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 9 12:45 snap [2021-06-09T12:49:57.538Z] -rw-rw-r-- 1 jenkins jenkins 222 Jun 9 12:45 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-09T12:49:57.922Z] + 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=20da3331bdb28ab51644e28d14139a1a09155047 --label arch=arm64 --label version=0.0.0 . [2021-06-09T12:49:58.530Z] Sending build context to Docker daemon 2.797MB [2021-06-09T12:49:58.530Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-06-09T12:49:58.530Z] Step 2/23 : FROM ${BASE} AS builder [2021-06-09T12:49:58.530Z] ---> e329defc7a22 [2021-06-09T12:49:58.530Z] Step 3/23 : WORKDIR /device-sdk-go [2021-06-09T12:49:58.806Z] ---> Running in 232d76515339 [2021-06-09T12:49:59.402Z] Removing intermediate container 232d76515339 [2021-06-09T12:49:59.402Z] ---> 052abede5c97 [2021-06-09T12:49:59.402Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-09T12:49:59.402Z] ---> Running in e26c342eef43 [2021-06-09T12:49:59.995Z] Removing intermediate container e26c342eef43 [2021-06-09T12:49:59.995Z] ---> a209f8b85ff0 [2021-06-09T12:49:59.995Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-09T12:49:59.995Z] ---> Running in 564d52ce0471 [2021-06-09T12:50:01.971Z] Removing intermediate container 564d52ce0471 [2021-06-09T12:50:01.971Z] ---> c15201e3a827 [2021-06-09T12:50:01.971Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-06-09T12:50:01.971Z] ---> Running in 4628066aec20 [2021-06-09T12:50:03.412Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-09T12:50:04.385Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-09T12:50:04.976Z] OK: 139 MiB in 46 packages [2021-06-09T12:50:05.968Z] Removing intermediate container 4628066aec20 [2021-06-09T12:50:05.968Z] ---> 5fe0ee666d6a [2021-06-09T12:50:05.968Z] Step 7/23 : COPY . . [2021-06-09T12:50:07.405Z] ---> 9e45d697ff8e [2021-06-09T12:50:07.405Z] Step 8/23 : RUN go mod download [2021-06-09T12:50:07.680Z] ---> Running in a0210cc62f39 [2021-06-09T12:50:09.662Z] Removing intermediate container a0210cc62f39 [2021-06-09T12:50:09.662Z] ---> 68963497ea69 [2021-06-09T12:50:09.662Z] Step 9/23 : RUN make build [2021-06-09T12:50:09.936Z] ---> Running in c241eab63860 [2021-06-09T12:50:10.967Z] go mod tidy [2021-06-09T12:50:11.571Z] 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-09T12:50:43.975Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-06-09T12:50:46.593Z] Removing intermediate container c241eab63860 [2021-06-09T12:50:46.593Z] ---> 1413e1be9dae [2021-06-09T12:50:46.593Z] Step 10/23 : FROM alpine:3.12 [2021-06-09T12:50:46.864Z] 3.12: Pulling from library/alpine [2021-06-09T12:50:47.136Z] d2f70382dc9a: Pulling fs layer [2021-06-09T12:50:47.136Z] d2f70382dc9a: Download complete [2021-06-09T12:50:48.115Z] d2f70382dc9a: Pull complete [2021-06-09T12:50:48.115Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-06-09T12:50:48.115Z] Status: Downloaded newer image for alpine:3.12 [2021-06-09T12:50:48.115Z] ---> 9852663dfa18 [2021-06-09T12:50:48.115Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-09T12:50:48.115Z] ---> Running in 89fe5be7c423 [2021-06-09T12:50:48.715Z] Removing intermediate container 89fe5be7c423 [2021-06-09T12:50:48.715Z] ---> 81c01ae1732b [2021-06-09T12:50:48.715Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-09T12:50:48.715Z] ---> Running in 1f50082cf464 [2021-06-09T12:50:50.692Z] Removing intermediate container 1f50082cf464 [2021-06-09T12:50:50.692Z] ---> d6534fe9d479 [2021-06-09T12:50:50.692Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-06-09T12:50:50.964Z] ---> Running in 1465caad029f [2021-06-09T12:50:51.938Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-09T12:50:52.911Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-09T12:50:53.510Z] (1/5) Installing libgcc (9.3.0-r2) [2021-06-09T12:50:53.510Z] (2/5) Installing libsodium (1.0.18-r0) [2021-06-09T12:50:53.780Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-06-09T12:50:53.780Z] (4/5) Installing libzmq (4.3.3-r0) [2021-06-09T12:50:54.051Z] (5/5) Installing zeromq (4.3.3-r0) [2021-06-09T12:50:54.051Z] Executing busybox-1.31.1-r20.trigger [2021-06-09T12:50:54.051Z] OK: 8 MiB in 19 packages [2021-06-09T12:50:55.493Z] Removing intermediate container 1465caad029f [2021-06-09T12:50:55.493Z] ---> fb728406cca9 [2021-06-09T12:50:55.493Z] Step 14/23 : WORKDIR / [2021-06-09T12:50:55.493Z] ---> Running in 355bae79543c [2021-06-09T12:50:55.772Z] Removing intermediate container 355bae79543c [2021-06-09T12:50:55.773Z] ---> 6357f158586d [2021-06-09T12:50:55.773Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-06-09T12:50:56.761Z] ---> cbd61899f067 [2021-06-09T12:50:56.761Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-06-09T12:50:57.782Z] ---> fb8d9e2154e3 [2021-06-09T12:50:57.782Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-06-09T12:50:58.781Z] ---> 850e81d10140 [2021-06-09T12:50:58.781Z] Step 18/23 : EXPOSE 59999 [2021-06-09T12:50:58.781Z] ---> Running in f234aeb99e71 [2021-06-09T12:50:59.404Z] Removing intermediate container f234aeb99e71 [2021-06-09T12:50:59.404Z] ---> 805a7e4f2c49 [2021-06-09T12:50:59.404Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-06-09T12:50:59.404Z] ---> Running in 726a192cf49d [2021-06-09T12:51:00.002Z] Removing intermediate container 726a192cf49d [2021-06-09T12:51:00.002Z] ---> 91d13b72180f [2021-06-09T12:51:00.002Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-09T12:51:00.002Z] ---> Running in 2e2ccf890f40 [2021-06-09T12:51:00.602Z] Removing intermediate container 2e2ccf890f40 [2021-06-09T12:51:00.602Z] ---> c930c7860b09 [2021-06-09T12:51:00.602Z] Step 21/23 : LABEL arch=arm64 [2021-06-09T12:51:00.884Z] ---> Running in ee167d3cbded [2021-06-09T12:51:01.157Z] Removing intermediate container ee167d3cbded [2021-06-09T12:51:01.158Z] ---> ba2483e8b9a2 [2021-06-09T12:51:01.158Z] Step 22/23 : LABEL git_sha=20da3331bdb28ab51644e28d14139a1a09155047 [2021-06-09T12:51:01.436Z] ---> Running in f3e44aa1658e [2021-06-09T12:51:02.033Z] Removing intermediate container f3e44aa1658e [2021-06-09T12:51:02.033Z] ---> dae5629c870e [2021-06-09T12:51:02.033Z] Step 23/23 : LABEL version=0.0.0 [2021-06-09T12:51:02.033Z] ---> Running in 1058975cc113 [2021-06-09T12:51:02.632Z] Removing intermediate container 1058975cc113 [2021-06-09T12:51:02.632Z] ---> 9362e82d76b8 [2021-06-09T12:51:02.632Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-06-09T12:51:02.632Z] Successfully built 9362e82d76b8 [2021-06-09T12:51:02.632Z] 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-09T12:51:03.482Z] ---> job-cost.sh [2021-06-09T12:51:03.483Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-1vrs [2021-06-09T12:51:42.468Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-09T12:53:04.219Z] lf-activate-venv(): INFO: Adding /tmp/venv-1vrs/bin to PATH [2021-06-09T12:53:04.219Z] INFO: No Stack... [2021-06-09T12:53:04.219Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-09T12:53:04.495Z] INFO: Archiving Costs [Pipeline] sh [2021-06-09T12:53:04.885Z] + + cat /w/workspace/device-sdk-go/3/archives/cost.csv [2021-06-09T12:53:04.885Z] cut -d, -f6 [Pipeline] lock [2021-06-09T12:53:04.977Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-963-3-stack-cost] [2021-06-09T12:53:04.984Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-963-3-stack-cost] did not exist. Created. [2021-06-09T12:53:04.984Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-963-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-09T12:53:05.449Z] /w/workspace/device-sdk-go/3@tmp/durable-60304601/script.sh: 1: /w/workspace/device-sdk-go/3@tmp/durable-60304601/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-09T12:53:05.823Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-09T12:53:05.870Z] Warning: overwriting stash ‘stack-cost’ [2021-06-09T12:53:06.027Z] Stashed 1 file(s) [Pipeline] } [2021-06-09T12:53:06.054Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-963-3-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-09T12:53:07.351Z] provisioning config files... [2021-06-09T12:53:07.362Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-963@tmp/config776691500224462159tmp [Pipeline] { [Pipeline] sh [2021-06-09T12:53:07.751Z] + set +x [2021-06-09T12:53:07.751Z] + bash -s -- [2021-06-09T12:53:07.751Z] + curl -s https://codecov.io/bash [2021-06-09T12:53:07.751Z] [2021-06-09T12:53:07.751Z] _____ _ [2021-06-09T12:53:07.751Z] / ____| | | [2021-06-09T12:53:07.751Z] | | ___ __| | ___ ___ _____ __ [2021-06-09T12:53:07.751Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-09T12:53:07.751Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-09T12:53:07.751Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-09T12:53:07.751Z] Bash-1.0.3 [2021-06-09T12:53:07.751Z] [2021-06-09T12:53:07.751Z] [2021-06-09T12:53:07.751Z] ==> git version 2.24.4 found [2021-06-09T12:53:07.751Z] ==> 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-09T12:53:07.751Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-09T12:53:07.751Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-09T12:53:07.751Z] ==> Jenkins CI detected. [2021-06-09T12:53:07.751Z] project root: . [2021-06-09T12:53:07.751Z] --> token set from env [2021-06-09T12:53:07.751Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-09T12:53:08.015Z] ==> Running gcov in . (disable via -X gcov) [2021-06-09T12:53:08.015Z] ==> Python coveragepy not found [2021-06-09T12:53:08.015Z] ==> Searching for coverage reports in: [2021-06-09T12:53:08.015Z] + . [2021-06-09T12:53:08.015Z] -> Found 1 reports [2021-06-09T12:53:08.015Z] ==> Detecting git/mercurial file structure [2021-06-09T12:53:08.015Z] ==> Reading reports [2021-06-09T12:53:08.015Z] + ./coverage.out bytes=126071 [2021-06-09T12:53:08.015Z] ==> Appending adjustments [2021-06-09T12:53:08.015Z] https://docs.codecov.io/docs/fixing-reports [2021-06-09T12:53:08.277Z] + Found adjustments [2021-06-09T12:53:08.277Z] ==> Gzipping contents [2021-06-09T12:53:08.277Z] 20K /tmp/codecov.x6gPqN.gz [2021-06-09T12:53:08.277Z] ==> Uploading reports [2021-06-09T12:53:08.277Z] url: https://codecov.io [2021-06-09T12:53:08.277Z] query: branch=PR-963&commit=20da3331bdb28ab51644e28d14139a1a09155047&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-963%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=963&job=&cmd_args= [2021-06-09T12:53:08.277Z] -> Pinging Codecov [2021-06-09T12:53:08.277Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-963&commit=20da3331bdb28ab51644e28d14139a1a09155047&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-963%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=963&job=&cmd_args= [2021-06-09T12:53:08.538Z] -> Uploading to [2021-06-09T12:53:08.538Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-09/7E55EF52A471D76F132DFD9A03CDDE97/20da3331bdb28ab51644e28d14139a1a09155047/e7c2b016-cbb0-4dda-a781-a8bddff88985.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210609%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210609T125308Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8d95e83b5a13e9d6cb31163bab0df071a4e26d13f44cd32499c7113d1e36757c [2021-06-09T12:53:08.538Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-09T12:53:08.538Z] Dload Upload Total Spent Left Speed [2021-06-09T12:53:09.114Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16444 0 0 100 16444 0 37855 --:--:-- --:--:-- --:--:-- 37889 [2021-06-09T12:53:09.114Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/20da3331bdb28ab51644e28d14139a1a09155047 [Pipeline] } [2021-06-09T12:53:09.145Z] 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-09T12:53:11.831Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-09T12:53:12.438Z] ---> package-listing.sh [2021-06-09T12:53:12.438Z] ++ facter osfamily [2021-06-09T12:53:12.438Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-09T12:53:12.703Z] + OS_FAMILY=redhat [2021-06-09T12:53:12.703Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-963 [2021-06-09T12:53:12.703Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-09T12:53:12.703Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-09T12:53:12.703Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-09T12:53:12.703Z] + PACKAGES=/tmp/packages_start.txt [2021-06-09T12:53:12.703Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-963 ']' [2021-06-09T12:53:12.703Z] + PACKAGES=/tmp/packages_end.txt [2021-06-09T12:53:12.703Z] + case "${OS_FAMILY}" in [2021-06-09T12:53:12.703Z] + rpm -qa [2021-06-09T12:53:12.703Z] + sort [2021-06-09T12:53:13.277Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-09T12:53:13.277Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-09T12:53:13.277Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-09T12:53:13.277Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-963 ']' [2021-06-09T12:53:13.277Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-963/archives/ [2021-06-09T12:53:13.277Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-963/archives/ [Pipeline] echo [2021-06-09T12:53:13.313Z] 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-963/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-06-09T12:53:13.629Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-09T12:53:14.235Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-09T12:53:14.235Z] [2021-06-09T12:53:14.235Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-09T12:53:14.595Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-09T12:53:14.595Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-09T12:53:14.595Z] df20fa9351a1: Pulling fs layer [2021-06-09T12:53:14.595Z] 36b3adc4ff6f: Pulling fs layer [2021-06-09T12:53:14.595Z] 8ad3a11d3b57: Pulling fs layer [2021-06-09T12:53:14.595Z] 46f8f816bc3b: Pulling fs layer [2021-06-09T12:53:14.595Z] 93b61091891f: Pulling fs layer [2021-06-09T12:53:14.595Z] 93b9cdb0e59b: Pulling fs layer [2021-06-09T12:53:14.595Z] 5e14af77c1be: Pulling fs layer [2021-06-09T12:53:14.595Z] 01666e4c0597: Pulling fs layer [2021-06-09T12:53:14.595Z] aa168da1d23b: Pulling fs layer [2021-06-09T12:53:14.595Z] 46f8f816bc3b: Waiting [2021-06-09T12:53:14.595Z] 93b61091891f: Waiting [2021-06-09T12:53:14.595Z] 93b9cdb0e59b: Waiting [2021-06-09T12:53:14.595Z] 5e14af77c1be: Waiting [2021-06-09T12:53:14.595Z] 01666e4c0597: Waiting [2021-06-09T12:53:14.595Z] aa168da1d23b: Waiting [2021-06-09T12:53:14.595Z] 36b3adc4ff6f: Verifying Checksum [2021-06-09T12:53:14.595Z] 36b3adc4ff6f: Download complete [2021-06-09T12:53:14.865Z] 46f8f816bc3b: Verifying Checksum [2021-06-09T12:53:14.865Z] 46f8f816bc3b: Download complete [2021-06-09T12:53:14.865Z] df20fa9351a1: Verifying Checksum [2021-06-09T12:53:14.865Z] df20fa9351a1: Download complete [2021-06-09T12:53:14.865Z] 93b9cdb0e59b: Download complete [2021-06-09T12:53:14.865Z] 5e14af77c1be: Verifying Checksum [2021-06-09T12:53:14.865Z] 5e14af77c1be: Download complete [2021-06-09T12:53:14.865Z] 01666e4c0597: Verifying Checksum [2021-06-09T12:53:14.865Z] 01666e4c0597: Download complete [2021-06-09T12:53:14.865Z] 93b61091891f: Verifying Checksum [2021-06-09T12:53:14.865Z] 93b61091891f: Download complete [2021-06-09T12:53:15.130Z] df20fa9351a1: Pull complete [2021-06-09T12:53:15.130Z] 36b3adc4ff6f: Pull complete [2021-06-09T12:53:16.077Z] 8ad3a11d3b57: Verifying Checksum [2021-06-09T12:53:16.077Z] 8ad3a11d3b57: Download complete [2021-06-09T12:53:16.339Z] 8ad3a11d3b57: Pull complete [2021-06-09T12:53:16.600Z] 46f8f816bc3b: Pull complete [2021-06-09T12:53:16.860Z] 93b61091891f: Pull complete [2021-06-09T12:53:16.860Z] 93b9cdb0e59b: Pull complete [2021-06-09T12:53:17.121Z] 5e14af77c1be: Pull complete [2021-06-09T12:53:17.121Z] 01666e4c0597: Pull complete [2021-06-09T12:53:19.671Z] aa168da1d23b: Verifying Checksum [2021-06-09T12:53:19.671Z] aa168da1d23b: Download complete [2021-06-09T12:53:23.914Z] aa168da1d23b: Pull complete [2021-06-09T12:53:23.914Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-09T12:53:23.914Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-09T12:53:23.914Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-09T12:53:24.017Z] prd-centos7-docker-4c-2g-29 does not seem to be running inside a container [2021-06-09T12:53:24.056Z] $ 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-963/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-963 -v /w/workspace/dgexfoundry_device-sdk-go_PR-963:/w/workspace/dgexfoundry_device-sdk-go_PR-963:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-963@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-963@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-09T12:53:26.605Z] $ docker top fa10029e8c8e8674c7bf46c9a6d5f0015ac2586fd58a319a64a5a3d289ea9cb6 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-09T12:53:27.064Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-09T12:53:27.388Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-09T12:53:27.715Z] + ls /var/log/sa-host [2021-06-09T12:53:27.715Z] + sadf -c /var/log/sa-host/sa05 [2021-06-09T12:53:27.715Z] file_magic: OK [2021-06-09T12:53:27.715Z] HZ: Using current value: 100 [2021-06-09T12:53:27.715Z] file_header: OK [2021-06-09T12:53:27.715Z] 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-09T12:53:27.715Z] Statistics: [2021-06-09T12:53:27.715Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-09T12:53:27.715Z] File successfully converted to sysstat format version 12.2.1 [2021-06-09T12:53:27.715Z] + sadf -c /var/log/sa-host/sa09 [2021-06-09T12:53:27.715Z] file_magic: OK [2021-06-09T12:53:27.715Z] HZ: Using current value: 100 [2021-06-09T12:53:27.715Z] file_header: OK [2021-06-09T12:53:27.715Z] 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-09T12:53:27.715Z] Statistics: [2021-06-09T12:53:27.715Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-09T12:53:27.715Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-09T12:53:28.005Z] provisioning config files... [2021-06-09T12:53:28.019Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-963@tmp/config458307651698327253tmp [Pipeline] { [Pipeline] echo [2021-06-09T12:53:28.087Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-09T12:53:28.424Z] ---> create-netrc.sh [Pipeline] } [2021-06-09T12:53:28.450Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-09T12:53:28.955Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-09T12:53:28.990Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-09T12:53:29.333Z] ---> sudo-logs.sh [2021-06-09T12:53:29.333Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-09T12:53:29.426Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-09T12:53:29.765Z] ---> job-cost.sh [2021-06-09T12:53:29.766Z] lf-activate-venv: SKIPPING [2021-06-09T12:53:29.766Z] DEBUG: total: 0.18000000715255737 [2021-06-09T12:53:29.766Z] INFO: Retrieving Stack Cost... [2021-06-09T12:53:31.682Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-09T12:53:32.254Z] INFO: Archiving Costs [Pipeline] echo [2021-06-09T12:53:32.344Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-09T12:53:32.703Z] ---> logs-deploy.sh [2021-06-09T12:53:32.703Z] lf-activate-venv: SKIPPING [2021-06-09T12:53:32.703Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-963/3 [2021-06-09T12:53:32.703Z] INFO: archiving workspace using pattern(s): [2021-06-09T12:53:33.654Z] Archives upload complete. [2021-06-09T12:53:33.654Z] INFO: archiving logs to Nexus