Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 16ec0362aa0911361bb03db16e941d6272bfebe9 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-ssh3124885738482581446.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 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-ssh7785936624360165632.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 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 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/main/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/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1608956253372500799.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 # timeout=10 Commit message: "Merge pull request #353 from ernestojeda/go-mod-tidy-change" > 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-ssh2563644694468000476.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 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/main/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/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh7056112997106034572.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 98bb157299c17168c94e81a7dba3d05dc38b0f72 # timeout=10 Commit message: "Docs: Add example Jenkinsfile to documentation" > 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 ‘prd-centos7-docker-4c-2g-866’ is offline ‘prd-centos7-docker-4c-2g-868’ is offline ‘prd-centos7-docker-4c-2g-877’ is offline ‘prd-ubuntu18.04-docker-arm64-4c-16g-867’ doesn’t have label ‘centos7-docker-4c-2g’ ‘prd-ubuntu18.04-docker-arm64-4c-16g-876’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-880 in /w/workspace/edgexfoundry_device-sdk-go_main [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/edgexfoundry_device-sdk-go_main # 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/edgexfoundry_device-sdk-go_main@tmp/jenkins-gitclient-ssh1960689981032406752.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 16ec0362aa0911361bb03db16e941d6272bfebe9 (main) > 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 core.sparsecheckout # timeout=10 > git checkout -f 16ec0362aa0911361bb03db16e941d6272bfebe9 # timeout=10 Commit message: "Merge pull request #1014 from wangshihui/dev-yaml2json" > git rev-list --no-walk 35fb886f332368eaee04ec4bf3cbfd710208dc4c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-08-26T21:52:09.583Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-08-26T21:52:09.680Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-08-26T21:52:09.713Z] ========================================================= [2021-08-26T21:52:09.713Z] EdgeX Global Pipelines Version Info [2021-08-26T21:52:09.713Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-08-26T21:52:11.112Z] ------------------- [2021-08-26T21:52:11.112Z] stable info: [2021-08-26T21:52:11.112Z] ------------------- [2021-08-26T21:52:11.112Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-08-26T21:52:11.112Z] Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [2021-08-26T21:52:11.112Z] Message: update stable to v1.0.205 [2021-08-26T21:52:11.702Z] ------------------- [2021-08-26T21:52:11.702Z] experimental info: [2021-08-26T21:52:11.702Z] ------------------- [2021-08-26T21:52:11.702Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-08-26T21:52:11.702Z] Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [2021-08-26T21:52:11.702Z] Message: update experimental to v1.0.205 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-08-26T21:52:11.839Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-08-26T21:52:11.865Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-08-26T21:52:11.891Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-08-26T21:52:11.916Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-08-26T21:52:11.942Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-08-26T21:52:11.968Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-08-26T21:52:11.993Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-08-26T21:52:12.021Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-08-26T21:52:12.048Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-08-26T21:52:12.075Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-08-26T21:52:12.102Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-08-26T21:52:12.129Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-08-26T21:52:12.157Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-08-26T21:52:12.185Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-08-26T21:52:12.212Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-08-26T21:52:12.240Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-08-26T21:52:12.269Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-08-26T21:52:12.296Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-08-26T21:52:12.323Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-08-26T21:52:12.350Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-08-26T21:52:12.377Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-08-26T21:52:12.406Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-08-26T21:52:12.433Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-08-26T21:52:12.469Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-08-26T21:52:12.497Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-08-26T21:52:12.523Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-08-26T21:52:12.548Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-08-26T21:52:12.586Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2021-08-26T21:52:12.614Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2021-08-26T21:52:12.641Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2021-08-26T21:52:12.666Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 16ec0362aa0911361bb03db16e941d6272bfebe9 [Pipeline] echo [2021-08-26T21:52:12.692Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 16ec036 [Pipeline] echo [2021-08-26T21:52:12.717Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-26T21:52:12.800Z] provisioning config files... [2021-08-26T21:52:12.825Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1398732134408271235tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-26T21:52:13.162Z] ---> docker-login.sh [2021-08-26T21:52:13.162Z] nexus3.edgexfoundry.org:10001 [2021-08-26T21:52:13.162Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-26T21:52:13.430Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-26T21:52:13.430Z] Configure a credential helper to remove this warning. See [2021-08-26T21:52:13.430Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-26T21:52:13.430Z] [2021-08-26T21:52:13.430Z] Login Succeeded [2021-08-26T21:52:13.430Z] nexus3.edgexfoundry.org:10002 [2021-08-26T21:52:13.430Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-26T21:52:13.430Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-26T21:52:13.430Z] Configure a credential helper to remove this warning. See [2021-08-26T21:52:13.430Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-26T21:52:13.430Z] [2021-08-26T21:52:13.430Z] Login Succeeded [2021-08-26T21:52:13.430Z] nexus3.edgexfoundry.org:10003 [2021-08-26T21:52:13.698Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-26T21:52:13.698Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-26T21:52:13.698Z] Configure a credential helper to remove this warning. See [2021-08-26T21:52:13.698Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-26T21:52:13.698Z] [2021-08-26T21:52:13.698Z] Login Succeeded [2021-08-26T21:52:13.698Z] nexus3.edgexfoundry.org:10004 [2021-08-26T21:52:13.698Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-26T21:52:13.698Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-26T21:52:13.698Z] Configure a credential helper to remove this warning. See [2021-08-26T21:52:13.698Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-26T21:52:13.698Z] [2021-08-26T21:52:13.698Z] Login Succeeded [2021-08-26T21:52:13.698Z] docker.io [2021-08-26T21:52:13.964Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-26T21:52:14.235Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-26T21:52:14.235Z] Configure a credential helper to remove this warning. See [2021-08-26T21:52:14.235Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-26T21:52:14.235Z] [2021-08-26T21:52:14.235Z] Login Succeeded [2021-08-26T21:52:14.235Z] ---> docker-login.sh ends [Pipeline] } [2021-08-26T21:52:14.250Z] 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-08-26T21:52:14.929Z] + git log --format=format:%s -1 16ec0362aa0911361bb03db16e941d6272bfebe9 [Pipeline] echo [2021-08-26T21:52:14.986Z] GIT_COMMIT: 16ec0362aa0911361bb03db16e941d6272bfebe9, Commit Message: Merge pull request #1014 from wangshihui/dev-yaml2json [Pipeline] echo [2021-08-26T21:52:15.000Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-08-26T21:52:15.596Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-26T21:52:15.596Z] [2021-08-26T21:52:15.596Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-08-26T21:52:15.943Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-26T21:52:15.943Z] latest: Pulling from edgex-devops/git-semver [2021-08-26T21:52:15.943Z] 31603596830f: Pulling fs layer [2021-08-26T21:52:15.943Z] 04fac38145f0: Pulling fs layer [2021-08-26T21:52:15.943Z] 701f6daf10bf: Pulling fs layer [2021-08-26T21:52:15.943Z] 24f72da36158: Pulling fs layer [2021-08-26T21:52:15.943Z] 24f72da36158: Waiting [2021-08-26T21:52:15.943Z] 04fac38145f0: Verifying Checksum [2021-08-26T21:52:15.943Z] 04fac38145f0: Download complete [2021-08-26T21:52:16.218Z] 31603596830f: Verifying Checksum [2021-08-26T21:52:16.218Z] 31603596830f: Download complete [2021-08-26T21:52:16.218Z] 31603596830f: Pull complete [2021-08-26T21:52:16.486Z] 04fac38145f0: Pull complete [2021-08-26T21:52:16.486Z] 24f72da36158: Verifying Checksum [2021-08-26T21:52:16.486Z] 24f72da36158: Download complete [2021-08-26T21:52:16.486Z] 701f6daf10bf: Verifying Checksum [2021-08-26T21:52:16.486Z] 701f6daf10bf: Download complete [2021-08-26T21:52:17.084Z] 701f6daf10bf: Pull complete [2021-08-26T21:52:17.084Z] 24f72da36158: Pull complete [2021-08-26T21:52:17.084Z] Digest: sha256:4df6d42b0a42de7465b316d5d101e9e577e29cf163494206da03a6bf8561ec42 [2021-08-26T21:52:17.084Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-26T21:52:17.097Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-08-26T21:52:17.181Z] prd-centos7-docker-4c-2g-880 does not seem to be running inside a container [2021-08-26T21:52:17.237Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-08-26T21:52:18.013Z] $ docker top b24002bda5eec4e7c920957754b797b9ce1443ebf2824106c4766c813f2e16ae -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-08-26T21:52:18.211Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-08-26T21:52:18.211Z] [ssh-agent] Looking for ssh-agent implementation... [2021-08-26T21:52:18.331Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-08-26T21:52:18.333Z] $ docker exec b24002bda5eec4e7c920957754b797b9ce1443ebf2824106c4766c813f2e16ae ssh-agent [2021-08-26T21:52:18.458Z] SSH_AUTH_SOCK=/tmp/ssh-fuufiFDqmQy0/agent.14 [2021-08-26T21:52:18.458Z] SSH_AGENT_PID=20 [2021-08-26T21:52:18.470Z] Running ssh-add (command line suppressed) [2021-08-26T21:52:18.569Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8112933186377943975.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8112933186377943975.key) [2021-08-26T21:52:18.590Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-08-26T21:52:18.913Z] + git tag --points-at HEAD [Pipeline] } [2021-08-26T21:52:18.936Z] $ docker exec --env ******** --env ******** b24002bda5eec4e7c920957754b797b9ce1443ebf2824106c4766c813f2e16ae ssh-agent -k [2021-08-26T21:52:19.025Z] unset SSH_AUTH_SOCK; [2021-08-26T21:52:19.026Z] unset SSH_AGENT_PID; [2021-08-26T21:52:19.026Z] echo Agent pid 20 killed; [2021-08-26T21:52:19.038Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-08-26T21:52:19.101Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-08-26T21:52:19.101Z] [ssh-agent] Looking for ssh-agent implementation... [2021-08-26T21:52:19.214Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-08-26T21:52:19.217Z] $ docker exec b24002bda5eec4e7c920957754b797b9ce1443ebf2824106c4766c813f2e16ae ssh-agent [2021-08-26T21:52:19.329Z] SSH_AUTH_SOCK=/tmp/ssh-VdKB5GfMHIMb/agent.54 [2021-08-26T21:52:19.329Z] SSH_AGENT_PID=61 [2021-08-26T21:52:19.339Z] Running ssh-add (command line suppressed) [2021-08-26T21:52:19.438Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_323887336178416631.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_323887336178416631.key) [2021-08-26T21:52:19.457Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-08-26T21:52:19.772Z] + git semver init [2021-08-26T21:52:19.773Z] # -> Open(): unable to determine branch for HEAD [2021-08-26T21:52:19.773Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-08-26T21:52:19.773Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-08-26T21:52:19.773Z] # $SEMVER_REMOTE_NAME = origin [2021-08-26T21:52:19.773Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-08-26T21:52:19.773Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-08-26T21:52:19.773Z] # $SEMVER_BRANCH = main [2021-08-26T21:52:19.773Z] # $SEMVER_TEMP = /tmp/semver-449294579 [2021-08-26T21:52:19.773Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-08-26T21:52:21.190Z] # '/tmp/semver-449294579' -> '/w/workspace/edgexfoundry_device-sdk-go_main/.semver' [2021-08-26T21:52:21.190Z] # -> Force: false [2021-08-26T21:52:21.190Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } [2021-08-26T21:52:21.205Z] $ docker exec --env ******** --env ******** b24002bda5eec4e7c920957754b797b9ce1443ebf2824106c4766c813f2e16ae ssh-agent -k [2021-08-26T21:52:21.292Z] unset SSH_AUTH_SOCK; [2021-08-26T21:52:21.293Z] unset SSH_AGENT_PID; [2021-08-26T21:52:21.293Z] echo Agent pid 61 killed; [2021-08-26T21:52:21.316Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-08-26T21:52:21.698Z] + git semver [Pipeline] } [2021-08-26T21:52:21.730Z] $ docker stop --time=1 b24002bda5eec4e7c920957754b797b9ce1443ebf2824106c4766c813f2e16ae [2021-08-26T21:52:23.660Z] $ docker rm -f b24002bda5eec4e7c920957754b797b9ce1443ebf2824106c4766c813f2e16ae [Pipeline] // withDockerContainer [Pipeline] sh [2021-08-26T21:52:24.064Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-08-26T21:52:24.387Z] Stashed 1 file(s) [Pipeline] echo [2021-08-26T21:52:24.390Z] [edgeXSemver]: initialized semver on version 2.0.1-dev.10 [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-08-26T21:52:39.740Z] Still waiting to schedule task [2021-08-26T21:52:39.741Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-08-26T21:52:39.744Z] Still waiting to schedule task [2021-08-26T21:52:39.745Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-08-26T21:54:30.213Z] Running on prd-centos7-docker-4c-2g-883 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2021-08-26T21:54:30.235Z] Running in /w/workspace/device-sdk-go/7 [Pipeline] { [Pipeline] checkout [2021-08-26T21:54:30.352Z] Selected Git installation does not exist. Using Default [2021-08-26T21:54:30.352Z] The recommended git tool is: NONE [2021-08-26T21:54:33.037Z] using credential edgex-jenkins-ssh [2021-08-26T21:54:33.056Z] Cloning the remote Git repository [2021-08-26T21:54:33.006Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-08-26T21:54:33.101Z] > git init /w/workspace/device-sdk-go/7 # timeout=10 [2021-08-26T21:54:33.163Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-08-26T21:54:33.164Z] > git --version # timeout=10 [2021-08-26T21:54:33.184Z] > git --version # 'git version 2.24.4' [2021-08-26T21:54:33.184Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-26T21:54:33.224Z] [INFO] Currently running in a labeled security context [2021-08-26T21:54:33.224Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-08-26T21:54:33.224Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/7@tmp/jenkins-gitclient-ssh7590374530391316919.key [2021-08-26T21:54:33.244Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-26T21:54:34.483Z] Avoid second fetch [2021-08-26T21:54:34.485Z] Checking out Revision 16ec0362aa0911361bb03db16e941d6272bfebe9 (main) [2021-08-26T21:54:34.400Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-08-26T21:54:34.412Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-26T21:54:34.462Z] > git config core.sparsecheckout # timeout=10 [2021-08-26T21:54:34.469Z] > git checkout -f 16ec0362aa0911361bb03db16e941d6272bfebe9 # timeout=10 [2021-08-26T21:54:38.314Z] Commit message: "Merge pull request #1014 from wangshihui/dev-yaml2json" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-26T21:54:38.868Z] provisioning config files... [2021-08-26T21:54:38.890Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/7@tmp/config5436157880265842962tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-26T21:54:39.345Z] ---> docker-login.sh [2021-08-26T21:54:39.345Z] nexus3.edgexfoundry.org:10001 [2021-08-26T21:54:39.345Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-26T21:54:39.620Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-26T21:54:39.620Z] Configure a credential helper to remove this warning. See [2021-08-26T21:54:39.620Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-26T21:54:39.620Z] [2021-08-26T21:54:39.620Z] Login Succeeded [2021-08-26T21:54:39.620Z] nexus3.edgexfoundry.org:10002 [2021-08-26T21:54:39.620Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-26T21:54:39.620Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-26T21:54:39.620Z] Configure a credential helper to remove this warning. See [2021-08-26T21:54:39.620Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-26T21:54:39.620Z] [2021-08-26T21:54:39.620Z] Login Succeeded [2021-08-26T21:54:39.620Z] nexus3.edgexfoundry.org:10003 [2021-08-26T21:54:39.997Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-26T21:54:39.997Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-26T21:54:39.997Z] Configure a credential helper to remove this warning. See [2021-08-26T21:54:39.997Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-26T21:54:39.997Z] [2021-08-26T21:54:39.997Z] Login Succeeded [2021-08-26T21:54:39.997Z] nexus3.edgexfoundry.org:10004 [2021-08-26T21:54:39.997Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-26T21:54:39.997Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-26T21:54:39.997Z] Configure a credential helper to remove this warning. See [2021-08-26T21:54:39.997Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-26T21:54:39.997Z] [2021-08-26T21:54:39.997Z] Login Succeeded [2021-08-26T21:54:39.997Z] docker.io [2021-08-26T21:54:40.271Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-26T21:54:40.539Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-26T21:54:40.539Z] Configure a credential helper to remove this warning. See [2021-08-26T21:54:40.539Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-26T21:54:40.539Z] [2021-08-26T21:54:40.539Z] Login Succeeded [2021-08-26T21:54:40.539Z] ---> docker-login.sh ends [Pipeline] } [2021-08-26T21:54:40.590Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-08-26T21:54:40.802Z] ========================================================= [2021-08-26T21:54:40.802Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-08-26T21:54:40.802Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-08-26T21:54:41.162Z] + 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-08-26T21:54:41.162Z] Sending build context to Docker daemon 2.601MB [2021-08-26T21:54:41.162Z] Step 1/9 : ARG BASE=golang:1.16-alpine3.12 [2021-08-26T21:54:41.162Z] Step 2/9 : FROM ${BASE} AS builder [2021-08-26T21:54:41.162Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-08-26T21:54:41.162Z] 540db60ca938: Pulling fs layer [2021-08-26T21:54:41.162Z] adcc1eea9eea: Pulling fs layer [2021-08-26T21:54:41.162Z] 4c4ab2625f07: Pulling fs layer [2021-08-26T21:54:41.162Z] db62176df00c: Pulling fs layer [2021-08-26T21:54:41.162Z] 3b30891b0d05: Pulling fs layer [2021-08-26T21:54:41.162Z] 06b49ca38bd5: Pulling fs layer [2021-08-26T21:54:41.162Z] c788192a36de: Pulling fs layer [2021-08-26T21:54:41.162Z] a77e37c0d609: Pulling fs layer [2021-08-26T21:54:41.162Z] c3185cebc471: Pulling fs layer [2021-08-26T21:54:41.162Z] db62176df00c: Waiting [2021-08-26T21:54:41.162Z] 3b30891b0d05: Waiting [2021-08-26T21:54:41.162Z] 06b49ca38bd5: Waiting [2021-08-26T21:54:41.162Z] c788192a36de: Waiting [2021-08-26T21:54:41.163Z] a77e37c0d609: Waiting [2021-08-26T21:54:41.163Z] c3185cebc471: Waiting [2021-08-26T21:54:41.435Z] 4c4ab2625f07: Verifying Checksum [2021-08-26T21:54:41.435Z] 4c4ab2625f07: Download complete [2021-08-26T21:54:41.435Z] adcc1eea9eea: Verifying Checksum [2021-08-26T21:54:41.435Z] adcc1eea9eea: Download complete [2021-08-26T21:54:41.435Z] 3b30891b0d05: Verifying Checksum [2021-08-26T21:54:41.435Z] 3b30891b0d05: Download complete [2021-08-26T21:54:41.703Z] 06b49ca38bd5: Verifying Checksum [2021-08-26T21:54:41.703Z] 06b49ca38bd5: Download complete [2021-08-26T21:54:41.703Z] c788192a36de: Verifying Checksum [2021-08-26T21:54:41.703Z] c788192a36de: Download complete [2021-08-26T21:54:41.703Z] 540db60ca938: Verifying Checksum [2021-08-26T21:54:41.703Z] 540db60ca938: Download complete [2021-08-26T21:54:41.703Z] 540db60ca938: Pull complete [2021-08-26T21:54:41.971Z] adcc1eea9eea: Pull complete [2021-08-26T21:54:41.971Z] 4c4ab2625f07: Pull complete [2021-08-26T21:54:42.237Z] a77e37c0d609: Verifying Checksum [2021-08-26T21:54:42.237Z] a77e37c0d609: Download complete [2021-08-26T21:54:44.831Z] c3185cebc471: Verifying Checksum [2021-08-26T21:54:44.831Z] c3185cebc471: Download complete [2021-08-26T21:54:45.803Z] db62176df00c: Verifying Checksum [2021-08-26T21:54:45.803Z] db62176df00c: Download complete [2021-08-26T21:54:49.176Z] db62176df00c: Pull complete [2021-08-26T21:54:49.176Z] 3b30891b0d05: Pull complete [2021-08-26T21:54:49.452Z] 06b49ca38bd5: Pull complete [2021-08-26T21:54:49.452Z] c788192a36de: Pull complete [2021-08-26T21:54:49.734Z] a77e37c0d609: Pull complete [2021-08-26T21:54:52.346Z] c3185cebc471: Pull complete [2021-08-26T21:54:52.346Z] Digest: sha256:c22a6272cb0662d4dba1bb41e7658fbabc00c875dcca5b7a38fb264b4004f4bd [2021-08-26T21:54:52.346Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-08-26T21:54:52.346Z] ---> 031687cdd783 [2021-08-26T21:54:52.346Z] Step 3/9 : WORKDIR /device-sdk-go [2021-08-26T21:54:53.763Z] ---> Running in 848825f8f08a [2021-08-26T21:54:54.029Z] Removing intermediate container 848825f8f08a [2021-08-26T21:54:54.029Z] ---> 634641c7aaed [2021-08-26T21:54:54.029Z] Step 4/9 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-08-26T21:54:54.029Z] ---> Running in b307608cce17 [2021-08-26T21:54:54.029Z] Removing intermediate container b307608cce17 [2021-08-26T21:54:54.029Z] ---> f8cf5daca7a2 [2021-08-26T21:54:54.029Z] Step 5/9 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-08-26T21:54:54.029Z] ---> Running in 24149746174e [2021-08-26T21:54:54.627Z] Removing intermediate container 24149746174e [2021-08-26T21:54:54.627Z] ---> f3d0637f9aad [2021-08-26T21:54:54.627Z] Step 6/9 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-08-26T21:54:54.902Z] ---> Running in cdbb821aae7a [2021-08-26T21:54:55.172Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-08-26T21:54:56.141Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-08-26T21:54:56.411Z] OK: 219 MiB in 52 packages [2021-08-26T21:54:56.685Z] Removing intermediate container cdbb821aae7a [2021-08-26T21:54:56.685Z] ---> 680584141344 [2021-08-26T21:54:56.685Z] Step 7/9 : COPY . . [2021-08-26T21:54:56.965Z] ---> 371f60bca6e2 [2021-08-26T21:54:56.966Z] Step 8/9 : RUN go mod download [2021-08-26T21:54:56.966Z] ---> Running in c316834ff66c [2021-08-26T21:55:09.314Z] Removing intermediate container c316834ff66c [2021-08-26T21:55:09.314Z] ---> 2784731c5244 [2021-08-26T21:55:09.314Z] Step 9/9 : RUN make build [2021-08-26T21:55:09.314Z] ---> Running in f7953bb5c7df [2021-08-26T21:55:09.314Z] go mod tidy [2021-08-26T21:55:09.314Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.1-dev.10" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-08-26T21:55:15.849Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-882 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2021-08-26T21:55:15.870Z] Running in /w/workspace/device-sdk-go/7 [Pipeline] { [Pipeline] checkout [2021-08-26T21:55:16.127Z] Selected Git installation does not exist. Using Default [2021-08-26T21:55:16.128Z] The recommended git tool is: NONE [2021-08-26T21:55:21.681Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-08-26T21:55:21.681Z] Removing intermediate container f7953bb5c7df [2021-08-26T21:55:21.681Z] ---> 7deb54f3faaf [2021-08-26T21:55:21.681Z] [Warning] One or more build-args [MAKE] were not consumed [2021-08-26T21:55:21.681Z] Successfully built 7deb54f3faaf [2021-08-26T21:55:21.681Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-08-26T21:55:22.020Z] + docker inspect -f . ci-base-image-x86_64 [2021-08-26T21:55:22.020Z] . [Pipeline] withDockerContainer [2021-08-26T21:55:22.127Z] prd-centos7-docker-4c-2g-883 does not seem to be running inside a container [2021-08-26T21:55:22.192Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@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 ******** ci-base-image-x86_64 cat [2021-08-26T21:55:22.504Z] using credential edgex-jenkins-ssh [2021-08-26T21:55:22.536Z] Cloning the remote Git repository [2021-08-26T21:55:22.627Z] $ docker top 4bfb5bc390468af3db497a85d514bd0b4e6b0c5b7cab5bbfe04127d920286eff -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-26T21:55:23.052Z] + go version [2021-08-26T21:55:23.052Z] go version go1.16.6 linux/amd64 [Pipeline] } [2021-08-26T21:55:23.068Z] $ docker stop --time=1 4bfb5bc390468af3db497a85d514bd0b4e6b0c5b7cab5bbfe04127d920286eff [2021-08-26T21:55:22.646Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-08-26T21:55:22.766Z] > git init /w/workspace/device-sdk-go/7 # timeout=10 [2021-08-26T21:55:22.879Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-08-26T21:55:22.880Z] > git --version # timeout=10 [2021-08-26T21:55:22.904Z] > git --version # 'git version 2.17.1' [2021-08-26T21:55:22.906Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-26T21:55:23.007Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-26T21:55:24.286Z] $ docker rm -f 4bfb5bc390468af3db497a85d514bd0b4e6b0c5b7cab5bbfe04127d920286eff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [2021-08-26T21:55:24.428Z] Avoid second fetch [2021-08-26T21:55:24.429Z] Checking out Revision 16ec0362aa0911361bb03db16e941d6272bfebe9 (main) [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-08-26T21:55:24.936Z] + docker inspect -f . ci-base-image-x86_64 [2021-08-26T21:55:24.936Z] . [Pipeline] withDockerContainer [2021-08-26T21:55:24.383Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-08-26T21:55:24.407Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-26T21:55:24.452Z] > git config core.sparsecheckout # timeout=10 [2021-08-26T21:55:24.475Z] > git checkout -f 16ec0362aa0911361bb03db16e941d6272bfebe9 # timeout=10 [2021-08-26T21:55:25.046Z] prd-centos7-docker-4c-2g-883 does not seem to be running inside a container [2021-08-26T21:55:25.101Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@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 ******** ci-base-image-x86_64 cat [2021-08-26T21:55:25.508Z] $ docker top 97ae4e706e3e75d7a6ea50dd3a3a1abb81dcebef9ac9e7713b6e7926520ec3bf -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-08-26T21:55:25.945Z] + go mod tidy [Pipeline] sh [2021-08-26T21:55:26.529Z] + make test [2021-08-26T21:55:26.529Z] go mod tidy [2021-08-26T21:55:26.804Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-08-26T21:55:28.962Z] Commit message: "Merge pull request #1014 from wangshihui/dev-yaml2json" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-26T21:55:29.326Z] provisioning config files... [2021-08-26T21:55:29.353Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/7@tmp/config4477650365931343523tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-26T21:55:29.897Z] ---> docker-login.sh [2021-08-26T21:55:29.897Z] nexus3.edgexfoundry.org:10001 [2021-08-26T21:55:30.496Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-26T21:55:31.091Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-26T21:55:31.091Z] Configure a credential helper to remove this warning. See [2021-08-26T21:55:31.091Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-26T21:55:31.091Z] [2021-08-26T21:55:31.091Z] Login Succeeded [2021-08-26T21:55:31.091Z] nexus3.edgexfoundry.org:10002 [2021-08-26T21:55:31.366Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-26T21:55:31.647Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-26T21:55:31.647Z] Configure a credential helper to remove this warning. See [2021-08-26T21:55:31.647Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-26T21:55:31.647Z] [2021-08-26T21:55:31.647Z] Login Succeeded [2021-08-26T21:55:31.647Z] nexus3.edgexfoundry.org:10003 [2021-08-26T21:55:31.920Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-26T21:55:31.920Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-26T21:55:31.920Z] Configure a credential helper to remove this warning. See [2021-08-26T21:55:31.920Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-26T21:55:31.920Z] [2021-08-26T21:55:31.920Z] Login Succeeded [2021-08-26T21:55:31.920Z] nexus3.edgexfoundry.org:10004 [2021-08-26T21:55:32.522Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-26T21:55:32.523Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-26T21:55:32.523Z] Configure a credential helper to remove this warning. See [2021-08-26T21:55:32.523Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-26T21:55:32.523Z] [2021-08-26T21:55:32.523Z] Login Succeeded [2021-08-26T21:55:32.523Z] docker.io [2021-08-26T21:55:32.795Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-26T21:55:33.391Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-26T21:55:33.391Z] Configure a credential helper to remove this warning. See [2021-08-26T21:55:33.391Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-26T21:55:33.391Z] [2021-08-26T21:55:33.391Z] Login Succeeded [2021-08-26T21:55:33.391Z] ---> docker-login.sh ends [Pipeline] } [2021-08-26T21:55:33.466Z] Deleting 1 temporary files [Pipeline] // configFileProvider [2021-08-26T21:55:33.485Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-08-26T21:55:33.942Z] ========================================================= [2021-08-26T21:55:33.942Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-08-26T21:55:33.942Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-08-26T21:55:34.329Z] + 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-08-26T21:55:34.603Z] Sending build context to Docker daemon 2.599MB [2021-08-26T21:55:34.880Z] Step 1/9 : ARG BASE=golang:1.16-alpine3.12 [2021-08-26T21:55:34.880Z] Step 2/9 : FROM ${BASE} AS builder [2021-08-26T21:55:34.880Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-08-26T21:55:34.880Z] 595b0fe564bb: Pulling fs layer [2021-08-26T21:55:34.880Z] 24495759ef45: Pulling fs layer [2021-08-26T21:55:34.880Z] d148012ef14d: Pulling fs layer [2021-08-26T21:55:34.880Z] e90a11edd702: Pulling fs layer [2021-08-26T21:55:34.880Z] d77568369979: Pulling fs layer [2021-08-26T21:55:34.880Z] fc1c9f9a7f3b: Pulling fs layer [2021-08-26T21:55:34.880Z] 170f2ba95c9a: Pulling fs layer [2021-08-26T21:55:34.880Z] 97ac5df62f85: Pulling fs layer [2021-08-26T21:55:34.880Z] fc1c9f9a7f3b: Waiting [2021-08-26T21:55:34.880Z] 170f2ba95c9a: Waiting [2021-08-26T21:55:34.880Z] 97ac5df62f85: Waiting [2021-08-26T21:55:34.880Z] e90a11edd702: Waiting [2021-08-26T21:55:34.880Z] d77568369979: Waiting [2021-08-26T21:55:34.880Z] d148012ef14d: Verifying Checksum [2021-08-26T21:55:34.880Z] d148012ef14d: Download complete [2021-08-26T21:55:35.159Z] 24495759ef45: Download complete [2021-08-26T21:55:35.159Z] d77568369979: Verifying Checksum [2021-08-26T21:55:35.159Z] d77568369979: Download complete [2021-08-26T21:55:35.159Z] fc1c9f9a7f3b: Verifying Checksum [2021-08-26T21:55:35.159Z] fc1c9f9a7f3b: Download complete [2021-08-26T21:55:35.159Z] 170f2ba95c9a: Verifying Checksum [2021-08-26T21:55:35.159Z] 170f2ba95c9a: Download complete [2021-08-26T21:55:35.159Z] 595b0fe564bb: Verifying Checksum [2021-08-26T21:55:35.159Z] 595b0fe564bb: Download complete [2021-08-26T21:55:36.156Z] 595b0fe564bb: Pull complete [2021-08-26T21:55:36.759Z] 24495759ef45: Pull complete [2021-08-26T21:55:37.035Z] d148012ef14d: Pull complete [2021-08-26T21:55:39.026Z] 97ac5df62f85: Verifying Checksum [2021-08-26T21:55:39.026Z] 97ac5df62f85: Download complete [2021-08-26T21:55:39.026Z] e90a11edd702: Verifying Checksum [2021-08-26T21:55:39.026Z] e90a11edd702: Download complete [2021-08-26T21:55:49.286Z] e90a11edd702: Pull complete [2021-08-26T21:55:49.559Z] d77568369979: Pull complete [2021-08-26T21:55:50.158Z] fc1c9f9a7f3b: Pull complete [2021-08-26T21:55:50.769Z] 170f2ba95c9a: Pull complete [2021-08-26T21:55:56.384Z] 97ac5df62f85: Pull complete [2021-08-26T21:55:56.385Z] Digest: sha256:84204f9419e0e30039067cc16e8ccc9a99ccb3a3f51ea7567ddff3f7e64b8ba8 [2021-08-26T21:55:56.385Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-08-26T21:55:56.385Z] ---> 04bc70af865f [2021-08-26T21:55:56.385Z] Step 3/9 : WORKDIR /device-sdk-go [2021-08-26T21:55:59.768Z] ---> Running in 2cc3d42fe6eb [2021-08-26T21:56:00.046Z] Removing intermediate container 2cc3d42fe6eb [2021-08-26T21:56:00.046Z] ---> 1210d033a2b5 [2021-08-26T21:56:00.046Z] Step 4/9 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-08-26T21:56:00.274Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-08-26T21:56:00.274Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-08-26T21:56:00.274Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-08-26T21:56:00.274Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.057s coverage: 24.2% of statements [2021-08-26T21:56:00.274Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-08-26T21:56:00.274Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.051s coverage: 28.1% of statements [2021-08-26T21:56:00.274Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.056s coverage: 78.9% of statements [2021-08-26T21:56:00.274Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.074s coverage: 9.0% of statements [2021-08-26T21:56:00.274Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-08-26T21:56:00.274Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-08-26T21:56:00.274Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-08-26T21:56:00.274Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.063s coverage: 28.7% of statements [2021-08-26T21:56:00.274Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-08-26T21:56:00.328Z] ---> Running in 44da33acbd15 [2021-08-26T21:56:00.930Z] Removing intermediate container 44da33acbd15 [2021-08-26T21:56:00.930Z] ---> b786a4abfb66 [2021-08-26T21:56:00.930Z] Step 5/9 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-08-26T21:56:00.930Z] ---> Running in e6f252e60647 [2021-08-26T21:56:01.691Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.059s coverage: 83.3% of statements [2021-08-26T21:56:01.691Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-08-26T21:56:01.691Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-08-26T21:56:01.691Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.088s coverage: 58.0% of statements [2021-08-26T21:56:02.670Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.844s coverage: 89.2% of statements [2021-08-26T21:56:02.670Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-08-26T21:56:02.670Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.043s coverage: 4.9% of statements [2021-08-26T21:56:02.670Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-08-26T21:56:02.936Z] GO111MODULE=on go vet ./... [2021-08-26T21:56:04.341Z] Removing intermediate container e6f252e60647 [2021-08-26T21:56:04.341Z] ---> bb384918c3e9 [2021-08-26T21:56:04.341Z] Step 6/9 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-08-26T21:56:04.341Z] ---> Running in d765350d4768 [2021-08-26T21:56:05.324Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-08-26T21:56:06.310Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-08-26T21:56:06.921Z] OK: 218 MiB in 52 packages [2021-08-26T21:56:08.358Z] Removing intermediate container d765350d4768 [2021-08-26T21:56:08.358Z] ---> 3279f1252bf5 [2021-08-26T21:56:08.358Z] Step 7/9 : COPY . . [2021-08-26T21:56:09.807Z] ---> 4cda41bc3f02 [2021-08-26T21:56:09.807Z] Step 8/9 : RUN go mod download [2021-08-26T21:56:09.807Z] ---> Running in aeb3a71895f1 [2021-08-26T21:56:13.028Z] gofmt -l . [2021-08-26T21:56:13.029Z] [ "`gofmt -l .`" = "" ] [2021-08-26T21:56:13.029Z] ./bin/test-attribution-txt.sh [2021-08-26T21:56:13.029Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-08-26T21:56:13.316Z] $ docker stop --time=1 97ae4e706e3e75d7a6ea50dd3a3a1abb81dcebef9ac9e7713b6e7926520ec3bf [2021-08-26T21:56:14.864Z] $ docker rm -f 97ae4e706e3e75d7a6ea50dd3a3a1abb81dcebef9ac9e7713b6e7926520ec3bf [Pipeline] // withDockerContainer [Pipeline] sh [2021-08-26T21:56:15.359Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-08-26T21:56:15.625Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-08-26T21:56:17.991Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-08-26T21:56:18.313Z] + ls -al . [2021-08-26T21:56:18.313Z] total 232 [2021-08-26T21:56:18.313Z] drwxrwxr-x. 10 jenkins jenkins 4096 Aug 26 21:56 . [2021-08-26T21:56:18.313Z] drwxrwxr-x. 4 jenkins jenkins 28 Aug 26 21:54 .. [2021-08-26T21:56:18.313Z] drwxrwxr-x. 2 jenkins jenkins 64 Aug 26 21:54 bin [2021-08-26T21:56:18.313Z] -rw-rw-r--. 1 jenkins jenkins 24816 Aug 26 21:54 CHANGELOG.md [2021-08-26T21:56:18.313Z] -rw-r--r--. 1 jenkins jenkins 125634 Aug 26 21:56 coverage.out [2021-08-26T21:56:18.313Z] -rw-rw-r--. 1 jenkins jenkins 140 Aug 26 21:54 .dockerignore [2021-08-26T21:56:18.313Z] drwxrwxr-x. 5 jenkins jenkins 62 Aug 26 21:54 example [2021-08-26T21:56:18.313Z] drwxrwxr-x. 8 jenkins jenkins 162 Aug 26 21:54 .git [2021-08-26T21:56:18.313Z] drwxrwxr-x. 3 jenkins jenkins 125 Aug 26 21:54 .github [2021-08-26T21:56:18.313Z] -rw-rw-r--. 1 jenkins jenkins 138 Aug 26 21:54 .gitignore [2021-08-26T21:56:18.313Z] -rw-r--r--. 1 jenkins jenkins 576 Aug 26 21:56 go.mod [2021-08-26T21:56:18.313Z] -rw-r--r--. 1 jenkins jenkins 20408 Aug 26 21:55 go.sum [2021-08-26T21:56:18.313Z] -rw-rw-r--. 1 jenkins jenkins 677 Aug 26 21:54 GOVERNANCE.md [2021-08-26T21:56:18.313Z] drwxrwxr-x. 15 jenkins jenkins 224 Aug 26 21:54 internal [2021-08-26T21:56:18.313Z] -rw-rw-r--. 1 jenkins jenkins 880 Aug 26 21:54 Jenkinsfile [2021-08-26T21:56:18.313Z] -rw-rw-r--. 1 jenkins jenkins 11341 Aug 26 21:54 LICENSE [2021-08-26T21:56:18.313Z] -rw-rw-r--. 1 jenkins jenkins 1026 Aug 26 21:54 Makefile [2021-08-26T21:56:18.313Z] drwxrwxr-x. 3 jenkins jenkins 16 Aug 26 21:54 openapi [2021-08-26T21:56:18.313Z] -rw-rw-r--. 1 jenkins jenkins 619 Aug 26 21:54 OWNERS.md [2021-08-26T21:56:18.313Z] drwxrwxr-x. 5 jenkins jenkins 50 Aug 26 21:54 pkg [2021-08-26T21:56:18.313Z] -rw-rw-r--. 1 jenkins jenkins 7646 Aug 26 21:54 README.md [2021-08-26T21:56:18.313Z] drwxrwxr-x. 4 jenkins jenkins 54 Aug 26 21:54 snap [2021-08-26T21:56:18.313Z] -rw-rw-r--. 1 jenkins jenkins 12 Aug 26 21:52 VERSION [2021-08-26T21:56:18.313Z] -rw-rw-r--. 1 jenkins jenkins 222 Aug 26 21:54 version.go [Pipeline] isUnix [Pipeline] sh [2021-08-26T21:56:18.650Z] + 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=16ec0362aa0911361bb03db16e941d6272bfebe9 --label arch=amd64 --label version=2.0.1-dev.10 . [2021-08-26T21:56:18.650Z] Sending build context to Docker daemon 2.727MB [2021-08-26T21:56:18.650Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-08-26T21:56:18.650Z] Step 2/23 : FROM ${BASE} AS builder [2021-08-26T21:56:18.650Z] ---> 7deb54f3faaf [2021-08-26T21:56:18.650Z] Step 3/23 : WORKDIR /device-sdk-go [2021-08-26T21:56:18.650Z] ---> Running in 5f2e151ffcff [2021-08-26T21:56:18.925Z] Removing intermediate container 5f2e151ffcff [2021-08-26T21:56:18.925Z] ---> dc234816dec2 [2021-08-26T21:56:18.925Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-08-26T21:56:18.925Z] ---> Running in 7bdfd02608e6 [2021-08-26T21:56:18.925Z] Removing intermediate container 7bdfd02608e6 [2021-08-26T21:56:18.925Z] ---> a8fa1d011596 [2021-08-26T21:56:18.925Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-08-26T21:56:18.925Z] ---> Running in c9751484588d [2021-08-26T21:56:19.515Z] Removing intermediate container c9751484588d [2021-08-26T21:56:19.515Z] ---> 784ac0b96b5a [2021-08-26T21:56:19.515Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-08-26T21:56:19.515Z] ---> Running in b277b22ef0db [2021-08-26T21:56:19.788Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-08-26T21:56:20.746Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-08-26T21:56:21.708Z] OK: 219 MiB in 52 packages [2021-08-26T21:56:21.975Z] Removing intermediate container b277b22ef0db [2021-08-26T21:56:21.975Z] ---> 953729816adc [2021-08-26T21:56:21.975Z] Step 7/23 : COPY . . [2021-08-26T21:56:22.245Z] ---> df02601f9798 [2021-08-26T21:56:22.245Z] Step 8/23 : RUN go mod download [2021-08-26T21:56:22.245Z] ---> Running in 77ca718a4cd1 [2021-08-26T21:56:22.843Z] Removing intermediate container 77ca718a4cd1 [2021-08-26T21:56:22.843Z] ---> bd87af7d6d54 [2021-08-26T21:56:22.843Z] Step 9/23 : RUN make build [2021-08-26T21:56:22.843Z] ---> Running in 4113deb51c87 [2021-08-26T21:56:23.434Z] go mod tidy [2021-08-26T21:56:23.434Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.1-dev.10" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-08-26T21:56:24.026Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-08-26T21:56:24.295Z] Removing intermediate container 4113deb51c87 [2021-08-26T21:56:24.295Z] ---> 71af60f707cc [2021-08-26T21:56:24.295Z] Step 10/23 : FROM alpine:3.12 [2021-08-26T21:56:24.879Z] 3.12: Pulling from library/alpine [2021-08-26T21:56:25.144Z] 339de151aab4: Pulling fs layer [2021-08-26T21:56:25.412Z] 339de151aab4: Verifying Checksum [2021-08-26T21:56:25.412Z] 339de151aab4: Download complete [2021-08-26T21:56:25.412Z] 339de151aab4: Pull complete [2021-08-26T21:56:25.412Z] Digest: sha256:de25c7fc6c4f3a27c7f0c2dff454e4671823a34d88abd533f210848d527e0fbb [2021-08-26T21:56:25.412Z] Status: Downloaded newer image for alpine:3.12 [2021-08-26T21:56:25.412Z] ---> 13621d1b12d4 [2021-08-26T21:56:25.412Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-08-26T21:56:25.685Z] ---> Running in 9fa0c4cb58f3 [2021-08-26T21:56:25.686Z] Removing intermediate container 9fa0c4cb58f3 [2021-08-26T21:56:25.686Z] ---> 42003a72e7b8 [2021-08-26T21:56:25.686Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-08-26T21:56:25.686Z] ---> Running in 2797d45f98eb [2021-08-26T21:56:26.286Z] Removing intermediate container 2797d45f98eb [2021-08-26T21:56:26.286Z] ---> ed371afcb415 [2021-08-26T21:56:26.286Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-08-26T21:56:26.286Z] ---> Running in c7844a00f38a [2021-08-26T21:56:26.552Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-08-26T21:56:27.514Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-08-26T21:56:28.097Z] (1/5) Installing libgcc (9.3.0-r2) [2021-08-26T21:56:28.362Z] (2/5) Installing libsodium (1.0.18-r0) [2021-08-26T21:56:28.362Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-08-26T21:56:28.628Z] (4/5) Installing libzmq (4.3.3-r0) [2021-08-26T21:56:28.628Z] (5/5) Installing zeromq (4.3.3-r0) [2021-08-26T21:56:28.628Z] Executing busybox-1.31.1-r20.trigger [2021-08-26T21:56:28.628Z] OK: 8 MiB in 19 packages [2021-08-26T21:56:29.218Z] Removing intermediate container c7844a00f38a [2021-08-26T21:56:29.218Z] ---> e243fd38c601 [2021-08-26T21:56:29.218Z] Step 14/23 : WORKDIR / [2021-08-26T21:56:29.218Z] ---> Running in 381bcac82ccb [2021-08-26T21:56:29.218Z] Removing intermediate container 381bcac82ccb [2021-08-26T21:56:29.218Z] ---> 7f8df6bd3dce [2021-08-26T21:56:29.218Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-08-26T21:56:29.218Z] ---> fb6ac38a70a7 [2021-08-26T21:56:29.218Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-08-26T21:56:29.804Z] ---> ff5183c93647 [2021-08-26T21:56:29.804Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-08-26T21:56:29.804Z] ---> 7dcf33b3e566 [2021-08-26T21:56:29.804Z] Step 18/23 : EXPOSE 59999 [2021-08-26T21:56:29.804Z] ---> Running in b77e6bfcad62 [2021-08-26T21:56:30.070Z] Removing intermediate container b77e6bfcad62 [2021-08-26T21:56:30.070Z] ---> 0f955b11fcd5 [2021-08-26T21:56:30.070Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-08-26T21:56:30.070Z] ---> Running in d6313ad4969c [2021-08-26T21:56:30.070Z] Removing intermediate container d6313ad4969c [2021-08-26T21:56:30.070Z] ---> ef4c571a4360 [2021-08-26T21:56:30.070Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-08-26T21:56:30.070Z] ---> Running in 7f63c22cc041 [2021-08-26T21:56:30.338Z] Removing intermediate container 7f63c22cc041 [2021-08-26T21:56:30.338Z] ---> 712d5bfce967 [2021-08-26T21:56:30.338Z] Step 21/23 : LABEL arch=amd64 [2021-08-26T21:56:30.338Z] ---> Running in 7b3138e6a3a2 [2021-08-26T21:56:30.338Z] Removing intermediate container 7b3138e6a3a2 [2021-08-26T21:56:30.338Z] ---> 4a2db0cf6cc6 [2021-08-26T21:56:30.338Z] Step 22/23 : LABEL git_sha=16ec0362aa0911361bb03db16e941d6272bfebe9 [2021-08-26T21:56:30.338Z] ---> Running in 3a51374859fa [2021-08-26T21:56:30.605Z] Removing intermediate container 3a51374859fa [2021-08-26T21:56:30.605Z] ---> 235fd114582d [2021-08-26T21:56:30.605Z] Step 23/23 : LABEL version=2.0.1-dev.10 [2021-08-26T21:56:30.605Z] ---> Running in 259a8fa0cac2 [2021-08-26T21:56:30.605Z] Removing intermediate container 259a8fa0cac2 [2021-08-26T21:56:30.605Z] ---> 110537a552a9 [2021-08-26T21:56:30.605Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-08-26T21:56:30.605Z] Successfully built 110537a552a9 [2021-08-26T21:56:30.605Z] 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-08-26T21:56:31.307Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-26T21:56:31.307Z] [2021-08-26T21:56:31.307Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-08-26T21:56:31.657Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-26T21:56:31.657Z] latest: Pulling from edgex-lftools-log-publisher [2021-08-26T21:56:31.657Z] b4d181a07f80: Pulling fs layer [2021-08-26T21:56:31.657Z] a1111a8f2ec3: Pulling fs layer [2021-08-26T21:56:31.657Z] ed53099fbce6: Pulling fs layer [2021-08-26T21:56:31.657Z] dc539afda2c1: Pulling fs layer [2021-08-26T21:56:31.657Z] 77bc0d833cb6: Pulling fs layer [2021-08-26T21:56:31.657Z] 9065ff56babe: Pulling fs layer [2021-08-26T21:56:31.657Z] d287ab97295c: Pulling fs layer [2021-08-26T21:56:31.657Z] 77bc0d833cb6: Waiting [2021-08-26T21:56:31.657Z] 9065ff56babe: Waiting [2021-08-26T21:56:31.657Z] d287ab97295c: Waiting [2021-08-26T21:56:31.657Z] dc539afda2c1: Waiting [2021-08-26T21:56:31.924Z] a1111a8f2ec3: Verifying Checksum [2021-08-26T21:56:31.924Z] a1111a8f2ec3: Download complete [2021-08-26T21:56:32.189Z] dc539afda2c1: Verifying Checksum [2021-08-26T21:56:32.190Z] dc539afda2c1: Download complete [2021-08-26T21:56:32.454Z] 77bc0d833cb6: Verifying Checksum [2021-08-26T21:56:32.454Z] 77bc0d833cb6: Download complete [2021-08-26T21:56:32.454Z] 9065ff56babe: Verifying Checksum [2021-08-26T21:56:32.454Z] 9065ff56babe: Download complete [2021-08-26T21:56:32.722Z] ed53099fbce6: Verifying Checksum [2021-08-26T21:56:32.722Z] ed53099fbce6: Download complete [2021-08-26T21:56:34.133Z] b4d181a07f80: Verifying Checksum [2021-08-26T21:56:34.133Z] b4d181a07f80: Download complete [2021-08-26T21:56:35.104Z] b4d181a07f80: Pull complete [2021-08-26T21:56:35.104Z] a1111a8f2ec3: Pull complete [2021-08-26T21:56:35.702Z] ed53099fbce6: Pull complete [2021-08-26T21:56:35.702Z] dc539afda2c1: Pull complete [2021-08-26T21:56:35.970Z] 77bc0d833cb6: Pull complete [2021-08-26T21:56:35.970Z] 9065ff56babe: Pull complete [2021-08-26T21:56:36.611Z] Removing intermediate container aeb3a71895f1 [2021-08-26T21:56:36.611Z] ---> 67d81f5c1167 [2021-08-26T21:56:36.611Z] Step 9/9 : RUN make build [2021-08-26T21:56:36.611Z] ---> Running in 9b06ea61b496 [2021-08-26T21:56:37.373Z] d287ab97295c: Verifying Checksum [2021-08-26T21:56:37.373Z] d287ab97295c: Download complete [2021-08-26T21:56:38.054Z] go mod tidy [2021-08-26T21:56:38.658Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.1-dev.10" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-08-26T21:56:41.656Z] d287ab97295c: Pull complete [2021-08-26T21:56:41.656Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-08-26T21:56:41.656Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-26T21:56:41.656Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-08-26T21:56:41.767Z] prd-centos7-docker-4c-2g-883 does not seem to be running inside a container [2021-08-26T21:56:41.829Z] $ 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/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-08-26T21:56:44.753Z] $ docker top 1473698a8e80223a4adaec5c37edd6d7aea5d025d3db49cf3e69ac759d636c8f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-26T21:56:45.225Z] ---> job-cost.sh [2021-08-26T21:56:45.225Z] lf-activate-venv: SKIPPING [2021-08-26T21:56:45.225Z] INFO: No Stack... [2021-08-26T21:56:46.190Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-08-26T21:56:46.457Z] INFO: Archiving Costs [Pipeline] sh [2021-08-26T21:56:46.780Z] + cut -d, -f6 [2021-08-26T21:56:46.780Z] + cat /w/workspace/device-sdk-go/7/archives/cost.csv [Pipeline] lock [2021-08-26T21:56:46.831Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-7-stack-cost] [2021-08-26T21:56:46.848Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-7-stack-cost] did not exist. Created. [2021-08-26T21:56:46.849Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-08-26T21:56:47.207Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-08-26T21:56:47.268Z] Stashed 1 file(s) [Pipeline] } [2021-08-26T21:56:47.281Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-7-stack-cost] [Pipeline] // lock [Pipeline] } [2021-08-26T21:56:47.312Z] $ docker stop --time=1 1473698a8e80223a4adaec5c37edd6d7aea5d025d3db49cf3e69ac759d636c8f [2021-08-26T21:56:48.482Z] $ docker rm -f 1473698a8e80223a4adaec5c37edd6d7aea5d025d3db49cf3e69ac759d636c8f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-08-26T21:57:11.082Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-08-26T21:57:14.482Z] Removing intermediate container 9b06ea61b496 [2021-08-26T21:57:14.482Z] ---> 5708a56ffc95 [2021-08-26T21:57:14.482Z] [Warning] One or more build-args [MAKE] were not consumed [2021-08-26T21:57:14.482Z] Successfully built 5708a56ffc95 [2021-08-26T21:57:14.482Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-08-26T21:57:14.833Z] + docker inspect -f . ci-base-image-arm64 [2021-08-26T21:57:14.833Z] . [Pipeline] withDockerContainer [2021-08-26T21:57:15.107Z] prd-ubuntu18.04-docker-arm64-4c-16g-882 does not seem to be running inside a container [2021-08-26T21:57:15.192Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@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 ******** ci-base-image-arm64 cat [2021-08-26T21:57:17.008Z] $ docker top 4aa03b790c539ec066c5f5728280425bfb0c335d1f85ed1840a1711b71e9fe3d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-26T21:57:17.987Z] + go version [2021-08-26T21:57:17.987Z] go version go1.16.6 linux/arm64 [Pipeline] } [2021-08-26T21:57:18.010Z] $ docker stop --time=1 4aa03b790c539ec066c5f5728280425bfb0c335d1f85ed1840a1711b71e9fe3d [2021-08-26T21:57:20.013Z] $ docker rm -f 4aa03b790c539ec066c5f5728280425bfb0c335d1f85ed1840a1711b71e9fe3d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-08-26T21:57:20.880Z] + docker inspect -f . ci-base-image-arm64 [2021-08-26T21:57:20.881Z] . [Pipeline] withDockerContainer [2021-08-26T21:57:21.149Z] prd-ubuntu18.04-docker-arm64-4c-16g-882 does not seem to be running inside a container [2021-08-26T21:57:21.344Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@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 ******** ci-base-image-arm64 cat [2021-08-26T21:57:23.066Z] $ docker top 71416e0b8d88cd25ae52705d7c41e73075af9776a7e8199c5aace02e8c301411 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-08-26T21:57:24.000Z] + go mod tidy [Pipeline] sh [2021-08-26T21:57:25.275Z] + make test [2021-08-26T21:57:25.275Z] go mod tidy [2021-08-26T21:57:25.557Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-08-26T21:57:52.398Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-08-26T21:59:00.533Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-08-26T21:59:00.533Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-08-26T21:59:00.533Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-08-26T21:59:01.996Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.386s coverage: 24.2% of statements [2021-08-26T21:59:01.996Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-08-26T21:59:01.996Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.213s coverage: 28.1% of statements [2021-08-26T21:59:01.996Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.274s coverage: 78.9% of statements [2021-08-26T21:59:01.996Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.183s coverage: 9.0% of statements [2021-08-26T21:59:01.996Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-08-26T21:59:01.996Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-08-26T21:59:01.996Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-08-26T21:59:02.599Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.315s coverage: 28.7% of statements [2021-08-26T21:59:02.599Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-08-26T21:59:06.025Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.196s coverage: 83.3% of statements [2021-08-26T21:59:06.025Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-08-26T21:59:06.025Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-08-26T21:59:06.025Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.437s coverage: 58.0% of statements [2021-08-26T21:59:07.019Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.167s coverage: 89.2% of statements [2021-08-26T21:59:07.019Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-08-26T21:59:07.019Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.178s coverage: 4.9% of statements [2021-08-26T21:59:07.019Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-08-26T21:59:07.616Z] GO111MODULE=on go vet ./... [2021-08-26T21:59:46.668Z] gofmt -l . [2021-08-26T21:59:46.668Z] [ "`gofmt -l .`" = "" ] [2021-08-26T21:59:46.668Z] ./bin/test-attribution-txt.sh [2021-08-26T21:59:46.668Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-08-26T21:59:46.690Z] $ docker stop --time=1 71416e0b8d88cd25ae52705d7c41e73075af9776a7e8199c5aace02e8c301411 [2021-08-26T21:59:48.770Z] $ docker rm -f 71416e0b8d88cd25ae52705d7c41e73075af9776a7e8199c5aace02e8c301411 [Pipeline] // withDockerContainer [Pipeline] sh [2021-08-26T21:59:49.813Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-08-26T21:59:49.846Z] Warning: overwriting stash ‘coverage-report’ [2021-08-26T21:59:50.600Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-08-26T21:59:51.229Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-08-26T21:59:51.599Z] + ls -al . [2021-08-26T21:59:51.599Z] total 268 [2021-08-26T21:59:51.599Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 26 21:59 . [2021-08-26T21:59:51.599Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 26 21:55 .. [2021-08-26T21:59:51.599Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 26 21:55 .dockerignore [2021-08-26T21:59:51.599Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 26 21:55 .git [2021-08-26T21:59:51.599Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 26 21:55 .github [2021-08-26T21:59:51.599Z] -rw-rw-r-- 1 jenkins jenkins 138 Aug 26 21:55 .gitignore [2021-08-26T21:59:51.599Z] -rw-rw-r-- 1 jenkins jenkins 24816 Aug 26 21:55 CHANGELOG.md [2021-08-26T21:59:51.599Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 26 21:55 GOVERNANCE.md [2021-08-26T21:59:51.599Z] -rw-rw-r-- 1 jenkins jenkins 880 Aug 26 21:55 Jenkinsfile [2021-08-26T21:59:51.599Z] -rw-rw-r-- 1 jenkins jenkins 11341 Aug 26 21:55 LICENSE [2021-08-26T21:59:51.599Z] -rw-rw-r-- 1 jenkins jenkins 1026 Aug 26 21:55 Makefile [2021-08-26T21:59:51.599Z] -rw-rw-r-- 1 jenkins jenkins 619 Aug 26 21:55 OWNERS.md [2021-08-26T21:59:51.599Z] -rw-rw-r-- 1 jenkins jenkins 7646 Aug 26 21:55 README.md [2021-08-26T21:59:51.599Z] -rw-rw-r-- 1 jenkins jenkins 12 Aug 26 21:52 VERSION [2021-08-26T21:59:51.599Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 26 21:55 bin [2021-08-26T21:59:51.599Z] -rw-r--r-- 1 jenkins jenkins 125634 Aug 26 21:59 coverage.out [2021-08-26T21:59:51.599Z] drwxrwxr-x 5 jenkins jenkins 4096 Aug 26 21:55 example [2021-08-26T21:59:51.599Z] -rw-r--r-- 1 jenkins jenkins 576 Aug 26 21:59 go.mod [2021-08-26T21:59:51.599Z] -rw-r--r-- 1 jenkins jenkins 20408 Aug 26 21:57 go.sum [2021-08-26T21:59:51.599Z] drwxrwxr-x 15 jenkins jenkins 4096 Aug 26 21:55 internal [2021-08-26T21:59:51.599Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 26 21:55 openapi [2021-08-26T21:59:51.599Z] drwxrwxr-x 5 jenkins jenkins 4096 Aug 26 21:55 pkg [2021-08-26T21:59:51.599Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 26 21:55 snap [2021-08-26T21:59:51.599Z] -rw-rw-r-- 1 jenkins jenkins 222 Aug 26 21:55 version.go [Pipeline] isUnix [Pipeline] sh [2021-08-26T21:59:51.996Z] + 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=16ec0362aa0911361bb03db16e941d6272bfebe9 --label arch=arm64 --label version=2.0.1-dev.10 . [2021-08-26T21:59:52.599Z] Sending build context to Docker daemon 2.725MB [2021-08-26T21:59:52.600Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-08-26T21:59:52.600Z] Step 2/23 : FROM ${BASE} AS builder [2021-08-26T21:59:52.600Z] ---> 5708a56ffc95 [2021-08-26T21:59:52.600Z] Step 3/23 : WORKDIR /device-sdk-go [2021-08-26T21:59:52.874Z] ---> Running in 389b3a4d9feb [2021-08-26T21:59:53.487Z] Removing intermediate container 389b3a4d9feb [2021-08-26T21:59:53.487Z] ---> ef920f13a08b [2021-08-26T21:59:53.487Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-08-26T21:59:53.487Z] ---> Running in 16e05d7c98b9 [2021-08-26T21:59:54.083Z] Removing intermediate container 16e05d7c98b9 [2021-08-26T21:59:54.083Z] ---> 290ffb5ef1f2 [2021-08-26T21:59:54.084Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-08-26T21:59:54.084Z] ---> Running in d20875344913 [2021-08-26T21:59:56.715Z] Removing intermediate container d20875344913 [2021-08-26T21:59:56.715Z] ---> 5c6cebc27a7d [2021-08-26T21:59:56.715Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-08-26T21:59:56.715Z] ---> Running in 3307b064f81c [2021-08-26T21:59:58.149Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-08-26T21:59:58.742Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-08-26T21:59:59.725Z] OK: 218 MiB in 52 packages [2021-08-26T22:00:00.706Z] Removing intermediate container 3307b064f81c [2021-08-26T22:00:00.706Z] ---> 50970dbe502e [2021-08-26T22:00:00.706Z] Step 7/23 : COPY . . [2021-08-26T22:00:02.146Z] ---> c8d61f5e44f8 [2021-08-26T22:00:02.146Z] Step 8/23 : RUN go mod download [2021-08-26T22:00:02.421Z] ---> Running in bf2212ebd4b9 [2021-08-26T22:00:05.048Z] Removing intermediate container bf2212ebd4b9 [2021-08-26T22:00:05.048Z] ---> 27afcbfbb959 [2021-08-26T22:00:05.048Z] Step 9/23 : RUN make build [2021-08-26T22:00:05.048Z] ---> Running in 85200968fc85 [2021-08-26T22:00:06.029Z] go mod tidy [2021-08-26T22:00:06.633Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.1-dev.10" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-08-26T22:00:08.074Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-08-26T22:00:09.513Z] Removing intermediate container 85200968fc85 [2021-08-26T22:00:09.513Z] ---> 188927c19daf [2021-08-26T22:00:09.513Z] Step 10/23 : FROM alpine:3.12 [2021-08-26T22:00:10.113Z] 3.12: Pulling from library/alpine [2021-08-26T22:00:10.385Z] d2f70382dc9a: Pulling fs layer [2021-08-26T22:00:10.659Z] d2f70382dc9a: Verifying Checksum [2021-08-26T22:00:10.659Z] d2f70382dc9a: Download complete [2021-08-26T22:00:11.642Z] d2f70382dc9a: Pull complete [2021-08-26T22:00:11.642Z] Digest: sha256:de25c7fc6c4f3a27c7f0c2dff454e4671823a34d88abd533f210848d527e0fbb [2021-08-26T22:00:11.642Z] Status: Downloaded newer image for alpine:3.12 [2021-08-26T22:00:11.642Z] ---> c4fd0aeabfcf [2021-08-26T22:00:11.642Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-08-26T22:00:11.915Z] ---> Running in 23e801ade7dd [2021-08-26T22:00:12.515Z] Removing intermediate container 23e801ade7dd [2021-08-26T22:00:12.515Z] ---> f9007bcba025 [2021-08-26T22:00:12.515Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-08-26T22:00:12.515Z] ---> Running in 28427f72a35d [2021-08-26T22:00:15.161Z] Removing intermediate container 28427f72a35d [2021-08-26T22:00:15.161Z] ---> a15259eac366 [2021-08-26T22:00:15.161Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-08-26T22:00:15.161Z] ---> Running in 4067e5a173ed [2021-08-26T22:00:16.597Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-08-26T22:00:17.199Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-08-26T22:00:17.794Z] (1/5) Installing libgcc (9.3.0-r2) [2021-08-26T22:00:17.795Z] (2/5) Installing libsodium (1.0.18-r0) [2021-08-26T22:00:18.067Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-08-26T22:00:18.067Z] (4/5) Installing libzmq (4.3.3-r0) [2021-08-26T22:00:18.340Z] (5/5) Installing zeromq (4.3.3-r0) [2021-08-26T22:00:18.615Z] Executing busybox-1.31.1-r20.trigger [2021-08-26T22:00:18.615Z] OK: 8 MiB in 19 packages [2021-08-26T22:00:20.051Z] Removing intermediate container 4067e5a173ed [2021-08-26T22:00:20.051Z] ---> f7439e98bd3e [2021-08-26T22:00:20.051Z] Step 14/23 : WORKDIR / [2021-08-26T22:00:20.051Z] ---> Running in 25ef93ee226c [2021-08-26T22:00:20.645Z] Removing intermediate container 25ef93ee226c [2021-08-26T22:00:20.645Z] ---> 5ea50ba4ad07 [2021-08-26T22:00:20.645Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-08-26T22:00:21.622Z] ---> a251915eeadc [2021-08-26T22:00:21.622Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-08-26T22:00:23.059Z] ---> e8b12c8bb772 [2021-08-26T22:00:23.059Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-08-26T22:00:23.655Z] ---> 8d3b7b3ec887 [2021-08-26T22:00:23.655Z] Step 18/23 : EXPOSE 59999 [2021-08-26T22:00:23.655Z] ---> Running in f204a8e74aaf [2021-08-26T22:00:24.253Z] Removing intermediate container f204a8e74aaf [2021-08-26T22:00:24.253Z] ---> 29b8b78dddf2 [2021-08-26T22:00:24.253Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-08-26T22:00:24.526Z] ---> Running in 800a50886c08 [2021-08-26T22:00:25.123Z] Removing intermediate container 800a50886c08 [2021-08-26T22:00:25.123Z] ---> 00e950af0b11 [2021-08-26T22:00:25.123Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-08-26T22:00:25.123Z] ---> Running in f0695babc698 [2021-08-26T22:00:25.717Z] Removing intermediate container f0695babc698 [2021-08-26T22:00:25.718Z] ---> ed9a630dde50 [2021-08-26T22:00:25.718Z] Step 21/23 : LABEL arch=arm64 [2021-08-26T22:00:25.718Z] ---> Running in 3e9511ab811a [2021-08-26T22:00:26.313Z] Removing intermediate container 3e9511ab811a [2021-08-26T22:00:26.313Z] ---> aee0956f85f1 [2021-08-26T22:00:26.313Z] Step 22/23 : LABEL git_sha=16ec0362aa0911361bb03db16e941d6272bfebe9 [2021-08-26T22:00:26.587Z] ---> Running in 22c1f75f43c7 [2021-08-26T22:00:26.868Z] Removing intermediate container 22c1f75f43c7 [2021-08-26T22:00:26.868Z] ---> dcd5a174d5f9 [2021-08-26T22:00:26.868Z] Step 23/23 : LABEL version=2.0.1-dev.10 [2021-08-26T22:00:27.146Z] ---> Running in bc0388dbd5ac [2021-08-26T22:00:27.743Z] Removing intermediate container bc0388dbd5ac [2021-08-26T22:00:27.743Z] ---> 7d619b06d45f [2021-08-26T22:00:27.743Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-08-26T22:00:27.743Z] Successfully built 7d619b06d45f [2021-08-26T22:00:27.743Z] 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-08-26T22:00:28.444Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-26T22:00:28.716Z] [2021-08-26T22:00:28.716Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-08-26T22:00:29.074Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-26T22:00:29.349Z] arm64: Pulling from edgex-lftools-log-publisher [2021-08-26T22:00:29.349Z] 448f6bf000e3: Pulling fs layer [2021-08-26T22:00:29.349Z] f757da607395: Pulling fs layer [2021-08-26T22:00:29.349Z] 05883995daec: Pulling fs layer [2021-08-26T22:00:29.349Z] 8603b9c90790: Pulling fs layer [2021-08-26T22:00:29.349Z] 1560dd03e051: Pulling fs layer [2021-08-26T22:00:29.349Z] 27f5ce0e4adf: Pulling fs layer [2021-08-26T22:00:29.349Z] c2d8d7efcc4b: Pulling fs layer [2021-08-26T22:00:29.349Z] 1560dd03e051: Waiting [2021-08-26T22:00:29.349Z] 27f5ce0e4adf: Waiting [2021-08-26T22:00:29.349Z] c2d8d7efcc4b: Waiting [2021-08-26T22:00:29.349Z] 8603b9c90790: Waiting [2021-08-26T22:00:29.624Z] f757da607395: Verifying Checksum [2021-08-26T22:00:29.624Z] f757da607395: Download complete [2021-08-26T22:00:29.624Z] 8603b9c90790: Verifying Checksum [2021-08-26T22:00:29.624Z] 8603b9c90790: Download complete [2021-08-26T22:00:29.624Z] 1560dd03e051: Verifying Checksum [2021-08-26T22:00:29.624Z] 1560dd03e051: Download complete [2021-08-26T22:00:29.898Z] 27f5ce0e4adf: Verifying Checksum [2021-08-26T22:00:29.898Z] 05883995daec: Verifying Checksum [2021-08-26T22:00:29.898Z] 05883995daec: Download complete [2021-08-26T22:00:30.493Z] 448f6bf000e3: Verifying Checksum [2021-08-26T22:00:30.493Z] 448f6bf000e3: Download complete [2021-08-26T22:00:33.882Z] c2d8d7efcc4b: Download complete [2021-08-26T22:00:33.882Z] 448f6bf000e3: Pull complete [2021-08-26T22:00:34.156Z] f757da607395: Pull complete [2021-08-26T22:00:35.588Z] 05883995daec: Pull complete [2021-08-26T22:00:36.177Z] 8603b9c90790: Pull complete [2021-08-26T22:00:37.151Z] 1560dd03e051: Pull complete [2021-08-26T22:00:37.151Z] 27f5ce0e4adf: Pull complete [2021-08-26T22:00:52.219Z] c2d8d7efcc4b: Pull complete [2021-08-26T22:00:52.220Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-08-26T22:00:52.220Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-26T22:00:52.220Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-08-26T22:00:52.457Z] prd-ubuntu18.04-docker-arm64-4c-16g-882 does not seem to be running inside a container [2021-08-26T22:00:52.547Z] $ 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/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-08-26T22:00:56.397Z] $ docker top 18fd4cd4c17bd54d17bc200888c647bae463a80fcf7c51339dfa5f2d8932b11f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-26T22:00:57.432Z] ---> job-cost.sh [2021-08-26T22:00:57.433Z] lf-activate-venv: SKIPPING [2021-08-26T22:00:57.433Z] INFO: No Stack... [2021-08-26T22:00:58.025Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-08-26T22:00:58.618Z] INFO: Archiving Costs [Pipeline] sh [2021-08-26T22:00:59.280Z] + cat /w/workspace/device-sdk-go/7/archives/cost.csv [2021-08-26T22:00:59.280Z] + cut -d, -f6 [Pipeline] lock [2021-08-26T22:00:59.358Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-7-stack-cost] [2021-08-26T22:00:59.371Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-7-stack-cost] did not exist. Created. [2021-08-26T22:00:59.371Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-08-26T22:01:00.060Z] /w/workspace/device-sdk-go/7@tmp/durable-b19f270d/script.sh: 1: /w/workspace/device-sdk-go/7@tmp/durable-b19f270d/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-08-26T22:01:00.721Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-08-26T22:01:00.752Z] Warning: overwriting stash ‘stack-cost’ [2021-08-26T22:01:00.813Z] Stashed 1 file(s) [Pipeline] } [2021-08-26T22:01:00.836Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-7-stack-cost] [Pipeline] // lock [Pipeline] } [2021-08-26T22:01:00.859Z] $ docker stop --time=1 18fd4cd4c17bd54d17bc200888c647bae463a80fcf7c51339dfa5f2d8932b11f [2021-08-26T22:01:02.556Z] $ docker rm -f 18fd4cd4c17bd54d17bc200888c647bae463a80fcf7c51339dfa5f2d8932b11f [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-08-26T22:01:03.412Z] provisioning config files... [2021-08-26T22:01:03.428Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2715429409721722510tmp [Pipeline] { [Pipeline] sh [2021-08-26T22:01:03.778Z] + set +x [2021-08-26T22:01:03.778Z] + bash -s -- [2021-08-26T22:01:03.778Z] + curl -s https://codecov.io/bash [2021-08-26T22:01:03.778Z] [2021-08-26T22:01:03.778Z] _____ _ [2021-08-26T22:01:03.778Z] / ____| | | [2021-08-26T22:01:03.778Z] | | ___ __| | ___ ___ _____ __ [2021-08-26T22:01:03.778Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-08-26T22:01:03.778Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-08-26T22:01:03.778Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-08-26T22:01:03.778Z] Bash-1.0.6 [2021-08-26T22:01:03.778Z] [2021-08-26T22:01:03.778Z] [2021-08-26T22:01:03.778Z] ==> git version 2.24.4 found [2021-08-26T22:01:03.778Z] ==> 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-08-26T22:01:03.778Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-08-26T22:01:03.778Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-08-26T22:01:03.778Z] ==> Jenkins CI detected. [2021-08-26T22:01:03.778Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2021-08-26T22:01:03.778Z] project root: . [2021-08-26T22:01:03.778Z] --> token set from env [2021-08-26T22:01:03.778Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-08-26T22:01:03.778Z] ==> Running gcov in . (disable via -X gcov) [2021-08-26T22:01:03.778Z] ==> Python coveragepy not found [2021-08-26T22:01:03.778Z] ==> Searching for coverage reports in: [2021-08-26T22:01:03.778Z] + . [2021-08-26T22:01:03.778Z] -> Found 1 reports [2021-08-26T22:01:03.778Z] ==> Detecting git/mercurial file structure [2021-08-26T22:01:04.046Z] ==> Reading reports [2021-08-26T22:01:04.046Z] + ./coverage.out bytes=125634 [2021-08-26T22:01:04.046Z] ==> Appending adjustments [2021-08-26T22:01:04.046Z] https://docs.codecov.io/docs/fixing-reports [2021-08-26T22:01:04.046Z] + Found adjustments [2021-08-26T22:01:04.046Z] ==> Gzipping contents [2021-08-26T22:01:04.318Z] 16K /tmp/codecov.NNqlUe.gz [2021-08-26T22:01:04.318Z] ==> Uploading reports [2021-08-26T22:01:04.318Z] url: https://codecov.io [2021-08-26T22:01:04.318Z] query: branch=main&commit=16ec0362aa0911361bb03db16e941d6272bfebe9&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-08-26T22:01:04.318Z] -> Pinging Codecov [2021-08-26T22:01:04.318Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=main&commit=16ec0362aa0911361bb03db16e941d6272bfebe9&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-08-26T22:01:04.904Z] -> Uploading to [2021-08-26T22:01:04.904Z] https://storage.googleapis.com/codecov/v4/raw/2021-08-26/7E55EF52A471D76F132DFD9A03CDDE97/16ec0362aa0911361bb03db16e941d6272bfebe9/90a37117-0366-4972-b31d-7dc687e75c89.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210826%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210826T220104Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d6c43b069427445681060994b4338b4c7f104216822af2221e8f42f085ce8aa2 [2021-08-26T22:01:04.904Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-08-26T22:01:04.904Z] Dload Upload Total Spent Left Speed [2021-08-26T22:01:05.178Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16005 0 0 100 16005 0 37942 --:--:-- --:--:-- --:--:-- 37926 [2021-08-26T22:01:05.178Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/16ec0362aa0911361bb03db16e941d6272bfebe9 [Pipeline] } [2021-08-26T22:01:05.191Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-08-26T22:01:05.486Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-08-26T22:01:05.514Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-08-26T22:01:05.839Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-08-26T22:01:05.839Z] [2021-08-26T22:01:05.839Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-08-26T22:01:06.199Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-08-26T22:01:06.199Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-08-26T22:01:06.199Z] 188c0c94c7c5: Pulling fs layer [2021-08-26T22:01:06.199Z] 0ef7d3d256c8: Pulling fs layer [2021-08-26T22:01:06.199Z] de9db76c5a1d: Pulling fs layer [2021-08-26T22:01:06.199Z] 0eba1c9be4d2: Pulling fs layer [2021-08-26T22:01:06.199Z] 0d57e429df01: Pulling fs layer [2021-08-26T22:01:06.199Z] 4e4be7b47b0d: Pulling fs layer [2021-08-26T22:01:06.199Z] e1f770b5df2f: Pulling fs layer [2021-08-26T22:01:06.199Z] 85a0685a4137: Pulling fs layer [2021-08-26T22:01:06.199Z] 4e4be7b47b0d: Waiting [2021-08-26T22:01:06.199Z] e1f770b5df2f: Waiting [2021-08-26T22:01:06.199Z] 85a0685a4137: Waiting [2021-08-26T22:01:06.199Z] 0eba1c9be4d2: Waiting [2021-08-26T22:01:06.199Z] 0d57e429df01: Waiting [2021-08-26T22:01:06.199Z] de9db76c5a1d: Verifying Checksum [2021-08-26T22:01:06.199Z] de9db76c5a1d: Download complete [2021-08-26T22:01:06.199Z] 0ef7d3d256c8: Download complete [2021-08-26T22:01:06.199Z] 0d57e429df01: Verifying Checksum [2021-08-26T22:01:06.199Z] 0d57e429df01: Download complete [2021-08-26T22:01:06.467Z] 4e4be7b47b0d: Verifying Checksum [2021-08-26T22:01:06.467Z] 4e4be7b47b0d: Download complete [2021-08-26T22:01:06.467Z] 188c0c94c7c5: Verifying Checksum [2021-08-26T22:01:06.467Z] 188c0c94c7c5: Download complete [2021-08-26T22:01:06.739Z] 188c0c94c7c5: Pull complete [2021-08-26T22:01:06.739Z] 0ef7d3d256c8: Pull complete [2021-08-26T22:01:06.739Z] de9db76c5a1d: Pull complete [2021-08-26T22:01:08.155Z] e1f770b5df2f: Verifying Checksum [2021-08-26T22:01:08.155Z] e1f770b5df2f: Download complete [2021-08-26T22:01:12.402Z] 0eba1c9be4d2: Verifying Checksum [2021-08-26T22:01:12.402Z] 0eba1c9be4d2: Download complete [2021-08-26T22:01:12.402Z] 85a0685a4137: Verifying Checksum [2021-08-26T22:01:12.402Z] 85a0685a4137: Download complete [2021-08-26T22:01:15.024Z] 0eba1c9be4d2: Pull complete [2021-08-26T22:01:15.024Z] 0d57e429df01: Pull complete [2021-08-26T22:01:15.024Z] 4e4be7b47b0d: Pull complete [2021-08-26T22:01:15.605Z] e1f770b5df2f: Pull complete [2021-08-26T22:01:18.994Z] 85a0685a4137: Pull complete [2021-08-26T22:01:18.994Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-08-26T22:01:18.994Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-08-26T22:01:18.994Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-08-26T22:01:19.087Z] prd-centos7-docker-4c-2g-880 does not seem to be running inside a container [2021-08-26T22:01:19.158Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-08-26T22:01:21.308Z] $ docker top c38257edf7f9149770cc66e84e031b50b1926db98af8477f9b882b066f673620 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-08-26T22:01:21.506Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-08-26T22:01:21.948Z] + set -o pipefail [2021-08-26T22:01:21.948Z] + snyk monitor '--org=edgex-jenkins' [2021-08-26T22:01:27.366Z] [2021-08-26T22:01:27.366Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v2)... [2021-08-26T22:01:27.366Z] [2021-08-26T22:01:27.366Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/7b405d36-4927-403e-bf0b-ed44d9d554ab [2021-08-26T22:01:27.366Z] [2021-08-26T22:01:27.366Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-08-26T22:01:27.366Z] [2021-08-26T22:01:27.366Z] [Pipeline] } [2021-08-26T22:01:27.386Z] $ docker stop --time=1 c38257edf7f9149770cc66e84e031b50b1926db98af8477f9b882b066f673620 [2021-08-26T22:01:29.351Z] $ docker rm -f c38257edf7f9149770cc66e84e031b50b1926db98af8477f9b882b066f673620 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo [2021-08-26T22:01:30.034Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-26T22:01:30.056Z] provisioning config files... [2021-08-26T22:01:30.071Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3393226713999703658tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-26T22:01:30.405Z] --> edgex-publish-swagger.sh [2021-08-26T22:01:30.405Z] === Publish openapi/v2 API === [2021-08-26T22:01:30.405Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2021-08-26T22:01:30.405Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] [2021-08-26T22:01:30.405Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-08-26T22:01:30.405Z] Dload Upload Total Spent Left Speed [2021-08-26T22:01:30.992Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 51485 0 0 100 51485 0 67815 --:--:-- --:--:-- --:--:-- 67743 100 51485 0 0 100 51485 0 67802 --:--:-- --:--:-- --:--:-- 67743 [2021-08-26T22:01:30.992Z] [2021-08-26T22:01:30.992Z] [Pipeline] } [2021-08-26T22:01:31.008Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-08-26T22:01:31.561Z] + git log --format=format:%s -1 16ec0362aa0911361bb03db16e941d6272bfebe9 [Pipeline] isUnix [Pipeline] sh [2021-08-26T22:01:31.893Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-26T22:01:31.894Z] . [Pipeline] withDockerContainer [2021-08-26T22:01:31.984Z] prd-centos7-docker-4c-2g-880 does not seem to be running inside a container [2021-08-26T22:01:32.066Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-08-26T22:01:32.434Z] $ docker top 3d127841f38e1afc90637777c9b985224adce2d8ee0df6886ac406283a6efabe -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-08-26T22:01:32.578Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-08-26T22:01:32.578Z] [ssh-agent] Looking for ssh-agent implementation... [2021-08-26T22:01:32.710Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-08-26T22:01:32.715Z] $ docker exec 3d127841f38e1afc90637777c9b985224adce2d8ee0df6886ac406283a6efabe ssh-agent [2021-08-26T22:01:32.860Z] SSH_AUTH_SOCK=/tmp/ssh-9rJnuUJWaErv/agent.13 [2021-08-26T22:01:32.860Z] SSH_AGENT_PID=19 [2021-08-26T22:01:32.871Z] Running ssh-add (command line suppressed) [2021-08-26T22:01:32.982Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7041070785010994466.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7041070785010994466.key) [2021-08-26T22:01:33.006Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-08-26T22:01:33.541Z] + git semver tag [2021-08-26T22:01:33.541Z] # -> Open(): unable to determine branch for HEAD [2021-08-26T22:01:33.541Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-08-26T22:01:33.541Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-08-26T22:01:33.541Z] # $SEMVER_REMOTE_NAME = origin [2021-08-26T22:01:33.541Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-08-26T22:01:33.541Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-08-26T22:01:33.541Z] # $SEMVER_BRANCH = main [2021-08-26T22:01:33.541Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2021-08-26T22:01:33.541Z] # 16ec0362aa0911361bb03db16e941d6272bfebe9 HEAD [2021-08-26T22:01:33.541Z] # -> Force: false [2021-08-26T22:01:33.541Z] # eab984262a6a8dd2c311cd02b824abc1b6aa0a75 refs/tags/v2.0.1-dev.10 [Pipeline] } [2021-08-26T22:01:33.557Z] $ docker exec --env ******** --env ******** 3d127841f38e1afc90637777c9b985224adce2d8ee0df6886ac406283a6efabe ssh-agent -k [2021-08-26T22:01:33.662Z] unset SSH_AUTH_SOCK; [2021-08-26T22:01:33.662Z] unset SSH_AGENT_PID; [2021-08-26T22:01:33.662Z] echo Agent pid 19 killed; [2021-08-26T22:01:33.677Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-08-26T22:01:34.030Z] + git semver [Pipeline] } [2021-08-26T22:01:34.051Z] $ docker stop --time=1 3d127841f38e1afc90637777c9b985224adce2d8ee0df6886ac406283a6efabe [2021-08-26T22:01:35.249Z] $ docker rm -f 3d127841f38e1afc90637777c9b985224adce2d8ee0df6886ac406283a6efabe [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-08-26T22:01:35.713Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-08-26T22:01:35.713Z] [2021-08-26T22:01:35.713Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-08-26T22:01:36.053Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-08-26T22:01:36.053Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-08-26T22:01:36.053Z] ab5ef0e58194: Pulling fs layer [2021-08-26T22:01:36.053Z] 9712f1f96733: Pulling fs layer [2021-08-26T22:01:36.053Z] 63f879dbbcfc: Pulling fs layer [2021-08-26T22:01:36.053Z] 0d9ebad4ef96: Pulling fs layer [2021-08-26T22:01:36.053Z] e9a5061849ea: Pulling fs layer [2021-08-26T22:01:36.053Z] d747dcd14b5f: Pulling fs layer [2021-08-26T22:01:36.053Z] 2de7ff778b66: Pulling fs layer [2021-08-26T22:01:36.053Z] 0d9ebad4ef96: Waiting [2021-08-26T22:01:36.053Z] e9a5061849ea: Waiting [2021-08-26T22:01:36.053Z] d747dcd14b5f: Waiting [2021-08-26T22:01:36.053Z] 2de7ff778b66: Waiting [2021-08-26T22:01:36.053Z] 9712f1f96733: Verifying Checksum [2021-08-26T22:01:36.053Z] 9712f1f96733: Download complete [2021-08-26T22:01:37.998Z] 63f879dbbcfc: Verifying Checksum [2021-08-26T22:01:37.998Z] 63f879dbbcfc: Download complete [2021-08-26T22:01:38.580Z] e9a5061849ea: Verifying Checksum [2021-08-26T22:01:38.580Z] e9a5061849ea: Download complete [2021-08-26T22:01:38.580Z] d747dcd14b5f: Verifying Checksum [2021-08-26T22:01:38.580Z] d747dcd14b5f: Download complete [2021-08-26T22:01:39.164Z] 2de7ff778b66: Verifying Checksum [2021-08-26T22:01:39.164Z] 2de7ff778b66: Download complete [2021-08-26T22:01:39.749Z] 0d9ebad4ef96: Verifying Checksum [2021-08-26T22:01:39.749Z] 0d9ebad4ef96: Download complete [2021-08-26T22:01:40.018Z] ab5ef0e58194: Verifying Checksum [2021-08-26T22:01:40.018Z] ab5ef0e58194: Download complete [2021-08-26T22:01:42.618Z] ab5ef0e58194: Pull complete [2021-08-26T22:01:42.618Z] 9712f1f96733: Pull complete [2021-08-26T22:01:43.203Z] 63f879dbbcfc: Pull complete [2021-08-26T22:01:46.575Z] 0d9ebad4ef96: Pull complete [2021-08-26T22:01:46.575Z] e9a5061849ea: Pull complete [2021-08-26T22:01:46.844Z] d747dcd14b5f: Pull complete [2021-08-26T22:01:47.818Z] 2de7ff778b66: Pull complete [2021-08-26T22:01:47.818Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-08-26T22:01:47.818Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-08-26T22:01:47.818Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-08-26T22:01:47.926Z] prd-centos7-docker-4c-2g-880 does not seem to be running inside a container [2021-08-26T22:01:48.003Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-08-26T22:01:51.239Z] $ docker top 4be5af89a976ebfe879fcb65befc48aa3cb20fd68d170bcd45f63102362f0587 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-08-26T22:01:51.338Z] provisioning config files... [2021-08-26T22:01:51.352Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config480945302691620787tmp [2021-08-26T22:01:51.375Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config168118625244478709tmp [2021-08-26T22:01:51.402Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3051730536378357078tmp [Pipeline] { [Pipeline] echo [2021-08-26T22:01:51.429Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-26T22:01:51.745Z] ---> sigul-configuration.sh [2021-08-26T22:01:51.746Z] gpg: directory `/root/.gnupg' created [2021-08-26T22:01:51.746Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-08-26T22:01:51.746Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-08-26T22:01:51.746Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-08-26T22:01:51.746Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-08-26T22:01:51.746Z] gpg: CAST5 encrypted data [2021-08-26T22:01:51.746Z] gpg: encrypted with 1 passphrase [2021-08-26T22:01:51.746Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-08-26T22:01:52.078Z] + mkdir /home/jenkins [2021-08-26T22:01:52.078Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-08-26T22:01:52.396Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2021-08-26T22:01:52.411Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-26T22:01:52.724Z] ---> sigul-install.sh [2021-08-26T22:01:52.724Z] Sigul already installed; skipping installation. [Pipeline] sh [2021-08-26T22:01:53.041Z] + git tag --list [2021-08-26T22:01:53.041Z] 0.7.1 [2021-08-26T22:01:53.041Z] delhi-tag [2021-08-26T22:01:53.041Z] v1.0.0 [2021-08-26T22:01:53.041Z] v1.1.0 [2021-08-26T22:01:53.041Z] v1.1.1 [2021-08-26T22:01:53.041Z] v1.1.2 [2021-08-26T22:01:53.041Z] v1.2.0 [2021-08-26T22:01:53.041Z] v1.2.1 [2021-08-26T22:01:53.041Z] v1.2.2 [2021-08-26T22:01:53.041Z] v1.2.3 [2021-08-26T22:01:53.041Z] v1.3.0 [2021-08-26T22:01:53.041Z] v1.4.0 [2021-08-26T22:01:53.041Z] v2.0.0 [2021-08-26T22:01:53.041Z] v2.0.1-dev.1 [2021-08-26T22:01:53.041Z] v2.0.1-dev.10 [2021-08-26T22:01:53.041Z] v2.0.1-dev.2 [2021-08-26T22:01:53.041Z] v2.0.1-dev.3 [2021-08-26T22:01:53.041Z] v2.0.1-dev.4 [2021-08-26T22:01:53.041Z] v2.0.1-dev.5 [2021-08-26T22:01:53.041Z] v2.0.1-dev.6 [2021-08-26T22:01:53.041Z] v2.0.1-dev.7 [2021-08-26T22:01:53.041Z] v2.0.1-dev.8 [2021-08-26T22:01:53.041Z] v2.0.1-dev.9 [Pipeline] sh [2021-08-26T22:01:53.385Z] + lftools sign git-tag v2.0.1-dev.10 [2021-08-26T22:01:53.971Z] Signing Git tag with Sigul... [2021-08-26T22:01:53.971Z] Signing v2.0.1-dev.10 [Pipeline] echo [2021-08-26T22:01:54.571Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-26T22:01:54.888Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-08-26T22:01:54.902Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-08-26T22:01:54.936Z] $ docker stop --time=1 4be5af89a976ebfe879fcb65befc48aa3cb20fd68d170bcd45f63102362f0587 [2021-08-26T22:01:56.156Z] $ docker rm -f 4be5af89a976ebfe879fcb65befc48aa3cb20fd68d170bcd45f63102362f0587 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-08-26T22:01:56.791Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-26T22:01:56.791Z] . [Pipeline] withDockerContainer [2021-08-26T22:01:56.885Z] prd-centos7-docker-4c-2g-880 does not seem to be running inside a container [2021-08-26T22:01:56.950Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-08-26T22:01:57.292Z] $ docker top 3d10f890f85016fad0c68e1cad3f9b6757334e7a23ef187f15bc8072ee621035 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-08-26T22:01:57.442Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-08-26T22:01:57.442Z] [ssh-agent] Looking for ssh-agent implementation... [2021-08-26T22:01:57.566Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-08-26T22:01:57.570Z] $ docker exec 3d10f890f85016fad0c68e1cad3f9b6757334e7a23ef187f15bc8072ee621035 ssh-agent [2021-08-26T22:01:57.685Z] SSH_AUTH_SOCK=/tmp/ssh-sXeGNNfgFb6I/agent.13 [2021-08-26T22:01:57.685Z] SSH_AGENT_PID=20 [2021-08-26T22:01:57.695Z] Running ssh-add (command line suppressed) [2021-08-26T22:01:57.776Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7371680787938502288.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7371680787938502288.key) [2021-08-26T22:01:57.796Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-08-26T22:01:58.174Z] + git semver bump pre [2021-08-26T22:01:58.174Z] # -> Open(): unable to determine branch for HEAD [2021-08-26T22:01:58.174Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-08-26T22:01:58.174Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-08-26T22:01:58.174Z] # $SEMVER_REMOTE_NAME = origin [2021-08-26T22:01:58.174Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-08-26T22:01:58.174Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-08-26T22:01:58.174Z] # $SEMVER_BRANCH = main [2021-08-26T22:01:58.174Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2021-08-26T22:01:58.174Z] 2.0.1-dev.11 [Pipeline] } [2021-08-26T22:01:58.189Z] $ docker exec --env ******** --env ******** 3d10f890f85016fad0c68e1cad3f9b6757334e7a23ef187f15bc8072ee621035 ssh-agent -k [2021-08-26T22:01:58.283Z] unset SSH_AUTH_SOCK; [2021-08-26T22:01:58.283Z] unset SSH_AGENT_PID; [2021-08-26T22:01:58.283Z] echo Agent pid 20 killed; [2021-08-26T22:01:58.299Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-08-26T22:01:58.669Z] + git semver [Pipeline] } [2021-08-26T22:01:58.691Z] $ docker stop --time=1 3d10f890f85016fad0c68e1cad3f9b6757334e7a23ef187f15bc8072ee621035 [2021-08-26T22:01:59.899Z] $ docker rm -f 3d10f890f85016fad0c68e1cad3f9b6757334e7a23ef187f15bc8072ee621035 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-08-26T22:02:00.325Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-26T22:02:00.325Z] . [Pipeline] withDockerContainer [2021-08-26T22:02:00.421Z] prd-centos7-docker-4c-2g-880 does not seem to be running inside a container [2021-08-26T22:02:00.491Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-08-26T22:02:00.867Z] $ docker top 3c96170d35c5cb1046de97a675623b47bef60dc60970db89d9de24b14b8870a0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-08-26T22:02:00.998Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-08-26T22:02:00.998Z] [ssh-agent] Looking for ssh-agent implementation... [2021-08-26T22:02:01.114Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-08-26T22:02:01.116Z] $ docker exec 3c96170d35c5cb1046de97a675623b47bef60dc60970db89d9de24b14b8870a0 ssh-agent [2021-08-26T22:02:01.236Z] SSH_AUTH_SOCK=/tmp/ssh-FClsPxFSRJu3/agent.14 [2021-08-26T22:02:01.236Z] SSH_AGENT_PID=20 [2021-08-26T22:02:01.244Z] Running ssh-add (command line suppressed) [2021-08-26T22:02:01.347Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7057075512201756940.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7057075512201756940.key) [2021-08-26T22:02:01.369Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-08-26T22:02:01.688Z] + git semver push [2021-08-26T22:02:01.689Z] # -> Open(): unable to determine branch for HEAD [2021-08-26T22:02:01.689Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-08-26T22:02:01.689Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-08-26T22:02:01.689Z] # $SEMVER_REMOTE_NAME = origin [2021-08-26T22:02:01.689Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-08-26T22:02:01.689Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-08-26T22:02:01.689Z] # $SEMVER_BRANCH = main [2021-08-26T22:02:01.689Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } [2021-08-26T22:02:04.286Z] $ docker exec --env ******** --env ******** 3c96170d35c5cb1046de97a675623b47bef60dc60970db89d9de24b14b8870a0 ssh-agent -k [2021-08-26T22:02:04.384Z] unset SSH_AUTH_SOCK; [2021-08-26T22:02:04.384Z] unset SSH_AGENT_PID; [2021-08-26T22:02:04.384Z] echo Agent pid 20 killed; [2021-08-26T22:02:04.401Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-08-26T22:02:04.759Z] + git semver [Pipeline] } [2021-08-26T22:02:04.779Z] $ docker stop --time=1 3c96170d35c5cb1046de97a675623b47bef60dc60970db89d9de24b14b8870a0 [2021-08-26T22:02:06.020Z] $ docker rm -f 3c96170d35c5cb1046de97a675623b47bef60dc60970db89d9de24b14b8870a0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" 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-08-26T22:02:07.136Z] + '[' -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-08-26T22:02:07.461Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-26T22:02:08.050Z] ---> package-listing.sh [2021-08-26T22:02:08.050Z] ++ facter osfamily [2021-08-26T22:02:08.050Z] ++ tr '[:upper:]' '[:lower:]' [2021-08-26T22:02:08.317Z] + OS_FAMILY=redhat [2021-08-26T22:02:08.317Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2021-08-26T22:02:08.317Z] + START_PACKAGES=/tmp/packages_start.txt [2021-08-26T22:02:08.317Z] + END_PACKAGES=/tmp/packages_end.txt [2021-08-26T22:02:08.317Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-08-26T22:02:08.317Z] + PACKAGES=/tmp/packages_start.txt [2021-08-26T22:02:08.317Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2021-08-26T22:02:08.317Z] + PACKAGES=/tmp/packages_end.txt [2021-08-26T22:02:08.317Z] + case "${OS_FAMILY}" in [2021-08-26T22:02:08.317Z] + rpm -qa [2021-08-26T22:02:08.317Z] + sort [2021-08-26T22:02:08.901Z] + '[' -f /tmp/packages_start.txt ']' [2021-08-26T22:02:08.901Z] + '[' -f /tmp/packages_end.txt ']' [2021-08-26T22:02:08.901Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-08-26T22:02:08.901Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2021-08-26T22:02:08.901Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2021-08-26T22:02:08.901Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo [2021-08-26T22:02:08.921Z] 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/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-08-26T22:02:09.222Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-08-26T22:02:09.813Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-26T22:02:09.813Z] [2021-08-26T22:02:09.813Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-08-26T22:02:10.151Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-26T22:02:10.418Z] latest: Pulling from edgex-lftools-log-publisher [2021-08-26T22:02:10.418Z] b4d181a07f80: Pulling fs layer [2021-08-26T22:02:10.418Z] a1111a8f2ec3: Pulling fs layer [2021-08-26T22:02:10.418Z] ed53099fbce6: Pulling fs layer [2021-08-26T22:02:10.418Z] dc539afda2c1: Pulling fs layer [2021-08-26T22:02:10.418Z] 77bc0d833cb6: Pulling fs layer [2021-08-26T22:02:10.418Z] 9065ff56babe: Pulling fs layer [2021-08-26T22:02:10.418Z] d287ab97295c: Pulling fs layer [2021-08-26T22:02:10.418Z] dc539afda2c1: Waiting [2021-08-26T22:02:10.418Z] 77bc0d833cb6: Waiting [2021-08-26T22:02:10.418Z] 9065ff56babe: Waiting [2021-08-26T22:02:10.418Z] d287ab97295c: Waiting [2021-08-26T22:02:10.686Z] a1111a8f2ec3: Verifying Checksum [2021-08-26T22:02:10.686Z] a1111a8f2ec3: Download complete [2021-08-26T22:02:10.686Z] dc539afda2c1: Verifying Checksum [2021-08-26T22:02:10.686Z] dc539afda2c1: Download complete [2021-08-26T22:02:10.686Z] 77bc0d833cb6: Verifying Checksum [2021-08-26T22:02:10.686Z] 77bc0d833cb6: Download complete [2021-08-26T22:02:10.951Z] 9065ff56babe: Verifying Checksum [2021-08-26T22:02:10.951Z] 9065ff56babe: Download complete [2021-08-26T22:02:10.951Z] ed53099fbce6: Verifying Checksum [2021-08-26T22:02:10.951Z] ed53099fbce6: Download complete [2021-08-26T22:02:11.538Z] b4d181a07f80: Verifying Checksum [2021-08-26T22:02:11.538Z] b4d181a07f80: Download complete [2021-08-26T22:02:12.951Z] b4d181a07f80: Pull complete [2021-08-26T22:02:12.951Z] a1111a8f2ec3: Pull complete [2021-08-26T22:02:13.218Z] ed53099fbce6: Pull complete [2021-08-26T22:02:13.484Z] dc539afda2c1: Pull complete [2021-08-26T22:02:13.750Z] 77bc0d833cb6: Pull complete [2021-08-26T22:02:13.750Z] 9065ff56babe: Pull complete [2021-08-26T22:02:15.697Z] d287ab97295c: Verifying Checksum [2021-08-26T22:02:15.697Z] d287ab97295c: Download complete [2021-08-26T22:02:19.986Z] d287ab97295c: Pull complete [2021-08-26T22:02:19.986Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-08-26T22:02:19.986Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-26T22:02:19.986Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-08-26T22:02:20.081Z] prd-centos7-docker-4c-2g-880 does not seem to be running inside a container [2021-08-26T22:02:20.146Z] $ 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/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-08-26T22:02:22.310Z] $ docker top f694ae284fa06d6df0aed21bdf53a82c425d705fef272d51d29c03117a48341c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-26T22:02:22.732Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-08-26T22:02:23.053Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-08-26T22:02:23.393Z] + ls /var/log/sa-host [2021-08-26T22:02:23.393Z] + sadf -c /var/log/sa-host/sa05 [2021-08-26T22:02:23.393Z] file_magic: OK [2021-08-26T22:02:23.393Z] HZ: Using current value: 100 [2021-08-26T22:02:23.393Z] file_header: OK [2021-08-26T22:02:23.393Z] 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-08-26T22:02:23.393Z] Statistics: [2021-08-26T22:02:23.393Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-08-26T22:02:23.393Z] File successfully converted to sysstat format version 12.0.3 [2021-08-26T22:02:23.393Z] + sadf -c /var/log/sa-host/sa26 [2021-08-26T22:02:23.393Z] file_magic: OK [2021-08-26T22:02:23.393Z] HZ: Using current value: 100 [2021-08-26T22:02:23.393Z] file_header: OK [2021-08-26T22:02:23.393Z] 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-08-26T22:02:23.393Z] Statistics: [2021-08-26T22:02:23.393Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-08-26T22:02:23.393Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-26T22:02:24.004Z] provisioning config files... [2021-08-26T22:02:24.020Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5121760761252136387tmp [Pipeline] { [Pipeline] echo [2021-08-26T22:02:24.047Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-26T22:02:24.375Z] ---> create-netrc.sh [Pipeline] } [2021-08-26T22:02:24.390Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-08-26T22:02:24.863Z] ---> python-tools-install.sh [Pipeline] echo [2021-08-26T22:02:24.881Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-26T22:02:25.204Z] ---> sudo-logs.sh [2021-08-26T22:02:25.204Z] Archiving 'sudo' log.. [2021-08-26T22:02:25.204Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-880.vexxhost.local: Name or service not known [2021-08-26T22:02:25.204Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-880.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-08-26T22:02:25.240Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-26T22:02:25.557Z] ---> job-cost.sh [2021-08-26T22:02:25.557Z] lf-activate-venv: SKIPPING [2021-08-26T22:02:25.557Z] DEBUG: total: 0.10999999940395355 [2021-08-26T22:02:25.557Z] INFO: Retrieving Stack Cost... [2021-08-26T22:02:26.964Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-08-26T22:02:27.230Z] INFO: Archiving Costs [Pipeline] echo [2021-08-26T22:02:27.248Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-26T22:02:27.562Z] ---> logs-deploy.sh [2021-08-26T22:02:27.562Z] lf-activate-venv: SKIPPING [2021-08-26T22:02:27.562Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/7 [2021-08-26T22:02:27.562Z] INFO: archiving workspace using pattern(s): [2021-08-26T22:02:28.374Z] Archives upload complete. [2021-08-26T22:02:28.374Z] INFO: archiving logs to Nexus