Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 90f0e220c38dfa765b59e93e9c62ca721e898d74 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 > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 69a7e166112f335804d9fea76440e5140e47f034 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # 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 > 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 69a7e166112f335804d9fea76440e5140e47f034 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # 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 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > 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 > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # 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 > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > 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:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-27115 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 Checking out Revision 90f0e220c38dfa765b59e93e9c62ca721e898d74 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 90f0e220c38dfa765b59e93e9c62ca721e898d74 # timeout=10 Commit message: "Merge pull request #790 from hahattan/issue-730" > git rev-list --no-walk 24bd13d414fb94824a4c7d4031bbe24e258abd9f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-02-22T06:07:33.763Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-02-22T06:07:34.020Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-02-22T06:07:34.113Z] ========================================================= [2021-02-22T06:07:34.113Z] EdgeX Global Pipelines Version Info [2021-02-22T06:07:34.113Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-02-22T06:07:35.630Z] ------------------- [2021-02-22T06:07:35.630Z] stable info: [2021-02-22T06:07:35.630Z] ------------------- [2021-02-22T06:07:35.630Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-22T06:07:35.630Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-22T06:07:35.630Z] Message: update stable to v1.0.179 [2021-02-22T06:07:36.576Z] ------------------- [2021-02-22T06:07:36.576Z] experimental info: [2021-02-22T06:07:36.576Z] ------------------- [2021-02-22T06:07:36.576Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-22T06:07:36.576Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-22T06:07:36.576Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-02-22T06:07:36.853Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-02-22T06:07:36.938Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-02-22T06:07:37.026Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-02-22T06:07:37.116Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-02-22T06:07:37.239Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-02-22T06:07:37.357Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-02-22T06:07:37.445Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-02-22T06:07:37.528Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-02-22T06:07:37.631Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-02-22T06:07:37.724Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-02-22T06:07:37.814Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-02-22T06:07:37.907Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-02-22T06:07:37.990Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-02-22T06:07:38.084Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-02-22T06:07:38.234Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-02-22T06:07:38.317Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-02-22T06:07:38.403Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-02-22T06:07:38.490Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-02-22T06:07:38.579Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-02-22T06:07:38.668Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-02-22T06:07:38.760Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-02-22T06:07:38.858Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-02-22T06:07:38.940Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-02-22T06:07:39.029Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-02-22T06:07:39.119Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-02-22T06:07:39.205Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-02-22T06:07:39.296Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-02-22T06:07:39.387Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-02-22T06:07:39.474Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-02-22T06:07:39.564Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-02-22T06:07:39.687Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 90f0e220c38dfa765b59e93e9c62ca721e898d74 [Pipeline] echo [2021-02-22T06:07:39.768Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 90f0e22 [Pipeline] echo [2021-02-22T06:07:39.857Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-22T06:07:40.028Z] provisioning config files... [2021-02-22T06:07:40.063Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config6709010562536700090tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-22T06:07:40.420Z] ---> docker-login.sh [2021-02-22T06:07:40.420Z] nexus3.edgexfoundry.org:10001 [2021-02-22T06:07:40.684Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-22T06:07:40.947Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-22T06:07:40.947Z] Configure a credential helper to remove this warning. See [2021-02-22T06:07:40.947Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-22T06:07:40.947Z] [2021-02-22T06:07:40.947Z] Login Succeeded [2021-02-22T06:07:40.947Z] nexus3.edgexfoundry.org:10002 [2021-02-22T06:07:40.947Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-22T06:07:41.209Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-22T06:07:41.209Z] Configure a credential helper to remove this warning. See [2021-02-22T06:07:41.209Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-22T06:07:41.209Z] [2021-02-22T06:07:41.209Z] Login Succeeded [2021-02-22T06:07:41.209Z] nexus3.edgexfoundry.org:10003 [2021-02-22T06:07:41.209Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-22T06:07:41.209Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-22T06:07:41.210Z] Configure a credential helper to remove this warning. See [2021-02-22T06:07:41.210Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-22T06:07:41.210Z] [2021-02-22T06:07:41.210Z] Login Succeeded [2021-02-22T06:07:41.210Z] nexus3.edgexfoundry.org:10004 [2021-02-22T06:07:41.472Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-22T06:07:41.472Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-22T06:07:41.472Z] Configure a credential helper to remove this warning. See [2021-02-22T06:07:41.472Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-22T06:07:41.472Z] [2021-02-22T06:07:41.472Z] Login Succeeded [2021-02-22T06:07:41.472Z] docker.io [2021-02-22T06:07:41.472Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-22T06:07:41.735Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-22T06:07:41.735Z] Configure a credential helper to remove this warning. See [2021-02-22T06:07:41.735Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-22T06:07:41.735Z] [2021-02-22T06:07:41.735Z] Login Succeeded [2021-02-22T06:07:41.735Z] ---> docker-login.sh ends [Pipeline] } [2021-02-22T06:07:41.744Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-22T06:07:42.564Z] + git log --format=format:%s -1 90f0e220c38dfa765b59e93e9c62ca721e898d74 [Pipeline] echo [2021-02-22T06:07:42.638Z] GIT_COMMIT: 90f0e220c38dfa765b59e93e9c62ca721e898d74, Commit Message: Merge pull request #790 from hahattan/issue-730 [Pipeline] echo [2021-02-22T06:07:42.711Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-02-22T06:07:43.311Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-22T06:07:43.311Z] [2021-02-22T06:07:43.311Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-02-22T06:07:43.665Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-22T06:07:43.665Z] latest: Pulling from edgex-devops/git-semver [2021-02-22T06:07:43.665Z] 31603596830f: Pulling fs layer [2021-02-22T06:07:43.665Z] 2a8b12db71e7: Pulling fs layer [2021-02-22T06:07:43.665Z] 6ca5941a6612: Pulling fs layer [2021-02-22T06:07:43.665Z] ecc8261a40a4: Pulling fs layer [2021-02-22T06:07:43.665Z] ecc8261a40a4: Waiting [2021-02-22T06:07:43.665Z] 2a8b12db71e7: Verifying Checksum [2021-02-22T06:07:43.665Z] 31603596830f: Verifying Checksum [2021-02-22T06:07:43.665Z] 31603596830f: Download complete [2021-02-22T06:07:43.928Z] 6ca5941a6612: Verifying Checksum [2021-02-22T06:07:43.928Z] 6ca5941a6612: Download complete [2021-02-22T06:07:44.190Z] 31603596830f: Pull complete [2021-02-22T06:07:44.190Z] ecc8261a40a4: Verifying Checksum [2021-02-22T06:07:44.190Z] ecc8261a40a4: Download complete [2021-02-22T06:07:44.190Z] 2a8b12db71e7: Pull complete [2021-02-22T06:07:45.145Z] 6ca5941a6612: Pull complete [2021-02-22T06:07:45.408Z] ecc8261a40a4: Pull complete [2021-02-22T06:07:45.408Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-02-22T06:07:45.408Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-22T06:07:45.408Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-02-22T06:07:45.510Z] prd-centos7-docker-4c-2g-27115 does not seem to be running inside a container [2021-02-22T06:07:45.557Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-02-22T06:07:47.557Z] $ docker top df447625a4599ab0397972695df9f3c2b4eb781a0a39046fa2915a27901ac2d0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-22T06:07:47.844Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-22T06:07:47.844Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-22T06:07:48.053Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-22T06:07:48.055Z] $ docker exec df447625a4599ab0397972695df9f3c2b4eb781a0a39046fa2915a27901ac2d0 ssh-agent [2021-02-22T06:07:48.214Z] SSH_AUTH_SOCK=/tmp/ssh-6WmyCuP8IfHY/agent.11 [2021-02-22T06:07:48.214Z] SSH_AGENT_PID=16 [2021-02-22T06:07:48.225Z] Running ssh-add (command line suppressed) [2021-02-22T06:07:48.352Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_6012524637565620228.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_6012524637565620228.key) [2021-02-22T06:07:48.402Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-22T06:07:48.735Z] + git tag --points-at HEAD [Pipeline] } [2021-02-22T06:07:48.753Z] $ docker exec --env ******** --env ******** df447625a4599ab0397972695df9f3c2b4eb781a0a39046fa2915a27901ac2d0 ssh-agent -k [2021-02-22T06:07:48.863Z] unset SSH_AUTH_SOCK; [2021-02-22T06:07:48.863Z] unset SSH_AGENT_PID; [2021-02-22T06:07:48.863Z] echo Agent pid 16 killed; [2021-02-22T06:07:48.912Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-02-22T06:07:49.058Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-22T06:07:49.058Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-22T06:07:49.216Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-22T06:07:49.219Z] $ docker exec df447625a4599ab0397972695df9f3c2b4eb781a0a39046fa2915a27901ac2d0 ssh-agent [2021-02-22T06:07:49.376Z] SSH_AUTH_SOCK=/tmp/ssh-szaDjzxrTZAU/agent.48 [2021-02-22T06:07:49.376Z] SSH_AGENT_PID=53 [2021-02-22T06:07:49.383Z] Running ssh-add (command line suppressed) [2021-02-22T06:07:49.494Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_4859358665865053366.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_4859358665865053366.key) [2021-02-22T06:07:49.548Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-22T06:07:49.879Z] + git semver init [2021-02-22T06:07:49.879Z] # -> Open(): unable to determine branch for HEAD [2021-02-22T06:07:49.879Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2021-02-22T06:07:49.879Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2021-02-22T06:07:49.879Z] # $SEMVER_REMOTE_NAME = origin [2021-02-22T06:07:49.879Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-22T06:07:49.879Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-22T06:07:49.879Z] # $SEMVER_BRANCH = master [2021-02-22T06:07:49.879Z] # $SEMVER_TEMP = /tmp/semver-026173620 [2021-02-22T06:07:49.879Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-02-22T06:07:50.823Z] # '/tmp/semver-026173620' -> '/w/workspace/dgexfoundry_device-sdk-go_master/.semver' [2021-02-22T06:07:50.823Z] # -> Force: false [2021-02-22T06:07:50.823Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2021-02-22T06:07:50.834Z] $ docker exec --env ******** --env ******** df447625a4599ab0397972695df9f3c2b4eb781a0a39046fa2915a27901ac2d0 ssh-agent -k [2021-02-22T06:07:50.946Z] unset SSH_AUTH_SOCK; [2021-02-22T06:07:50.947Z] unset SSH_AGENT_PID; [2021-02-22T06:07:50.947Z] echo Agent pid 53 killed; [2021-02-22T06:07:50.996Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-22T06:07:51.457Z] + git semver [Pipeline] } [2021-02-22T06:07:51.473Z] $ docker stop --time=1 df447625a4599ab0397972695df9f3c2b4eb781a0a39046fa2915a27901ac2d0 [2021-02-22T06:07:52.885Z] $ docker rm -f df447625a4599ab0397972695df9f3c2b4eb781a0a39046fa2915a27901ac2d0 [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-22T06:07:53.344Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-02-22T06:07:53.782Z] Stashed 1 file(s) [Pipeline] echo [2021-02-22T06:07:53.785Z] [edgeXSemver]: initialized semver on version 2.0.0-dev.13 [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-02-22T06:08:09.305Z] Still waiting to schedule task [2021-02-22T06:08:09.305Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-02-22T06:08:09.307Z] Still waiting to schedule task [2021-02-22T06:08:09.307Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-26577’ is offline [2021-02-22T06:10:02.119Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-27116 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2021-02-22T06:10:02.232Z] Running in /w/workspace/device-sdk-go/118 [Pipeline] { [Pipeline] checkout [2021-02-22T06:10:07.462Z] using credential edgex-jenkins-ssh [2021-02-22T06:10:07.520Z] Cloning the remote Git repository [2021-02-22T06:10:07.578Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-02-22T06:10:07.685Z] > git init /w/workspace/device-sdk-go/118 # timeout=10 [2021-02-22T06:10:07.755Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-22T06:10:07.756Z] > git --version # timeout=10 [2021-02-22T06:10:07.775Z] > git --version # 'git version 2.17.1' [2021-02-22T06:10:07.776Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-22T06:10:07.861Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-22T06:10:09.629Z] Checking out Revision 90f0e220c38dfa765b59e93e9c62ca721e898d74 (master) [2021-02-22T06:10:09.042Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-22T06:10:09.056Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-22T06:10:09.094Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-22T06:10:09.127Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-22T06:10:09.127Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-22T06:10:09.138Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-22T06:10:09.651Z] > git config core.sparsecheckout # timeout=10 [2021-02-22T06:10:09.668Z] > git checkout -f 90f0e220c38dfa765b59e93e9c62ca721e898d74 # timeout=10 [2021-02-22T06:10:14.250Z] Commit message: "Merge pull request #790 from hahattan/issue-730" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-22T06:10:15.884Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-02-22T06:10:16.289Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-22T06:10:16.633Z] + sudo service docker restart [2021-02-22T06:10:16.633Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-22T06:10:19.344Z] provisioning config files... [2021-02-22T06:10:19.403Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/118@tmp/config5039722254521308920tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-22T06:10:19.908Z] ---> docker-login.sh [2021-02-22T06:10:19.908Z] nexus3.edgexfoundry.org:10001 [2021-02-22T06:10:20.892Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-22T06:10:21.175Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-22T06:10:21.175Z] Configure a credential helper to remove this warning. See [2021-02-22T06:10:21.175Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-22T06:10:21.175Z] [2021-02-22T06:10:21.175Z] Login Succeeded [2021-02-22T06:10:21.175Z] nexus3.edgexfoundry.org:10002 [2021-02-22T06:10:21.772Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-22T06:10:21.772Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-22T06:10:21.772Z] Configure a credential helper to remove this warning. See [2021-02-22T06:10:21.772Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-22T06:10:21.772Z] [2021-02-22T06:10:21.772Z] Login Succeeded [2021-02-22T06:10:21.772Z] nexus3.edgexfoundry.org:10003 [2021-02-22T06:10:22.047Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-22T06:10:22.321Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-22T06:10:22.321Z] Configure a credential helper to remove this warning. See [2021-02-22T06:10:22.321Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-22T06:10:22.321Z] [2021-02-22T06:10:22.321Z] Login Succeeded [2021-02-22T06:10:22.321Z] nexus3.edgexfoundry.org:10004 [2021-02-22T06:10:22.596Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-22T06:10:22.870Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-22T06:10:22.870Z] Configure a credential helper to remove this warning. See [2021-02-22T06:10:22.870Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-22T06:10:22.870Z] [2021-02-22T06:10:22.870Z] Login Succeeded [2021-02-22T06:10:22.870Z] docker.io [2021-02-22T06:10:23.144Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-22T06:10:23.737Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-22T06:10:23.737Z] Configure a credential helper to remove this warning. See [2021-02-22T06:10:23.737Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-22T06:10:23.737Z] [2021-02-22T06:10:23.737Z] Login Succeeded [2021-02-22T06:10:23.737Z] ---> docker-login.sh ends [Pipeline] } [2021-02-22T06:10:23.754Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-02-22T06:10:24.184Z] ========================================================= [2021-02-22T06:10:24.184Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-02-22T06:10:24.184Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-22T06:10:24.575Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2021-02-22T06:10:25.184Z] Sending build context to Docker daemon 2.392MB [2021-02-22T06:10:25.184Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-02-22T06:10:25.184Z] Step 2/8 : FROM ${BASE} [2021-02-22T06:10:25.184Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-02-22T06:10:25.184Z] 5f621e34cdf4: Pulling fs layer [2021-02-22T06:10:25.184Z] a4357932f1b6: Pulling fs layer [2021-02-22T06:10:25.184Z] 18c013af1878: Pulling fs layer [2021-02-22T06:10:25.184Z] 00ac8860ef70: Pulling fs layer [2021-02-22T06:10:25.184Z] 63d7cb157983: Pulling fs layer [2021-02-22T06:10:25.184Z] b116817d02f9: Pulling fs layer [2021-02-22T06:10:25.184Z] 745a02a5169b: Pulling fs layer [2021-02-22T06:10:25.184Z] 63d7cb157983: Waiting [2021-02-22T06:10:25.184Z] b116817d02f9: Waiting [2021-02-22T06:10:25.184Z] 745a02a5169b: Waiting [2021-02-22T06:10:25.184Z] 00ac8860ef70: Waiting [2021-02-22T06:10:25.184Z] 18c013af1878: Verifying Checksum [2021-02-22T06:10:25.184Z] 18c013af1878: Download complete [2021-02-22T06:10:25.184Z] a4357932f1b6: Verifying Checksum [2021-02-22T06:10:25.184Z] a4357932f1b6: Download complete [2021-02-22T06:10:25.184Z] 63d7cb157983: Verifying Checksum [2021-02-22T06:10:25.184Z] 63d7cb157983: Download complete [2021-02-22T06:10:26.163Z] b116817d02f9: Verifying Checksum [2021-02-22T06:10:26.163Z] b116817d02f9: Download complete [2021-02-22T06:10:26.163Z] 5f621e34cdf4: Verifying Checksum [2021-02-22T06:10:26.163Z] 5f621e34cdf4: Download complete [2021-02-22T06:10:26.773Z] 5f621e34cdf4: Pull complete [2021-02-22T06:10:27.383Z] a4357932f1b6: Pull complete [2021-02-22T06:10:27.657Z] 18c013af1878: Pull complete [2021-02-22T06:10:27.934Z] 745a02a5169b: Verifying Checksum [2021-02-22T06:10:27.934Z] 745a02a5169b: Download complete [2021-02-22T06:10:29.922Z] 00ac8860ef70: Verifying Checksum [2021-02-22T06:10:29.922Z] 00ac8860ef70: Download complete [2021-02-22T06:10:40.110Z] 00ac8860ef70: Pull complete [2021-02-22T06:10:40.384Z] 63d7cb157983: Pull complete [2021-02-22T06:10:40.659Z] b116817d02f9: Pull complete [2021-02-22T06:10:44.107Z] 745a02a5169b: Pull complete [2021-02-22T06:10:44.107Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-02-22T06:10:44.387Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-02-22T06:10:44.387Z] ---> b7e6874047d6 [2021-02-22T06:10:44.387Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-22T06:10:47.774Z] ---> Running in 7fea9b67baae [2021-02-22T06:10:47.774Z] Removing intermediate container 7fea9b67baae [2021-02-22T06:10:47.774Z] ---> 05ba5d72dbfa [2021-02-22T06:10:47.774Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-22T06:10:47.774Z] ---> Running in 021f736dba97 [2021-02-22T06:10:50.410Z] Removing intermediate container 021f736dba97 [2021-02-22T06:10:50.410Z] ---> 91798062e282 [2021-02-22T06:10:50.410Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-02-22T06:10:50.410Z] ---> Running in b682c32227c3 [2021-02-22T06:10:51.391Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-02-22T06:10:52.361Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-02-22T06:10:53.336Z] OK: 142 MiB in 39 packages [2021-02-22T06:10:54.317Z] Removing intermediate container b682c32227c3 [2021-02-22T06:10:54.317Z] ---> 673f371e31d3 [2021-02-22T06:10:54.317Z] Step 6/8 : WORKDIR /device-sdk-go [2021-02-22T06:10:54.592Z] ---> Running in 792d8b1589a9 [2021-02-22T06:10:55.188Z] Removing intermediate container 792d8b1589a9 [2021-02-22T06:10:55.188Z] ---> c9933a349df2 [2021-02-22T06:10:55.188Z] Step 7/8 : COPY . . [2021-02-22T06:10:56.164Z] ---> b7e5a128cf8b [2021-02-22T06:10:56.164Z] Step 8/8 : RUN go mod download [2021-02-22T06:10:56.450Z] ---> Running in dbb7ada642c6 [2021-02-22T06:11:23.238Z] Removing intermediate container dbb7ada642c6 [2021-02-22T06:11:23.238Z] ---> 66eb8d5ac4e4 [2021-02-22T06:11:23.238Z] Successfully built 66eb8d5ac4e4 [2021-02-22T06:11:23.238Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-22T06:11:23.579Z] + docker inspect -f . ci-base-image-arm64 [2021-02-22T06:11:23.580Z] . [Pipeline] withDockerContainer [2021-02-22T06:11:23.816Z] prd-ubuntu18.04-docker-arm64-4c-16g-27116 does not seem to be running inside a container [2021-02-22T06:11:23.897Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/118 -v /w/workspace/device-sdk-go/118:/w/workspace/device-sdk-go/118:rw,z -v /w/workspace/device-sdk-go/118@tmp:/w/workspace/device-sdk-go/118@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 ******** ci-base-image-arm64 cat [2021-02-22T06:11:25.271Z] $ docker top 2910931d0797333c596348ede8c1aa920091eba19d191e92e9bca01827996293 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-22T06:11:26.317Z] + go version [2021-02-22T06:11:26.317Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-02-22T06:11:26.342Z] $ docker stop --time=1 2910931d0797333c596348ede8c1aa920091eba19d191e92e9bca01827996293 [2021-02-22T06:11:28.256Z] $ docker rm -f 2910931d0797333c596348ede8c1aa920091eba19d191e92e9bca01827996293 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-22T06:11:29.277Z] + docker inspect -f . ci-base-image-arm64 [2021-02-22T06:11:29.277Z] . [Pipeline] withDockerContainer [2021-02-22T06:11:29.540Z] prd-ubuntu18.04-docker-arm64-4c-16g-27116 does not seem to be running inside a container [2021-02-22T06:11:29.621Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/118 -v /w/workspace/device-sdk-go/118:/w/workspace/device-sdk-go/118:rw,z -v /w/workspace/device-sdk-go/118@tmp:/w/workspace/device-sdk-go/118@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 ******** ci-base-image-arm64 cat [2021-02-22T06:11:31.176Z] $ docker top a79323fefee0bf03c9815a1a82046c1e5ccf6f6b1290f098cb555cd176b449dc -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-22T06:11:32.178Z] + make test [2021-02-22T06:11:32.178Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-02-22T06:11:52.408Z] Running on prd-centos7-docker-4c-2g-27117 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2021-02-22T06:11:52.460Z] Running in /w/workspace/device-sdk-go/118 [Pipeline] { [Pipeline] checkout [2021-02-22T06:11:54.373Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-02-22T06:12:05.757Z] using credential edgex-jenkins-ssh [2021-02-22T06:12:05.874Z] Cloning the remote Git repository [2021-02-22T06:12:05.915Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-02-22T06:12:05.996Z] > git init /w/workspace/device-sdk-go/118 # timeout=10 [2021-02-22T06:12:06.160Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-22T06:12:06.160Z] > git --version # timeout=10 [2021-02-22T06:12:06.171Z] > git --version # 'git version 2.24.3' [2021-02-22T06:12:06.172Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-22T06:12:06.222Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-22T06:12:08.547Z] Checking out Revision 90f0e220c38dfa765b59e93e9c62ca721e898d74 (master) [2021-02-22T06:12:07.703Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-22T06:12:07.737Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-22T06:12:07.750Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-22T06:12:07.766Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-22T06:12:07.767Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-22T06:12:07.811Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-22T06:12:08.563Z] > git config core.sparsecheckout # timeout=10 [2021-02-22T06:12:08.604Z] > git checkout -f 90f0e220c38dfa765b59e93e9c62ca721e898d74 # timeout=10 [2021-02-22T06:12:13.491Z] Commit message: "Merge pull request #790 from hahattan/issue-730" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-22T06:12:15.203Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-02-22T06:12:15.817Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-22T06:12:16.331Z] + true [2021-02-22T06:12:16.331Z] + sudo service docker restart [2021-02-22T06:12:16.331Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-22T06:12:18.766Z] provisioning config files... [2021-02-22T06:12:19.039Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/118@tmp/config7398848981314402875tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-22T06:12:20.695Z] ---> docker-login.sh [2021-02-22T06:12:20.696Z] nexus3.edgexfoundry.org:10001 [2021-02-22T06:12:22.603Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-22T06:12:22.913Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-22T06:12:22.913Z] Configure a credential helper to remove this warning. See [2021-02-22T06:12:22.913Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-22T06:12:22.913Z] [2021-02-22T06:12:22.913Z] Login Succeeded [2021-02-22T06:12:22.913Z] nexus3.edgexfoundry.org:10002 [2021-02-22T06:12:23.595Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-22T06:12:23.595Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-22T06:12:23.595Z] Configure a credential helper to remove this warning. See [2021-02-22T06:12:23.595Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-22T06:12:23.595Z] [2021-02-22T06:12:23.595Z] Login Succeeded [2021-02-22T06:12:23.595Z] nexus3.edgexfoundry.org:10003 [2021-02-22T06:12:23.595Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-22T06:12:24.597Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-22T06:12:24.597Z] Configure a credential helper to remove this warning. See [2021-02-22T06:12:24.597Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-22T06:12:24.597Z] [2021-02-22T06:12:24.597Z] Login Succeeded [2021-02-22T06:12:24.597Z] nexus3.edgexfoundry.org:10004 [2021-02-22T06:12:25.384Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-22T06:12:25.384Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-22T06:12:25.384Z] Configure a credential helper to remove this warning. See [2021-02-22T06:12:25.384Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-22T06:12:25.384Z] [2021-02-22T06:12:25.384Z] Login Succeeded [2021-02-22T06:12:25.384Z] docker.io [2021-02-22T06:12:25.665Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-22T06:12:25.956Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-22T06:12:25.956Z] Configure a credential helper to remove this warning. See [2021-02-22T06:12:25.956Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-22T06:12:25.956Z] [2021-02-22T06:12:25.956Z] Login Succeeded [2021-02-22T06:12:25.956Z] ---> docker-login.sh ends [Pipeline] } [2021-02-22T06:12:26.010Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-02-22T06:12:26.707Z] ========================================================= [2021-02-22T06:12:26.707Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-02-22T06:12:26.707Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-22T06:12:27.403Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2021-02-22T06:12:27.687Z] Sending build context to Docker daemon 2.384MB [2021-02-22T06:12:27.687Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-02-22T06:12:27.687Z] Step 2/8 : FROM ${BASE} [2021-02-22T06:12:27.687Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-02-22T06:12:27.687Z] 188c0c94c7c5: Pulling fs layer [2021-02-22T06:12:27.687Z] 0ef7d3d256c8: Pulling fs layer [2021-02-22T06:12:27.687Z] de9db76c5a1d: Pulling fs layer [2021-02-22T06:12:27.687Z] bca2f99d35d6: Pulling fs layer [2021-02-22T06:12:27.687Z] 93359f2a8cfa: Pulling fs layer [2021-02-22T06:12:27.687Z] 7c6f9722023f: Pulling fs layer [2021-02-22T06:12:27.687Z] a35cf1a2eb13: Pulling fs layer [2021-02-22T06:12:27.687Z] bca2f99d35d6: Waiting [2021-02-22T06:12:27.687Z] 93359f2a8cfa: Waiting [2021-02-22T06:12:27.687Z] 7c6f9722023f: Waiting [2021-02-22T06:12:27.687Z] a35cf1a2eb13: Waiting [2021-02-22T06:12:27.687Z] de9db76c5a1d: Verifying Checksum [2021-02-22T06:12:27.687Z] de9db76c5a1d: Download complete [2021-02-22T06:12:27.964Z] 0ef7d3d256c8: Download complete [2021-02-22T06:12:27.964Z] 93359f2a8cfa: Verifying Checksum [2021-02-22T06:12:27.964Z] 93359f2a8cfa: Download complete [2021-02-22T06:12:28.581Z] 7c6f9722023f: Verifying Checksum [2021-02-22T06:12:28.581Z] 7c6f9722023f: Download complete [2021-02-22T06:12:29.094Z] 188c0c94c7c5: Verifying Checksum [2021-02-22T06:12:29.094Z] 188c0c94c7c5: Download complete [2021-02-22T06:12:30.324Z] 188c0c94c7c5: Pull complete [2021-02-22T06:12:30.324Z] 0ef7d3d256c8: Pull complete [2021-02-22T06:12:30.618Z] de9db76c5a1d: Pull complete [2021-02-22T06:12:38.205Z] a35cf1a2eb13: Verifying Checksum [2021-02-22T06:12:38.205Z] a35cf1a2eb13: Download complete [2021-02-22T06:12:39.886Z] bca2f99d35d6: Verifying Checksum [2021-02-22T06:12:39.886Z] bca2f99d35d6: Download complete [2021-02-22T06:12:41.378Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-02-22T06:12:41.378Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-02-22T06:12:41.378Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-02-22T06:12:41.378Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.122s coverage: 25.5% of statements [2021-02-22T06:12:50.855Z] bca2f99d35d6: Pull complete [2021-02-22T06:12:50.855Z] 93359f2a8cfa: Pull complete [2021-02-22T06:12:51.127Z] 7c6f9722023f: Pull complete [2021-02-22T06:13:02.509Z] a35cf1a2eb13: Pull complete [2021-02-22T06:13:02.510Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-02-22T06:13:02.510Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-02-22T06:13:02.510Z] ---> a62c8e92a672 [2021-02-22T06:13:02.510Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-22T06:13:02.510Z] ---> Running in b44de9717c73 [2021-02-22T06:13:03.915Z] Removing intermediate container b44de9717c73 [2021-02-22T06:13:03.915Z] ---> c6e8a1e96314 [2021-02-22T06:13:03.915Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-22T06:13:04.382Z] ---> Running in 3d1ba5f028f1 [2021-02-22T06:13:07.198Z] Removing intermediate container 3d1ba5f028f1 [2021-02-22T06:13:07.198Z] ---> cf61b5d27b6a [2021-02-22T06:13:07.198Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-02-22T06:13:07.198Z] ---> Running in c6240cf12d29 [2021-02-22T06:13:08.180Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.116s coverage: 10.1% of statements [2021-02-22T06:13:08.180Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.143s coverage: 12.5% of statements [2021-02-22T06:13:08.180Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-02-22T06:13:08.180Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.144s coverage: 84.8% of statements [2021-02-22T06:13:08.180Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-02-22T06:13:08.180Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-02-22T06:13:08.180Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-02-22T06:13:08.180Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-02-22T06:13:08.180Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.183s coverage: 49.2% of statements [2021-02-22T06:13:08.180Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-02-22T06:13:08.180Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.214s coverage: 81.3% of statements [2021-02-22T06:13:08.180Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.167s coverage: 24.8% of statements [2021-02-22T06:13:08.180Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.709s coverage: 83.5% of statements [2021-02-22T06:13:08.180Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.142s coverage: 5.3% of statements [2021-02-22T06:13:08.180Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-02-22T06:13:08.180Z] GO111MODULE=on go vet ./... [2021-02-22T06:13:08.292Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-02-22T06:13:09.169Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-02-22T06:13:11.165Z] OK: 166 MiB in 39 packages [2021-02-22T06:13:11.828Z] Removing intermediate container c6240cf12d29 [2021-02-22T06:13:11.828Z] ---> 36822eb19059 [2021-02-22T06:13:11.828Z] Step 6/8 : WORKDIR /device-sdk-go [2021-02-22T06:13:12.116Z] ---> Running in fc7d599f0de6 [2021-02-22T06:13:12.434Z] Removing intermediate container fc7d599f0de6 [2021-02-22T06:13:12.434Z] ---> d9fb9a8d3363 [2021-02-22T06:13:12.434Z] Step 7/8 : COPY . . [2021-02-22T06:13:14.103Z] ---> 60dcb4718f8b [2021-02-22T06:13:14.103Z] Step 8/8 : RUN go mod download [2021-02-22T06:13:14.103Z] ---> Running in 4e8922e2b3fe [2021-02-22T06:13:47.273Z] gofmt -l . [2021-02-22T06:13:47.273Z] [ "`gofmt -l .`" = "" ] [2021-02-22T06:13:47.273Z] ./bin/test-attribution-txt.sh [2021-02-22T06:13:47.273Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-02-22T06:13:47.299Z] $ docker stop --time=1 a79323fefee0bf03c9815a1a82046c1e5ccf6f6b1290f098cb555cd176b449dc [2021-02-22T06:13:49.651Z] $ docker rm -f a79323fefee0bf03c9815a1a82046c1e5ccf6f6b1290f098cb555cd176b449dc [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-22T06:13:50.867Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-02-22T06:13:51.935Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [2021-02-22T06:13:54.465Z] Removing intermediate container 4e8922e2b3fe [2021-02-22T06:13:54.465Z] ---> e998164a566e [2021-02-22T06:13:54.465Z] Successfully built e998164a566e [2021-02-22T06:13:54.465Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-02-22T06:13:55.987Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-02-22T06:13:56.146Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-22T06:13:56.383Z] + ls -al . [2021-02-22T06:13:56.383Z] total 220 [2021-02-22T06:13:56.383Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 22 06:13 . [2021-02-22T06:13:56.383Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 22 06:10 .. [2021-02-22T06:13:56.383Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 22 06:10 .dockerignore [2021-02-22T06:13:56.383Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 22 06:10 .git [2021-02-22T06:13:56.383Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 22 06:10 .github [2021-02-22T06:13:56.383Z] -rw-rw-r-- 1 jenkins jenkins 138 Feb 22 06:10 .gitignore [2021-02-22T06:13:56.383Z] -rw-rw-r-- 1 jenkins jenkins 949 Feb 22 06:10 Dockerfile.build [2021-02-22T06:13:56.383Z] -rw-rw-r-- 1 jenkins jenkins 901 Feb 22 06:10 Jenkinsfile [2021-02-22T06:13:56.383Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 22 06:10 LICENSE [2021-02-22T06:13:56.383Z] -rw-rw-r-- 1 jenkins jenkins 1016 Feb 22 06:10 Makefile [2021-02-22T06:13:56.383Z] -rw-rw-r-- 1 jenkins jenkins 5897 Feb 22 06:10 README.md [2021-02-22T06:13:56.383Z] -rw-rw-r-- 1 jenkins jenkins 6616 Feb 22 06:10 RELEASE-NOTES.txt [2021-02-22T06:13:56.383Z] -rw-rw-r-- 1 jenkins jenkins 12 Feb 22 06:07 VERSION [2021-02-22T06:13:56.383Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 22 06:10 bin [2021-02-22T06:13:56.383Z] -rw-r--r-- 1 jenkins jenkins 101757 Feb 22 06:13 coverage.out [2021-02-22T06:13:56.383Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 22 06:10 example [2021-02-22T06:13:56.383Z] -rw-r--r-- 1 jenkins jenkins 515 Feb 22 06:13 go.mod [2021-02-22T06:13:56.383Z] -rw-r--r-- 1 jenkins jenkins 19062 Feb 22 06:13 go.sum [2021-02-22T06:13:56.383Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 22 06:10 internal [2021-02-22T06:13:56.383Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 22 06:10 openapi [2021-02-22T06:13:56.383Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 22 06:10 pkg [2021-02-22T06:13:56.383Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 22 06:10 snap [2021-02-22T06:13:56.383Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 22 06:10 version.go [Pipeline] isUnix [Pipeline] sh [2021-02-22T06:13:56.511Z] . [Pipeline] withDockerContainer [2021-02-22T06:13:56.755Z] + docker build -t docker-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=90f0e220c38dfa765b59e93e9c62ca721e898d74 --label arch=arm64 --label version=2.0.0-dev.13 . [2021-02-22T06:13:57.010Z] prd-centos7-docker-4c-2g-27117 does not seem to be running inside a container [2021-02-22T06:13:57.358Z] Sending build context to Docker daemon 2.494MB [2021-02-22T06:13:57.358Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-02-22T06:13:57.358Z] Step 2/24 : FROM ${BASE} AS builder [2021-02-22T06:13:57.358Z] ---> 66eb8d5ac4e4 [2021-02-22T06:13:57.358Z] Step 3/24 : ARG MAKE='make build' [2021-02-22T06:13:57.358Z] ---> Running in d255dacac79f [2021-02-22T06:13:57.359Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/118 -v /w/workspace/device-sdk-go/118:/w/workspace/device-sdk-go/118:rw,z -v /w/workspace/device-sdk-go/118@tmp:/w/workspace/device-sdk-go/118@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 ******** ci-base-image-x86_64 cat [2021-02-22T06:13:57.952Z] Removing intermediate container d255dacac79f [2021-02-22T06:13:57.952Z] ---> a655bad54b60 [2021-02-22T06:13:57.952Z] Step 4/24 : WORKDIR /device-sdk-go [2021-02-22T06:13:57.952Z] ---> Running in d160f63d013a [2021-02-22T06:13:58.546Z] Removing intermediate container d160f63d013a [2021-02-22T06:13:58.546Z] ---> 5eba9945401b [2021-02-22T06:13:58.546Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-22T06:13:58.546Z] ---> Running in 4ee9ecf698eb [2021-02-22T06:13:58.813Z] $ docker top dc4eed84d0bba1ca2a4bef496fd89dc4d129874ae894fa619768ab1f332cff2f -eo pid,comm [Pipeline] { [2021-02-22T06:13:59.143Z] Removing intermediate container 4ee9ecf698eb [2021-02-22T06:13:59.143Z] ---> 8d1f806ab1a7 [2021-02-22T06:13:59.143Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-22T06:13:59.143Z] ---> Running in 57b7e8786657 [Pipeline] sh [2021-02-22T06:13:59.527Z] + go version [2021-02-22T06:13:59.593Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-02-22T06:13:59.603Z] $ docker stop --time=1 dc4eed84d0bba1ca2a4bef496fd89dc4d129874ae894fa619768ab1f332cff2f [2021-02-22T06:14:01.762Z] Removing intermediate container 57b7e8786657 [2021-02-22T06:14:01.763Z] ---> 6cc6c5f0579b [2021-02-22T06:14:01.763Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-02-22T06:14:01.763Z] ---> Running in 3b45985fa376 [2021-02-22T06:14:01.872Z] $ docker rm -f dc4eed84d0bba1ca2a4bef496fd89dc4d129874ae894fa619768ab1f332cff2f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [2021-02-22T06:14:02.355Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-22T06:14:02.969Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-22T06:14:02.970Z] . [Pipeline] withDockerContainer [2021-02-22T06:14:03.541Z] prd-centos7-docker-4c-2g-27117 does not seem to be running inside a container [2021-02-22T06:14:03.761Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/118 -v /w/workspace/device-sdk-go/118:/w/workspace/device-sdk-go/118:rw,z -v /w/workspace/device-sdk-go/118@tmp:/w/workspace/device-sdk-go/118@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 ******** ci-base-image-x86_64 cat [2021-02-22T06:14:03.779Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-02-22T06:14:04.760Z] OK: 142 MiB in 39 packages [2021-02-22T06:14:05.566Z] $ docker top b7be66e782ec270bd94d3f023fe5441861ea0c294d81f915f0a1346d0cc4c343 -eo pid,comm [2021-02-22T06:14:05.743Z] Removing intermediate container 3b45985fa376 [2021-02-22T06:14:05.743Z] ---> adf84fd71095 [2021-02-22T06:14:05.743Z] Step 8/24 : COPY . . [Pipeline] { [Pipeline] sh [2021-02-22T06:14:07.176Z] ---> d4cd22145262 [2021-02-22T06:14:07.176Z] Step 9/24 : RUN ${MAKE} [2021-02-22T06:14:07.176Z] ---> Running in 6d20f1e53fe9 [2021-02-22T06:14:07.186Z] + make test [2021-02-22T06:14:07.186Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-02-22T06:14:08.616Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.0-dev.13" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-02-22T06:14:27.501Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-02-22T06:14:35.454Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-02-22T06:14:36.438Z] Removing intermediate container 6d20f1e53fe9 [2021-02-22T06:14:36.438Z] ---> e8ff48ef93c0 [2021-02-22T06:14:36.438Z] Step 10/24 : FROM scratch [2021-02-22T06:14:36.438Z] ---> [2021-02-22T06:14:36.438Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-22T06:14:36.712Z] ---> Running in fa47109271ba [2021-02-22T06:14:36.985Z] Removing intermediate container fa47109271ba [2021-02-22T06:14:36.985Z] ---> bb6f02e5c86d [2021-02-22T06:14:36.985Z] Step 12/24 : ENV APP_PORT=49990 [2021-02-22T06:14:37.258Z] ---> Running in a6c7abfd8553 [2021-02-22T06:14:37.530Z] Removing intermediate container a6c7abfd8553 [2021-02-22T06:14:37.530Z] ---> 64ee7f7aebfa [2021-02-22T06:14:37.530Z] Step 13/24 : EXPOSE $APP_PORT [2021-02-22T06:14:37.801Z] ---> Running in a97ebaf700de [2021-02-22T06:14:38.072Z] Removing intermediate container a97ebaf700de [2021-02-22T06:14:38.072Z] ---> ae438df1f20d [2021-02-22T06:14:38.072Z] Step 14/24 : WORKDIR / [2021-02-22T06:14:38.345Z] ---> Running in 06328e5894db [2021-02-22T06:14:38.618Z] Removing intermediate container 06328e5894db [2021-02-22T06:14:38.618Z] ---> 181d1f726833 [2021-02-22T06:14:38.618Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-02-22T06:14:40.045Z] ---> cc18b65a655e [2021-02-22T06:14:40.045Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-02-22T06:14:40.639Z] ---> c617c6455057 [2021-02-22T06:14:40.639Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-02-22T06:14:41.233Z] ---> d73eccd3eaf7 [2021-02-22T06:14:41.233Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-02-22T06:14:41.826Z] ---> b5cfc6fe4ab1 [2021-02-22T06:14:41.826Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-02-22T06:14:42.803Z] ---> 0d21beb83113 [2021-02-22T06:14:42.803Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-02-22T06:14:42.803Z] ---> Running in a0dcd2e83962 [2021-02-22T06:14:43.397Z] Removing intermediate container a0dcd2e83962 [2021-02-22T06:14:43.397Z] ---> 5a029899ddec [2021-02-22T06:14:43.397Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-02-22T06:14:43.397Z] ---> Running in 8554cc338d96 [2021-02-22T06:14:43.991Z] Removing intermediate container 8554cc338d96 [2021-02-22T06:14:43.991Z] ---> 4039c3e3eeeb [2021-02-22T06:14:43.991Z] Step 22/24 : LABEL arch=arm64 [2021-02-22T06:14:43.991Z] ---> Running in bdae0716efc9 [2021-02-22T06:14:44.585Z] Removing intermediate container bdae0716efc9 [2021-02-22T06:14:44.585Z] ---> 948c8bd472d7 [2021-02-22T06:14:44.585Z] Step 23/24 : LABEL git_sha=90f0e220c38dfa765b59e93e9c62ca721e898d74 [2021-02-22T06:14:44.585Z] ---> Running in 114feb37cbb9 [2021-02-22T06:14:45.177Z] Removing intermediate container 114feb37cbb9 [2021-02-22T06:14:45.177Z] ---> 3f74e5d68208 [2021-02-22T06:14:45.177Z] Step 24/24 : LABEL version=2.0.0-dev.13 [2021-02-22T06:14:45.177Z] ---> Running in df3002c25c5c [2021-02-22T06:14:45.450Z] Removing intermediate container df3002c25c5c [2021-02-22T06:14:45.451Z] ---> 7df511d5491b [2021-02-22T06:14:45.451Z] [Warning] One or more build-args [ARCH] were not consumed [2021-02-22T06:14:45.724Z] Successfully built 7df511d5491b [2021-02-22T06:14:45.724Z] Successfully tagged docker-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 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-02-22T06:14:55.194Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-02-22T06:14:55.194Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-02-22T06:14:55.194Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-02-22T06:14:57.317Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.159s coverage: 25.5% of statements [2021-02-22T06:15:27.121Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.116s coverage: 10.1% of statements [2021-02-22T06:15:27.121Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.087s coverage: 12.5% of statements [2021-02-22T06:15:27.121Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-02-22T06:15:27.121Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.204s coverage: 84.8% of statements [2021-02-22T06:15:27.121Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-02-22T06:15:27.121Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-02-22T06:15:27.121Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-02-22T06:15:27.121Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-02-22T06:15:27.121Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.085s coverage: 49.2% of statements [2021-02-22T06:15:27.121Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-02-22T06:15:27.121Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.077s coverage: 81.3% of statements [2021-02-22T06:15:27.121Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.107s coverage: 24.8% of statements [2021-02-22T06:15:27.121Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 8.402s coverage: 83.5% of statements [2021-02-22T06:15:27.121Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.079s coverage: 5.3% of statements [2021-02-22T06:15:27.121Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-02-22T06:15:27.121Z] GO111MODULE=on go vet ./... [2021-02-22T06:15:51.472Z] gofmt -l . [2021-02-22T06:15:51.472Z] [ "`gofmt -l .`" = "" ] [2021-02-22T06:15:51.472Z] ./bin/test-attribution-txt.sh [2021-02-22T06:15:54.837Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-02-22T06:15:56.571Z] $ docker stop --time=1 b7be66e782ec270bd94d3f023fe5441861ea0c294d81f915f0a1346d0cc4c343 [2021-02-22T06:15:59.363Z] $ docker rm -f b7be66e782ec270bd94d3f023fe5441861ea0c294d81f915f0a1346d0cc4c343 [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-22T06:16:01.823Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-02-22T06:16:02.014Z] Warning: overwriting stash ‘coverage-report’ [2021-02-22T06:16:03.731Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-02-22T06:16:04.541Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-02-22T06:16:04.993Z] + ls -al . [2021-02-22T06:16:04.993Z] total 184 [2021-02-22T06:16:04.993Z] drwxrwxr-x. 10 jenkins jenkins 4096 Feb 22 06:15 . [2021-02-22T06:16:04.994Z] drwxrwxr-x. 4 jenkins jenkins 32 Feb 22 06:12 .. [2021-02-22T06:16:04.994Z] drwxrwxr-x. 2 jenkins jenkins 64 Feb 22 06:12 bin [2021-02-22T06:16:04.994Z] -rw-r--r--. 1 jenkins jenkins 101758 Feb 22 06:15 coverage.out [2021-02-22T06:16:04.994Z] -rw-rw-r--. 1 jenkins jenkins 949 Feb 22 06:12 Dockerfile.build [2021-02-22T06:16:04.994Z] -rw-rw-r--. 1 jenkins jenkins 140 Feb 22 06:12 .dockerignore [2021-02-22T06:16:04.994Z] drwxrwxr-x. 4 jenkins jenkins 48 Feb 22 06:12 example [2021-02-22T06:16:04.994Z] drwxrwxr-x. 8 jenkins jenkins 162 Feb 22 06:12 .git [2021-02-22T06:16:04.994Z] drwxrwxr-x. 2 jenkins jenkins 103 Feb 22 06:12 .github [2021-02-22T06:16:04.994Z] -rw-rw-r--. 1 jenkins jenkins 138 Feb 22 06:12 .gitignore [2021-02-22T06:16:04.994Z] -rw-r--r--. 1 jenkins jenkins 515 Feb 22 06:15 go.mod [2021-02-22T06:16:04.994Z] -rw-r--r--. 1 jenkins jenkins 19062 Feb 22 06:15 go.sum [2021-02-22T06:16:04.994Z] drwxrwxr-x. 13 jenkins jenkins 183 Feb 22 06:12 internal [2021-02-22T06:16:04.994Z] -rw-rw-r--. 1 jenkins jenkins 901 Feb 22 06:12 Jenkinsfile [2021-02-22T06:16:04.994Z] -rw-rw-r--. 1 jenkins jenkins 11341 Feb 22 06:12 LICENSE [2021-02-22T06:16:04.994Z] -rw-rw-r--. 1 jenkins jenkins 1016 Feb 22 06:12 Makefile [2021-02-22T06:16:04.994Z] drwxrwxr-x. 4 jenkins jenkins 26 Feb 22 06:12 openapi [2021-02-22T06:16:04.994Z] drwxrwxr-x. 5 jenkins jenkins 50 Feb 22 06:12 pkg [2021-02-22T06:16:04.994Z] -rw-rw-r--. 1 jenkins jenkins 5897 Feb 22 06:12 README.md [2021-02-22T06:16:04.994Z] -rw-rw-r--. 1 jenkins jenkins 6616 Feb 22 06:12 RELEASE-NOTES.txt [2021-02-22T06:16:04.994Z] drwxrwxr-x. 4 jenkins jenkins 54 Feb 22 06:12 snap [2021-02-22T06:16:04.994Z] -rw-rw-r--. 1 jenkins jenkins 12 Feb 22 06:07 VERSION [2021-02-22T06:16:04.994Z] -rw-rw-r--. 1 jenkins jenkins 222 Feb 22 06:12 version.go [Pipeline] isUnix [Pipeline] sh [2021-02-22T06:16:05.939Z] + docker build -t docker-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=90f0e220c38dfa765b59e93e9c62ca721e898d74 --label arch=amd64 --label version=2.0.0-dev.13 . [2021-02-22T06:16:06.219Z] Sending build context to Docker daemon 2.486MB [2021-02-22T06:16:06.219Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-02-22T06:16:06.219Z] Step 2/24 : FROM ${BASE} AS builder [2021-02-22T06:16:06.219Z] ---> e998164a566e [2021-02-22T06:16:06.219Z] Step 3/24 : ARG MAKE='make build' [2021-02-22T06:16:06.943Z] ---> Running in d73e58209980 [2021-02-22T06:16:06.943Z] Removing intermediate container d73e58209980 [2021-02-22T06:16:06.943Z] ---> cc92cca76773 [2021-02-22T06:16:06.943Z] Step 4/24 : WORKDIR /device-sdk-go [2021-02-22T06:16:07.591Z] ---> Running in 3062ed83b684 [2021-02-22T06:16:07.591Z] Removing intermediate container 3062ed83b684 [2021-02-22T06:16:07.591Z] ---> 8287b56c6ec8 [2021-02-22T06:16:07.979Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-22T06:16:07.979Z] ---> Running in 656a8f2dc2b8 [2021-02-22T06:16:08.560Z] Removing intermediate container 656a8f2dc2b8 [2021-02-22T06:16:08.560Z] ---> 6772fdeacfc3 [2021-02-22T06:16:08.560Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-22T06:16:08.560Z] ---> Running in 9b7c27c7d17b [2021-02-22T06:16:11.437Z] Removing intermediate container 9b7c27c7d17b [2021-02-22T06:16:11.437Z] ---> 592e4225eecc [2021-02-22T06:16:11.437Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-02-22T06:16:11.437Z] ---> Running in 7cd92237ea2a [2021-02-22T06:16:12.255Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-02-22T06:16:14.144Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-02-22T06:16:15.739Z] OK: 166 MiB in 39 packages [2021-02-22T06:16:16.026Z] Removing intermediate container 7cd92237ea2a [2021-02-22T06:16:16.026Z] ---> b221901d8193 [2021-02-22T06:16:16.026Z] Step 8/24 : COPY . . [2021-02-22T06:16:18.161Z] ---> 568061e3a66f [2021-02-22T06:16:18.161Z] Step 9/24 : RUN ${MAKE} [2021-02-22T06:16:18.161Z] ---> Running in f88f93992654 [2021-02-22T06:16:18.448Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.0-dev.13" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-02-22T06:16:31.711Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-02-22T06:16:36.518Z] Removing intermediate container f88f93992654 [2021-02-22T06:16:36.518Z] ---> cc835e5f5867 [2021-02-22T06:16:36.518Z] Step 10/24 : FROM scratch [2021-02-22T06:16:36.518Z] ---> [2021-02-22T06:16:36.518Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-22T06:16:36.518Z] ---> Running in c1779d342bba [2021-02-22T06:16:36.518Z] Removing intermediate container c1779d342bba [2021-02-22T06:16:36.518Z] ---> a38b76b32df5 [2021-02-22T06:16:36.518Z] Step 12/24 : ENV APP_PORT=49990 [2021-02-22T06:16:36.844Z] ---> Running in 633107b34fec [2021-02-22T06:16:37.122Z] Removing intermediate container 633107b34fec [2021-02-22T06:16:37.122Z] ---> e72fef735710 [2021-02-22T06:16:37.122Z] Step 13/24 : EXPOSE $APP_PORT [2021-02-22T06:16:37.122Z] ---> Running in 39542a9d0ce5 [2021-02-22T06:16:37.408Z] Removing intermediate container 39542a9d0ce5 [2021-02-22T06:16:37.408Z] ---> 6aaac19066e3 [2021-02-22T06:16:37.408Z] Step 14/24 : WORKDIR / [2021-02-22T06:16:37.840Z] ---> Running in 5c21d0d63269 [2021-02-22T06:16:38.135Z] Removing intermediate container 5c21d0d63269 [2021-02-22T06:16:38.135Z] ---> 35456d429a89 [2021-02-22T06:16:38.135Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-02-22T06:16:40.254Z] ---> bafb8b8c23a5 [2021-02-22T06:16:40.254Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-02-22T06:16:40.880Z] ---> e4b64f948dd5 [2021-02-22T06:16:40.880Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-02-22T06:16:41.963Z] ---> 2febca19a9a8 [2021-02-22T06:16:41.963Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-02-22T06:16:42.602Z] ---> 5d565964fe84 [2021-02-22T06:16:42.602Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-02-22T06:16:42.943Z] ---> 96f151bd0c83 [2021-02-22T06:16:42.943Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-02-22T06:16:42.943Z] ---> Running in 7ac8f8f9baae [2021-02-22T06:16:43.271Z] Removing intermediate container 7ac8f8f9baae [2021-02-22T06:16:43.271Z] ---> 56ee498b0f31 [2021-02-22T06:16:43.271Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-02-22T06:16:43.599Z] ---> Running in 114394b20559 [2021-02-22T06:16:43.971Z] Removing intermediate container 114394b20559 [2021-02-22T06:16:43.971Z] ---> 864fb1b92f6e [2021-02-22T06:16:43.971Z] Step 22/24 : LABEL arch=amd64 [2021-02-22T06:16:43.971Z] ---> Running in d28be4680a42 [2021-02-22T06:16:44.287Z] Removing intermediate container d28be4680a42 [2021-02-22T06:16:44.287Z] ---> 780643534b55 [2021-02-22T06:16:44.287Z] Step 23/24 : LABEL git_sha=90f0e220c38dfa765b59e93e9c62ca721e898d74 [2021-02-22T06:16:44.287Z] ---> Running in e09911630d4e [2021-02-22T06:16:44.597Z] Removing intermediate container e09911630d4e [2021-02-22T06:16:44.597Z] ---> 902595ee182e [2021-02-22T06:16:44.597Z] Step 24/24 : LABEL version=2.0.0-dev.13 [2021-02-22T06:16:44.597Z] ---> Running in 7d899f0a11b3 [2021-02-22T06:16:44.937Z] Removing intermediate container 7d899f0a11b3 [2021-02-22T06:16:44.937Z] ---> af0d7d86e252 [2021-02-22T06:16:44.937Z] [Warning] One or more build-args [ARCH] were not consumed [2021-02-22T06:16:45.288Z] Successfully built af0d7d86e252 [2021-02-22T06:16:45.288Z] Successfully tagged docker-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 [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] wrap [2021-02-22T06:16:48.563Z] provisioning config files... [2021-02-22T06:16:48.574Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config7710857282479621348tmp [Pipeline] { [Pipeline] sh [2021-02-22T06:16:48.960Z] + set +x [2021-02-22T06:16:48.960Z] + curl -s https://codecov.io/bash [2021-02-22T06:16:48.960Z] + bash -s -- [2021-02-22T06:16:49.221Z] [2021-02-22T06:16:49.221Z] _____ _ [2021-02-22T06:16:49.221Z] / ____| | | [2021-02-22T06:16:49.221Z] | | ___ __| | ___ ___ _____ __ [2021-02-22T06:16:49.221Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-02-22T06:16:49.221Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-02-22T06:16:49.221Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-02-22T06:16:49.221Z] Bash-20210129-7c25fce [2021-02-22T06:16:49.221Z] [2021-02-22T06:16:49.221Z] [2021-02-22T06:16:49.221Z] ==> git version 2.24.3 found [2021-02-22T06:16:49.221Z] ==> 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-02-22T06:16:49.221Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-02-22T06:16:49.221Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-02-22T06:16:49.221Z] ==> Jenkins CI detected. [2021-02-22T06:16:49.221Z] project root: . [2021-02-22T06:16:49.221Z] --> token set from env [2021-02-22T06:16:49.221Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-02-22T06:16:49.221Z] ==> Running gcov in . (disable via -X gcov) [2021-02-22T06:16:49.221Z] ==> Python coveragepy not found [2021-02-22T06:16:49.221Z] ==> Searching for coverage reports in: [2021-02-22T06:16:49.221Z] + . [2021-02-22T06:16:49.221Z] -> Found 1 reports [2021-02-22T06:16:49.221Z] ==> Detecting git/mercurial file structure [2021-02-22T06:16:49.221Z] ==> Reading reports [2021-02-22T06:16:49.221Z] + ./coverage.out bytes=101758 [2021-02-22T06:16:49.221Z] ==> Appending adjustments [2021-02-22T06:16:49.221Z] https://docs.codecov.io/docs/fixing-reports [2021-02-22T06:16:49.797Z] + Found adjustments [2021-02-22T06:16:49.797Z] ==> Gzipping contents [2021-02-22T06:16:49.797Z] 20K /tmp/codecov.IRgKcx.gz [2021-02-22T06:16:49.797Z] ==> Uploading reports [2021-02-22T06:16:49.797Z] url: https://codecov.io [2021-02-22T06:16:49.797Z] query: branch=master&commit=90f0e220c38dfa765b59e93e9c62ca721e898d74&build=118&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F118%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-02-22T06:16:49.797Z] -> Pinging Codecov [2021-02-22T06:16:49.797Z] https://codecov.io/upload/v4?package=bash-20210129-7c25fce&token=secret&branch=master&commit=90f0e220c38dfa765b59e93e9c62ca721e898d74&build=118&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F118%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-02-22T06:16:50.059Z] -> Uploading to [2021-02-22T06:16:50.059Z] https://storage.googleapis.com/codecov/v4/raw/2021-02-22/7E55EF52A471D76F132DFD9A03CDDE97/90f0e220c38dfa765b59e93e9c62ca721e898d74/220f1afd-50ab-4d3d-a45f-63a2a7bebc4e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210222%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210222T061649Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=eca039510da0d2cbd5015b54b47b708f63d96933934d3d56795d987c8539d155 [2021-02-22T06:16:50.059Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-02-22T06:16:50.060Z] Dload Upload Total Spent Left Speed [2021-02-22T06:16:50.637Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16525 0 0 100 16525 0 36079 --:--:-- --:--:-- --:--:-- 36159 [2021-02-22T06:16:50.637Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/90f0e220c38dfa765b59e93e9c62ca721e898d74 [Pipeline] } [2021-02-22T06:16:50.648Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-02-22T06:16:51.634Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-02-22T06:16:51.710Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-22T06:16:52.061Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-02-22T06:16:52.061Z] [2021-02-22T06:16:52.061Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-02-22T06:16:52.438Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-02-22T06:16:52.438Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-02-22T06:16:52.438Z] 188c0c94c7c5: Pulling fs layer [2021-02-22T06:16:52.438Z] 0ef7d3d256c8: Pulling fs layer [2021-02-22T06:16:52.438Z] de9db76c5a1d: Pulling fs layer [2021-02-22T06:16:52.438Z] 0eba1c9be4d2: Pulling fs layer [2021-02-22T06:16:52.438Z] 0d57e429df01: Pulling fs layer [2021-02-22T06:16:52.438Z] 4e4be7b47b0d: Pulling fs layer [2021-02-22T06:16:52.438Z] e1f770b5df2f: Pulling fs layer [2021-02-22T06:16:52.438Z] 85a0685a4137: Pulling fs layer [2021-02-22T06:16:52.438Z] 4e4be7b47b0d: Waiting [2021-02-22T06:16:52.438Z] e1f770b5df2f: Waiting [2021-02-22T06:16:52.438Z] 0d57e429df01: Waiting [2021-02-22T06:16:52.438Z] 0eba1c9be4d2: Waiting [2021-02-22T06:16:52.438Z] 85a0685a4137: Waiting [2021-02-22T06:16:52.438Z] de9db76c5a1d: Verifying Checksum [2021-02-22T06:16:52.438Z] de9db76c5a1d: Download complete [2021-02-22T06:16:52.438Z] 0ef7d3d256c8: Download complete [2021-02-22T06:16:52.438Z] 0d57e429df01: Verifying Checksum [2021-02-22T06:16:52.438Z] 0d57e429df01: Download complete [2021-02-22T06:16:52.438Z] 4e4be7b47b0d: Verifying Checksum [2021-02-22T06:16:52.438Z] 4e4be7b47b0d: Download complete [2021-02-22T06:16:52.438Z] 188c0c94c7c5: Download complete [2021-02-22T06:16:53.018Z] 188c0c94c7c5: Pull complete [2021-02-22T06:16:53.018Z] 0ef7d3d256c8: Pull complete [2021-02-22T06:16:53.280Z] de9db76c5a1d: Pull complete [2021-02-22T06:16:54.688Z] e1f770b5df2f: Verifying Checksum [2021-02-22T06:16:54.688Z] e1f770b5df2f: Download complete [2021-02-22T06:16:56.091Z] 85a0685a4137: Download complete [2021-02-22T06:16:57.049Z] 0eba1c9be4d2: Verifying Checksum [2021-02-22T06:16:57.049Z] 0eba1c9be4d2: Download complete [2021-02-22T06:17:02.369Z] 0eba1c9be4d2: Pull complete [2021-02-22T06:17:02.632Z] 0d57e429df01: Pull complete [2021-02-22T06:17:02.897Z] 4e4be7b47b0d: Pull complete [2021-02-22T06:17:04.827Z] e1f770b5df2f: Pull complete [2021-02-22T06:17:13.012Z] 85a0685a4137: Pull complete [2021-02-22T06:17:13.012Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-02-22T06:17:13.012Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-02-22T06:17:13.012Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-02-22T06:17:13.231Z] prd-centos7-docker-4c-2g-27115 does not seem to be running inside a container [2021-02-22T06:17:13.293Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-02-22T06:17:14.626Z] $ docker top 6529f6852e069a8ccb7daf82eafaa046a35b0c15a5290d85396460c9e3be0f22 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-02-22T06:17:14.863Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-02-22T06:17:15.156Z] + set -o pipefail [2021-02-22T06:17:15.156Z] + snyk monitor '--org=edgex-jenkins' [2021-02-22T06:17:53.938Z] [2021-02-22T06:17:53.938Z] Monitoring /w/workspace/dgexfoundry_device-sdk-go_master (github.com/edgexfoundry/device-sdk-go/v2)... [2021-02-22T06:17:53.938Z] [2021-02-22T06:17:53.938Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/449a113f-bf7a-4256-8cd2-15739b7710b1 [2021-02-22T06:17:53.938Z] [2021-02-22T06:17:53.938Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-02-22T06:17:53.938Z] [2021-02-22T06:17:53.938Z] [2021-02-22T06:17:53.938Z] You have reached your monthly limit of 300 private tests for your edgex-jenkins org. [2021-02-22T06:17:53.938Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2021-02-22T06:17:53.955Z] $ docker stop --time=1 6529f6852e069a8ccb7daf82eafaa046a35b0c15a5290d85396460c9e3be0f22 [2021-02-22T06:17:56.759Z] $ docker rm -f 6529f6852e069a8ccb7daf82eafaa046a35b0c15a5290d85396460c9e3be0f22 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo [2021-02-22T06:17:58.380Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-02-22T06:17:58.442Z] provisioning config files... [2021-02-22T06:17:58.453Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config8018591128360103949tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-22T06:17:58.833Z] --> edgex-publish-swagger.sh [2021-02-22T06:17:58.833Z] === Publish openapi/v1 API === [2021-02-22T06:17:58.833Z] [publishToSwagger] Publishing the API Docs [openapi/v1] to Swagger [2021-02-22T06:17:58.833Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/dgexfoundry_device-sdk-go_master/openapi/v1/device-sdk.yaml] [2021-02-22T06:17:58.833Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-02-22T06:17:58.833Z] Dload Upload Total Spent Left Speed [2021-02-22T06:17:59.778Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 19947 0 0 100 19947 0 24183 --:--:-- --:--:-- --:--:-- 24207 [2021-02-22T06:17:59.778Z] [2021-02-22T06:17:59.778Z] [2021-02-22T06:17:59.778Z] === Publish openapi/v2 API === [2021-02-22T06:17:59.778Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2021-02-22T06:17:59.778Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/dgexfoundry_device-sdk-go_master/openapi/v2/device-sdk.yaml] [2021-02-22T06:17:59.778Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-02-22T06:17:59.778Z] Dload Upload Total Spent Left Speed [2021-02-22T06:18:00.353Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 52256 0 0 100 52256 0 69861 --:--:-- --:--:-- --:--:-- 69860 [2021-02-22T06:18:00.353Z] [2021-02-22T06:18:00.353Z] [Pipeline] } [2021-02-22T06:18:00.363Z] 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-02-22T06:18:01.264Z] + git log --format=format:%s -1 90f0e220c38dfa765b59e93e9c62ca721e898d74 [Pipeline] isUnix [Pipeline] sh [2021-02-22T06:18:01.574Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-22T06:18:01.574Z] . [Pipeline] withDockerContainer [2021-02-22T06:18:01.678Z] prd-centos7-docker-4c-2g-27115 does not seem to be running inside a container [2021-02-22T06:18:01.728Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-02-22T06:18:02.537Z] $ docker top cf333ca73ed76c795e7e13c4b23f48a909d98d4325a4345777d7f3e4db2e468a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-22T06:18:02.828Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-22T06:18:02.828Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-22T06:18:03.076Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-22T06:18:03.079Z] $ docker exec cf333ca73ed76c795e7e13c4b23f48a909d98d4325a4345777d7f3e4db2e468a ssh-agent [2021-02-22T06:18:03.260Z] SSH_AUTH_SOCK=/tmp/ssh-hX5KTUzQ0PcU/agent.12 [2021-02-22T06:18:03.260Z] SSH_AGENT_PID=17 [2021-02-22T06:18:03.270Z] Running ssh-add (command line suppressed) [2021-02-22T06:18:03.415Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_1939889164761274910.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_1939889164761274910.key) [2021-02-22T06:18:03.472Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-22T06:18:03.879Z] + git semver tag [2021-02-22T06:18:03.879Z] # -> Open(): unable to determine branch for HEAD [2021-02-22T06:18:03.879Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2021-02-22T06:18:03.879Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2021-02-22T06:18:03.879Z] # $SEMVER_REMOTE_NAME = origin [2021-02-22T06:18:03.879Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-22T06:18:03.879Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-22T06:18:03.879Z] # $SEMVER_BRANCH = master [2021-02-22T06:18:03.879Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2021-02-22T06:18:03.879Z] # 90f0e220c38dfa765b59e93e9c62ca721e898d74 HEAD [2021-02-22T06:18:03.879Z] # -> Force: false [2021-02-22T06:18:03.879Z] # af9a6ab1f9895ec233955dc004b036aac58dd158 refs/tags/v2.0.0-dev.13 [Pipeline] } [2021-02-22T06:18:03.907Z] $ docker exec --env ******** --env ******** cf333ca73ed76c795e7e13c4b23f48a909d98d4325a4345777d7f3e4db2e468a ssh-agent -k [2021-02-22T06:18:04.037Z] unset SSH_AUTH_SOCK; [2021-02-22T06:18:04.037Z] unset SSH_AGENT_PID; [2021-02-22T06:18:04.038Z] echo Agent pid 17 killed; [2021-02-22T06:18:04.094Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-22T06:18:04.716Z] + git semver [Pipeline] } [2021-02-22T06:18:04.734Z] $ docker stop --time=1 cf333ca73ed76c795e7e13c4b23f48a909d98d4325a4345777d7f3e4db2e468a [2021-02-22T06:18:06.084Z] $ docker rm -f cf333ca73ed76c795e7e13c4b23f48a909d98d4325a4345777d7f3e4db2e468a [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-02-22T06:18:06.712Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-02-22T06:18:06.712Z] [2021-02-22T06:18:06.712Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-02-22T06:18:07.088Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-02-22T06:18:07.088Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-02-22T06:18:07.088Z] ab5ef0e58194: Pulling fs layer [2021-02-22T06:18:07.088Z] 9712f1f96733: Pulling fs layer [2021-02-22T06:18:07.088Z] 63f879dbbcfc: Pulling fs layer [2021-02-22T06:18:07.088Z] 0d9ebad4ef96: Pulling fs layer [2021-02-22T06:18:07.088Z] e9a5061849ea: Pulling fs layer [2021-02-22T06:18:07.088Z] d747dcd14b5f: Pulling fs layer [2021-02-22T06:18:07.088Z] 2de7ff778b66: Pulling fs layer [2021-02-22T06:18:07.088Z] e9a5061849ea: Waiting [2021-02-22T06:18:07.088Z] 0d9ebad4ef96: Waiting [2021-02-22T06:18:07.088Z] d747dcd14b5f: Waiting [2021-02-22T06:18:07.088Z] 2de7ff778b66: Waiting [2021-02-22T06:18:07.088Z] 9712f1f96733: Verifying Checksum [2021-02-22T06:18:07.088Z] 9712f1f96733: Download complete [2021-02-22T06:18:09.010Z] 63f879dbbcfc: Verifying Checksum [2021-02-22T06:18:09.010Z] 63f879dbbcfc: Download complete [2021-02-22T06:18:09.010Z] e9a5061849ea: Verifying Checksum [2021-02-22T06:18:09.010Z] e9a5061849ea: Download complete [2021-02-22T06:18:09.010Z] d747dcd14b5f: Verifying Checksum [2021-02-22T06:18:09.010Z] d747dcd14b5f: Download complete [2021-02-22T06:18:09.274Z] 2de7ff778b66: Verifying Checksum [2021-02-22T06:18:09.274Z] 2de7ff778b66: Download complete [2021-02-22T06:18:09.538Z] 0d9ebad4ef96: Verifying Checksum [2021-02-22T06:18:09.538Z] 0d9ebad4ef96: Download complete [2021-02-22T06:18:09.799Z] ab5ef0e58194: Verifying Checksum [2021-02-22T06:18:09.800Z] ab5ef0e58194: Download complete [2021-02-22T06:18:14.041Z] ab5ef0e58194: Pull complete [2021-02-22T06:18:14.041Z] 9712f1f96733: Pull complete [2021-02-22T06:18:16.601Z] 63f879dbbcfc: Pull complete [2021-02-22T06:18:23.268Z] 0d9ebad4ef96: Pull complete [2021-02-22T06:18:24.663Z] e9a5061849ea: Pull complete [2021-02-22T06:18:24.663Z] d747dcd14b5f: Pull complete [2021-02-22T06:18:27.222Z] 2de7ff778b66: Pull complete [2021-02-22T06:18:27.222Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-02-22T06:18:27.222Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-02-22T06:18:27.222Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-02-22T06:18:27.405Z] prd-centos7-docker-4c-2g-27115 does not seem to be running inside a container [2021-02-22T06:18:27.450Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-02-22T06:18:31.398Z] $ docker top 63f5c6d39f0aaece0020272dfd23717220615ac50f7c3b8524d615176be7ff58 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-02-22T06:18:31.646Z] provisioning config files... [2021-02-22T06:18:31.657Z] copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config8448275034354420305tmp [2021-02-22T06:18:31.674Z] copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config2290326260655712187tmp [2021-02-22T06:18:31.692Z] copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config4910447225897787833tmp [Pipeline] { [Pipeline] echo [2021-02-22T06:18:31.748Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-22T06:18:32.049Z] ---> sigul-configuration.sh [2021-02-22T06:18:32.049Z] gpg: directory `/root/.gnupg' created [2021-02-22T06:18:32.049Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-02-22T06:18:32.049Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-02-22T06:18:32.049Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-02-22T06:18:32.049Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-02-22T06:18:32.049Z] gpg: CAST5 encrypted data [2021-02-22T06:18:32.311Z] gpg: encrypted with 1 passphrase [2021-02-22T06:18:32.311Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-02-22T06:18:32.609Z] + mkdir /home/jenkins [2021-02-22T06:18:32.609Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-02-22T06:18:32.909Z] + 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-02-22T06:18:32.919Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-22T06:18:33.221Z] ---> sigul-install.sh [2021-02-22T06:18:39.841Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-02-22T06:18:40.140Z] + git tag --list [2021-02-22T06:18:40.140Z] 0.7.1 [2021-02-22T06:18:40.140Z] delhi-tag [2021-02-22T06:18:40.140Z] v1.0.0 [2021-02-22T06:18:40.140Z] v1.1.0 [2021-02-22T06:18:40.140Z] v1.1.1 [2021-02-22T06:18:40.140Z] v1.1.2 [2021-02-22T06:18:40.140Z] v1.2.0 [2021-02-22T06:18:40.140Z] v1.2.1 [2021-02-22T06:18:40.140Z] v1.2.2 [2021-02-22T06:18:40.140Z] v1.2.3 [2021-02-22T06:18:40.140Z] v1.3.0 [2021-02-22T06:18:40.140Z] v1.4.0 [2021-02-22T06:18:40.140Z] v2.0.0-dev.1 [2021-02-22T06:18:40.140Z] v2.0.0-dev.10 [2021-02-22T06:18:40.140Z] v2.0.0-dev.11 [2021-02-22T06:18:40.140Z] v2.0.0-dev.12 [2021-02-22T06:18:40.140Z] v2.0.0-dev.13 [2021-02-22T06:18:40.140Z] v2.0.0-dev.2 [2021-02-22T06:18:40.140Z] v2.0.0-dev.3 [2021-02-22T06:18:40.140Z] v2.0.0-dev.4 [2021-02-22T06:18:40.140Z] v2.0.0-dev.5 [2021-02-22T06:18:40.140Z] v2.0.0-dev.6 [2021-02-22T06:18:40.140Z] v2.0.0-dev.7 [2021-02-22T06:18:40.140Z] v2.0.0-dev.8 [2021-02-22T06:18:40.140Z] v2.0.0-dev.9 [Pipeline] sh [2021-02-22T06:18:40.440Z] + lftools sign git-tag v2.0.0-dev.13 [2021-02-22T06:18:41.832Z] Signing Git tag with Sigul... [2021-02-22T06:18:41.832Z] Signing v2.0.0-dev.13 [Pipeline] echo [2021-02-22T06:18:42.791Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-22T06:18:43.090Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-02-22T06:18:43.100Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-02-22T06:18:43.203Z] $ docker stop --time=1 63f5c6d39f0aaece0020272dfd23717220615ac50f7c3b8524d615176be7ff58 [2021-02-22T06:18:45.247Z] $ docker rm -f 63f5c6d39f0aaece0020272dfd23717220615ac50f7c3b8524d615176be7ff58 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-02-22T06:18:46.192Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-22T06:18:46.192Z] . [Pipeline] withDockerContainer [2021-02-22T06:18:46.295Z] prd-centos7-docker-4c-2g-27115 does not seem to be running inside a container [2021-02-22T06:18:46.341Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-02-22T06:18:46.960Z] $ docker top 99c15ef429166a423a3e69d8f97a874b682d2109b0a43785e8290885a506e813 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-22T06:18:47.358Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-22T06:18:47.358Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-22T06:18:47.548Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-22T06:18:47.552Z] $ docker exec 99c15ef429166a423a3e69d8f97a874b682d2109b0a43785e8290885a506e813 ssh-agent [2021-02-22T06:18:47.728Z] SSH_AUTH_SOCK=/tmp/ssh-u4ntYjCk9HhW/agent.12 [2021-02-22T06:18:47.728Z] SSH_AGENT_PID=17 [2021-02-22T06:18:47.735Z] Running ssh-add (command line suppressed) [2021-02-22T06:18:47.862Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7043622457943562164.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7043622457943562164.key) [2021-02-22T06:18:47.918Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-22T06:18:48.262Z] + git semver bump pre [2021-02-22T06:18:48.262Z] # -> Open(): unable to determine branch for HEAD [2021-02-22T06:18:48.262Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2021-02-22T06:18:48.262Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2021-02-22T06:18:48.262Z] # $SEMVER_REMOTE_NAME = origin [2021-02-22T06:18:48.262Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-22T06:18:48.262Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-22T06:18:48.262Z] # $SEMVER_BRANCH = master [2021-02-22T06:18:48.262Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2021-02-22T06:18:48.262Z] 2.0.0-dev.14 [Pipeline] } [2021-02-22T06:18:48.275Z] $ docker exec --env ******** --env ******** 99c15ef429166a423a3e69d8f97a874b682d2109b0a43785e8290885a506e813 ssh-agent -k [2021-02-22T06:18:48.404Z] unset SSH_AUTH_SOCK; [2021-02-22T06:18:48.406Z] unset SSH_AGENT_PID; [2021-02-22T06:18:48.406Z] echo Agent pid 17 killed; [2021-02-22T06:18:48.449Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-22T06:18:48.932Z] + git semver [Pipeline] } [2021-02-22T06:18:48.951Z] $ docker stop --time=1 99c15ef429166a423a3e69d8f97a874b682d2109b0a43785e8290885a506e813 [2021-02-22T06:18:50.328Z] $ docker rm -f 99c15ef429166a423a3e69d8f97a874b682d2109b0a43785e8290885a506e813 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-02-22T06:18:50.996Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-22T06:18:50.996Z] . [Pipeline] withDockerContainer [2021-02-22T06:18:51.153Z] prd-centos7-docker-4c-2g-27115 does not seem to be running inside a container [2021-02-22T06:18:51.206Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-02-22T06:18:51.832Z] $ docker top 97eeaf4027c927c212d2e089a5759a70a07ee177648a6157e0e5215789065f2d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-22T06:18:52.135Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-22T06:18:52.135Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-22T06:18:52.335Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-22T06:18:52.339Z] $ docker exec 97eeaf4027c927c212d2e089a5759a70a07ee177648a6157e0e5215789065f2d ssh-agent [2021-02-22T06:18:52.595Z] SSH_AUTH_SOCK=/tmp/ssh-BsTw8u0RUxhu/agent.11 [2021-02-22T06:18:52.595Z] SSH_AGENT_PID=16 [2021-02-22T06:18:52.603Z] Running ssh-add (command line suppressed) [2021-02-22T06:18:52.753Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_1553234585466540808.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_1553234585466540808.key) [2021-02-22T06:18:52.808Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-22T06:18:53.156Z] + git semver push [2021-02-22T06:18:53.156Z] # -> Open(): unable to determine branch for HEAD [2021-02-22T06:18:53.156Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2021-02-22T06:18:53.156Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2021-02-22T06:18:53.156Z] # $SEMVER_REMOTE_NAME = origin [2021-02-22T06:18:53.156Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-22T06:18:53.156Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-22T06:18:53.156Z] # $SEMVER_BRANCH = master [2021-02-22T06:18:53.156Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2021-02-22T06:18:58.475Z] $ docker exec --env ******** --env ******** 97eeaf4027c927c212d2e089a5759a70a07ee177648a6157e0e5215789065f2d ssh-agent -k [2021-02-22T06:18:58.602Z] unset SSH_AUTH_SOCK; [2021-02-22T06:18:58.602Z] unset SSH_AGENT_PID; [2021-02-22T06:18:58.602Z] echo Agent pid 16 killed; [2021-02-22T06:18:58.654Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-22T06:18:59.150Z] + git semver [Pipeline] } [2021-02-22T06:18:59.166Z] $ docker stop --time=1 97eeaf4027c927c212d2e089a5759a70a07ee177648a6157e0e5215789065f2d [2021-02-22T06:19:00.570Z] $ docker rm -f 97eeaf4027c927c212d2e089a5759a70a07ee177648a6157e0e5215789065f2d [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] libraryResource [Pipeline] sh [2021-02-22T06:19:02.423Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-22T06:19:03.307Z] ---> package-listing.sh [2021-02-22T06:19:03.307Z] ++ facter osfamily [2021-02-22T06:19:03.307Z] ++ tr '[:upper:]' '[:lower:]' [2021-02-22T06:19:03.307Z] + OS_FAMILY=redhat [2021-02-22T06:19:03.307Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_master [2021-02-22T06:19:03.307Z] + START_PACKAGES=/tmp/packages_start.txt [2021-02-22T06:19:03.307Z] + END_PACKAGES=/tmp/packages_end.txt [2021-02-22T06:19:03.307Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-02-22T06:19:03.307Z] + PACKAGES=/tmp/packages_start.txt [2021-02-22T06:19:03.307Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2021-02-22T06:19:03.307Z] + PACKAGES=/tmp/packages_end.txt [2021-02-22T06:19:03.307Z] + case "${OS_FAMILY}" in [2021-02-22T06:19:03.307Z] + rpm -qa [2021-02-22T06:19:03.307Z] + sort [2021-02-22T06:19:08.617Z] + '[' -f /tmp/packages_start.txt ']' [2021-02-22T06:19:08.617Z] + '[' -f /tmp/packages_end.txt ']' [2021-02-22T06:19:08.617Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-02-22T06:19:08.617Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2021-02-22T06:19:08.617Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [2021-02-22T06:19:08.617Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [Pipeline] echo [2021-02-22T06:19:08.630Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-02-22T06:19:08.918Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-02-22T06:19:09.220Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-22T06:19:09.220Z] [2021-02-22T06:19:09.220Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-02-22T06:19:09.575Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-22T06:19:09.575Z] alpine: Pulling from edgex-lftools-log-publisher [2021-02-22T06:19:09.575Z] df20fa9351a1: Pulling fs layer [2021-02-22T06:19:09.575Z] 36b3adc4ff6f: Pulling fs layer [2021-02-22T06:19:09.575Z] 8ad3a11d3b57: Pulling fs layer [2021-02-22T06:19:09.575Z] 46f8f816bc3b: Pulling fs layer [2021-02-22T06:19:09.575Z] 93b61091891f: Pulling fs layer [2021-02-22T06:19:09.575Z] 93b9cdb0e59b: Pulling fs layer [2021-02-22T06:19:09.575Z] 5e14af77c1be: Pulling fs layer [2021-02-22T06:19:09.575Z] 01666e4c0597: Pulling fs layer [2021-02-22T06:19:09.575Z] aa168da1d23b: Pulling fs layer [2021-02-22T06:19:09.575Z] 93b9cdb0e59b: Waiting [2021-02-22T06:19:09.575Z] 5e14af77c1be: Waiting [2021-02-22T06:19:09.575Z] 01666e4c0597: Waiting [2021-02-22T06:19:09.575Z] 46f8f816bc3b: Waiting [2021-02-22T06:19:09.575Z] 93b61091891f: Waiting [2021-02-22T06:19:09.575Z] 36b3adc4ff6f: Verifying Checksum [2021-02-22T06:19:09.575Z] 36b3adc4ff6f: Download complete [2021-02-22T06:19:09.575Z] 46f8f816bc3b: Verifying Checksum [2021-02-22T06:19:09.575Z] 46f8f816bc3b: Download complete [2021-02-22T06:19:09.575Z] df20fa9351a1: Verifying Checksum [2021-02-22T06:19:09.575Z] df20fa9351a1: Download complete [2021-02-22T06:19:09.575Z] 93b9cdb0e59b: Verifying Checksum [2021-02-22T06:19:09.575Z] 93b9cdb0e59b: Download complete [2021-02-22T06:19:09.839Z] 5e14af77c1be: Download complete [2021-02-22T06:19:09.839Z] 01666e4c0597: Verifying Checksum [2021-02-22T06:19:09.839Z] 01666e4c0597: Download complete [2021-02-22T06:19:09.839Z] 93b61091891f: Verifying Checksum [2021-02-22T06:19:09.839Z] 93b61091891f: Download complete [2021-02-22T06:19:09.839Z] 8ad3a11d3b57: Verifying Checksum [2021-02-22T06:19:09.839Z] 8ad3a11d3b57: Download complete [2021-02-22T06:19:10.417Z] df20fa9351a1: Pull complete [2021-02-22T06:19:10.417Z] 36b3adc4ff6f: Pull complete [2021-02-22T06:19:11.819Z] 8ad3a11d3b57: Pull complete [2021-02-22T06:19:12.399Z] aa168da1d23b: Verifying Checksum [2021-02-22T06:19:12.399Z] aa168da1d23b: Download complete [2021-02-22T06:19:12.399Z] 46f8f816bc3b: Pull complete [2021-02-22T06:19:12.660Z] 93b61091891f: Pull complete [2021-02-22T06:19:12.922Z] 93b9cdb0e59b: Pull complete [2021-02-22T06:19:12.922Z] 5e14af77c1be: Pull complete [2021-02-22T06:19:13.185Z] 01666e4c0597: Pull complete [2021-02-22T06:19:21.353Z] aa168da1d23b: Pull complete [2021-02-22T06:19:21.354Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-02-22T06:19:21.354Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-22T06:19:21.354Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-02-22T06:19:21.548Z] prd-centos7-docker-4c-2g-27115 does not seem to be running inside a container [2021-02-22T06:19:21.595Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-02-22T06:19:25.009Z] $ docker top cb00f846e6a761811957c8a07c55baca7bcf463664d65896d083c8639a2220bd -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-22T06:19:25.536Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-02-22T06:19:25.838Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-02-22T06:19:26.140Z] + ls /var/log/sa-host [2021-02-22T06:19:26.140Z] + sadf -c /var/log/sa-host/sa22 [2021-02-22T06:19:26.140Z] file_magic: OK [2021-02-22T06:19:26.140Z] HZ: Using current value: 100 [2021-02-22T06:19:26.140Z] file_header: OK [2021-02-22T06:19:26.140Z] 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-02-22T06:19:26.140Z] Statistics: [2021-02-22T06:19:26.140Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-02-22T06:19:26.140Z] File successfully converted to sysstat format version 12.2.1 [2021-02-22T06:19:26.140Z] + sadf -c /var/log/sa-host/sa23 [2021-02-22T06:19:26.140Z] file_magic: OK [2021-02-22T06:19:26.140Z] HZ: Using current value: 100 [2021-02-22T06:19:26.140Z] file_header: OK [2021-02-22T06:19:26.140Z] 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-02-22T06:19:26.140Z] Statistics: [2021-02-22T06:19:26.140Z] Hnuu...uuuununununu... [2021-02-22T06:19:26.140Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-02-22T06:19:26.883Z] provisioning config files... [2021-02-22T06:19:26.909Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config1617859188090908669tmp [Pipeline] { [Pipeline] echo [2021-02-22T06:19:26.993Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-22T06:19:27.309Z] ---> create-netrc.sh [Pipeline] } [2021-02-22T06:19:27.348Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-02-22T06:19:27.446Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-22T06:19:27.741Z] ---> python-tools-install.sh [Pipeline] echo [2021-02-22T06:19:27.752Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-22T06:19:28.046Z] ---> sudo-logs.sh [2021-02-22T06:19:28.047Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-02-22T06:19:28.107Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-22T06:19:28.412Z] ---> job-cost.sh [2021-02-22T06:19:28.412Z] lf-activate-venv: SKIPPING [2021-02-22T06:19:28.412Z] INFO: No Stack... [2021-02-22T06:19:29.803Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-02-22T06:19:30.065Z] INFO: Archiving Costs [Pipeline] echo [2021-02-22T06:19:30.080Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-22T06:19:30.378Z] ---> logs-deploy.sh [2021-02-22T06:19:30.378Z] lf-activate-venv: SKIPPING [2021-02-22T06:19:30.378Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/118 [2021-02-22T06:19:30.378Z] INFO: archiving workspace using pattern(s): [2021-02-22T06:19:32.301Z] Archives upload complete. [2021-02-22T06:19:32.301Z] INFO: archiving logs to Nexus