Pull request #1026 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 25e529cc017a2bc4c983e359173b6cd90b24a97d+1b99335a09a4d3b24ee39e90536b9933fcc6f394 (3b0a5ae2c9d2b56212f7e483271f9ac6f2b4a5e6) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh681856110673396079.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c141c1271097dc03ad291c2451e310eaf98cdd06 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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh3162166160743026837.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 c141c1271097dc03ad291c2451e310eaf98cdd06 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-1026/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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1026/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3351461654490926608.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c141c1271097dc03ad291c2451e310eaf98cdd06 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c141c1271097dc03ad291c2451e310eaf98cdd06 # timeout=10 Commit message: "Merge pull request #355 from ernestojeda/error-check-post-build" > 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 > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8074346943514447115.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 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-1026/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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1026/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh1191432023781241313.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > 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/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_BUILD_IMAGE_TARGET: builder 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/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-1469 in /w/workspace/gexfoundry_device-sdk-go_PR-1026 [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/gexfoundry_device-sdk-go_PR-1026 # 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 > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-sdk-go_PR-1026@tmp/jenkins-gitclient-ssh363630345225782846.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 > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-sdk-go_PR-1026@tmp/jenkins-gitclient-ssh5035054378028365736.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1026/head:refs/remotes/origin/PR-1026 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 1b99335a09a4d3b24ee39e90536b9933fcc6f394 into PR head commit 25e529cc017a2bc4c983e359173b6cd90b24a97d Merge succeeded, producing 25e529cc017a2bc4c983e359173b6cd90b24a97d Checking out Revision 25e529cc017a2bc4c983e359173b6cd90b24a97d (PR-1026) > git config core.sparsecheckout # timeout=10 > git checkout -f 25e529cc017a2bc4c983e359173b6cd90b24a97d # 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 > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-sdk-go_PR-1026@tmp/jenkins-gitclient-ssh3008341708780883819.key > git merge 1b99335a09a4d3b24ee39e90536b9933fcc6f394 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 25e529cc017a2bc4c983e359173b6cd90b24a97d # timeout=10 Commit message: "Merge branch 'main' into pr-template" > git rev-list --no-walk 292c4b987d775ad775e995777d94bb3a8d133fca # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-10-05T03:06:20.788Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-10-05T03:06:20.865Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-10-05T03:06:20.892Z] ========================================================= [2021-10-05T03:06:20.892Z] EdgeX Global Pipelines Version Info [2021-10-05T03:06:20.892Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-10-05T03:06:22.135Z] ------------------- [2021-10-05T03:06:22.135Z] stable info: [2021-10-05T03:06:22.135Z] ------------------- [2021-10-05T03:06:22.135Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-05T03:06:22.135Z] Commit SHA: c141c1271097dc03ad291c2451e310eaf98cdd06 [2021-10-05T03:06:22.135Z] Message: update stable to v1.0.206 [2021-10-05T03:06:22.731Z] ------------------- [2021-10-05T03:06:22.731Z] experimental info: [2021-10-05T03:06:22.731Z] ------------------- [2021-10-05T03:06:22.731Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-05T03:06:22.731Z] Commit SHA: c141c1271097dc03ad291c2451e310eaf98cdd06 [2021-10-05T03:06:22.731Z] Message: update experimental to v1.0.206 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-10-05T03:06:22.859Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-10-05T03:06:22.882Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-10-05T03:06:22.906Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-10-05T03:06:22.930Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-10-05T03:06:22.954Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-10-05T03:06:22.978Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-10-05T03:06:23.002Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-10-05T03:06:23.026Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-10-05T03:06:23.050Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-10-05T03:06:23.074Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-10-05T03:06:23.099Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-10-05T03:06:23.148Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-10-05T03:06:23.173Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-10-05T03:06:23.197Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-10-05T03:06:23.221Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-10-05T03:06:23.245Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-10-05T03:06:23.269Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-10-05T03:06:23.298Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-10-05T03:06:23.324Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-10-05T03:06:23.350Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-10-05T03:06:23.376Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-10-05T03:06:23.402Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-10-05T03:06:23.426Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-10-05T03:06:23.451Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-10-05T03:06:23.474Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-10-05T03:06:23.501Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-10-05T03:06:23.526Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-10-05T03:06:23.552Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1026 [Pipeline] echo [2021-10-05T03:06:23.577Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1026 [Pipeline] echo [2021-10-05T03:06:23.602Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1026 [Pipeline] echo [2021-10-05T03:06:23.627Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 25e529cc017a2bc4c983e359173b6cd90b24a97d [Pipeline] echo [2021-10-05T03:06:23.651Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 25e529c [Pipeline] echo [2021-10-05T03:06:23.674Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-05T03:06:23.747Z] provisioning config files... [2021-10-05T03:06:23.767Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1026@tmp/config8316464668222338596tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-05T03:06:24.105Z] ---> docker-login.sh [2021-10-05T03:06:24.105Z] nexus3.edgexfoundry.org:10001 [2021-10-05T03:06:24.105Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-05T03:06:24.373Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-05T03:06:24.373Z] Configure a credential helper to remove this warning. See [2021-10-05T03:06:24.373Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-05T03:06:24.373Z] [2021-10-05T03:06:24.373Z] Login Succeeded [2021-10-05T03:06:24.373Z] nexus3.edgexfoundry.org:10002 [2021-10-05T03:06:24.373Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-05T03:06:24.640Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-05T03:06:24.640Z] Configure a credential helper to remove this warning. See [2021-10-05T03:06:24.640Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-05T03:06:24.640Z] [2021-10-05T03:06:24.640Z] Login Succeeded [2021-10-05T03:06:24.640Z] nexus3.edgexfoundry.org:10003 [2021-10-05T03:06:24.640Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-05T03:06:24.640Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-05T03:06:24.640Z] Configure a credential helper to remove this warning. See [2021-10-05T03:06:24.640Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-05T03:06:24.640Z] [2021-10-05T03:06:24.640Z] Login Succeeded [2021-10-05T03:06:24.640Z] nexus3.edgexfoundry.org:10004 [2021-10-05T03:06:24.906Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-05T03:06:24.906Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-05T03:06:24.906Z] Configure a credential helper to remove this warning. See [2021-10-05T03:06:24.906Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-05T03:06:24.906Z] [2021-10-05T03:06:24.906Z] Login Succeeded [2021-10-05T03:06:24.906Z] docker.io [2021-10-05T03:06:24.906Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-05T03:06:25.172Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-05T03:06:25.172Z] Configure a credential helper to remove this warning. See [2021-10-05T03:06:25.172Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-05T03:06:25.172Z] [2021-10-05T03:06:25.172Z] Login Succeeded [2021-10-05T03:06:25.172Z] ---> docker-login.sh ends [Pipeline] } [2021-10-05T03:06:25.186Z] 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-10-05T03:06:25.717Z] + git log --format=format:%s -1 25e529cc017a2bc4c983e359173b6cd90b24a97d [Pipeline] echo [2021-10-05T03:06:25.779Z] GIT_COMMIT: 25e529cc017a2bc4c983e359173b6cd90b24a97d, Commit Message: Merge branch 'main' into pr-template [Pipeline] echo [2021-10-05T03:06:25.793Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-10-05T03:06:26.535Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-05T03:06:26.535Z] [2021-10-05T03:06:26.535Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-10-05T03:06:26.876Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-05T03:06:26.876Z] latest: Pulling from edgex-devops/git-semver [2021-10-05T03:06:26.876Z] 31603596830f: Pulling fs layer [2021-10-05T03:06:26.876Z] 04fac38145f0: Pulling fs layer [2021-10-05T03:06:26.876Z] 701f6daf10bf: Pulling fs layer [2021-10-05T03:06:26.876Z] 24f72da36158: Pulling fs layer [2021-10-05T03:06:26.876Z] 24f72da36158: Waiting [2021-10-05T03:06:26.876Z] 04fac38145f0: Verifying Checksum [2021-10-05T03:06:26.876Z] 04fac38145f0: Download complete [2021-10-05T03:06:27.151Z] 31603596830f: Verifying Checksum [2021-10-05T03:06:27.151Z] 31603596830f: Download complete [2021-10-05T03:06:27.151Z] 701f6daf10bf: Verifying Checksum [2021-10-05T03:06:27.151Z] 701f6daf10bf: Download complete [2021-10-05T03:06:27.424Z] 31603596830f: Pull complete [2021-10-05T03:06:27.425Z] 24f72da36158: Verifying Checksum [2021-10-05T03:06:27.425Z] 24f72da36158: Download complete [2021-10-05T03:06:27.425Z] 04fac38145f0: Pull complete [2021-10-05T03:06:28.020Z] 701f6daf10bf: Pull complete [2021-10-05T03:06:28.289Z] 24f72da36158: Pull complete [2021-10-05T03:06:28.289Z] Digest: sha256:4df6d42b0a42de7465b316d5d101e9e577e29cf163494206da03a6bf8561ec42 [2021-10-05T03:06:28.289Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-05T03:06:28.289Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-10-05T03:06:28.393Z] prd-centos7-docker-4c-2g-1469 does not seem to be running inside a container [2021-10-05T03:06:28.455Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1026 -v /w/workspace/gexfoundry_device-sdk-go_PR-1026:/w/workspace/gexfoundry_device-sdk-go_PR-1026:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1026@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1026@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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-10-05T03:06:29.408Z] $ docker top ecfda219b5e6c8d6fed23d345210ae76ccd1798f886011c9b5f5652960efe161 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-05T03:06:29.541Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-05T03:06:29.541Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-05T03:06:29.664Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-05T03:06:29.665Z] $ docker exec ecfda219b5e6c8d6fed23d345210ae76ccd1798f886011c9b5f5652960efe161 ssh-agent [2021-10-05T03:06:29.801Z] SSH_AUTH_SOCK=/tmp/ssh-MVoFcqtVdVAe/agent.15 [2021-10-05T03:06:29.801Z] SSH_AGENT_PID=22 [2021-10-05T03:06:29.818Z] Running ssh-add (command line suppressed) [2021-10-05T03:06:29.923Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1026@tmp/private_key_4025178336317092345.key (/w/workspace/gexfoundry_device-sdk-go_PR-1026@tmp/private_key_4025178336317092345.key) [2021-10-05T03:06:29.947Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-05T03:06:30.268Z] + git tag --points-at HEAD [Pipeline] } [2021-10-05T03:06:30.287Z] $ docker exec --env ******** --env ******** ecfda219b5e6c8d6fed23d345210ae76ccd1798f886011c9b5f5652960efe161 ssh-agent -k [2021-10-05T03:06:30.395Z] unset SSH_AUTH_SOCK; [2021-10-05T03:06:30.395Z] unset SSH_AGENT_PID; [2021-10-05T03:06:30.395Z] echo Agent pid 22 killed; [2021-10-05T03:06:30.414Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-10-05T03:06:30.465Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-05T03:06:30.466Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-05T03:06:30.594Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-05T03:06:30.594Z] $ docker exec ecfda219b5e6c8d6fed23d345210ae76ccd1798f886011c9b5f5652960efe161 ssh-agent [2021-10-05T03:06:30.731Z] SSH_AUTH_SOCK=/tmp/ssh-icMvsCGnkU1X/agent.53 [2021-10-05T03:06:30.731Z] SSH_AGENT_PID=59 [2021-10-05T03:06:30.741Z] Running ssh-add (command line suppressed) [2021-10-05T03:06:30.842Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1026@tmp/private_key_6714447831124526183.key (/w/workspace/gexfoundry_device-sdk-go_PR-1026@tmp/private_key_6714447831124526183.key) [2021-10-05T03:06:30.859Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-05T03:06:31.175Z] + git semver init [2021-10-05T03:06:31.175Z] # -> Open(): unable to determine branch for HEAD [2021-10-05T03:06:31.175Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1026/.git [2021-10-05T03:06:31.175Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1026 [2021-10-05T03:06:31.175Z] # $SEMVER_REMOTE_NAME = origin [2021-10-05T03:06:31.175Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-05T03:06:31.175Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-05T03:06:31.175Z] # $SEMVER_BRANCH = PR-1026 [2021-10-05T03:06:31.175Z] # $SEMVER_TEMP = /tmp/semver-792761055 [2021-10-05T03:06:31.175Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-10-05T03:06:31.763Z] # '/tmp/semver-792761055' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1026/.semver' [2021-10-05T03:06:31.763Z] # -> Force: false [2021-10-05T03:06:31.763Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1026/.semver [Pipeline] } [2021-10-05T03:06:31.778Z] $ docker exec --env ******** --env ******** ecfda219b5e6c8d6fed23d345210ae76ccd1798f886011c9b5f5652960efe161 ssh-agent -k [2021-10-05T03:06:31.873Z] unset SSH_AUTH_SOCK; [2021-10-05T03:06:31.873Z] unset SSH_AGENT_PID; [2021-10-05T03:06:31.873Z] echo Agent pid 59 killed; [2021-10-05T03:06:31.892Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-05T03:06:32.248Z] + git semver [Pipeline] } [2021-10-05T03:06:32.266Z] $ docker stop --time=1 ecfda219b5e6c8d6fed23d345210ae76ccd1798f886011c9b5f5652960efe161 [2021-10-05T03:06:33.518Z] $ docker rm -f ecfda219b5e6c8d6fed23d345210ae76ccd1798f886011c9b5f5652960efe161 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-05T03:06:33.904Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-10-05T03:06:34.239Z] Stashed 1 file(s) [Pipeline] echo [2021-10-05T03:06:34.242Z] [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-10-05T03:06:49.485Z] Still waiting to schedule task [2021-10-05T03:06:49.486Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-10-05T03:06:49.490Z] Still waiting to schedule task [2021-10-05T03:06:49.491Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-10-05T03:08:11.677Z] Running on prd-centos7-docker-4c-2g-1471 in /w/workspace/gexfoundry_device-sdk-go_PR-1026 [Pipeline] { [Pipeline] ws [2021-10-05T03:08:11.697Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-10-05T03:08:11.820Z] Selected Git installation does not exist. Using Default [2021-10-05T03:08:11.820Z] The recommended git tool is: NONE [2021-10-05T03:08:14.736Z] using credential edgex-jenkins-ssh [2021-10-05T03:08:14.752Z] Cloning the remote Git repository [2021-10-05T03:08:14.560Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-10-05T03:08:14.629Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2021-10-05T03:08:14.662Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-05T03:08:14.662Z] > git --version # timeout=10 [2021-10-05T03:08:14.671Z] > git --version # 'git version 2.24.4' [2021-10-05T03:08:14.672Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-05T03:08:14.703Z] [INFO] Currently running in a labeled security context [2021-10-05T03:08:14.703Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-05T03:08:14.703Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/3@tmp/jenkins-gitclient-ssh1121107012043147336.key [2021-10-05T03:08:14.713Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-05T03:08:15.576Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-05T03:08:15.592Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-05T03:08:15.604Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-05T03:08:15.621Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-05T03:08:15.621Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-05T03:08:15.623Z] [INFO] Currently running in a labeled security context [2021-10-05T03:08:15.623Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-05T03:08:15.623Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/3@tmp/jenkins-gitclient-ssh4398085994337012634.key [2021-10-05T03:08:15.631Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1026/head:refs/remotes/origin/PR-1026 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-10-05T03:08:16.354Z] Merging remotes/origin/main commit 1b99335a09a4d3b24ee39e90536b9933fcc6f394 into PR head commit 25e529cc017a2bc4c983e359173b6cd90b24a97d [2021-10-05T03:08:16.460Z] Merge succeeded, producing 25e529cc017a2bc4c983e359173b6cd90b24a97d [2021-10-05T03:08:16.460Z] Checking out Revision 25e529cc017a2bc4c983e359173b6cd90b24a97d (PR-1026) [2021-10-05T03:08:16.269Z] > git config core.sparsecheckout # timeout=10 [2021-10-05T03:08:16.276Z] > git checkout -f 25e529cc017a2bc4c983e359173b6cd90b24a97d # timeout=10 [2021-10-05T03:08:16.322Z] > git remote # timeout=10 [2021-10-05T03:08:16.334Z] > git config --get remote.origin.url # timeout=10 [2021-10-05T03:08:16.340Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-05T03:08:16.341Z] [INFO] Currently running in a labeled security context [2021-10-05T03:08:16.341Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-05T03:08:16.342Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/3@tmp/jenkins-gitclient-ssh7493764282611740125.key [2021-10-05T03:08:16.348Z] > git merge 1b99335a09a4d3b24ee39e90536b9933fcc6f394 # timeout=10 [2021-10-05T03:08:16.360Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-10-05T03:08:16.376Z] > git config core.sparsecheckout # timeout=10 [2021-10-05T03:08:16.383Z] > git checkout -f 25e529cc017a2bc4c983e359173b6cd90b24a97d # timeout=10 [2021-10-05T03:08:20.188Z] Commit message: "Merge branch 'main' into pr-template" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-05T03:08:20.547Z] provisioning config files... [2021-10-05T03:08:20.565Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config3871794752672083849tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-05T03:08:20.993Z] ---> docker-login.sh [2021-10-05T03:08:20.993Z] nexus3.edgexfoundry.org:10001 [2021-10-05T03:08:20.993Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-05T03:08:21.268Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-05T03:08:21.268Z] Configure a credential helper to remove this warning. See [2021-10-05T03:08:21.268Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-05T03:08:21.268Z] [2021-10-05T03:08:21.268Z] Login Succeeded [2021-10-05T03:08:21.268Z] nexus3.edgexfoundry.org:10002 [2021-10-05T03:08:21.268Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-05T03:08:21.268Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-05T03:08:21.268Z] Configure a credential helper to remove this warning. See [2021-10-05T03:08:21.268Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-05T03:08:21.268Z] [2021-10-05T03:08:21.268Z] Login Succeeded [2021-10-05T03:08:21.268Z] nexus3.edgexfoundry.org:10003 [2021-10-05T03:08:21.268Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-05T03:08:21.538Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-05T03:08:21.538Z] Configure a credential helper to remove this warning. See [2021-10-05T03:08:21.538Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-05T03:08:21.538Z] [2021-10-05T03:08:21.538Z] Login Succeeded [2021-10-05T03:08:21.538Z] nexus3.edgexfoundry.org:10004 [2021-10-05T03:08:21.538Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-05T03:08:21.538Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-05T03:08:21.538Z] Configure a credential helper to remove this warning. See [2021-10-05T03:08:21.538Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-05T03:08:21.538Z] [2021-10-05T03:08:21.538Z] Login Succeeded [2021-10-05T03:08:21.538Z] docker.io [2021-10-05T03:08:21.806Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-05T03:08:22.076Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-05T03:08:22.076Z] Configure a credential helper to remove this warning. See [2021-10-05T03:08:22.076Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-05T03:08:22.076Z] [2021-10-05T03:08:22.076Z] Login Succeeded [2021-10-05T03:08:22.076Z] ---> docker-login.sh ends [Pipeline] } [2021-10-05T03:08:22.126Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-05T03:08:22.354Z] ========================================================= [2021-10-05T03:08:22.354Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-10-05T03:08:22.354Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-05T03:08:22.692Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . [2021-10-05T03:08:22.692Z] Sending build context to Docker daemon 2.625MB [2021-10-05T03:08:22.692Z] Step 1/9 : ARG BASE=golang:1.16-alpine3.14 [2021-10-05T03:08:22.692Z] Step 2/9 : FROM ${BASE} AS builder [2021-10-05T03:08:22.961Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-10-05T03:08:22.961Z] 540db60ca938: Pulling fs layer [2021-10-05T03:08:22.961Z] adcc1eea9eea: Pulling fs layer [2021-10-05T03:08:22.961Z] 4c4ab2625f07: Pulling fs layer [2021-10-05T03:08:22.961Z] db62176df00c: Pulling fs layer [2021-10-05T03:08:22.961Z] 3b30891b0d05: Pulling fs layer [2021-10-05T03:08:22.961Z] 06b49ca38bd5: Pulling fs layer [2021-10-05T03:08:22.961Z] c788192a36de: Pulling fs layer [2021-10-05T03:08:22.961Z] a77e37c0d609: Pulling fs layer [2021-10-05T03:08:22.961Z] c3185cebc471: Pulling fs layer [2021-10-05T03:08:22.961Z] 3b30891b0d05: Waiting [2021-10-05T03:08:22.961Z] 06b49ca38bd5: Waiting [2021-10-05T03:08:22.961Z] c788192a36de: Waiting [2021-10-05T03:08:22.961Z] a77e37c0d609: Waiting [2021-10-05T03:08:22.961Z] c3185cebc471: Waiting [2021-10-05T03:08:22.961Z] db62176df00c: Waiting [2021-10-05T03:08:22.961Z] 4c4ab2625f07: Verifying Checksum [2021-10-05T03:08:22.961Z] 4c4ab2625f07: Download complete [2021-10-05T03:08:22.961Z] adcc1eea9eea: Verifying Checksum [2021-10-05T03:08:22.961Z] adcc1eea9eea: Download complete [2021-10-05T03:08:22.961Z] 3b30891b0d05: Verifying Checksum [2021-10-05T03:08:22.961Z] 3b30891b0d05: Download complete [2021-10-05T03:08:22.961Z] 06b49ca38bd5: Verifying Checksum [2021-10-05T03:08:22.961Z] 06b49ca38bd5: Download complete [2021-10-05T03:08:22.961Z] 540db60ca938: Verifying Checksum [2021-10-05T03:08:22.961Z] 540db60ca938: Download complete [2021-10-05T03:08:22.961Z] c788192a36de: Verifying Checksum [2021-10-05T03:08:22.961Z] c788192a36de: Download complete [2021-10-05T03:08:23.237Z] 540db60ca938: Pull complete [2021-10-05T03:08:23.237Z] adcc1eea9eea: Pull complete [2021-10-05T03:08:23.511Z] 4c4ab2625f07: Pull complete [2021-10-05T03:08:23.777Z] a77e37c0d609: Verifying Checksum [2021-10-05T03:08:23.777Z] a77e37c0d609: Download complete [2021-10-05T03:08:25.193Z] c3185cebc471: Verifying Checksum [2021-10-05T03:08:25.193Z] c3185cebc471: Download complete [2021-10-05T03:08:25.459Z] db62176df00c: Verifying Checksum [2021-10-05T03:08:25.459Z] db62176df00c: Download complete [2021-10-05T03:08:29.763Z] db62176df00c: Pull complete [2021-10-05T03:08:29.763Z] 3b30891b0d05: Pull complete [2021-10-05T03:08:29.763Z] 06b49ca38bd5: Pull complete [2021-10-05T03:08:29.763Z] c788192a36de: Pull complete [2021-10-05T03:08:29.763Z] a77e37c0d609: Pull complete [2021-10-05T03:08:31.728Z] c3185cebc471: Pull complete [2021-10-05T03:08:31.728Z] Digest: sha256:c22a6272cb0662d4dba1bb41e7658fbabc00c875dcca5b7a38fb264b4004f4bd [2021-10-05T03:08:31.728Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-10-05T03:08:31.728Z] ---> 031687cdd783 [2021-10-05T03:08:31.728Z] Step 3/9 : WORKDIR /device-sdk-go [2021-10-05T03:08:33.674Z] ---> Running in c3544daecf51 [2021-10-05T03:08:33.942Z] Removing intermediate container c3544daecf51 [2021-10-05T03:08:33.942Z] ---> 5d67f07904cf [2021-10-05T03:08:33.942Z] Step 4/9 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-05T03:08:33.942Z] ---> Running in 3cda7f629f8d [2021-10-05T03:08:33.942Z] Removing intermediate container 3cda7f629f8d [2021-10-05T03:08:33.942Z] ---> fc09399e6545 [2021-10-05T03:08:33.942Z] Step 5/9 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-05T03:08:33.942Z] ---> Running in bd82fb5bbb6c [2021-10-05T03:08:34.535Z] Removing intermediate container bd82fb5bbb6c [2021-10-05T03:08:34.535Z] ---> 60af4269e32a [2021-10-05T03:08:34.535Z] Step 6/9 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-05T03:08:34.535Z] ---> Running in 1929792dec8f [2021-10-05T03:08:34.805Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-10-05T03:08:35.768Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-10-05T03:08:36.355Z] OK: 219 MiB in 52 packages [2021-10-05T03:08:36.355Z] Removing intermediate container 1929792dec8f [2021-10-05T03:08:36.355Z] ---> 9ffbabe12394 [2021-10-05T03:08:36.355Z] Step 7/9 : COPY . . [2021-10-05T03:08:36.625Z] ---> cfccaee1a4a1 [2021-10-05T03:08:36.625Z] Step 8/9 : RUN go mod download [2021-10-05T03:08:36.900Z] ---> Running in 4d96b2b832a4 [2021-10-05T03:08:49.240Z] Removing intermediate container 4d96b2b832a4 [2021-10-05T03:08:49.240Z] ---> bdda62867159 [2021-10-05T03:08:49.240Z] Step 9/9 : RUN make build [2021-10-05T03:08:49.240Z] ---> Running in 26007e0bef7f [2021-10-05T03:08:49.240Z] go mod tidy [2021-10-05T03:08:49.240Z] 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-10-05T03:08:55.159Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1470 in /w/workspace/gexfoundry_device-sdk-go_PR-1026 [Pipeline] { [Pipeline] ws [2021-10-05T03:08:55.178Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-10-05T03:08:55.403Z] Selected Git installation does not exist. Using Default [2021-10-05T03:08:55.403Z] The recommended git tool is: NONE [2021-10-05T03:08:59.352Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-10-05T03:08:59.938Z] Removing intermediate container 26007e0bef7f [2021-10-05T03:08:59.938Z] ---> cd8e826a1492 [2021-10-05T03:08:59.938Z] [Warning] One or more build-args [MAKE] were not consumed [2021-10-05T03:08:59.938Z] Successfully built cd8e826a1492 [2021-10-05T03:08:59.938Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-05T03:09:00.257Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-05T03:09:00.257Z] . [Pipeline] withDockerContainer [2021-10-05T03:09:00.340Z] prd-centos7-docker-4c-2g-1471 does not seem to be running inside a container [2021-10-05T03:09:00.397Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-10-05T03:09:00.733Z] $ docker top 69a8ef5c7dbc2ec39ef7f5ba0f4d225f4b55bad030fa55032482ed206562afef -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-05T03:09:01.131Z] + go version [2021-10-05T03:09:01.131Z] go version go1.16.6 linux/amd64 [Pipeline] } [2021-10-05T03:09:01.146Z] $ docker stop --time=1 69a8ef5c7dbc2ec39ef7f5ba0f4d225f4b55bad030fa55032482ed206562afef [2021-10-05T03:09:01.307Z] using credential edgex-jenkins-ssh [2021-10-05T03:09:01.333Z] Cloning the remote Git repository [2021-10-05T03:09:01.383Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-10-05T03:09:02.350Z] $ docker rm -f 69a8ef5c7dbc2ec39ef7f5ba0f4d225f4b55bad030fa55032482ed206562afef [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-05T03:09:01.504Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2021-10-05T03:09:01.580Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-05T03:09:01.581Z] > git --version # timeout=10 [2021-10-05T03:09:01.594Z] > git --version # 'git version 2.17.1' [2021-10-05T03:09:01.596Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-05T03:09:01.697Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-05T03:09:02.970Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-05T03:09:02.970Z] . [Pipeline] withDockerContainer [2021-10-05T03:09:03.052Z] prd-centos7-docker-4c-2g-1471 does not seem to be running inside a container [2021-10-05T03:09:03.104Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-10-05T03:09:03.435Z] $ docker top f70006bac35a3261571a1a38d409680b3311c4aa7c161d91f13f472867fc2961 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-05T03:09:03.846Z] + go mod tidy [2021-10-05T03:09:03.069Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-05T03:09:03.085Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-05T03:09:03.109Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-05T03:09:03.144Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-05T03:09:03.145Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-05T03:09:03.157Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1026/head:refs/remotes/origin/PR-1026 +refs/heads/main:refs/remotes/origin/main # timeout=10 [Pipeline] sh [2021-10-05T03:09:04.324Z] Merging remotes/origin/main commit 1b99335a09a4d3b24ee39e90536b9933fcc6f394 into PR head commit 25e529cc017a2bc4c983e359173b6cd90b24a97d [2021-10-05T03:09:04.435Z] + make test [2021-10-05T03:09:04.435Z] go mod tidy [2021-10-05T03:09:04.435Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-10-05T03:09:04.571Z] Merge succeeded, producing 25e529cc017a2bc4c983e359173b6cd90b24a97d [2021-10-05T03:09:04.571Z] Checking out Revision 25e529cc017a2bc4c983e359173b6cd90b24a97d (PR-1026) [2021-10-05T03:09:04.345Z] > git config core.sparsecheckout # timeout=10 [2021-10-05T03:09:04.363Z] > git checkout -f 25e529cc017a2bc4c983e359173b6cd90b24a97d # timeout=10 [2021-10-05T03:09:04.480Z] > git remote # timeout=10 [2021-10-05T03:09:04.500Z] > git config --get remote.origin.url # timeout=10 [2021-10-05T03:09:04.522Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-05T03:09:04.533Z] > git merge 1b99335a09a4d3b24ee39e90536b9933fcc6f394 # timeout=10 [2021-10-05T03:09:04.555Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-10-05T03:09:04.578Z] > git config core.sparsecheckout # timeout=10 [2021-10-05T03:09:04.588Z] > git checkout -f 25e529cc017a2bc4c983e359173b6cd90b24a97d # timeout=10 [2021-10-05T03:09:09.116Z] Commit message: "Merge branch 'main' into pr-template" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-05T03:09:09.478Z] provisioning config files... [2021-10-05T03:09:09.515Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config3264841305051519327tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-05T03:09:09.818Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-10-05T03:09:10.136Z] ---> docker-login.sh [2021-10-05T03:09:10.136Z] nexus3.edgexfoundry.org:10001 [2021-10-05T03:09:11.620Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-05T03:09:11.904Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-05T03:09:11.904Z] Configure a credential helper to remove this warning. See [2021-10-05T03:09:11.904Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-05T03:09:11.904Z] [2021-10-05T03:09:11.904Z] Login Succeeded [2021-10-05T03:09:11.904Z] nexus3.edgexfoundry.org:10002 [2021-10-05T03:09:12.190Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-05T03:09:12.477Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-05T03:09:12.477Z] Configure a credential helper to remove this warning. See [2021-10-05T03:09:12.477Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-05T03:09:12.477Z] [2021-10-05T03:09:12.477Z] Login Succeeded [2021-10-05T03:09:12.477Z] nexus3.edgexfoundry.org:10003 [2021-10-05T03:09:12.765Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-05T03:09:13.054Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-05T03:09:13.054Z] Configure a credential helper to remove this warning. See [2021-10-05T03:09:13.054Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-05T03:09:13.054Z] [2021-10-05T03:09:13.054Z] Login Succeeded [2021-10-05T03:09:13.054Z] nexus3.edgexfoundry.org:10004 [2021-10-05T03:09:13.341Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-05T03:09:13.957Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-05T03:09:13.957Z] Configure a credential helper to remove this warning. See [2021-10-05T03:09:13.957Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-05T03:09:13.957Z] [2021-10-05T03:09:13.957Z] Login Succeeded [2021-10-05T03:09:13.957Z] docker.io [2021-10-05T03:09:14.241Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-05T03:09:14.856Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-05T03:09:14.856Z] Configure a credential helper to remove this warning. See [2021-10-05T03:09:14.856Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-05T03:09:14.856Z] [2021-10-05T03:09:14.856Z] Login Succeeded [2021-10-05T03:09:14.856Z] ---> docker-login.sh ends [Pipeline] } [2021-10-05T03:09:14.970Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-05T03:09:15.543Z] ========================================================= [2021-10-05T03:09:15.543Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-10-05T03:09:15.543Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-05T03:09:15.955Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . [2021-10-05T03:09:16.583Z] Sending build context to Docker daemon 2.625MB [2021-10-05T03:09:16.583Z] Step 1/9 : ARG BASE=golang:1.16-alpine3.14 [2021-10-05T03:09:16.583Z] Step 2/9 : FROM ${BASE} AS builder [2021-10-05T03:09:16.583Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-10-05T03:09:16.584Z] 595b0fe564bb: Pulling fs layer [2021-10-05T03:09:16.584Z] 24495759ef45: Pulling fs layer [2021-10-05T03:09:16.584Z] d148012ef14d: Pulling fs layer [2021-10-05T03:09:16.584Z] e90a11edd702: Pulling fs layer [2021-10-05T03:09:16.584Z] d77568369979: Pulling fs layer [2021-10-05T03:09:16.584Z] fc1c9f9a7f3b: Pulling fs layer [2021-10-05T03:09:16.584Z] 170f2ba95c9a: Pulling fs layer [2021-10-05T03:09:16.584Z] 97ac5df62f85: Pulling fs layer [2021-10-05T03:09:16.584Z] fc1c9f9a7f3b: Waiting [2021-10-05T03:09:16.584Z] 170f2ba95c9a: Waiting [2021-10-05T03:09:16.584Z] 97ac5df62f85: Waiting [2021-10-05T03:09:16.584Z] e90a11edd702: Waiting [2021-10-05T03:09:16.584Z] d77568369979: Waiting [2021-10-05T03:09:16.584Z] d148012ef14d: Verifying Checksum [2021-10-05T03:09:16.584Z] d148012ef14d: Download complete [2021-10-05T03:09:16.874Z] 24495759ef45: Download complete [2021-10-05T03:09:16.874Z] d77568369979: Verifying Checksum [2021-10-05T03:09:16.874Z] d77568369979: Download complete [2021-10-05T03:09:16.874Z] fc1c9f9a7f3b: Verifying Checksum [2021-10-05T03:09:16.874Z] fc1c9f9a7f3b: Download complete [2021-10-05T03:09:16.874Z] 170f2ba95c9a: Verifying Checksum [2021-10-05T03:09:16.874Z] 170f2ba95c9a: Download complete [2021-10-05T03:09:16.874Z] 595b0fe564bb: Download complete [2021-10-05T03:09:17.506Z] 595b0fe564bb: Pull complete [2021-10-05T03:09:18.541Z] 24495759ef45: Pull complete [2021-10-05T03:09:18.832Z] d148012ef14d: Pull complete [2021-10-05T03:09:19.455Z] 97ac5df62f85: Verifying Checksum [2021-10-05T03:09:19.455Z] 97ac5df62f85: Download complete [2021-10-05T03:09:19.744Z] e90a11edd702: Verifying Checksum [2021-10-05T03:09:19.744Z] e90a11edd702: Download complete [2021-10-05T03:09:30.036Z] e90a11edd702: Pull complete [2021-10-05T03:09:30.323Z] d77568369979: Pull complete [2021-10-05T03:09:30.939Z] fc1c9f9a7f3b: Pull complete [2021-10-05T03:09:31.221Z] 170f2ba95c9a: Pull complete [2021-10-05T03:09:32.237Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-10-05T03:09:32.237Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-10-05T03:09:32.237Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-10-05T03:09:34.197Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.063s coverage: 23.7% of statements [2021-10-05T03:09:34.197Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-10-05T03:09:34.197Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.044s coverage: 28.1% of statements [2021-10-05T03:09:34.785Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.048s coverage: 78.9% of statements [2021-10-05T03:09:35.053Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.050s coverage: 9.0% of statements [2021-10-05T03:09:35.053Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-10-05T03:09:35.053Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-10-05T03:09:35.053Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-10-05T03:09:35.644Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.059s coverage: 28.7% of statements [2021-10-05T03:09:35.644Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-10-05T03:09:36.734Z] 97ac5df62f85: Pull complete [2021-10-05T03:09:36.734Z] Digest: sha256:84204f9419e0e30039067cc16e8ccc9a99ccb3a3f51ea7567ddff3f7e64b8ba8 [2021-10-05T03:09:36.734Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-10-05T03:09:36.734Z] ---> 04bc70af865f [2021-10-05T03:09:36.734Z] Step 3/9 : WORKDIR /device-sdk-go [2021-10-05T03:09:37.067Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.062s coverage: 83.3% of statements [2021-10-05T03:09:37.067Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-10-05T03:09:37.067Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-10-05T03:09:37.067Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.078s coverage: 58.0% of statements [2021-10-05T03:09:38.042Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.810s coverage: 89.2% of statements [2021-10-05T03:09:38.042Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-10-05T03:09:38.042Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.047s coverage: 4.9% of statements [2021-10-05T03:09:38.042Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-10-05T03:09:38.042Z] GO111MODULE=on go vet ./... [2021-10-05T03:09:41.167Z] ---> Running in 516e17e5e187 [2021-10-05T03:09:41.448Z] Removing intermediate container 516e17e5e187 [2021-10-05T03:09:41.448Z] ---> fad87847c6cc [2021-10-05T03:09:41.448Z] Step 4/9 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-05T03:09:41.730Z] ---> Running in 5201cfeff695 [2021-10-05T03:09:42.021Z] Removing intermediate container 5201cfeff695 [2021-10-05T03:09:42.021Z] ---> 0054fb1c5941 [2021-10-05T03:09:42.021Z] Step 5/9 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-05T03:09:42.303Z] ---> Running in 5b8e503cc057 [2021-10-05T03:09:44.985Z] Removing intermediate container 5b8e503cc057 [2021-10-05T03:09:44.985Z] ---> 2d88f2427b17 [2021-10-05T03:09:44.985Z] Step 6/9 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-05T03:09:44.985Z] ---> Running in 65586852d85d [2021-10-05T03:09:45.993Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-10-05T03:09:46.996Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-10-05T03:09:48.005Z] OK: 218 MiB in 52 packages [2021-10-05T03:09:48.186Z] gofmt -l . [2021-10-05T03:09:48.186Z] [ "`gofmt -l .`" = "" ] [2021-10-05T03:09:48.186Z] ./bin/test-attribution-txt.sh [2021-10-05T03:09:48.186Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-10-05T03:09:48.200Z] $ docker stop --time=1 f70006bac35a3261571a1a38d409680b3311c4aa7c161d91f13f472867fc2961 [2021-10-05T03:09:49.012Z] Removing intermediate container 65586852d85d [2021-10-05T03:09:49.012Z] ---> dc5c54077adf [2021-10-05T03:09:49.012Z] Step 7/9 : COPY . . [2021-10-05T03:09:49.795Z] $ docker rm -f f70006bac35a3261571a1a38d409680b3311c4aa7c161d91f13f472867fc2961 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-05T03:09:50.035Z] ---> b97093f36ab4 [2021-10-05T03:09:50.035Z] Step 8/9 : RUN go mod download [2021-10-05T03:09:50.278Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-05T03:09:50.318Z] ---> Running in f424c3e7daa6 [2021-10-05T03:09:50.551Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-10-05T03:09:53.258Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-05T03:09:53.575Z] + ls -al . [2021-10-05T03:09:53.575Z] total 236 [2021-10-05T03:09:53.575Z] drwxrwxr-x. 10 jenkins jenkins 4096 Oct 5 03:09 . [2021-10-05T03:09:53.575Z] drwxrwxr-x. 4 jenkins jenkins 28 Oct 5 03:08 .. [2021-10-05T03:09:53.575Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 5 03:08 bin [2021-10-05T03:09:53.575Z] -rw-rw-r--. 1 jenkins jenkins 24816 Oct 5 03:08 CHANGELOG.md [2021-10-05T03:09:53.575Z] -rw-r--r--. 1 jenkins jenkins 125635 Oct 5 03:09 coverage.out [2021-10-05T03:09:53.575Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 5 03:08 .dockerignore [2021-10-05T03:09:53.575Z] drwxrwxr-x. 5 jenkins jenkins 62 Oct 5 03:08 example [2021-10-05T03:09:53.575Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 5 03:08 .git [2021-10-05T03:09:53.575Z] drwxrwxr-x. 3 jenkins jenkins 125 Oct 5 03:08 .github [2021-10-05T03:09:53.575Z] -rw-rw-r--. 1 jenkins jenkins 138 Oct 5 03:08 .gitignore [2021-10-05T03:09:53.575Z] -rw-r--r--. 1 jenkins jenkins 576 Oct 5 03:09 go.mod [2021-10-05T03:09:53.575Z] -rw-r--r--. 1 jenkins jenkins 20493 Oct 5 03:09 go.sum [2021-10-05T03:09:53.575Z] -rw-rw-r--. 1 jenkins jenkins 677 Oct 5 03:08 GOVERNANCE.md [2021-10-05T03:09:53.575Z] drwxrwxr-x. 15 jenkins jenkins 224 Oct 5 03:08 internal [2021-10-05T03:09:53.575Z] -rw-rw-r--. 1 jenkins jenkins 880 Oct 5 03:08 Jenkinsfile [2021-10-05T03:09:53.575Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 5 03:08 LICENSE [2021-10-05T03:09:53.575Z] -rw-rw-r--. 1 jenkins jenkins 1026 Oct 5 03:08 Makefile [2021-10-05T03:09:53.575Z] drwxrwxr-x. 3 jenkins jenkins 16 Oct 5 03:08 openapi [2021-10-05T03:09:53.575Z] -rw-rw-r--. 1 jenkins jenkins 619 Oct 5 03:08 OWNERS.md [2021-10-05T03:09:53.575Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 5 03:08 pkg [2021-10-05T03:09:53.575Z] -rw-rw-r--. 1 jenkins jenkins 7646 Oct 5 03:08 README.md [2021-10-05T03:09:53.575Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 5 03:08 snap [2021-10-05T03:09:53.575Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 5 03:06 VERSION [2021-10-05T03:09:53.575Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 5 03:08 version.go [Pipeline] isUnix [Pipeline] sh [2021-10-05T03:09:53.903Z] + 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=25e529cc017a2bc4c983e359173b6cd90b24a97d --label arch=amd64 --label version=0.0.0 . [2021-10-05T03:09:53.903Z] Sending build context to Docker daemon 2.751MB [2021-10-05T03:09:53.903Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.14 [2021-10-05T03:09:53.903Z] Step 2/23 : FROM ${BASE} AS builder [2021-10-05T03:09:53.903Z] ---> cd8e826a1492 [2021-10-05T03:09:53.903Z] Step 3/23 : WORKDIR /device-sdk-go [2021-10-05T03:09:53.903Z] ---> Running in 15173b17ed1c [2021-10-05T03:09:54.169Z] Removing intermediate container 15173b17ed1c [2021-10-05T03:09:54.169Z] ---> 87c11892d98e [2021-10-05T03:09:54.169Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-05T03:09:54.169Z] ---> Running in 72a6af06e575 [2021-10-05T03:09:54.169Z] Removing intermediate container 72a6af06e575 [2021-10-05T03:09:54.169Z] ---> 65c68009b5a5 [2021-10-05T03:09:54.169Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-05T03:09:54.169Z] ---> Running in 28afa2a02f29 [2021-10-05T03:09:54.758Z] Removing intermediate container 28afa2a02f29 [2021-10-05T03:09:54.758Z] ---> 4b17e6eafaef [2021-10-05T03:09:54.758Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-05T03:09:54.758Z] ---> Running in b00ee59fa780 [2021-10-05T03:09:55.024Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-10-05T03:09:55.988Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-10-05T03:09:56.268Z] OK: 219 MiB in 52 packages [2021-10-05T03:09:56.268Z] Removing intermediate container b00ee59fa780 [2021-10-05T03:09:56.268Z] ---> aca160230ab9 [2021-10-05T03:09:56.268Z] Step 7/23 : COPY . . [2021-10-05T03:09:56.850Z] ---> 6a1c29fce822 [2021-10-05T03:09:56.850Z] Step 8/23 : RUN go mod download [2021-10-05T03:09:56.850Z] ---> Running in 6dd9e9f7a051 [2021-10-05T03:09:57.433Z] Removing intermediate container 6dd9e9f7a051 [2021-10-05T03:09:57.433Z] ---> 1d1da123bfcf [2021-10-05T03:09:57.433Z] Step 9/23 : RUN make build [2021-10-05T03:09:57.433Z] ---> Running in 4d02dd99e97e [2021-10-05T03:09:57.710Z] go mod tidy [2021-10-05T03:09:57.710Z] 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-10-05T03:09:58.312Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-10-05T03:09:58.579Z] Removing intermediate container 4d02dd99e97e [2021-10-05T03:09:58.579Z] ---> e06c29cfe6de [2021-10-05T03:09:58.579Z] Step 10/23 : FROM alpine:3.14 [2021-10-05T03:09:59.538Z] 3.14: Pulling from library/alpine [2021-10-05T03:09:59.538Z] a0d0a0d46f8b: Pulling fs layer [2021-10-05T03:09:59.802Z] a0d0a0d46f8b: Verifying Checksum [2021-10-05T03:09:59.803Z] a0d0a0d46f8b: Download complete [2021-10-05T03:10:00.069Z] a0d0a0d46f8b: Pull complete [2021-10-05T03:10:00.069Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-10-05T03:10:00.069Z] Status: Downloaded newer image for alpine:3.14 [2021-10-05T03:10:00.069Z] ---> 14119a10abf4 [2021-10-05T03:10:00.069Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-05T03:10:00.069Z] ---> Running in a7b5d782632b [2021-10-05T03:10:00.069Z] Removing intermediate container a7b5d782632b [2021-10-05T03:10:00.069Z] ---> 50c60ce8bc87 [2021-10-05T03:10:00.069Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-05T03:10:00.336Z] ---> Running in a6ad60645bf4 [2021-10-05T03:10:00.605Z] Removing intermediate container a6ad60645bf4 [2021-10-05T03:10:00.605Z] ---> 9bc22e4b1377 [2021-10-05T03:10:00.605Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-10-05T03:10:00.605Z] ---> Running in 1a151945dabb [2021-10-05T03:10:00.876Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-05T03:10:01.838Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-05T03:10:02.106Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-10-05T03:10:02.106Z] (2/5) Installing libsodium (1.0.18-r0) [2021-10-05T03:10:02.376Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-10-05T03:10:02.376Z] (4/5) Installing libzmq (4.3.4-r0) [2021-10-05T03:10:02.642Z] (5/5) Installing zeromq (4.3.4-r0) [2021-10-05T03:10:02.642Z] Executing busybox-1.33.1-r3.trigger [2021-10-05T03:10:02.642Z] OK: 8 MiB in 19 packages [2021-10-05T03:10:02.909Z] Removing intermediate container 1a151945dabb [2021-10-05T03:10:02.909Z] ---> f137423acf07 [2021-10-05T03:10:02.909Z] Step 14/23 : WORKDIR / [2021-10-05T03:10:02.909Z] ---> Running in 842b211f1a15 [2021-10-05T03:10:02.909Z] Removing intermediate container 842b211f1a15 [2021-10-05T03:10:02.909Z] ---> fe2fb0c00031 [2021-10-05T03:10:02.909Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-10-05T03:10:03.176Z] ---> 928b0c6d6acf [2021-10-05T03:10:03.176Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-10-05T03:10:03.442Z] ---> b2bacc1ef593 [2021-10-05T03:10:03.442Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-10-05T03:10:03.713Z] ---> 6af5c4d99e51 [2021-10-05T03:10:03.713Z] Step 18/23 : EXPOSE 59999 [2021-10-05T03:10:03.713Z] ---> Running in 41502bb20ead [2021-10-05T03:10:03.713Z] Removing intermediate container 41502bb20ead [2021-10-05T03:10:03.713Z] ---> 25febd59d6a9 [2021-10-05T03:10:03.713Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-10-05T03:10:03.713Z] ---> Running in 13f14da0ef4e [2021-10-05T03:10:03.713Z] Removing intermediate container 13f14da0ef4e [2021-10-05T03:10:03.713Z] ---> ff0691ff5ebf [2021-10-05T03:10:03.713Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-10-05T03:10:03.713Z] ---> Running in 53303e0e01c6 [2021-10-05T03:10:03.980Z] Removing intermediate container 53303e0e01c6 [2021-10-05T03:10:03.980Z] ---> 300689e93c51 [2021-10-05T03:10:03.980Z] Step 21/23 : LABEL arch=amd64 [2021-10-05T03:10:03.980Z] ---> Running in 1ee52967ed59 [2021-10-05T03:10:03.980Z] Removing intermediate container 1ee52967ed59 [2021-10-05T03:10:03.980Z] ---> 44e02b52e1c2 [2021-10-05T03:10:03.980Z] Step 22/23 : LABEL git_sha=25e529cc017a2bc4c983e359173b6cd90b24a97d [2021-10-05T03:10:03.980Z] ---> Running in 4ef2baba4cb1 [2021-10-05T03:10:04.246Z] Removing intermediate container 4ef2baba4cb1 [2021-10-05T03:10:04.246Z] ---> 254e498b1c62 [2021-10-05T03:10:04.246Z] Step 23/23 : LABEL version=0.0.0 [2021-10-05T03:10:04.246Z] ---> Running in dd7d5cbdec44 [2021-10-05T03:10:04.246Z] Removing intermediate container dd7d5cbdec44 [2021-10-05T03:10:04.246Z] ---> e0359d5edaed [2021-10-05T03:10:04.246Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-10-05T03:10:04.246Z] Successfully built e0359d5edaed [2021-10-05T03:10:04.246Z] 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] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-05T03:10:05.052Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-05T03:10:05.052Z] [2021-10-05T03:10:05.052Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-05T03:10:05.386Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-05T03:10:05.386Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-05T03:10:05.386Z] b4d181a07f80: Pulling fs layer [2021-10-05T03:10:05.386Z] a1111a8f2ec3: Pulling fs layer [2021-10-05T03:10:05.386Z] ed53099fbce6: Pulling fs layer [2021-10-05T03:10:05.386Z] dc539afda2c1: Pulling fs layer [2021-10-05T03:10:05.386Z] 77bc0d833cb6: Pulling fs layer [2021-10-05T03:10:05.386Z] 9065ff56babe: Pulling fs layer [2021-10-05T03:10:05.386Z] d287ab97295c: Pulling fs layer [2021-10-05T03:10:05.386Z] 77bc0d833cb6: Waiting [2021-10-05T03:10:05.386Z] 9065ff56babe: Waiting [2021-10-05T03:10:05.386Z] d287ab97295c: Waiting [2021-10-05T03:10:05.386Z] dc539afda2c1: Waiting [2021-10-05T03:10:05.654Z] a1111a8f2ec3: Verifying Checksum [2021-10-05T03:10:05.654Z] a1111a8f2ec3: Download complete [2021-10-05T03:10:05.654Z] dc539afda2c1: Verifying Checksum [2021-10-05T03:10:05.654Z] dc539afda2c1: Download complete [2021-10-05T03:10:05.654Z] ed53099fbce6: Verifying Checksum [2021-10-05T03:10:05.654Z] ed53099fbce6: Download complete [2021-10-05T03:10:05.923Z] 9065ff56babe: Verifying Checksum [2021-10-05T03:10:05.923Z] 9065ff56babe: Download complete [2021-10-05T03:10:05.923Z] 77bc0d833cb6: Verifying Checksum [2021-10-05T03:10:05.923Z] 77bc0d833cb6: Download complete [2021-10-05T03:10:05.923Z] b4d181a07f80: Verifying Checksum [2021-10-05T03:10:05.923Z] b4d181a07f80: Download complete [2021-10-05T03:10:07.559Z] b4d181a07f80: Pull complete [2021-10-05T03:10:07.559Z] a1111a8f2ec3: Pull complete [2021-10-05T03:10:07.827Z] ed53099fbce6: Pull complete [2021-10-05T03:10:07.827Z] dc539afda2c1: Pull complete [2021-10-05T03:10:08.097Z] 77bc0d833cb6: Pull complete [2021-10-05T03:10:08.097Z] 9065ff56babe: Pull complete [2021-10-05T03:10:12.362Z] d287ab97295c: Verifying Checksum [2021-10-05T03:10:12.362Z] d287ab97295c: Download complete [2021-10-05T03:10:17.317Z] Removing intermediate container f424c3e7daa6 [2021-10-05T03:10:17.317Z] ---> 306e284cc3a3 [2021-10-05T03:10:17.317Z] Step 9/9 : RUN make build [2021-10-05T03:10:17.317Z] ---> Running in 831ccc0a4b86 [2021-10-05T03:10:17.317Z] go mod tidy [2021-10-05T03:10:17.317Z] 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-10-05T03:10:17.731Z] d287ab97295c: Pull complete [2021-10-05T03:10:17.731Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-05T03:10:17.731Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-05T03:10:17.731Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-05T03:10:17.818Z] prd-centos7-docker-4c-2g-1471 does not seem to be running inside a container [2021-10-05T03:10:17.884Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-05T03:10:20.810Z] $ docker top 19dd9ed6837ccf6d42e82e6b020f1c95795f264f5b3b844e83c4817a99139ecd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-05T03:10:21.454Z] ---> job-cost.sh [2021-10-05T03:10:21.454Z] lf-activate-venv: SKIPPING [2021-10-05T03:10:21.454Z] INFO: No Stack... [2021-10-05T03:10:22.038Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-05T03:10:22.304Z] INFO: Archiving Costs [Pipeline] sh [2021-10-05T03:10:22.622Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv [2021-10-05T03:10:22.622Z] + cut -d, -f6 [Pipeline] lock [2021-10-05T03:10:22.664Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1026-3-stack-cost] [2021-10-05T03:10:22.674Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1026-3-stack-cost] did not exist. Created. [2021-10-05T03:10:22.674Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1026-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-05T03:10:23.031Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-10-05T03:10:23.071Z] Stashed 1 file(s) [Pipeline] } [2021-10-05T03:10:23.088Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1026-3-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-05T03:10:23.119Z] $ docker stop --time=1 19dd9ed6837ccf6d42e82e6b020f1c95795f264f5b3b844e83c4817a99139ecd [2021-10-05T03:10:24.266Z] $ docker rm -f 19dd9ed6837ccf6d42e82e6b020f1c95795f264f5b3b844e83c4817a99139ecd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-10-05T03:10:49.920Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-10-05T03:10:50.937Z] Removing intermediate container 831ccc0a4b86 [2021-10-05T03:10:50.937Z] ---> 8c324a17c7d5 [2021-10-05T03:10:50.937Z] [Warning] One or more build-args [MAKE] were not consumed [2021-10-05T03:10:50.937Z] Successfully built 8c324a17c7d5 [2021-10-05T03:10:50.937Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-05T03:10:51.350Z] + docker inspect -f . ci-base-image-arm64 [2021-10-05T03:10:51.350Z] . [Pipeline] withDockerContainer [2021-10-05T03:10:51.660Z] prd-ubuntu18.04-docker-arm64-4c-16g-1470 does not seem to be running inside a container [2021-10-05T03:10:51.811Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-10-05T03:10:53.521Z] $ docker top 47ea5a5c10a93a4dbf3b58fb6be15ae9b1434d3156ad63350339da878a01de44 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-05T03:10:54.573Z] + go version [2021-10-05T03:10:54.573Z] go version go1.16.6 linux/arm64 [Pipeline] } [2021-10-05T03:10:54.613Z] $ docker stop --time=1 47ea5a5c10a93a4dbf3b58fb6be15ae9b1434d3156ad63350339da878a01de44 [2021-10-05T03:10:56.406Z] $ docker rm -f 47ea5a5c10a93a4dbf3b58fb6be15ae9b1434d3156ad63350339da878a01de44 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-05T03:10:57.401Z] + docker inspect -f . ci-base-image-arm64 [2021-10-05T03:10:57.401Z] . [Pipeline] withDockerContainer [2021-10-05T03:10:57.692Z] prd-ubuntu18.04-docker-arm64-4c-16g-1470 does not seem to be running inside a container [2021-10-05T03:10:57.832Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-10-05T03:10:59.415Z] $ docker top 64b4d3f0f02b2d74922dc87f321e1703aa8a021177c29bf6d3ed94c606f6315a -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-05T03:11:00.416Z] + go mod tidy [Pipeline] sh [2021-10-05T03:11:01.763Z] + make test [2021-10-05T03:11:01.764Z] go mod tidy [2021-10-05T03:11:02.049Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-10-05T03:11:24.437Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-10-05T03:12:32.774Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-10-05T03:12:32.774Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-10-05T03:12:32.774Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-10-05T03:12:37.217Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.281s coverage: 23.7% of statements [2021-10-05T03:12:37.217Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-10-05T03:12:37.217Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.231s coverage: 28.1% of statements [2021-10-05T03:12:37.217Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.235s coverage: 78.9% of statements [2021-10-05T03:12:37.217Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.180s coverage: 9.0% of statements [2021-10-05T03:12:37.217Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-10-05T03:12:37.217Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-10-05T03:12:37.217Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-10-05T03:12:37.857Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.299s coverage: 28.7% of statements [2021-10-05T03:12:37.857Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-10-05T03:12:39.915Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.187s coverage: 83.3% of statements [2021-10-05T03:12:39.915Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-10-05T03:12:39.915Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-10-05T03:12:39.915Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.331s coverage: 58.0% of statements [2021-10-05T03:12:44.320Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.029s coverage: 89.2% of statements [2021-10-05T03:12:44.320Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-10-05T03:12:44.320Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.190s coverage: 4.9% of statements [2021-10-05T03:12:44.320Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-10-05T03:12:44.320Z] GO111MODULE=on go vet ./... [2021-10-05T03:13:16.909Z] gofmt -l . [2021-10-05T03:13:16.909Z] [ "`gofmt -l .`" = "" ] [2021-10-05T03:13:16.909Z] ./bin/test-attribution-txt.sh [2021-10-05T03:13:17.928Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-10-05T03:13:18.589Z] $ docker stop --time=1 64b4d3f0f02b2d74922dc87f321e1703aa8a021177c29bf6d3ed94c606f6315a [2021-10-05T03:13:21.009Z] $ docker rm -f 64b4d3f0f02b2d74922dc87f321e1703aa8a021177c29bf6d3ed94c606f6315a [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-05T03:13:22.070Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-05T03:13:22.114Z] Warning: overwriting stash ‘coverage-report’ [2021-10-05T03:13:22.865Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-05T03:13:23.483Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-05T03:13:23.861Z] + ls -al . [2021-10-05T03:13:23.861Z] total 272 [2021-10-05T03:13:23.861Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 5 03:13 . [2021-10-05T03:13:23.861Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 5 03:09 .. [2021-10-05T03:13:23.861Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 5 03:09 .dockerignore [2021-10-05T03:13:23.861Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 5 03:09 .git [2021-10-05T03:13:23.861Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 5 03:09 .github [2021-10-05T03:13:23.861Z] -rw-rw-r-- 1 jenkins jenkins 138 Oct 5 03:09 .gitignore [2021-10-05T03:13:23.861Z] -rw-rw-r-- 1 jenkins jenkins 24816 Oct 5 03:09 CHANGELOG.md [2021-10-05T03:13:23.861Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 5 03:09 GOVERNANCE.md [2021-10-05T03:13:23.861Z] -rw-rw-r-- 1 jenkins jenkins 880 Oct 5 03:09 Jenkinsfile [2021-10-05T03:13:23.861Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 5 03:09 LICENSE [2021-10-05T03:13:23.861Z] -rw-rw-r-- 1 jenkins jenkins 1026 Oct 5 03:09 Makefile [2021-10-05T03:13:23.862Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 5 03:09 OWNERS.md [2021-10-05T03:13:23.862Z] -rw-rw-r-- 1 jenkins jenkins 7646 Oct 5 03:09 README.md [2021-10-05T03:13:23.862Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 5 03:06 VERSION [2021-10-05T03:13:23.862Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 5 03:09 bin [2021-10-05T03:13:23.862Z] -rw-r--r-- 1 jenkins jenkins 125634 Oct 5 03:12 coverage.out [2021-10-05T03:13:23.862Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 5 03:09 example [2021-10-05T03:13:23.862Z] -rw-r--r-- 1 jenkins jenkins 576 Oct 5 03:13 go.mod [2021-10-05T03:13:23.862Z] -rw-r--r-- 1 jenkins jenkins 20493 Oct 5 03:11 go.sum [2021-10-05T03:13:23.862Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 5 03:09 internal [2021-10-05T03:13:23.862Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 5 03:09 openapi [2021-10-05T03:13:23.862Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 5 03:09 pkg [2021-10-05T03:13:23.862Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 5 03:09 snap [2021-10-05T03:13:23.862Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 5 03:09 version.go [Pipeline] isUnix [Pipeline] sh [2021-10-05T03:13:24.250Z] + 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=25e529cc017a2bc4c983e359173b6cd90b24a97d --label arch=arm64 --label version=0.0.0 . [2021-10-05T03:13:24.877Z] Sending build context to Docker daemon 2.751MB [2021-10-05T03:13:24.877Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.14 [2021-10-05T03:13:24.877Z] Step 2/23 : FROM ${BASE} AS builder [2021-10-05T03:13:24.877Z] ---> 8c324a17c7d5 [2021-10-05T03:13:24.877Z] Step 3/23 : WORKDIR /device-sdk-go [2021-10-05T03:13:24.877Z] ---> Running in 6f407ced20eb [2021-10-05T03:13:25.501Z] Removing intermediate container 6f407ced20eb [2021-10-05T03:13:25.501Z] ---> a6b5fd41f58b [2021-10-05T03:13:25.501Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-05T03:13:25.501Z] ---> Running in f3ce4d45a451 [2021-10-05T03:13:26.117Z] Removing intermediate container f3ce4d45a451 [2021-10-05T03:13:26.117Z] ---> b4aed3b4159d [2021-10-05T03:13:26.117Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-05T03:13:26.117Z] ---> Running in b5e2c580e541 [2021-10-05T03:13:28.167Z] Removing intermediate container b5e2c580e541 [2021-10-05T03:13:28.167Z] ---> 0b28abcc4bf6 [2021-10-05T03:13:28.167Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-05T03:13:28.167Z] ---> Running in 4c284aadc41f [2021-10-05T03:13:29.653Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-10-05T03:13:30.666Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-10-05T03:13:31.280Z] OK: 218 MiB in 52 packages [2021-10-05T03:13:32.297Z] Removing intermediate container 4c284aadc41f [2021-10-05T03:13:32.297Z] ---> 0210697791dc [2021-10-05T03:13:32.297Z] Step 7/23 : COPY . . [2021-10-05T03:13:33.776Z] ---> 543c272127f8 [2021-10-05T03:13:33.776Z] Step 8/23 : RUN go mod download [2021-10-05T03:13:33.776Z] ---> Running in 041bf1cc06e4 [2021-10-05T03:13:35.806Z] Removing intermediate container 041bf1cc06e4 [2021-10-05T03:13:35.806Z] ---> b6b37441baae [2021-10-05T03:13:35.806Z] Step 9/23 : RUN make build [2021-10-05T03:13:36.089Z] ---> Running in 95ba7548c15c [2021-10-05T03:13:37.111Z] go mod tidy [2021-10-05T03:13:37.731Z] 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-10-05T03:13:38.746Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-10-05T03:13:40.227Z] Removing intermediate container 95ba7548c15c [2021-10-05T03:13:40.227Z] ---> bb7ebb86fd47 [2021-10-05T03:13:40.227Z] Step 10/23 : FROM alpine:3.14 [2021-10-05T03:13:41.240Z] 3.14: Pulling from library/alpine [2021-10-05T03:13:41.240Z] 552d1f2373af: Pulling fs layer [2021-10-05T03:13:41.525Z] 552d1f2373af: Verifying Checksum [2021-10-05T03:13:41.525Z] 552d1f2373af: Download complete [2021-10-05T03:13:42.143Z] 552d1f2373af: Pull complete [2021-10-05T03:13:42.143Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-10-05T03:13:42.143Z] Status: Downloaded newer image for alpine:3.14 [2021-10-05T03:13:42.143Z] ---> bb3de5531c18 [2021-10-05T03:13:42.143Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-05T03:13:42.429Z] ---> Running in 6b0f5dd21432 [2021-10-05T03:13:42.716Z] Removing intermediate container 6b0f5dd21432 [2021-10-05T03:13:42.716Z] ---> fe62cf85d5f3 [2021-10-05T03:13:42.716Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-05T03:13:43.003Z] ---> Running in 308fe9fdd962 [2021-10-05T03:13:45.058Z] Removing intermediate container 308fe9fdd962 [2021-10-05T03:13:45.058Z] ---> 1f889ccad451 [2021-10-05T03:13:45.058Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-10-05T03:13:45.058Z] ---> Running in c6de58bb28e3 [2021-10-05T03:13:46.538Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-05T03:13:47.551Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-05T03:13:48.166Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-10-05T03:13:48.449Z] (2/5) Installing libsodium (1.0.18-r0) [2021-10-05T03:13:48.449Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-10-05T03:13:48.737Z] (4/5) Installing libzmq (4.3.4-r0) [2021-10-05T03:13:48.737Z] (5/5) Installing zeromq (4.3.4-r0) [2021-10-05T03:13:48.737Z] Executing busybox-1.33.1-r3.trigger [2021-10-05T03:13:48.737Z] OK: 8 MiB in 19 packages [2021-10-05T03:13:50.216Z] Removing intermediate container c6de58bb28e3 [2021-10-05T03:13:50.216Z] ---> 01a5a339271d [2021-10-05T03:13:50.216Z] Step 14/23 : WORKDIR / [2021-10-05T03:13:50.216Z] ---> Running in 78aa5c4446b5 [2021-10-05T03:13:50.497Z] Removing intermediate container 78aa5c4446b5 [2021-10-05T03:13:50.497Z] ---> 3fb060c4113a [2021-10-05T03:13:50.497Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-10-05T03:13:51.510Z] ---> 6075cd1c2437 [2021-10-05T03:13:51.510Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-10-05T03:13:52.546Z] ---> e6ae76fe1fe3 [2021-10-05T03:13:52.546Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-10-05T03:13:53.561Z] ---> aafe69d0ac51 [2021-10-05T03:13:53.561Z] Step 18/23 : EXPOSE 59999 [2021-10-05T03:13:53.561Z] ---> Running in 98aa77ea86d3 [2021-10-05T03:13:53.843Z] Removing intermediate container 98aa77ea86d3 [2021-10-05T03:13:53.843Z] ---> 1cf6b4600ce4 [2021-10-05T03:13:53.843Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-10-05T03:13:54.126Z] ---> Running in 46581263867e [2021-10-05T03:13:54.409Z] Removing intermediate container 46581263867e [2021-10-05T03:13:54.409Z] ---> cd227cf1b1c6 [2021-10-05T03:13:54.409Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-10-05T03:13:54.701Z] ---> Running in 168934b7a84e [2021-10-05T03:13:54.984Z] Removing intermediate container 168934b7a84e [2021-10-05T03:13:54.984Z] ---> 5aab83f39562 [2021-10-05T03:13:54.984Z] Step 21/23 : LABEL arch=arm64 [2021-10-05T03:13:55.266Z] ---> Running in 70dbcaa515c4 [2021-10-05T03:13:55.881Z] Removing intermediate container 70dbcaa515c4 [2021-10-05T03:13:55.881Z] ---> dbf98ed92850 [2021-10-05T03:13:55.881Z] Step 22/23 : LABEL git_sha=25e529cc017a2bc4c983e359173b6cd90b24a97d [2021-10-05T03:13:55.881Z] ---> Running in 7ba4a9f035c8 [2021-10-05T03:13:56.497Z] Removing intermediate container 7ba4a9f035c8 [2021-10-05T03:13:56.497Z] ---> 2fd502899337 [2021-10-05T03:13:56.497Z] Step 23/23 : LABEL version=0.0.0 [2021-10-05T03:13:56.497Z] ---> Running in 3ce2bc7f5710 [2021-10-05T03:13:57.114Z] Removing intermediate container 3ce2bc7f5710 [2021-10-05T03:13:57.114Z] ---> 290af15c40e5 [2021-10-05T03:13:57.114Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-10-05T03:13:57.114Z] Successfully built 290af15c40e5 [2021-10-05T03:13:57.114Z] 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] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-05T03:13:57.900Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-05T03:13:57.900Z] [2021-10-05T03:13:57.900Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-10-05T03:13:58.311Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-05T03:13:58.599Z] arm64: Pulling from edgex-lftools-log-publisher [2021-10-05T03:13:58.599Z] 448f6bf000e3: Pulling fs layer [2021-10-05T03:13:58.599Z] f757da607395: Pulling fs layer [2021-10-05T03:13:58.599Z] 05883995daec: Pulling fs layer [2021-10-05T03:13:58.600Z] 8603b9c90790: Pulling fs layer [2021-10-05T03:13:58.600Z] 1560dd03e051: Pulling fs layer [2021-10-05T03:13:58.600Z] 27f5ce0e4adf: Pulling fs layer [2021-10-05T03:13:58.600Z] c2d8d7efcc4b: Pulling fs layer [2021-10-05T03:13:58.600Z] 8603b9c90790: Waiting [2021-10-05T03:13:58.600Z] 1560dd03e051: Waiting [2021-10-05T03:13:58.600Z] 27f5ce0e4adf: Waiting [2021-10-05T03:13:58.600Z] c2d8d7efcc4b: Waiting [2021-10-05T03:13:58.885Z] f757da607395: Verifying Checksum [2021-10-05T03:13:58.885Z] f757da607395: Download complete [2021-10-05T03:13:59.170Z] 8603b9c90790: Verifying Checksum [2021-10-05T03:13:59.170Z] 8603b9c90790: Download complete [2021-10-05T03:13:59.170Z] 1560dd03e051: Verifying Checksum [2021-10-05T03:13:59.170Z] 1560dd03e051: Download complete [2021-10-05T03:13:59.170Z] 27f5ce0e4adf: Verifying Checksum [2021-10-05T03:13:59.170Z] 27f5ce0e4adf: Download complete [2021-10-05T03:13:59.459Z] 05883995daec: Verifying Checksum [2021-10-05T03:13:59.459Z] 05883995daec: Download complete [2021-10-05T03:13:59.459Z] 448f6bf000e3: Verifying Checksum [2021-10-05T03:13:59.459Z] 448f6bf000e3: Download complete [2021-10-05T03:14:02.936Z] c2d8d7efcc4b: Verifying Checksum [2021-10-05T03:14:02.936Z] c2d8d7efcc4b: Download complete [2021-10-05T03:14:03.218Z] 448f6bf000e3: Pull complete [2021-10-05T03:14:03.837Z] f757da607395: Pull complete [2021-10-05T03:14:05.309Z] 05883995daec: Pull complete [2021-10-05T03:14:05.592Z] 8603b9c90790: Pull complete [2021-10-05T03:14:06.604Z] 1560dd03e051: Pull complete [2021-10-05T03:14:06.888Z] 27f5ce0e4adf: Pull complete [2021-10-05T03:14:22.191Z] c2d8d7efcc4b: Pull complete [2021-10-05T03:14:22.191Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-10-05T03:14:22.191Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-05T03:14:22.191Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-10-05T03:14:22.446Z] prd-ubuntu18.04-docker-arm64-4c-16g-1470 does not seem to be running inside a container [2021-10-05T03:14:22.586Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-10-05T03:14:26.489Z] $ docker top 6aa0cb2a7c8a1f9d3598c1d28dcd83ca6617fd997ae41459a274866aad1fb393 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-05T03:14:27.558Z] ---> job-cost.sh [2021-10-05T03:14:27.558Z] lf-activate-venv: SKIPPING [2021-10-05T03:14:27.558Z] INFO: No Stack... [2021-10-05T03:14:35.951Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-10-05T03:14:35.951Z] INFO: Archiving Costs [Pipeline] sh [2021-10-05T03:14:36.661Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv [2021-10-05T03:14:36.661Z] + cut -d, -f6 [Pipeline] lock [2021-10-05T03:14:36.743Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1026-3-stack-cost] [2021-10-05T03:14:36.754Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1026-3-stack-cost] did not exist. Created. [2021-10-05T03:14:36.754Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1026-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-05T03:14:37.493Z] /w/workspace/device-sdk-go/3@tmp/durable-c39a6335/script.sh: 1: /w/workspace/device-sdk-go/3@tmp/durable-c39a6335/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-10-05T03:14:38.230Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-10-05T03:14:38.271Z] Warning: overwriting stash ‘stack-cost’ [2021-10-05T03:14:38.336Z] Stashed 1 file(s) [Pipeline] } [2021-10-05T03:14:38.351Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1026-3-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-05T03:14:38.401Z] $ docker stop --time=1 6aa0cb2a7c8a1f9d3598c1d28dcd83ca6617fd997ae41459a274866aad1fb393 [2021-10-05T03:14:40.148Z] $ docker rm -f 6aa0cb2a7c8a1f9d3598c1d28dcd83ca6617fd997ae41459a274866aad1fb393 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [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-10-05T03:14:41.494Z] provisioning config files... [2021-10-05T03:14:41.517Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1026@tmp/config1693375128885554005tmp [Pipeline] { [Pipeline] sh [2021-10-05T03:14:41.850Z] + set +x [2021-10-05T03:14:41.850Z] + bash -s -- [2021-10-05T03:14:41.850Z] + curl -s https://codecov.io/bash [2021-10-05T03:14:41.850Z] [2021-10-05T03:14:41.850Z] _____ _ [2021-10-05T03:14:41.850Z] / ____| | | [2021-10-05T03:14:41.850Z] | | ___ __| | ___ ___ _____ __ [2021-10-05T03:14:41.850Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-10-05T03:14:41.850Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-10-05T03:14:41.850Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-10-05T03:14:41.850Z] Bash-1.0.6 [2021-10-05T03:14:41.850Z] [2021-10-05T03:14:41.850Z] [2021-10-05T03:14:41.850Z] ==> git version 2.24.4 found [2021-10-05T03:14:41.850Z] ==> 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-10-05T03:14:41.850Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-10-05T03:14:41.850Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-10-05T03:14:41.850Z] ==> Jenkins CI detected. [2021-10-05T03:14:41.850Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1026 [2021-10-05T03:14:41.850Z] project root: . [2021-10-05T03:14:41.850Z] --> token set from env [2021-10-05T03:14:41.850Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-10-05T03:14:42.120Z] ==> Running gcov in . (disable via -X gcov) [2021-10-05T03:14:42.120Z] ==> Python coveragepy not found [2021-10-05T03:14:42.120Z] ==> Searching for coverage reports in: [2021-10-05T03:14:42.120Z] + . [2021-10-05T03:14:42.120Z] -> Found 1 reports [2021-10-05T03:14:42.120Z] ==> Detecting git/mercurial file structure [2021-10-05T03:14:42.120Z] ==> Reading reports [2021-10-05T03:14:42.120Z] + ./coverage.out bytes=125634 [2021-10-05T03:14:42.120Z] ==> Appending adjustments [2021-10-05T03:14:42.120Z] https://docs.codecov.io/docs/fixing-reports [2021-10-05T03:14:42.120Z] + Found adjustments [2021-10-05T03:14:42.120Z] ==> Gzipping contents [2021-10-05T03:14:42.392Z] 16K /tmp/codecov.S66Bgz.gz [2021-10-05T03:14:42.392Z] ==> Uploading reports [2021-10-05T03:14:42.392Z] url: https://codecov.io [2021-10-05T03:14:42.392Z] query: branch=PR-1026&commit=25e529cc017a2bc4c983e359173b6cd90b24a97d&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1026%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1026&job=&cmd_args= [2021-10-05T03:14:42.392Z] -> Pinging Codecov [2021-10-05T03:14:42.393Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1026&commit=25e529cc017a2bc4c983e359173b6cd90b24a97d&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1026%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1026&job=&cmd_args= [2021-10-05T03:14:42.660Z] -> Uploading to [2021-10-05T03:14:42.660Z] https://storage.googleapis.com/codecov/v4/raw/2021-10-05/7E55EF52A471D76F132DFD9A03CDDE97/25e529cc017a2bc4c983e359173b6cd90b24a97d/15994e88-d239-431a-b4de-fb529e24b4d5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211005%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211005T031442Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c16aa80b88aad8f9d29d5bfba2aa0daea93801139934d3968c9b1b89fcc4e94f [2021-10-05T03:14:42.660Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-05T03:14:42.660Z] Dload Upload Total Spent Left Speed [2021-10-05T03:14:42.927Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16007 0 0 100 16007 0 47333 --:--:-- --:--:-- --:--:-- 47357 [2021-10-05T03:14:42.927Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/25e529cc017a2bc4c983e359173b6cd90b24a97d [Pipeline] } [2021-10-05T03:14:42.940Z] 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] sh [2021-10-05T03:14:44.721Z] + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1026/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-10-05T03:14:45.057Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-05T03:14:45.862Z] ---> package-listing.sh [2021-10-05T03:14:45.863Z] ++ facter osfamily [2021-10-05T03:14:45.863Z] ++ tr '[:upper:]' '[:lower:]' [2021-10-05T03:14:46.140Z] + OS_FAMILY=redhat [2021-10-05T03:14:46.140Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1026 [2021-10-05T03:14:46.140Z] + START_PACKAGES=/tmp/packages_start.txt [2021-10-05T03:14:46.140Z] + END_PACKAGES=/tmp/packages_end.txt [2021-10-05T03:14:46.140Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-10-05T03:14:46.140Z] + PACKAGES=/tmp/packages_start.txt [2021-10-05T03:14:46.140Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1026 ']' [2021-10-05T03:14:46.140Z] + PACKAGES=/tmp/packages_end.txt [2021-10-05T03:14:46.140Z] + case "${OS_FAMILY}" in [2021-10-05T03:14:46.140Z] + sort [2021-10-05T03:14:46.140Z] + rpm -qa [2021-10-05T03:14:46.726Z] + '[' -f /tmp/packages_start.txt ']' [2021-10-05T03:14:46.726Z] + '[' -f /tmp/packages_end.txt ']' [2021-10-05T03:14:46.726Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-10-05T03:14:46.726Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1026 ']' [2021-10-05T03:14:46.726Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1026/archives/ [2021-10-05T03:14:46.726Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1026/archives/ [Pipeline] echo [2021-10-05T03:14:46.742Z] 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/gexfoundry_device-sdk-go_PR-1026/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-10-05T03:14:47.046Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-10-05T03:14:47.650Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-05T03:14:47.650Z] [2021-10-05T03:14:47.650Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-05T03:14:47.984Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-05T03:14:47.984Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-05T03:14:47.984Z] b4d181a07f80: Pulling fs layer [2021-10-05T03:14:47.984Z] a1111a8f2ec3: Pulling fs layer [2021-10-05T03:14:47.984Z] ed53099fbce6: Pulling fs layer [2021-10-05T03:14:47.984Z] dc539afda2c1: Pulling fs layer [2021-10-05T03:14:47.984Z] 77bc0d833cb6: Pulling fs layer [2021-10-05T03:14:47.984Z] 9065ff56babe: Pulling fs layer [2021-10-05T03:14:47.984Z] d287ab97295c: Pulling fs layer [2021-10-05T03:14:47.984Z] 77bc0d833cb6: Waiting [2021-10-05T03:14:47.984Z] 9065ff56babe: Waiting [2021-10-05T03:14:47.984Z] d287ab97295c: Waiting [2021-10-05T03:14:48.253Z] a1111a8f2ec3: Verifying Checksum [2021-10-05T03:14:48.253Z] a1111a8f2ec3: Download complete [2021-10-05T03:14:48.253Z] dc539afda2c1: Verifying Checksum [2021-10-05T03:14:48.253Z] dc539afda2c1: Download complete [2021-10-05T03:14:48.253Z] ed53099fbce6: Verifying Checksum [2021-10-05T03:14:48.253Z] ed53099fbce6: Download complete [2021-10-05T03:14:48.253Z] 77bc0d833cb6: Verifying Checksum [2021-10-05T03:14:48.253Z] 77bc0d833cb6: Download complete [2021-10-05T03:14:48.521Z] 9065ff56babe: Verifying Checksum [2021-10-05T03:14:48.521Z] 9065ff56babe: Download complete [2021-10-05T03:14:49.104Z] b4d181a07f80: Verifying Checksum [2021-10-05T03:14:49.105Z] b4d181a07f80: Download complete [2021-10-05T03:14:50.092Z] d287ab97295c: Verifying Checksum [2021-10-05T03:14:50.092Z] d287ab97295c: Download complete [2021-10-05T03:14:50.698Z] b4d181a07f80: Pull complete [2021-10-05T03:14:50.698Z] a1111a8f2ec3: Pull complete [2021-10-05T03:14:51.292Z] ed53099fbce6: Pull complete [2021-10-05T03:14:51.292Z] dc539afda2c1: Pull complete [2021-10-05T03:14:51.560Z] 77bc0d833cb6: Pull complete [2021-10-05T03:14:51.842Z] 9065ff56babe: Pull complete [2021-10-05T03:14:57.221Z] d287ab97295c: Pull complete [2021-10-05T03:14:57.221Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-05T03:14:57.221Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-05T03:14:57.221Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-05T03:14:57.318Z] prd-centos7-docker-4c-2g-1469 does not seem to be running inside a container [2021-10-05T03:14:57.366Z] $ 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/gexfoundry_device-sdk-go_PR-1026/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1026 -v /w/workspace/gexfoundry_device-sdk-go_PR-1026:/w/workspace/gexfoundry_device-sdk-go_PR-1026:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1026@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1026@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-05T03:14:59.926Z] $ docker top 03c2d2bebfc1ec37683a9ab23845c7fb4b2409fbbfba6d3afa9240c8dd5804c8 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-05T03:15:00.328Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-10-05T03:15:00.647Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-10-05T03:15:00.963Z] + ls /var/log/sa-host [2021-10-05T03:15:00.963Z] + sadf -c /var/log/sa-host/sa05 [2021-10-05T03:15:00.963Z] file_magic: OK [2021-10-05T03:15:00.963Z] HZ: Using current value: 100 [2021-10-05T03:15:00.963Z] file_header: OK [2021-10-05T03:15:00.963Z] 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-10-05T03:15:00.963Z] Statistics: [2021-10-05T03:15:00.963Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-05T03:15:00.964Z] File successfully converted to sysstat format version 12.0.3 [2021-10-05T03:15:00.964Z] + sadf -c /var/log/sa-host/sa30 [2021-10-05T03:15:00.964Z] file_magic: OK [2021-10-05T03:15:00.964Z] HZ: Using current value: 100 [2021-10-05T03:15:00.964Z] file_header: OK [2021-10-05T03:15:00.964Z] 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-10-05T03:15:00.964Z] Statistics: [2021-10-05T03:15:00.964Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-05T03:15:00.964Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-05T03:15:01.158Z] provisioning config files... [2021-10-05T03:15:01.177Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1026@tmp/config4045666229736708763tmp [Pipeline] { [Pipeline] echo [2021-10-05T03:15:01.203Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-05T03:15:01.520Z] ---> create-netrc.sh [Pipeline] } [2021-10-05T03:15:01.536Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-10-05T03:15:01.938Z] ---> python-tools-install.sh [Pipeline] echo [2021-10-05T03:15:01.957Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-05T03:15:02.265Z] ---> sudo-logs.sh [2021-10-05T03:15:02.265Z] Archiving 'sudo' log.. [2021-10-05T03:15:03.227Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1469.novalocal: Name or service not known [2021-10-05T03:15:03.227Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1469.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-10-05T03:15:03.268Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-05T03:15:03.576Z] ---> job-cost.sh [2021-10-05T03:15:03.576Z] lf-activate-venv: SKIPPING [2021-10-05T03:15:03.576Z] DEBUG: total: 0.10999999940395355 [2021-10-05T03:15:03.576Z] INFO: Retrieving Stack Cost... [2021-10-05T03:15:04.541Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-05T03:15:04.807Z] INFO: Archiving Costs [Pipeline] echo [2021-10-05T03:15:04.824Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-05T03:15:05.144Z] ---> logs-deploy.sh [2021-10-05T03:15:05.144Z] lf-activate-venv: SKIPPING [2021-10-05T03:15:05.144Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1026/3 [2021-10-05T03:15:05.144Z] INFO: archiving workspace using pattern(s): [2021-10-05T03:15:05.730Z] Archives upload complete. [2021-10-05T03:15:05.995Z] INFO: archiving logs to Nexus