Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from c21ff6277396b81a1001baea71274dd2dd19f737 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 a5c854593eac886f27ddeefb8920871132e8ed78 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 a5c854593eac886f27ddeefb8920871132e8ed78 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 a5c854593eac886f27ddeefb8920871132e8ed78 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a5c854593eac886f27ddeefb8920871132e8ed78 # timeout=10 Commit message: "Merge pull request #303 from ernestojeda/fix-docker-login-issue" > 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 b86a95d4aff1c43a521ca3be618780efd0ee2800 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 b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-14883 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 c21ff6277396b81a1001baea71274dd2dd19f737 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f c21ff6277396b81a1001baea71274dd2dd19f737 # timeout=10 Commit message: "Merge pull request #678 from iain-anderson/master" > git rev-list --no-walk cbcd560d226450c2fc49532ec953a0990705dfef # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-12-07T15:53:12.196Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-12-07T15:53:12.465Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-12-07T15:53:12.592Z] ========================================================= [2020-12-07T15:53:12.592Z] EdgeX Global Pipelines Version Info [2020-12-07T15:53:12.592Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-12-07T15:53:15.180Z] ------------------- [2020-12-07T15:53:15.180Z] stable info: [2020-12-07T15:53:15.180Z] ------------------- [2020-12-07T15:53:15.180Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-07T15:53:15.180Z] Commit SHA: a5c854593eac886f27ddeefb8920871132e8ed78 [2020-12-07T15:53:15.180Z] Message: update stable to v1.0.169 [2020-12-07T15:53:16.771Z] ------------------- [2020-12-07T15:53:16.771Z] experimental info: [2020-12-07T15:53:16.771Z] ------------------- [2020-12-07T15:53:16.771Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-12-07T15:53:16.771Z] Commit SHA: 48b313303ce5ba460cd13c4c603c4b280f104d53 [2020-12-07T15:53:16.771Z] Message: update experimental to v1.0.171 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2020-12-07T15:53:17.354Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-12-07T15:53:17.446Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-12-07T15:53:17.545Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-12-07T15:53:17.651Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-12-07T15:53:17.741Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-12-07T15:53:17.836Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-12-07T15:53:17.976Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-12-07T15:53:18.066Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-12-07T15:53:18.171Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-12-07T15:53:18.282Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-12-07T15:53:18.378Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-12-07T15:53:18.471Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-12-07T15:53:18.612Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-12-07T15:53:18.721Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-12-07T15:53:18.820Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-12-07T15:53:18.919Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-12-07T15:53:19.007Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-12-07T15:53:19.115Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-12-07T15:53:19.208Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-12-07T15:53:19.313Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-12-07T15:53:19.407Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-12-07T15:53:19.497Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-12-07T15:53:19.600Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-12-07T15:53:19.707Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-12-07T15:53:19.797Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-12-07T15:53:19.890Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-12-07T15:53:19.979Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2020-12-07T15:53:20.125Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2020-12-07T15:53:20.237Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2020-12-07T15:53:20.328Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c21ff6277396b81a1001baea71274dd2dd19f737 [Pipeline] echo [2020-12-07T15:53:20.502Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c21ff62 [Pipeline] echo [2020-12-07T15:53:20.623Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-07T15:53:20.808Z] provisioning config files... [2020-12-07T15:53:20.877Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config5918697454560256489tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-07T15:53:21.418Z] ---> docker-login.sh [2020-12-07T15:53:21.418Z] nexus3.edgexfoundry.org:10001 [2020-12-07T15:53:22.426Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T15:53:22.738Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T15:53:22.738Z] Configure a credential helper to remove this warning. See [2020-12-07T15:53:22.738Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T15:53:22.738Z] [2020-12-07T15:53:22.738Z] Login Succeeded [2020-12-07T15:53:22.738Z] nexus3.edgexfoundry.org:10002 [2020-12-07T15:53:23.369Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T15:53:23.644Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T15:53:23.644Z] Configure a credential helper to remove this warning. See [2020-12-07T15:53:23.644Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T15:53:23.644Z] [2020-12-07T15:53:23.644Z] Login Succeeded [2020-12-07T15:53:23.644Z] nexus3.edgexfoundry.org:10003 [2020-12-07T15:53:23.644Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T15:53:23.925Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T15:53:23.925Z] Configure a credential helper to remove this warning. See [2020-12-07T15:53:23.925Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T15:53:23.925Z] [2020-12-07T15:53:23.925Z] Login Succeeded [2020-12-07T15:53:23.925Z] nexus3.edgexfoundry.org:10004 [2020-12-07T15:53:24.377Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T15:53:24.377Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T15:53:24.377Z] Configure a credential helper to remove this warning. See [2020-12-07T15:53:24.377Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T15:53:24.377Z] [2020-12-07T15:53:24.377Z] Login Succeeded [2020-12-07T15:53:24.377Z] docker.io [2020-12-07T15:53:25.038Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T15:53:25.333Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T15:53:25.333Z] Configure a credential helper to remove this warning. See [2020-12-07T15:53:25.333Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T15:53:25.333Z] [2020-12-07T15:53:25.333Z] Login Succeeded [2020-12-07T15:53:25.333Z] ---> docker-login.sh ends [Pipeline] } [2020-12-07T15:53:25.376Z] 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 [2020-12-07T15:53:26.360Z] + git log --format=format:%s -1 c21ff6277396b81a1001baea71274dd2dd19f737 [Pipeline] echo [2020-12-07T15:53:26.529Z] GIT_COMMIT: c21ff6277396b81a1001baea71274dd2dd19f737, Commit Message: Merge pull request #678 from iain-anderson/master [Pipeline] echo [2020-12-07T15:53:26.583Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-12-07T15:53:27.587Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-07T15:53:27.587Z] [2020-12-07T15:53:27.587Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-12-07T15:53:28.073Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-07T15:53:28.413Z] latest: Pulling from edgex-devops/git-semver [2020-12-07T15:53:28.413Z] 31603596830f: Pulling fs layer [2020-12-07T15:53:28.413Z] 2a8b12db71e7: Pulling fs layer [2020-12-07T15:53:28.413Z] 6ca5941a6612: Pulling fs layer [2020-12-07T15:53:28.413Z] ecc8261a40a4: Pulling fs layer [2020-12-07T15:53:28.413Z] ecc8261a40a4: Waiting [2020-12-07T15:53:28.413Z] 2a8b12db71e7: Verifying Checksum [2020-12-07T15:53:28.413Z] 2a8b12db71e7: Download complete [2020-12-07T15:53:29.373Z] 31603596830f: Verifying Checksum [2020-12-07T15:53:29.373Z] 31603596830f: Download complete [2020-12-07T15:53:30.167Z] ecc8261a40a4: Verifying Checksum [2020-12-07T15:53:30.167Z] ecc8261a40a4: Download complete [2020-12-07T15:53:30.167Z] 31603596830f: Pull complete [2020-12-07T15:53:30.560Z] 2a8b12db71e7: Pull complete [2020-12-07T15:53:30.560Z] 6ca5941a6612: Verifying Checksum [2020-12-07T15:53:30.560Z] 6ca5941a6612: Download complete [2020-12-07T15:53:33.453Z] 6ca5941a6612: Pull complete [2020-12-07T15:53:34.116Z] ecc8261a40a4: Pull complete [2020-12-07T15:53:34.116Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-12-07T15:53:34.116Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-07T15:53:34.116Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-12-07T15:53:34.919Z] prd-centos7-docker-4c-2g-14883 does not seem to be running inside a container [2020-12-07T15:53:35.100Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-12-07T15:53:38.610Z] $ docker top f44125da8835551a0997681560d09ce0e8a88cd5ce6c131b4be9ca1c8064fef5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-07T15:53:39.267Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-07T15:53:39.267Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-07T15:53:40.053Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-07T15:53:40.073Z] $ docker exec f44125da8835551a0997681560d09ce0e8a88cd5ce6c131b4be9ca1c8064fef5 ssh-agent [2020-12-07T15:53:40.818Z] SSH_AUTH_SOCK=/tmp/ssh-j8R0zyuuAOzo/agent.13 [2020-12-07T15:53:40.818Z] SSH_AGENT_PID=18 [2020-12-07T15:53:40.835Z] Running ssh-add (command line suppressed) [2020-12-07T15:53:41.232Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_909586703357400928.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_909586703357400928.key) [2020-12-07T15:53:41.434Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-07T15:53:42.279Z] + git tag --points-at HEAD [Pipeline] } [2020-12-07T15:53:42.443Z] $ docker exec --env ******** --env ******** f44125da8835551a0997681560d09ce0e8a88cd5ce6c131b4be9ca1c8064fef5 ssh-agent -k [2020-12-07T15:53:42.894Z] unset SSH_AUTH_SOCK; [2020-12-07T15:53:42.895Z] unset SSH_AGENT_PID; [2020-12-07T15:53:42.895Z] echo Agent pid 18 killed; [2020-12-07T15:53:42.978Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-12-07T15:53:43.134Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-07T15:53:43.134Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-07T15:53:43.416Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-07T15:53:43.435Z] $ docker exec f44125da8835551a0997681560d09ce0e8a88cd5ce6c131b4be9ca1c8064fef5 ssh-agent [2020-12-07T15:53:43.874Z] SSH_AUTH_SOCK=/tmp/ssh-ldd9OL8ZwoRE/agent.45 [2020-12-07T15:53:43.874Z] SSH_AGENT_PID=50 [2020-12-07T15:53:43.888Z] Running ssh-add (command line suppressed) [2020-12-07T15:53:44.338Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_1946959958589333788.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_1946959958589333788.key) [2020-12-07T15:53:44.453Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-07T15:53:44.878Z] + git semver init [2020-12-07T15:53:44.878Z] # -> Open(): unable to determine branch for HEAD [2020-12-07T15:53:44.878Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-12-07T15:53:44.878Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-12-07T15:53:44.878Z] # $SEMVER_REMOTE_NAME = origin [2020-12-07T15:53:44.878Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-07T15:53:44.878Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-07T15:53:44.878Z] # $SEMVER_BRANCH = master [2020-12-07T15:53:44.878Z] # $SEMVER_TEMP = /tmp/semver-846478440 [2020-12-07T15:53:44.878Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-12-07T15:53:45.873Z] # '/tmp/semver-846478440' -> '/w/workspace/dgexfoundry_device-sdk-go_master/.semver' [2020-12-07T15:53:45.873Z] # -> Force: false [2020-12-07T15:53:45.873Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2020-12-07T15:53:45.967Z] $ docker exec --env ******** --env ******** f44125da8835551a0997681560d09ce0e8a88cd5ce6c131b4be9ca1c8064fef5 ssh-agent -k [2020-12-07T15:53:46.684Z] unset SSH_AUTH_SOCK; [2020-12-07T15:53:46.688Z] unset SSH_AGENT_PID; [2020-12-07T15:53:46.689Z] echo Agent pid 50 killed; [2020-12-07T15:53:46.855Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-07T15:53:47.878Z] + git semver [Pipeline] } [2020-12-07T15:53:47.916Z] $ docker stop --time=1 f44125da8835551a0997681560d09ce0e8a88cd5ce6c131b4be9ca1c8064fef5 [2020-12-07T15:53:49.924Z] $ docker rm -f f44125da8835551a0997681560d09ce0e8a88cd5ce6c131b4be9ca1c8064fef5 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-07T15:53:50.695Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-12-07T15:53:51.653Z] Stashed 1 file(s) [Pipeline] echo [2020-12-07T15:53:51.656Z] [edgeXSemver]: initialized semver on version 1.3.1-dev.5 [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 [2020-12-07T15:54:07.209Z] Still waiting to schedule task [2020-12-07T15:54:07.209Z] ‘prd-centos7-builder-2c-1g-14365’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-14884’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-13329’ doesn’t have label ‘centos7-docker-4c-2g’ [2020-12-07T15:54:07.212Z] Still waiting to schedule task [2020-12-07T15:54:07.212Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-12-07T15:57:20.957Z] Running on prd-centos7-docker-4c-2g-14886 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2020-12-07T15:57:21.044Z] Running in /w/workspace/device-sdk-go/92 [Pipeline] { [Pipeline] checkout [2020-12-07T15:57:21.149Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-14885 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2020-12-07T15:57:21.232Z] Running in /w/workspace/device-sdk-go/92 [Pipeline] { [Pipeline] checkout [2020-12-07T15:57:23.593Z] using credential edgex-jenkins-ssh [2020-12-07T15:57:23.647Z] Cloning the remote Git repository [2020-12-07T15:57:23.678Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-12-07T15:57:23.746Z] > git init /w/workspace/device-sdk-go/92 # timeout=10 [2020-12-07T15:57:23.807Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-07T15:57:23.807Z] > git --version # timeout=10 [2020-12-07T15:57:23.814Z] > git --version # 'git version 2.24.3' [2020-12-07T15:57:23.815Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-07T15:57:23.840Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-07T15:57:24.617Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-07T15:57:24.626Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-07T15:57:24.638Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-07T15:57:24.651Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-07T15:57:24.651Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-07T15:57:24.655Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-07T15:57:25.057Z] Checking out Revision c21ff6277396b81a1001baea71274dd2dd19f737 (master) [2020-12-07T15:57:25.067Z] > git config core.sparsecheckout # timeout=10 [2020-12-07T15:57:25.071Z] > git checkout -f c21ff6277396b81a1001baea71274dd2dd19f737 # timeout=10 [2020-12-07T15:57:26.589Z] using credential edgex-jenkins-ssh [2020-12-07T15:57:26.683Z] Cloning the remote Git repository [2020-12-07T15:57:26.753Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-12-07T15:57:26.879Z] > git init /w/workspace/device-sdk-go/92 # timeout=10 [2020-12-07T15:57:26.974Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-07T15:57:26.974Z] > git --version # timeout=10 [2020-12-07T15:57:26.994Z] > git --version # 'git version 2.17.1' [2020-12-07T15:57:26.996Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-07T15:57:27.055Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-07T15:57:28.663Z] Checking out Revision c21ff6277396b81a1001baea71274dd2dd19f737 (master) [2020-12-07T15:57:28.803Z] Commit message: "Merge pull request #678 from iain-anderson/master" [2020-12-07T15:57:28.072Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-07T15:57:28.095Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-07T15:57:28.128Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-07T15:57:28.170Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-07T15:57:28.171Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-07T15:57:28.184Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-07T15:57:28.689Z] > git config core.sparsecheckout # timeout=10 [2020-12-07T15:57:28.715Z] > git checkout -f c21ff6277396b81a1001baea71274dd2dd19f737 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-07T15:57:30.289Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2020-12-07T15:57:30.643Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-07T15:57:30.954Z] + sudo service docker restart [2020-12-07T15:57:30.954Z] + true [2020-12-07T15:57:30.954Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-07T15:57:32.014Z] provisioning config files... [2020-12-07T15:57:32.043Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/92@tmp/config1341606219891488180tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-07T15:57:32.427Z] ---> docker-login.sh [2020-12-07T15:57:32.428Z] nexus3.edgexfoundry.org:10001 [2020-12-07T15:57:32.691Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T15:57:32.956Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T15:57:32.956Z] Configure a credential helper to remove this warning. See [2020-12-07T15:57:32.956Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T15:57:32.956Z] [2020-12-07T15:57:32.956Z] Login Succeeded [2020-12-07T15:57:32.956Z] nexus3.edgexfoundry.org:10002 [2020-12-07T15:57:32.956Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T15:57:32.956Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T15:57:32.956Z] Configure a credential helper to remove this warning. See [2020-12-07T15:57:32.956Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T15:57:32.956Z] [2020-12-07T15:57:32.956Z] Login Succeeded [2020-12-07T15:57:32.956Z] nexus3.edgexfoundry.org:10003 [2020-12-07T15:57:33.220Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T15:57:33.220Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T15:57:33.220Z] Configure a credential helper to remove this warning. See [2020-12-07T15:57:33.220Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T15:57:33.220Z] [2020-12-07T15:57:33.220Z] Login Succeeded [2020-12-07T15:57:33.220Z] nexus3.edgexfoundry.org:10004 [2020-12-07T15:57:33.333Z] Commit message: "Merge pull request #678 from iain-anderson/master" [2020-12-07T15:57:33.489Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T15:57:33.489Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T15:57:33.489Z] Configure a credential helper to remove this warning. See [2020-12-07T15:57:33.489Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T15:57:33.489Z] [2020-12-07T15:57:33.489Z] Login Succeeded [2020-12-07T15:57:33.489Z] docker.io [2020-12-07T15:57:33.489Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] withEnv [Pipeline] { [2020-12-07T15:57:33.757Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T15:57:33.757Z] Configure a credential helper to remove this warning. See [2020-12-07T15:57:33.757Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T15:57:33.757Z] [2020-12-07T15:57:33.757Z] Login Succeeded [2020-12-07T15:57:33.757Z] ---> docker-login.sh ends [Pipeline] withEnv [Pipeline] { [Pipeline] } [2020-12-07T15:57:33.814Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [Pipeline] echo [2020-12-07T15:57:34.760Z] ========================================================= [2020-12-07T15:57:34.760Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-12-07T15:57:34.760Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-07T15:57:35.025Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-12-07T15:57:35.114Z] + 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 . [2020-12-07T15:57:35.114Z] Sending build context to Docker daemon 2.367MB [2020-12-07T15:57:35.114Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-07T15:57:35.114Z] Step 2/8 : FROM ${BASE} [2020-12-07T15:57:35.383Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-12-07T15:57:35.383Z] 188c0c94c7c5: Pulling fs layer [2020-12-07T15:57:35.383Z] 0ef7d3d256c8: Pulling fs layer [2020-12-07T15:57:35.383Z] de9db76c5a1d: Pulling fs layer [2020-12-07T15:57:35.383Z] bca2f99d35d6: Pulling fs layer [2020-12-07T15:57:35.383Z] 93359f2a8cfa: Pulling fs layer [2020-12-07T15:57:35.383Z] 7c6f9722023f: Pulling fs layer [2020-12-07T15:57:35.383Z] a35cf1a2eb13: Pulling fs layer [2020-12-07T15:57:35.383Z] 93359f2a8cfa: Waiting [2020-12-07T15:57:35.383Z] 7c6f9722023f: Waiting [2020-12-07T15:57:35.383Z] a35cf1a2eb13: Waiting [2020-12-07T15:57:35.383Z] bca2f99d35d6: Waiting [2020-12-07T15:57:35.383Z] de9db76c5a1d: Verifying Checksum [2020-12-07T15:57:35.383Z] de9db76c5a1d: Download complete [2020-12-07T15:57:35.383Z] 0ef7d3d256c8: Verifying Checksum [2020-12-07T15:57:35.383Z] 0ef7d3d256c8: Download complete [2020-12-07T15:57:35.383Z] 93359f2a8cfa: Verifying Checksum [2020-12-07T15:57:35.383Z] 93359f2a8cfa: Download complete [2020-12-07T15:57:35.383Z] 188c0c94c7c5: Verifying Checksum [2020-12-07T15:57:35.383Z] 188c0c94c7c5: Download complete [2020-12-07T15:57:35.383Z] 7c6f9722023f: Verifying Checksum [2020-12-07T15:57:35.383Z] 7c6f9722023f: Download complete [2020-12-07T15:57:35.442Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-07T15:57:35.650Z] 188c0c94c7c5: Pull complete [2020-12-07T15:57:35.784Z] + sudo service docker restart [2020-12-07T15:57:35.784Z] + true [2020-12-07T15:57:35.914Z] 0ef7d3d256c8: Pull complete [2020-12-07T15:57:35.914Z] de9db76c5a1d: Pull complete [2020-12-07T15:57:37.860Z] a35cf1a2eb13: Download complete [2020-12-07T15:57:38.444Z] bca2f99d35d6: Verifying Checksum [2020-12-07T15:57:38.444Z] bca2f99d35d6: Download complete [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-07T15:57:38.539Z] provisioning config files... [2020-12-07T15:57:38.592Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/92@tmp/config4408677676294832374tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-07T15:57:39.027Z] ---> docker-login.sh [2020-12-07T15:57:39.027Z] nexus3.edgexfoundry.org:10001 [2020-12-07T15:57:40.021Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T15:57:40.305Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T15:57:40.305Z] Configure a credential helper to remove this warning. See [2020-12-07T15:57:40.305Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T15:57:40.305Z] [2020-12-07T15:57:40.305Z] Login Succeeded [2020-12-07T15:57:40.305Z] nexus3.edgexfoundry.org:10002 [2020-12-07T15:57:40.582Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T15:57:40.858Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T15:57:40.858Z] Configure a credential helper to remove this warning. See [2020-12-07T15:57:40.858Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T15:57:40.858Z] [2020-12-07T15:57:40.858Z] Login Succeeded [2020-12-07T15:57:40.858Z] nexus3.edgexfoundry.org:10003 [2020-12-07T15:57:41.132Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T15:57:41.133Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T15:57:41.133Z] Configure a credential helper to remove this warning. See [2020-12-07T15:57:41.133Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T15:57:41.133Z] [2020-12-07T15:57:41.133Z] Login Succeeded [2020-12-07T15:57:41.133Z] nexus3.edgexfoundry.org:10004 [2020-12-07T15:57:41.735Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T15:57:41.735Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T15:57:41.735Z] Configure a credential helper to remove this warning. See [2020-12-07T15:57:41.735Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T15:57:41.735Z] [2020-12-07T15:57:41.735Z] Login Succeeded [2020-12-07T15:57:41.735Z] docker.io [2020-12-07T15:57:42.337Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T15:57:42.609Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T15:57:42.609Z] Configure a credential helper to remove this warning. See [2020-12-07T15:57:42.609Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T15:57:42.609Z] [2020-12-07T15:57:42.609Z] Login Succeeded [2020-12-07T15:57:42.609Z] ---> docker-login.sh ends [Pipeline] } [2020-12-07T15:57:42.627Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-07T15:57:43.119Z] ========================================================= [2020-12-07T15:57:43.119Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-12-07T15:57:43.119Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-07T15:57:43.522Z] + 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 . [2020-12-07T15:57:43.798Z] bca2f99d35d6: Pull complete [2020-12-07T15:57:43.798Z] 93359f2a8cfa: Pull complete [2020-12-07T15:57:44.061Z] 7c6f9722023f: Pull complete [2020-12-07T15:57:44.134Z] Sending build context to Docker daemon 2.366MB [2020-12-07T15:57:44.134Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-07T15:57:44.134Z] Step 2/8 : FROM ${BASE} [2020-12-07T15:57:44.134Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-12-07T15:57:44.134Z] 5f621e34cdf4: Pulling fs layer [2020-12-07T15:57:44.134Z] a4357932f1b6: Pulling fs layer [2020-12-07T15:57:44.134Z] 18c013af1878: Pulling fs layer [2020-12-07T15:57:44.134Z] 00ac8860ef70: Pulling fs layer [2020-12-07T15:57:44.134Z] 63d7cb157983: Pulling fs layer [2020-12-07T15:57:44.134Z] b116817d02f9: Pulling fs layer [2020-12-07T15:57:44.134Z] 745a02a5169b: Pulling fs layer [2020-12-07T15:57:44.134Z] 00ac8860ef70: Waiting [2020-12-07T15:57:44.134Z] 63d7cb157983: Waiting [2020-12-07T15:57:44.134Z] b116817d02f9: Waiting [2020-12-07T15:57:44.134Z] 745a02a5169b: Waiting [2020-12-07T15:57:44.134Z] 18c013af1878: Verifying Checksum [2020-12-07T15:57:44.134Z] a4357932f1b6: Verifying Checksum [2020-12-07T15:57:44.134Z] a4357932f1b6: Download complete [2020-12-07T15:57:44.134Z] 63d7cb157983: Verifying Checksum [2020-12-07T15:57:44.134Z] 63d7cb157983: Download complete [2020-12-07T15:57:44.134Z] b116817d02f9: Verifying Checksum [2020-12-07T15:57:44.134Z] b116817d02f9: Download complete [2020-12-07T15:57:44.134Z] 5f621e34cdf4: Download complete [2020-12-07T15:57:45.126Z] 5f621e34cdf4: Pull complete [2020-12-07T15:57:45.406Z] a4357932f1b6: Pull complete [2020-12-07T15:57:45.686Z] 18c013af1878: Pull complete [2020-12-07T15:57:46.290Z] 745a02a5169b: Verifying Checksum [2020-12-07T15:57:46.290Z] 745a02a5169b: Download complete [2020-12-07T15:57:47.274Z] 00ac8860ef70: Download complete [2020-12-07T15:57:48.321Z] a35cf1a2eb13: Pull complete [2020-12-07T15:57:48.321Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2020-12-07T15:57:48.321Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-12-07T15:57:48.321Z] ---> a62c8e92a672 [2020-12-07T15:57:48.321Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-07T15:57:48.321Z] ---> Running in 5722063984f2 [2020-12-07T15:57:48.321Z] Removing intermediate container 5722063984f2 [2020-12-07T15:57:48.321Z] ---> 1acb65e65c79 [2020-12-07T15:57:48.321Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-07T15:57:48.321Z] ---> Running in 49a4655dfe4b [2020-12-07T15:57:49.294Z] Removing intermediate container 49a4655dfe4b [2020-12-07T15:57:49.294Z] ---> b5758833c019 [2020-12-07T15:57:49.294Z] Step 5/8 : RUN apk add --no-cache make git [2020-12-07T15:57:49.294Z] ---> Running in ea8e27133035 [2020-12-07T15:57:50.245Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-07T15:57:51.195Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-07T15:57:51.461Z] OK: 166 MiB in 39 packages [2020-12-07T15:57:52.037Z] Removing intermediate container ea8e27133035 [2020-12-07T15:57:52.037Z] ---> b2ef0525a7cf [2020-12-07T15:57:52.037Z] Step 6/8 : WORKDIR /device-sdk-go [2020-12-07T15:57:52.037Z] ---> Running in ee8f14addb16 [2020-12-07T15:57:52.300Z] Removing intermediate container ee8f14addb16 [2020-12-07T15:57:52.300Z] ---> 7fa1e513c226 [2020-12-07T15:57:52.300Z] Step 7/8 : COPY . . [2020-12-07T15:57:53.254Z] ---> e989045a3eda [2020-12-07T15:57:53.254Z] Step 8/8 : RUN go mod download [2020-12-07T15:57:53.518Z] ---> Running in c57e348a429b [2020-12-07T15:57:59.723Z] 00ac8860ef70: Pull complete [2020-12-07T15:57:59.723Z] 63d7cb157983: Pull complete [2020-12-07T15:57:59.723Z] b116817d02f9: Pull complete [2020-12-07T15:58:02.366Z] 745a02a5169b: Pull complete [2020-12-07T15:58:02.366Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2020-12-07T15:58:02.366Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-12-07T15:58:02.366Z] ---> b7e6874047d6 [2020-12-07T15:58:02.366Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-07T15:58:05.016Z] ---> Running in 90e292f74217 [2020-12-07T15:58:05.618Z] Removing intermediate container 90e292f74217 [2020-12-07T15:58:05.618Z] ---> 4b26c6215c10 [2020-12-07T15:58:05.618Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-07T15:58:05.618Z] ---> Running in 024e7c426bc9 [2020-12-07T15:58:08.256Z] Removing intermediate container 024e7c426bc9 [2020-12-07T15:58:08.256Z] ---> 54b7ae56d768 [2020-12-07T15:58:08.256Z] Step 5/8 : RUN apk add --no-cache make git [2020-12-07T15:58:08.256Z] ---> Running in c305fba26e60 [2020-12-07T15:58:08.860Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-07T15:58:09.838Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-07T15:58:10.435Z] OK: 142 MiB in 39 packages [2020-12-07T15:58:11.423Z] Removing intermediate container c305fba26e60 [2020-12-07T15:58:11.424Z] ---> e0f81bf7cd3a [2020-12-07T15:58:11.424Z] Step 6/8 : WORKDIR /device-sdk-go [2020-12-07T15:58:11.697Z] ---> Running in c48077e142b2 [2020-12-07T15:58:11.712Z] Removing intermediate container c57e348a429b [2020-12-07T15:58:11.713Z] ---> 04f3c1b554fa [2020-12-07T15:58:11.713Z] Successfully built 04f3c1b554fa [2020-12-07T15:58:11.713Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-07T15:58:11.974Z] Removing intermediate container c48077e142b2 [2020-12-07T15:58:11.974Z] ---> 41400181a46b [2020-12-07T15:58:11.974Z] Step 7/8 : COPY . . [2020-12-07T15:58:12.180Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-07T15:58:12.181Z] . [Pipeline] withDockerContainer [2020-12-07T15:58:12.325Z] prd-centos7-docker-4c-2g-14886 does not seem to be running inside a container [2020-12-07T15:58:12.395Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/92 -v /w/workspace/device-sdk-go/92:/w/workspace/device-sdk-go/92:rw,z -v /w/workspace/device-sdk-go/92@tmp:/w/workspace/device-sdk-go/92@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 ******** ci-base-image-x86_64 cat [2020-12-07T15:58:13.165Z] $ docker top a6907a7d899fe6b8d7ae40866b08ecdd22272c64eaf4433c6a713d0d2863ee5a -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-07T15:58:13.428Z] ---> c69fb78fc044 [2020-12-07T15:58:13.428Z] Step 8/8 : RUN go mod download [2020-12-07T15:58:13.428Z] ---> Running in 03bb14a1ec88 [2020-12-07T15:58:13.707Z] + go version [2020-12-07T15:58:13.970Z] go version go1.15.5 linux/amd64 [Pipeline] } [2020-12-07T15:58:13.991Z] $ docker stop --time=1 a6907a7d899fe6b8d7ae40866b08ecdd22272c64eaf4433c6a713d0d2863ee5a [2020-12-07T15:58:15.548Z] $ docker rm -f a6907a7d899fe6b8d7ae40866b08ecdd22272c64eaf4433c6a713d0d2863ee5a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-07T15:58:16.500Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-07T15:58:16.500Z] . [Pipeline] withDockerContainer [2020-12-07T15:58:16.600Z] prd-centos7-docker-4c-2g-14886 does not seem to be running inside a container [2020-12-07T15:58:16.656Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/92 -v /w/workspace/device-sdk-go/92:/w/workspace/device-sdk-go/92:rw,z -v /w/workspace/device-sdk-go/92@tmp:/w/workspace/device-sdk-go/92@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 ******** ci-base-image-x86_64 cat [2020-12-07T15:58:17.362Z] $ docker top b0567e8c008a40887bfdfd783f5fec83e0416dd945e56c91b080475b8f3387c0 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-07T15:58:17.897Z] + make test [2020-12-07T15:58:17.898Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-12-07T15:58:26.121Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-12-07T15:58:35.615Z] Removing intermediate container 03bb14a1ec88 [2020-12-07T15:58:35.615Z] ---> e1cd5993f100 [2020-12-07T15:58:35.615Z] Successfully built e1cd5993f100 [2020-12-07T15:58:35.615Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-07T15:58:35.965Z] + docker inspect -f . ci-base-image-arm64 [2020-12-07T15:58:35.965Z] . [Pipeline] withDockerContainer [2020-12-07T15:58:36.247Z] prd-ubuntu18.04-docker-arm64-4c-16g-14885 does not seem to be running inside a container [2020-12-07T15:58:36.347Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/92 -v /w/workspace/device-sdk-go/92:/w/workspace/device-sdk-go/92:rw,z -v /w/workspace/device-sdk-go/92@tmp:/w/workspace/device-sdk-go/92@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 ******** ci-base-image-arm64 cat [2020-12-07T15:58:37.868Z] $ docker top c1d97950033b991cc4ae1fffe4ffbdd3486045f3de3c3004ad49fc1826d89438 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-07T15:58:38.924Z] + go version [2020-12-07T15:58:38.924Z] go version go1.15.5 linux/arm64 [Pipeline] } [2020-12-07T15:58:38.956Z] $ docker stop --time=1 c1d97950033b991cc4ae1fffe4ffbdd3486045f3de3c3004ad49fc1826d89438 [2020-12-07T15:58:40.839Z] $ docker rm -f c1d97950033b991cc4ae1fffe4ffbdd3486045f3de3c3004ad49fc1826d89438 [Pipeline] // withDockerContainer [2020-12-07T15:58:41.197Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-12-07T15:58:41.197Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-12-07T15:58:41.197Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-12-07T15:58:41.197Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.047s coverage: 20.6% of statements [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-07T15:58:41.782Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.470s coverage: 97.1% of statements [2020-12-07T15:58:41.935Z] + docker inspect -f . ci-base-image-arm64 [2020-12-07T15:58:41.935Z] . [Pipeline] withDockerContainer [2020-12-07T15:58:42.230Z] prd-ubuntu18.04-docker-arm64-4c-16g-14885 does not seem to be running inside a container [2020-12-07T15:58:42.330Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/92 -v /w/workspace/device-sdk-go/92:/w/workspace/device-sdk-go/92:rw,z -v /w/workspace/device-sdk-go/92@tmp:/w/workspace/device-sdk-go/92@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 ******** ci-base-image-arm64 cat [2020-12-07T15:58:43.774Z] $ docker top bdba31613268115622db0f63babcc2ebfae67327fedc9fbdaf0b3b86ae842dac -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-07T15:58:44.822Z] + make test [2020-12-07T15:58:44.822Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-12-07T15:59:07.040Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-12-07T15:59:13.956Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.072s coverage: 9.4% of statements [2020-12-07T15:59:13.956Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.049s coverage: 21.9% of statements [2020-12-07T15:59:13.956Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-12-07T15:59:13.956Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.210s coverage: 42.5% of statements [2020-12-07T15:59:13.956Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-12-07T15:59:13.956Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.298s coverage: 68.9% of statements [2020-12-07T15:59:13.956Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-12-07T15:59:13.956Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-12-07T15:59:13.956Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-12-07T15:59:13.956Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-12-07T15:59:13.956Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.068s coverage: 52.6% of statements [2020-12-07T15:59:13.956Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-12-07T15:59:13.956Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-12-07T15:59:13.956Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-12-07T15:59:13.956Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.393s coverage: 68.9% of statements [2020-12-07T15:59:13.956Z] ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.054s coverage: 4.7% of statements [2020-12-07T15:59:13.956Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-12-07T15:59:13.956Z] GO111MODULE=on go vet ./... [2020-12-07T15:59:20.631Z] gofmt -l . [2020-12-07T15:59:20.631Z] [ "`gofmt -l .`" = "" ] [2020-12-07T15:59:20.631Z] ./bin/test-attribution-txt.sh [2020-12-07T15:59:20.631Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2020-12-07T15:59:20.651Z] $ docker stop --time=1 b0567e8c008a40887bfdfd783f5fec83e0416dd945e56c91b080475b8f3387c0 [2020-12-07T15:59:22.610Z] $ docker rm -f b0567e8c008a40887bfdfd783f5fec83e0416dd945e56c91b080475b8f3387c0 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-07T15:59:23.248Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-12-07T15:59:23.710Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-12-07T15:59:26.283Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-12-07T15:59:26.588Z] + ls -al . [2020-12-07T15:59:26.588Z] total 208 [2020-12-07T15:59:26.588Z] drwxrwxr-x. 10 jenkins jenkins 4096 Dec 7 15:59 . [2020-12-07T15:59:26.588Z] drwxrwxr-x. 4 jenkins jenkins 30 Dec 7 15:57 .. [2020-12-07T15:59:26.588Z] drwxrwxr-x. 2 jenkins jenkins 64 Dec 7 15:57 bin [2020-12-07T15:59:26.588Z] -rw-r--r--. 1 jenkins jenkins 127610 Dec 7 15:59 coverage.out [2020-12-07T15:59:26.588Z] -rw-rw-r--. 1 jenkins jenkins 936 Dec 7 15:57 Dockerfile.build [2020-12-07T15:59:26.588Z] -rw-rw-r--. 1 jenkins jenkins 140 Dec 7 15:57 .dockerignore [2020-12-07T15:59:26.588Z] drwxrwxr-x. 4 jenkins jenkins 48 Dec 7 15:57 example [2020-12-07T15:59:26.588Z] drwxrwxr-x. 8 jenkins jenkins 162 Dec 7 15:57 .git [2020-12-07T15:59:26.588Z] drwxrwxr-x. 2 jenkins jenkins 103 Dec 7 15:57 .github [2020-12-07T15:59:26.588Z] -rw-rw-r--. 1 jenkins jenkins 138 Dec 7 15:57 .gitignore [2020-12-07T15:59:26.588Z] -rw-r--r--. 1 jenkins jenkins 518 Dec 7 15:59 go.mod [2020-12-07T15:59:26.588Z] -rw-r--r--. 1 jenkins jenkins 13631 Dec 7 15:59 go.sum [2020-12-07T15:59:26.588Z] drwxrwxr-x. 15 jenkins jenkins 211 Dec 7 15:57 internal [2020-12-07T15:59:26.588Z] -rw-rw-r--. 1 jenkins jenkins 901 Dec 7 15:57 Jenkinsfile [2020-12-07T15:59:26.588Z] -rw-rw-r--. 1 jenkins jenkins 11341 Dec 7 15:57 LICENSE [2020-12-07T15:59:26.588Z] -rw-rw-r--. 1 jenkins jenkins 1013 Dec 7 15:57 Makefile [2020-12-07T15:59:26.588Z] drwxrwxr-x. 4 jenkins jenkins 26 Dec 7 15:57 openapi [2020-12-07T15:59:26.588Z] drwxrwxr-x. 5 jenkins jenkins 50 Dec 7 15:57 pkg [2020-12-07T15:59:26.588Z] -rw-rw-r--. 1 jenkins jenkins 5897 Dec 7 15:57 README.md [2020-12-07T15:59:26.588Z] -rw-rw-r--. 1 jenkins jenkins 4291 Dec 7 15:57 RELEASE-NOTES.txt [2020-12-07T15:59:26.588Z] drwxrwxr-x. 4 jenkins jenkins 54 Dec 7 15:57 snap [2020-12-07T15:59:26.588Z] -rw-rw-r--. 1 jenkins jenkins 11 Dec 7 15:53 VERSION [2020-12-07T15:59:26.588Z] -rw-rw-r--. 1 jenkins jenkins 222 Dec 7 15:57 version.go [Pipeline] isUnix [Pipeline] sh [2020-12-07T15:59:26.912Z] + 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=c21ff6277396b81a1001baea71274dd2dd19f737 --label arch=amd64 --label version=1.3.1-dev.5 . [2020-12-07T15:59:27.175Z] Sending build context to Docker daemon 2.495MB [2020-12-07T15:59:27.175Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-12-07T15:59:27.175Z] Step 2/24 : FROM ${BASE} AS builder [2020-12-07T15:59:27.175Z] ---> 04f3c1b554fa [2020-12-07T15:59:27.175Z] Step 3/24 : ARG MAKE='make build' [2020-12-07T15:59:27.751Z] ---> Running in 4e546786c6cb [2020-12-07T15:59:27.751Z] Removing intermediate container 4e546786c6cb [2020-12-07T15:59:27.751Z] ---> 3b12ed30273e [2020-12-07T15:59:27.751Z] Step 4/24 : WORKDIR /device-sdk-go [2020-12-07T15:59:28.013Z] ---> Running in 5be81ee83994 [2020-12-07T15:59:28.013Z] Removing intermediate container 5be81ee83994 [2020-12-07T15:59:28.013Z] ---> bd39e276b34a [2020-12-07T15:59:28.013Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-07T15:59:28.287Z] ---> Running in 5150212fb044 [2020-12-07T15:59:28.287Z] Removing intermediate container 5150212fb044 [2020-12-07T15:59:28.287Z] ---> 731d56d3aec4 [2020-12-07T15:59:28.287Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-07T15:59:28.287Z] ---> Running in de4772ce0a2e [2020-12-07T15:59:29.241Z] Removing intermediate container de4772ce0a2e [2020-12-07T15:59:29.241Z] ---> 22fb6c861917 [2020-12-07T15:59:29.241Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-12-07T15:59:29.241Z] ---> Running in e73771fa4aeb [2020-12-07T15:59:29.815Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-07T15:59:30.388Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-07T15:59:30.963Z] OK: 166 MiB in 39 packages [2020-12-07T15:59:31.225Z] Removing intermediate container e73771fa4aeb [2020-12-07T15:59:31.225Z] ---> d008cf0557a8 [2020-12-07T15:59:31.225Z] Step 8/24 : COPY . . [2020-12-07T15:59:32.174Z] ---> f19f9911cff3 [2020-12-07T15:59:32.174Z] Step 9/24 : RUN ${MAKE} [2020-12-07T15:59:32.438Z] ---> Running in ab6cadedf5a4 [2020-12-07T15:59:32.716Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.3.1-dev.5" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-12-07T15:59:40.970Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-12-07T15:59:42.895Z] Removing intermediate container ab6cadedf5a4 [2020-12-07T15:59:42.895Z] ---> b886f23045f7 [2020-12-07T15:59:42.895Z] Step 10/24 : FROM scratch [2020-12-07T15:59:42.895Z] ---> [2020-12-07T15:59:42.895Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-07T15:59:43.159Z] ---> Running in 7e7f72adb24d [2020-12-07T15:59:43.159Z] Removing intermediate container 7e7f72adb24d [2020-12-07T15:59:43.159Z] ---> a45cc6ac9bdf [2020-12-07T15:59:43.159Z] Step 12/24 : ENV APP_PORT=49990 [2020-12-07T15:59:43.159Z] ---> Running in 5403f312c2a8 [2020-12-07T15:59:43.429Z] Removing intermediate container 5403f312c2a8 [2020-12-07T15:59:43.429Z] ---> 885df4750cf9 [2020-12-07T15:59:43.429Z] Step 13/24 : EXPOSE $APP_PORT [2020-12-07T15:59:43.429Z] ---> Running in ebaf96b9e746 [2020-12-07T15:59:43.691Z] Removing intermediate container ebaf96b9e746 [2020-12-07T15:59:43.691Z] ---> 78148ded50f6 [2020-12-07T15:59:43.691Z] Step 14/24 : WORKDIR / [2020-12-07T15:59:43.691Z] ---> Running in e2fc02e9576a [2020-12-07T15:59:43.691Z] Removing intermediate container e2fc02e9576a [2020-12-07T15:59:43.691Z] ---> 39711c9d986d [2020-12-07T15:59:43.691Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-12-07T15:59:44.638Z] ---> 487f056117fd [2020-12-07T15:59:44.638Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-12-07T15:59:44.638Z] ---> fcc8ca68d434 [2020-12-07T15:59:44.638Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-12-07T15:59:44.901Z] ---> f8c4693c4077 [2020-12-07T15:59:44.901Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-12-07T15:59:45.164Z] ---> e3ffccca7d67 [2020-12-07T15:59:45.164Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-12-07T15:59:45.427Z] ---> 14cd43e1d1d6 [2020-12-07T15:59:45.427Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-12-07T15:59:45.427Z] ---> Running in 398b143861fd [2020-12-07T15:59:45.690Z] Removing intermediate container 398b143861fd [2020-12-07T15:59:45.690Z] ---> 19a630334074 [2020-12-07T15:59:45.690Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-12-07T15:59:45.690Z] ---> Running in ad963593b4ad [2020-12-07T15:59:45.952Z] Removing intermediate container ad963593b4ad [2020-12-07T15:59:45.952Z] ---> 06f14f7d3cb6 [2020-12-07T15:59:45.952Z] Step 22/24 : LABEL arch=amd64 [2020-12-07T15:59:45.952Z] ---> Running in 4c69e4a37360 [2020-12-07T15:59:46.073Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-12-07T15:59:46.073Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-12-07T15:59:46.073Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-12-07T15:59:46.073Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.115s coverage: 20.6% of statements [2020-12-07T15:59:46.213Z] Removing intermediate container 4c69e4a37360 [2020-12-07T15:59:46.213Z] ---> 7dc7d9e70b11 [2020-12-07T15:59:46.213Z] Step 23/24 : LABEL git_sha=c21ff6277396b81a1001baea71274dd2dd19f737 [2020-12-07T15:59:46.213Z] ---> Running in f70d45d42ea9 [2020-12-07T15:59:46.213Z] Removing intermediate container f70d45d42ea9 [2020-12-07T15:59:46.213Z] ---> 6e864e02f982 [2020-12-07T15:59:46.213Z] Step 24/24 : LABEL version=1.3.1-dev.5 [2020-12-07T15:59:46.476Z] ---> Running in 16245c6a216c [2020-12-07T15:59:46.476Z] Removing intermediate container 16245c6a216c [2020-12-07T15:59:46.476Z] ---> ba91254f9bb1 [2020-12-07T15:59:46.476Z] [Warning] One or more build-args [ARCH] were not consumed [2020-12-07T15:59:46.476Z] Successfully built ba91254f9bb1 [2020-12-07T15:59:46.476Z] 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] } [2020-12-07T15:59:49.516Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.131s coverage: 97.1% of statements [2020-12-07T16:00:21.874Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.156s coverage: 9.4% of statements [2020-12-07T16:00:21.874Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.115s coverage: 21.9% of statements [2020-12-07T16:00:21.874Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-12-07T16:00:21.874Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.588s coverage: 42.5% of statements [2020-12-07T16:00:21.874Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-12-07T16:00:21.874Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.784s coverage: 68.9% of statements [2020-12-07T16:00:21.874Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-12-07T16:00:21.874Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-12-07T16:00:21.874Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-12-07T16:00:21.874Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-12-07T16:00:21.874Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.199s coverage: 52.6% of statements [2020-12-07T16:00:21.874Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-12-07T16:00:21.874Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-12-07T16:00:21.874Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-12-07T16:00:21.874Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.939s coverage: 68.9% of statements [2020-12-07T16:00:21.874Z] ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.130s coverage: 4.7% of statements [2020-12-07T16:00:21.874Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-12-07T16:00:21.874Z] GO111MODULE=on go vet ./... [2020-12-07T16:00:48.705Z] gofmt -l . [2020-12-07T16:00:48.705Z] [ "`gofmt -l .`" = "" ] [2020-12-07T16:00:48.705Z] ./bin/test-attribution-txt.sh [2020-12-07T16:00:48.705Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2020-12-07T16:00:48.738Z] $ docker stop --time=1 bdba31613268115622db0f63babcc2ebfae67327fedc9fbdaf0b3b86ae842dac [2020-12-07T16:00:50.967Z] $ docker rm -f bdba31613268115622db0f63babcc2ebfae67327fedc9fbdaf0b3b86ae842dac [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-07T16:00:52.189Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-12-07T16:00:52.228Z] Warning: overwriting stash ‘coverage-report’ [2020-12-07T16:00:53.213Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-07T16:00:53.963Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-12-07T16:00:54.353Z] + ls -al . [2020-12-07T16:00:54.353Z] total 244 [2020-12-07T16:00:54.353Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 7 16:00 . [2020-12-07T16:00:54.353Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 7 15:57 .. [2020-12-07T16:00:54.353Z] -rw-rw-r-- 1 jenkins jenkins 140 Dec 7 15:57 .dockerignore [2020-12-07T16:00:54.353Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 7 15:57 .git [2020-12-07T16:00:54.353Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 7 15:57 .github [2020-12-07T16:00:54.353Z] -rw-rw-r-- 1 jenkins jenkins 138 Dec 7 15:57 .gitignore [2020-12-07T16:00:54.353Z] -rw-rw-r-- 1 jenkins jenkins 936 Dec 7 15:57 Dockerfile.build [2020-12-07T16:00:54.353Z] -rw-rw-r-- 1 jenkins jenkins 901 Dec 7 15:57 Jenkinsfile [2020-12-07T16:00:54.353Z] -rw-rw-r-- 1 jenkins jenkins 11341 Dec 7 15:57 LICENSE [2020-12-07T16:00:54.353Z] -rw-rw-r-- 1 jenkins jenkins 1013 Dec 7 15:57 Makefile [2020-12-07T16:00:54.353Z] -rw-rw-r-- 1 jenkins jenkins 5897 Dec 7 15:57 README.md [2020-12-07T16:00:54.353Z] -rw-rw-r-- 1 jenkins jenkins 4291 Dec 7 15:57 RELEASE-NOTES.txt [2020-12-07T16:00:54.353Z] -rw-rw-r-- 1 jenkins jenkins 11 Dec 7 15:53 VERSION [2020-12-07T16:00:54.353Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 7 15:57 bin [2020-12-07T16:00:54.353Z] -rw-r--r-- 1 jenkins jenkins 127610 Dec 7 16:00 coverage.out [2020-12-07T16:00:54.353Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 7 15:57 example [2020-12-07T16:00:54.353Z] -rw-r--r-- 1 jenkins jenkins 518 Dec 7 16:00 go.mod [2020-12-07T16:00:54.353Z] -rw-r--r-- 1 jenkins jenkins 13631 Dec 7 16:00 go.sum [2020-12-07T16:00:54.353Z] drwxrwxr-x 15 jenkins jenkins 4096 Dec 7 15:57 internal [2020-12-07T16:00:54.353Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 7 15:57 openapi [2020-12-07T16:00:54.353Z] drwxrwxr-x 5 jenkins jenkins 4096 Dec 7 15:57 pkg [2020-12-07T16:00:54.353Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 7 15:57 snap [2020-12-07T16:00:54.353Z] -rw-rw-r-- 1 jenkins jenkins 222 Dec 7 15:57 version.go [Pipeline] isUnix [Pipeline] sh [2020-12-07T16:00:54.772Z] + 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=c21ff6277396b81a1001baea71274dd2dd19f737 --label arch=arm64 --label version=1.3.1-dev.5 . [2020-12-07T16:00:55.409Z] Sending build context to Docker daemon 2.494MB [2020-12-07T16:00:55.409Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-12-07T16:00:55.409Z] Step 2/24 : FROM ${BASE} AS builder [2020-12-07T16:00:55.409Z] ---> e1cd5993f100 [2020-12-07T16:00:55.409Z] Step 3/24 : ARG MAKE='make build' [2020-12-07T16:00:55.688Z] ---> Running in 9e3a1e2429d6 [2020-12-07T16:00:55.961Z] Removing intermediate container 9e3a1e2429d6 [2020-12-07T16:00:55.961Z] ---> 33aec0292c0c [2020-12-07T16:00:55.961Z] Step 4/24 : WORKDIR /device-sdk-go [2020-12-07T16:00:56.237Z] ---> Running in dc6b48bab5a9 [2020-12-07T16:00:56.511Z] Removing intermediate container dc6b48bab5a9 [2020-12-07T16:00:56.511Z] ---> 9b46dd92926e [2020-12-07T16:00:56.511Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-07T16:00:56.781Z] ---> Running in a26a5a01b26b [2020-12-07T16:00:57.060Z] Removing intermediate container a26a5a01b26b [2020-12-07T16:00:57.061Z] ---> 92dc65ab7dda [2020-12-07T16:00:57.061Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-07T16:00:57.337Z] ---> Running in c04c290920c7 [2020-12-07T16:00:59.316Z] Removing intermediate container c04c290920c7 [2020-12-07T16:00:59.316Z] ---> 15021ce9ce24 [2020-12-07T16:00:59.316Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-12-07T16:00:59.598Z] ---> Running in 1bb427ad4734 [2020-12-07T16:01:00.579Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-07T16:01:01.172Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-07T16:01:02.147Z] OK: 142 MiB in 39 packages [2020-12-07T16:01:03.130Z] Removing intermediate container 1bb427ad4734 [2020-12-07T16:01:03.130Z] ---> deae1909f628 [2020-12-07T16:01:03.130Z] Step 8/24 : COPY . . [2020-12-07T16:01:04.567Z] ---> df9f553b3f2d [2020-12-07T16:01:04.567Z] Step 9/24 : RUN ${MAKE} [2020-12-07T16:01:04.840Z] ---> Running in cd68d96169d4 [2020-12-07T16:01:05.837Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.3.1-dev.5" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-12-07T16:01:32.686Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-12-07T16:01:32.686Z] Removing intermediate container cd68d96169d4 [2020-12-07T16:01:32.686Z] ---> 0deb3c0deda4 [2020-12-07T16:01:32.686Z] Step 10/24 : FROM scratch [2020-12-07T16:01:32.686Z] ---> [2020-12-07T16:01:32.686Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-07T16:01:32.686Z] ---> Running in c7bd3d83cb3a [2020-12-07T16:01:33.281Z] Removing intermediate container c7bd3d83cb3a [2020-12-07T16:01:33.281Z] ---> 57f3e08a2f31 [2020-12-07T16:01:33.281Z] Step 12/24 : ENV APP_PORT=49990 [2020-12-07T16:01:33.281Z] ---> Running in fdbc4706fc7d [2020-12-07T16:01:33.878Z] Removing intermediate container fdbc4706fc7d [2020-12-07T16:01:33.878Z] ---> ed704aa925ed [2020-12-07T16:01:33.878Z] Step 13/24 : EXPOSE $APP_PORT [2020-12-07T16:01:33.878Z] ---> Running in 73662b46ecde [2020-12-07T16:01:34.149Z] Removing intermediate container 73662b46ecde [2020-12-07T16:01:34.149Z] ---> c86b9a20f3c2 [2020-12-07T16:01:34.149Z] Step 14/24 : WORKDIR / [2020-12-07T16:01:34.426Z] ---> Running in c21c4fef0002 [2020-12-07T16:01:34.699Z] Removing intermediate container c21c4fef0002 [2020-12-07T16:01:34.699Z] ---> 211637cbac64 [2020-12-07T16:01:34.699Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-12-07T16:01:35.724Z] ---> de0120f23d73 [2020-12-07T16:01:35.724Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-12-07T16:01:36.319Z] ---> 0ebd9bf8b1e5 [2020-12-07T16:01:36.319Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-12-07T16:01:37.295Z] ---> 5c98ed3d0e40 [2020-12-07T16:01:37.295Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-12-07T16:01:37.887Z] ---> ce5c2cae1b24 [2020-12-07T16:01:37.887Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-12-07T16:01:38.498Z] ---> 0703c27aec77 [2020-12-07T16:01:38.498Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-12-07T16:01:38.769Z] ---> Running in 5a04fa51ed18 [2020-12-07T16:01:39.045Z] Removing intermediate container 5a04fa51ed18 [2020-12-07T16:01:39.045Z] ---> 47315752a190 [2020-12-07T16:01:39.045Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-12-07T16:01:39.321Z] ---> Running in fc4b154a27f9 [2020-12-07T16:01:39.918Z] Removing intermediate container fc4b154a27f9 [2020-12-07T16:01:39.918Z] ---> 9e8fd9c3875e [2020-12-07T16:01:39.918Z] Step 22/24 : LABEL arch=arm64 [2020-12-07T16:01:39.918Z] ---> Running in 7a1172f0ef7f [2020-12-07T16:01:40.190Z] Removing intermediate container 7a1172f0ef7f [2020-12-07T16:01:40.190Z] ---> 9ebb561afca3 [2020-12-07T16:01:40.190Z] Step 23/24 : LABEL git_sha=c21ff6277396b81a1001baea71274dd2dd19f737 [2020-12-07T16:01:40.465Z] ---> Running in 04f8fa63094a [2020-12-07T16:01:40.739Z] Removing intermediate container 04f8fa63094a [2020-12-07T16:01:40.739Z] ---> 835a3cb6c80e [2020-12-07T16:01:40.739Z] Step 24/24 : LABEL version=1.3.1-dev.5 [2020-12-07T16:01:41.011Z] ---> Running in c8b628424467 [2020-12-07T16:01:41.283Z] Removing intermediate container c8b628424467 [2020-12-07T16:01:41.283Z] ---> 769f6c9a20aa [2020-12-07T16:01:41.283Z] [Warning] One or more build-args [ARCH] were not consumed [2020-12-07T16:01:41.556Z] Successfully built 769f6c9a20aa [2020-12-07T16:01:41.556Z] 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] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2020-12-07T16:01:43.645Z] provisioning config files... [2020-12-07T16:01:43.662Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config7684423665288980224tmp [Pipeline] { [Pipeline] sh [2020-12-07T16:01:44.063Z] + set +x [2020-12-07T16:01:44.063Z] + curl -s https://codecov.io/bash [2020-12-07T16:01:44.063Z] + bash -s -- [2020-12-07T16:01:44.392Z] [2020-12-07T16:01:44.392Z] _____ _ [2020-12-07T16:01:44.392Z] / ____| | | [2020-12-07T16:01:44.392Z] | | ___ __| | ___ ___ _____ __ [2020-12-07T16:01:44.392Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-12-07T16:01:44.392Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-12-07T16:01:44.392Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-12-07T16:01:44.392Z] Bash-20201130-cc6d3fe [2020-12-07T16:01:44.392Z] [2020-12-07T16:01:44.392Z] [2020-12-07T16:01:44.392Z] ==> Jenkins CI detected. [2020-12-07T16:01:44.392Z] project root: . [2020-12-07T16:01:44.392Z] --> token set from env [2020-12-07T16:01:44.699Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-12-07T16:01:44.699Z] ==> Running gcov in . (disable via -X gcov) [2020-12-07T16:01:44.699Z] ==> Python coveragepy not found [2020-12-07T16:01:44.699Z] ==> Searching for coverage reports in: [2020-12-07T16:01:44.699Z] + . [2020-12-07T16:01:44.699Z] -> Found 1 reports [2020-12-07T16:01:44.699Z] ==> Detecting git/mercurial file structure [2020-12-07T16:01:44.699Z] ==> Reading reports [2020-12-07T16:01:44.699Z] + ./coverage.out bytes=127610 [2020-12-07T16:01:44.699Z] ==> Appending adjustments [2020-12-07T16:01:44.699Z] https://docs.codecov.io/docs/fixing-reports [2020-12-07T16:01:45.332Z] + Found adjustments [2020-12-07T16:01:45.332Z] ==> Gzipping contents [2020-12-07T16:01:45.599Z] 24K /tmp/codecov.p3rzPs.gz [2020-12-07T16:01:45.599Z] ==> Uploading reports [2020-12-07T16:01:45.599Z] url: https://codecov.io [2020-12-07T16:01:45.599Z] query: branch=master&commit=c21ff6277396b81a1001baea71274dd2dd19f737&build=92&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F92%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2020-12-07T16:01:45.599Z] -> Pinging Codecov [2020-12-07T16:01:45.599Z] https://codecov.io/upload/v4?package=bash-20201130-cc6d3fe&token=secret&branch=master&commit=c21ff6277396b81a1001baea71274dd2dd19f737&build=92&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F92%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2020-12-07T16:01:46.229Z] -> Uploading to [2020-12-07T16:01:46.229Z] https://storage.googleapis.com/codecov/v4/raw/2020-12-07/7E55EF52A471D76F132DFD9A03CDDE97/c21ff6277396b81a1001baea71274dd2dd19f737/647e7062-71a8-48f4-ac27-f4d7a1db8aec.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201207%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201207T160145Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=388c1473ae12d131373fd7554614afc8d87cf126fe071376a191f7e68de08848 [2020-12-07T16:01:46.229Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-12-07T16:01:46.229Z] Dload Upload Total Spent Left Speed [2020-12-07T16:01:46.508Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 20899 0 0 100 20899 0 40760 --:--:-- --:--:-- --:--:-- 40818 [2020-12-07T16:01:46.508Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/c21ff6277396b81a1001baea71274dd2dd19f737 [Pipeline] } [2020-12-07T16:01:46.519Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2020-12-07T16:01:47.385Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2020-12-07T16:01:47.444Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-07T16:01:47.835Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2020-12-07T16:01:48.582Z] [2020-12-07T16:01:48.582Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2020-12-07T16:01:49.110Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2020-12-07T16:01:49.430Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2020-12-07T16:01:49.430Z] 188c0c94c7c5: Pulling fs layer [2020-12-07T16:01:49.430Z] 0ef7d3d256c8: Pulling fs layer [2020-12-07T16:01:49.430Z] de9db76c5a1d: Pulling fs layer [2020-12-07T16:01:49.430Z] 0eba1c9be4d2: Pulling fs layer [2020-12-07T16:01:49.430Z] 0d57e429df01: Pulling fs layer [2020-12-07T16:01:49.430Z] 4e4be7b47b0d: Pulling fs layer [2020-12-07T16:01:49.430Z] e1f770b5df2f: Pulling fs layer [2020-12-07T16:01:49.430Z] 85a0685a4137: Pulling fs layer [2020-12-07T16:01:49.430Z] 0eba1c9be4d2: Waiting [2020-12-07T16:01:49.430Z] 0d57e429df01: Waiting [2020-12-07T16:01:49.430Z] 4e4be7b47b0d: Waiting [2020-12-07T16:01:49.430Z] e1f770b5df2f: Waiting [2020-12-07T16:01:49.430Z] 85a0685a4137: Waiting [2020-12-07T16:01:49.430Z] de9db76c5a1d: Verifying Checksum [2020-12-07T16:01:49.430Z] de9db76c5a1d: Download complete [2020-12-07T16:01:49.430Z] 0ef7d3d256c8: Verifying Checksum [2020-12-07T16:01:49.430Z] 0ef7d3d256c8: Download complete [2020-12-07T16:01:49.430Z] 0d57e429df01: Verifying Checksum [2020-12-07T16:01:49.430Z] 0d57e429df01: Download complete [2020-12-07T16:01:50.042Z] 4e4be7b47b0d: Verifying Checksum [2020-12-07T16:01:50.042Z] 4e4be7b47b0d: Download complete [2020-12-07T16:01:50.316Z] 188c0c94c7c5: Verifying Checksum [2020-12-07T16:01:50.317Z] 188c0c94c7c5: Download complete [2020-12-07T16:01:51.337Z] 188c0c94c7c5: Pull complete [2020-12-07T16:01:51.638Z] 0ef7d3d256c8: Pull complete [2020-12-07T16:01:52.283Z] de9db76c5a1d: Pull complete [2020-12-07T16:01:52.568Z] e1f770b5df2f: Verifying Checksum [2020-12-07T16:01:52.568Z] e1f770b5df2f: Download complete [2020-12-07T16:02:01.227Z] 0eba1c9be4d2: Verifying Checksum [2020-12-07T16:02:01.227Z] 0eba1c9be4d2: Download complete [2020-12-07T16:02:01.853Z] 85a0685a4137: Verifying Checksum [2020-12-07T16:02:01.853Z] 85a0685a4137: Download complete [2020-12-07T16:02:14.648Z] 0eba1c9be4d2: Pull complete [2020-12-07T16:02:14.648Z] 0d57e429df01: Pull complete [2020-12-07T16:02:14.648Z] 4e4be7b47b0d: Pull complete [2020-12-07T16:02:17.460Z] e1f770b5df2f: Pull complete [2020-12-07T16:02:32.898Z] 85a0685a4137: Pull complete [2020-12-07T16:02:32.899Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2020-12-07T16:02:32.899Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2020-12-07T16:02:32.899Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2020-12-07T16:02:33.264Z] prd-centos7-docker-4c-2g-14883 does not seem to be running inside a container [2020-12-07T16:02:33.371Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2020-12-07T16:02:35.384Z] $ docker top eecfcf4d0fa45f1419601c376f2891b28cedd71952b314b8a1212deadb6c5046 -eo pid,comm [Pipeline] { [Pipeline] echo [2020-12-07T16:02:35.826Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2020-12-07T16:02:36.253Z] + set -o pipefail [2020-12-07T16:02:36.253Z] + snyk monitor '--org=edgex-jenkins' [2020-12-07T16:02:51.629Z] [2020-12-07T16:02:51.629Z] Monitoring /w/workspace/dgexfoundry_device-sdk-go_master (github.com/edgexfoundry/device-sdk-go)... [2020-12-07T16:02:51.629Z] [2020-12-07T16:02:51.629Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/057beb34-70d8-4945-961c-fe027db76abc/history/de13bec7-2fe9-4965-94da-b179a9e10b3f [2020-12-07T16:02:51.629Z] [2020-12-07T16:02:51.629Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2020-12-07T16:02:51.629Z] [2020-12-07T16:02:51.629Z] [Pipeline] } [2020-12-07T16:02:51.663Z] $ docker stop --time=1 eecfcf4d0fa45f1419601c376f2891b28cedd71952b314b8a1212deadb6c5046 [2020-12-07T16:02:54.980Z] $ docker rm -f eecfcf4d0fa45f1419601c376f2891b28cedd71952b314b8a1212deadb6c5046 [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 [2020-12-07T16:02:56.877Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-07T16:02:56.929Z] provisioning config files... [2020-12-07T16:02:56.949Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config3896088792795118674tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-07T16:02:57.543Z] --> edgex-publish-swagger.sh [2020-12-07T16:02:57.544Z] === Publish openapi/v1 API === [2020-12-07T16:02:57.544Z] [publishToSwagger] Publishing the API Docs [openapi/v1] to Swagger [2020-12-07T16:02:57.544Z] [publishToSwagger] Publishing API Name [device-sdk] [2020-12-07T16:02:57.544Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-12-07T16:02:57.544Z] Dload Upload Total Spent Left Speed [2020-12-07T16:02:58.524Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 20188 0 0 100 20188 0 21822 --:--:-- --:--:-- --:--:-- 21824 100 20188 0 0 100 20188 0 21815 --:--:-- --:--:-- --:--:-- 21824 [2020-12-07T16:02:58.524Z] [2020-12-07T16:02:58.524Z] [2020-12-07T16:02:58.524Z] === Publish openapi/v2 API === [2020-12-07T16:02:58.524Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2020-12-07T16:02:58.524Z] [publishToSwagger] Publishing API Name [device-sdk] [2020-12-07T16:02:58.524Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-12-07T16:02:58.524Z] Dload Upload Total Spent Left Speed [2020-12-07T16:02:59.127Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 49274 0 0 100 49274 0 61946 --:--:-- --:--:-- --:--:-- 61979 100 49274 0 0 100 49274 0 61932 --:--:-- --:--:-- --:--:-- 61979 [2020-12-07T16:02:59.127Z] [2020-12-07T16:02:59.127Z] [Pipeline] } [2020-12-07T16:02:59.156Z] 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 [2020-12-07T16:03:00.045Z] + git log --format=format:%s -1 c21ff6277396b81a1001baea71274dd2dd19f737 [Pipeline] isUnix [Pipeline] sh [2020-12-07T16:03:00.554Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-07T16:03:00.554Z] . [Pipeline] withDockerContainer [2020-12-07T16:03:00.699Z] prd-centos7-docker-4c-2g-14883 does not seem to be running inside a container [2020-12-07T16:03:00.810Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-12-07T16:03:03.265Z] $ docker top eb8eb4e2cda2b0112715ea191139f61e38825f79f97567ea8c8d15fa6816ae54 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-07T16:03:03.921Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-07T16:03:03.921Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-07T16:03:04.581Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-07T16:03:04.588Z] $ docker exec eb8eb4e2cda2b0112715ea191139f61e38825f79f97567ea8c8d15fa6816ae54 ssh-agent [2020-12-07T16:03:04.952Z] SSH_AUTH_SOCK=/tmp/ssh-sTvLBCzbAjbW/agent.11 [2020-12-07T16:03:04.952Z] SSH_AGENT_PID=16 [2020-12-07T16:03:05.033Z] Running ssh-add (command line suppressed) [2020-12-07T16:03:05.689Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_1375421179465283568.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_1375421179465283568.key) [2020-12-07T16:03:05.942Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-07T16:03:06.713Z] + git semver tag [2020-12-07T16:03:07.003Z] # -> Open(): unable to determine branch for HEAD [2020-12-07T16:03:07.003Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-12-07T16:03:07.003Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-12-07T16:03:07.003Z] # $SEMVER_REMOTE_NAME = origin [2020-12-07T16:03:07.003Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-07T16:03:07.003Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-07T16:03:07.003Z] # $SEMVER_BRANCH = master [2020-12-07T16:03:07.003Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2020-12-07T16:03:07.003Z] # c21ff6277396b81a1001baea71274dd2dd19f737 HEAD [2020-12-07T16:03:07.003Z] # -> Force: false [2020-12-07T16:03:07.003Z] # 4647ee62a564ab0b34cf64cf910df8b50961b47f refs/tags/v1.3.1-dev.5 [Pipeline] } [2020-12-07T16:03:07.072Z] $ docker exec --env ******** --env ******** eb8eb4e2cda2b0112715ea191139f61e38825f79f97567ea8c8d15fa6816ae54 ssh-agent -k [2020-12-07T16:03:07.505Z] unset SSH_AUTH_SOCK; [2020-12-07T16:03:07.510Z] unset SSH_AGENT_PID; [2020-12-07T16:03:07.510Z] echo Agent pid 16 killed; [2020-12-07T16:03:07.713Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-07T16:03:08.838Z] + git semver [Pipeline] } [2020-12-07T16:03:08.904Z] $ docker stop --time=1 eb8eb4e2cda2b0112715ea191139f61e38825f79f97567ea8c8d15fa6816ae54 [2020-12-07T16:03:10.854Z] $ docker rm -f eb8eb4e2cda2b0112715ea191139f61e38825f79f97567ea8c8d15fa6816ae54 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2020-12-07T16:03:12.388Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-12-07T16:03:12.759Z] [2020-12-07T16:03:12.759Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2020-12-07T16:03:13.258Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-12-07T16:03:13.258Z] 0.23.1-centos7: Pulling from edgex-lftools [2020-12-07T16:03:13.258Z] ab5ef0e58194: Pulling fs layer [2020-12-07T16:03:13.258Z] 9712f1f96733: Pulling fs layer [2020-12-07T16:03:13.258Z] 63f879dbbcfc: Pulling fs layer [2020-12-07T16:03:13.258Z] 0d9ebad4ef96: Pulling fs layer [2020-12-07T16:03:13.258Z] e9a5061849ea: Pulling fs layer [2020-12-07T16:03:13.258Z] d747dcd14b5f: Pulling fs layer [2020-12-07T16:03:13.258Z] 2de7ff778b66: Pulling fs layer [2020-12-07T16:03:13.258Z] 0d9ebad4ef96: Waiting [2020-12-07T16:03:13.258Z] e9a5061849ea: Waiting [2020-12-07T16:03:13.258Z] d747dcd14b5f: Waiting [2020-12-07T16:03:13.258Z] 2de7ff778b66: Waiting [2020-12-07T16:03:13.568Z] 9712f1f96733: Verifying Checksum [2020-12-07T16:03:13.568Z] 9712f1f96733: Download complete [2020-12-07T16:03:18.160Z] 63f879dbbcfc: Verifying Checksum [2020-12-07T16:03:18.160Z] 63f879dbbcfc: Download complete [2020-12-07T16:03:19.914Z] e9a5061849ea: Verifying Checksum [2020-12-07T16:03:19.914Z] e9a5061849ea: Download complete [2020-12-07T16:03:19.914Z] d747dcd14b5f: Download complete [2020-12-07T16:03:21.442Z] 0d9ebad4ef96: Verifying Checksum [2020-12-07T16:03:21.442Z] 0d9ebad4ef96: Download complete [2020-12-07T16:03:22.128Z] 2de7ff778b66: Verifying Checksum [2020-12-07T16:03:22.128Z] 2de7ff778b66: Download complete [2020-12-07T16:03:22.128Z] ab5ef0e58194: Verifying Checksum [2020-12-07T16:03:22.128Z] ab5ef0e58194: Download complete [2020-12-07T16:03:37.622Z] ab5ef0e58194: Pull complete [2020-12-07T16:03:37.622Z] 9712f1f96733: Pull complete [2020-12-07T16:03:40.474Z] 63f879dbbcfc: Pull complete [2020-12-07T16:03:59.451Z] 0d9ebad4ef96: Pull complete [2020-12-07T16:04:00.488Z] e9a5061849ea: Pull complete [2020-12-07T16:04:00.800Z] d747dcd14b5f: Pull complete [2020-12-07T16:04:05.266Z] 2de7ff778b66: Pull complete [2020-12-07T16:04:05.266Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2020-12-07T16:04:05.266Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-12-07T16:04:05.266Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2020-12-07T16:04:06.085Z] prd-centos7-docker-4c-2g-14883 does not seem to be running inside a container [2020-12-07T16:04:06.227Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2020-12-07T16:04:12.596Z] $ docker top 62a9cef96c1a364cdcfd9aa968de740e4feb863d70da42b2321020360faea9c4 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2020-12-07T16:04:13.337Z] provisioning config files... [2020-12-07T16:04:13.351Z] copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config846473916208285193tmp [2020-12-07T16:04:13.387Z] copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config3871009019911731369tmp [2020-12-07T16:04:13.413Z] copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config5464399514641037586tmp [Pipeline] { [Pipeline] echo [2020-12-07T16:04:13.478Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-07T16:04:14.189Z] ---> sigul-configuration.sh [2020-12-07T16:04:14.189Z] gpg: directory `/root/.gnupg' created [2020-12-07T16:04:14.189Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2020-12-07T16:04:14.189Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2020-12-07T16:04:14.189Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2020-12-07T16:04:14.189Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2020-12-07T16:04:14.189Z] gpg: CAST5 encrypted data [2020-12-07T16:04:14.500Z] gpg: encrypted with 1 passphrase [2020-12-07T16:04:14.500Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2020-12-07T16:04:15.276Z] + mkdir /home/jenkins [2020-12-07T16:04:15.277Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2020-12-07T16:04:15.998Z] + 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 [2020-12-07T16:04:16.100Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-07T16:04:16.840Z] ---> sigul-install.sh [2020-12-07T16:04:27.540Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2020-12-07T16:04:28.308Z] + git tag --list [2020-12-07T16:04:28.308Z] 0.7.1 [2020-12-07T16:04:28.308Z] delhi-tag [2020-12-07T16:04:28.308Z] v1.0.0 [2020-12-07T16:04:28.308Z] v1.1.0 [2020-12-07T16:04:28.308Z] v1.1.1 [2020-12-07T16:04:28.308Z] v1.1.2 [2020-12-07T16:04:28.308Z] v1.2.0 [2020-12-07T16:04:28.308Z] v1.2.1 [2020-12-07T16:04:28.308Z] v1.2.2 [2020-12-07T16:04:28.308Z] v1.2.3 [2020-12-07T16:04:28.308Z] v1.2.4-dev.1 [2020-12-07T16:04:28.308Z] v1.2.4-dev.10 [2020-12-07T16:04:28.308Z] v1.2.4-dev.11 [2020-12-07T16:04:28.308Z] v1.2.4-dev.12 [2020-12-07T16:04:28.308Z] v1.2.4-dev.13 [2020-12-07T16:04:28.308Z] v1.2.4-dev.14 [2020-12-07T16:04:28.308Z] v1.2.4-dev.15 [2020-12-07T16:04:28.308Z] v1.2.4-dev.16 [2020-12-07T16:04:28.308Z] v1.2.4-dev.17 [2020-12-07T16:04:28.308Z] v1.2.4-dev.18 [2020-12-07T16:04:28.308Z] v1.2.4-dev.19 [2020-12-07T16:04:28.308Z] v1.2.4-dev.2 [2020-12-07T16:04:28.308Z] v1.2.4-dev.20 [2020-12-07T16:04:28.308Z] v1.2.4-dev.21 [2020-12-07T16:04:28.308Z] v1.2.4-dev.22 [2020-12-07T16:04:28.308Z] v1.2.4-dev.23 [2020-12-07T16:04:28.308Z] v1.2.4-dev.24 [2020-12-07T16:04:28.308Z] v1.2.4-dev.25 [2020-12-07T16:04:28.308Z] v1.2.4-dev.26 [2020-12-07T16:04:28.308Z] v1.2.4-dev.27 [2020-12-07T16:04:28.308Z] v1.2.4-dev.28 [2020-12-07T16:04:28.308Z] v1.2.4-dev.29 [2020-12-07T16:04:28.308Z] v1.2.4-dev.3 [2020-12-07T16:04:28.308Z] v1.2.4-dev.30 [2020-12-07T16:04:28.308Z] v1.2.4-dev.31 [2020-12-07T16:04:28.308Z] v1.2.4-dev.32 [2020-12-07T16:04:28.308Z] v1.2.4-dev.33 [2020-12-07T16:04:28.308Z] v1.2.4-dev.34 [2020-12-07T16:04:28.308Z] v1.2.4-dev.35 [2020-12-07T16:04:28.308Z] v1.2.4-dev.4 [2020-12-07T16:04:28.308Z] v1.2.4-dev.5 [2020-12-07T16:04:28.308Z] v1.2.4-dev.6 [2020-12-07T16:04:28.308Z] v1.2.4-dev.7 [2020-12-07T16:04:28.308Z] v1.2.4-dev.8 [2020-12-07T16:04:28.308Z] v1.2.4-dev.9 [2020-12-07T16:04:28.308Z] v1.3.0 [2020-12-07T16:04:28.308Z] v1.3.1-dev.1 [2020-12-07T16:04:28.308Z] v1.3.1-dev.2 [2020-12-07T16:04:28.308Z] v1.3.1-dev.3 [2020-12-07T16:04:28.308Z] v1.3.1-dev.4 [2020-12-07T16:04:28.308Z] v1.3.1-dev.5 [Pipeline] sh [2020-12-07T16:04:29.078Z] + lftools sign git-tag v1.3.1-dev.5 [2020-12-07T16:04:31.714Z] Signing Git tag with Sigul... [2020-12-07T16:04:31.715Z] Signing v1.3.1-dev.5 [Pipeline] echo [2020-12-07T16:04:34.418Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-07T16:04:35.534Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2020-12-07T16:04:35.551Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2020-12-07T16:04:35.650Z] $ docker stop --time=1 62a9cef96c1a364cdcfd9aa968de740e4feb863d70da42b2321020360faea9c4 [2020-12-07T16:04:38.155Z] $ docker rm -f 62a9cef96c1a364cdcfd9aa968de740e4feb863d70da42b2321020360faea9c4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2020-12-07T16:04:39.807Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-07T16:04:39.807Z] . [Pipeline] withDockerContainer [2020-12-07T16:04:40.311Z] prd-centos7-docker-4c-2g-14883 does not seem to be running inside a container [2020-12-07T16:04:40.427Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-12-07T16:04:42.252Z] $ docker top fbd0cb250820f034f7d3ddf8cd91d7495f91ece4532c4681cb3482d2be73a9ef -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-07T16:04:43.738Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-07T16:04:43.739Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-07T16:04:44.344Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-07T16:04:44.350Z] $ docker exec fbd0cb250820f034f7d3ddf8cd91d7495f91ece4532c4681cb3482d2be73a9ef ssh-agent [2020-12-07T16:04:45.083Z] SSH_AUTH_SOCK=/tmp/ssh-dnIpA4S1Crlv/agent.11 [2020-12-07T16:04:45.083Z] SSH_AGENT_PID=16 [2020-12-07T16:04:45.102Z] Running ssh-add (command line suppressed) [2020-12-07T16:04:45.536Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_4035898677223837765.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_4035898677223837765.key) [2020-12-07T16:04:45.700Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-07T16:04:46.422Z] + git semver bump pre [2020-12-07T16:04:46.422Z] # -> Open(): unable to determine branch for HEAD [2020-12-07T16:04:46.422Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-12-07T16:04:46.422Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-12-07T16:04:46.422Z] # $SEMVER_REMOTE_NAME = origin [2020-12-07T16:04:46.422Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-07T16:04:46.422Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-07T16:04:46.422Z] # $SEMVER_BRANCH = master [2020-12-07T16:04:46.422Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2020-12-07T16:04:46.422Z] 1.3.1-dev.6 [Pipeline] } [2020-12-07T16:04:46.439Z] $ docker exec --env ******** --env ******** fbd0cb250820f034f7d3ddf8cd91d7495f91ece4532c4681cb3482d2be73a9ef ssh-agent -k [2020-12-07T16:04:46.684Z] unset SSH_AUTH_SOCK; [2020-12-07T16:04:46.685Z] unset SSH_AGENT_PID; [2020-12-07T16:04:46.686Z] echo Agent pid 16 killed; [2020-12-07T16:04:46.811Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-07T16:04:47.366Z] + git semver [Pipeline] } [2020-12-07T16:04:47.782Z] $ docker stop --time=1 fbd0cb250820f034f7d3ddf8cd91d7495f91ece4532c4681cb3482d2be73a9ef [2020-12-07T16:04:49.597Z] $ docker rm -f fbd0cb250820f034f7d3ddf8cd91d7495f91ece4532c4681cb3482d2be73a9ef [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-12-07T16:04:50.371Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-07T16:04:50.371Z] . [Pipeline] withDockerContainer [2020-12-07T16:04:51.177Z] prd-centos7-docker-4c-2g-14883 does not seem to be running inside a container [2020-12-07T16:04:51.361Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-12-07T16:04:53.227Z] $ docker top d3b01ca7357f97095433fdf30810ee340d79f54000833b1096d1047480eb2dbb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-07T16:04:53.884Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-07T16:04:53.884Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-07T16:04:54.358Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-07T16:04:54.364Z] $ docker exec d3b01ca7357f97095433fdf30810ee340d79f54000833b1096d1047480eb2dbb ssh-agent [2020-12-07T16:04:54.670Z] SSH_AUTH_SOCK=/tmp/ssh-OJIovhUGSkk9/agent.12 [2020-12-07T16:04:54.670Z] SSH_AGENT_PID=17 [2020-12-07T16:04:54.687Z] Running ssh-add (command line suppressed) [2020-12-07T16:04:54.978Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8080490143638376794.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8080490143638376794.key) [2020-12-07T16:04:55.137Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-07T16:04:55.515Z] + git semver push [2020-12-07T16:04:55.515Z] # -> Open(): unable to determine branch for HEAD [2020-12-07T16:04:55.515Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-12-07T16:04:55.515Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-12-07T16:04:55.515Z] # $SEMVER_REMOTE_NAME = origin [2020-12-07T16:04:55.515Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-07T16:04:55.515Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-07T16:04:55.515Z] # $SEMVER_BRANCH = master [2020-12-07T16:04:55.515Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2020-12-07T16:05:05.883Z] $ docker exec --env ******** --env ******** d3b01ca7357f97095433fdf30810ee340d79f54000833b1096d1047480eb2dbb ssh-agent -k [2020-12-07T16:05:06.676Z] unset SSH_AUTH_SOCK; [2020-12-07T16:05:06.679Z] unset SSH_AGENT_PID; [2020-12-07T16:05:06.679Z] echo Agent pid 17 killed; [2020-12-07T16:05:06.815Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-07T16:05:07.400Z] + git semver [Pipeline] } [2020-12-07T16:05:07.704Z] $ docker stop --time=1 d3b01ca7357f97095433fdf30810ee340d79f54000833b1096d1047480eb2dbb [2020-12-07T16:05:09.752Z] $ docker rm -f d3b01ca7357f97095433fdf30810ee340d79f54000833b1096d1047480eb2dbb [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 [2020-12-07T16:05:12.110Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-07T16:05:12.872Z] ---> package-listing.sh [2020-12-07T16:05:12.872Z] ++ facter osfamily [2020-12-07T16:05:12.872Z] ++ tr '[:upper:]' '[:lower:]' [2020-12-07T16:05:13.159Z] + OS_FAMILY=redhat [2020-12-07T16:05:13.159Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_master [2020-12-07T16:05:13.159Z] + START_PACKAGES=/tmp/packages_start.txt [2020-12-07T16:05:13.159Z] + END_PACKAGES=/tmp/packages_end.txt [2020-12-07T16:05:13.159Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-12-07T16:05:13.159Z] + PACKAGES=/tmp/packages_start.txt [2020-12-07T16:05:13.159Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2020-12-07T16:05:13.159Z] + PACKAGES=/tmp/packages_end.txt [2020-12-07T16:05:13.159Z] + case "${OS_FAMILY}" in [2020-12-07T16:05:13.159Z] + rpm -qa [2020-12-07T16:05:13.159Z] + sort [2020-12-07T16:05:21.925Z] + '[' -f /tmp/packages_start.txt ']' [2020-12-07T16:05:21.925Z] + '[' -f /tmp/packages_end.txt ']' [2020-12-07T16:05:21.925Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-12-07T16:05:21.925Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2020-12-07T16:05:21.925Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [2020-12-07T16:05:21.925Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [Pipeline] echo [2020-12-07T16:05:21.943Z] 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 [2020-12-07T16:05:22.323Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-12-07T16:05:23.006Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-07T16:05:23.285Z] [2020-12-07T16:05:23.285Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-12-07T16:05:23.795Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-07T16:05:24.406Z] alpine: Pulling from edgex-lftools-log-publisher [2020-12-07T16:05:24.406Z] df20fa9351a1: Pulling fs layer [2020-12-07T16:05:24.406Z] 36b3adc4ff6f: Pulling fs layer [2020-12-07T16:05:24.406Z] 8ad3a11d3b57: Pulling fs layer [2020-12-07T16:05:24.406Z] 46f8f816bc3b: Pulling fs layer [2020-12-07T16:05:24.406Z] 93b61091891f: Pulling fs layer [2020-12-07T16:05:24.406Z] 93b9cdb0e59b: Pulling fs layer [2020-12-07T16:05:24.406Z] 5e14af77c1be: Pulling fs layer [2020-12-07T16:05:24.406Z] 01666e4c0597: Pulling fs layer [2020-12-07T16:05:24.406Z] aa168da1d23b: Pulling fs layer [2020-12-07T16:05:24.406Z] 46f8f816bc3b: Waiting [2020-12-07T16:05:24.406Z] 93b61091891f: Waiting [2020-12-07T16:05:24.406Z] 93b9cdb0e59b: Waiting [2020-12-07T16:05:24.406Z] 5e14af77c1be: Waiting [2020-12-07T16:05:24.406Z] 01666e4c0597: Waiting [2020-12-07T16:05:24.406Z] aa168da1d23b: Waiting [2020-12-07T16:05:24.406Z] 36b3adc4ff6f: Verifying Checksum [2020-12-07T16:05:24.406Z] 36b3adc4ff6f: Download complete [2020-12-07T16:05:24.406Z] 46f8f816bc3b: Verifying Checksum [2020-12-07T16:05:24.406Z] 46f8f816bc3b: Download complete [2020-12-07T16:05:24.703Z] df20fa9351a1: Verifying Checksum [2020-12-07T16:05:24.703Z] df20fa9351a1: Download complete [2020-12-07T16:05:24.703Z] 93b9cdb0e59b: Verifying Checksum [2020-12-07T16:05:24.703Z] 93b9cdb0e59b: Download complete [2020-12-07T16:05:24.994Z] 5e14af77c1be: Verifying Checksum [2020-12-07T16:05:24.994Z] 5e14af77c1be: Download complete [2020-12-07T16:05:24.994Z] 93b61091891f: Verifying Checksum [2020-12-07T16:05:24.994Z] 93b61091891f: Download complete [2020-12-07T16:05:24.994Z] 01666e4c0597: Verifying Checksum [2020-12-07T16:05:24.994Z] 01666e4c0597: Download complete [2020-12-07T16:05:26.048Z] df20fa9351a1: Pull complete [2020-12-07T16:05:26.331Z] 8ad3a11d3b57: Verifying Checksum [2020-12-07T16:05:26.331Z] 8ad3a11d3b57: Download complete [2020-12-07T16:05:26.331Z] 36b3adc4ff6f: Pull complete [2020-12-07T16:05:28.475Z] 8ad3a11d3b57: Pull complete [2020-12-07T16:05:28.854Z] 46f8f816bc3b: Pull complete [2020-12-07T16:05:30.517Z] 93b61091891f: Pull complete [2020-12-07T16:05:30.864Z] 93b9cdb0e59b: Pull complete [2020-12-07T16:05:31.507Z] 5e14af77c1be: Pull complete [2020-12-07T16:05:31.788Z] 01666e4c0597: Pull complete [2020-12-07T16:05:33.356Z] aa168da1d23b: Verifying Checksum [2020-12-07T16:05:33.356Z] aa168da1d23b: Download complete [2020-12-07T16:05:55.888Z] aa168da1d23b: Pull complete [2020-12-07T16:05:55.888Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-12-07T16:05:55.888Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-07T16:05:55.888Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-12-07T16:05:56.449Z] prd-centos7-docker-4c-2g-14883 does not seem to be running inside a container [2020-12-07T16:05:56.556Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-12-07T16:05:59.372Z] $ docker top 176f387c919ed72ef389a7a0fff4958f6dd0da87633fea6a5f14e40adbfb6ea5 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-07T16:06:00.439Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-12-07T16:06:00.763Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-12-07T16:06:01.099Z] + ls /var/log/sa-host [2020-12-07T16:06:01.099Z] + sadf -c /var/log/sa-host/sa07 [2020-12-07T16:06:01.099Z] file_magic: OK [2020-12-07T16:06:01.099Z] HZ: Using current value: 100 [2020-12-07T16:06:01.099Z] file_header: OK [2020-12-07T16:06:01.099Z] 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 [2020-12-07T16:06:01.099Z] Statistics: [2020-12-07T16:06:01.099Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-12-07T16:06:01.099Z] File successfully converted to sysstat format version 12.2.1 [2020-12-07T16:06:01.099Z] + sadf -c /var/log/sa-host/sa23 [2020-12-07T16:06:01.099Z] file_magic: OK [2020-12-07T16:06:01.099Z] HZ: Using current value: 100 [2020-12-07T16:06:01.099Z] file_header: OK [2020-12-07T16:06:01.099Z] 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 [2020-12-07T16:06:01.099Z] Statistics: [2020-12-07T16:06:01.099Z] Hnuu...uuuununununu... [2020-12-07T16:06:01.099Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-07T16:06:01.422Z] provisioning config files... [2020-12-07T16:06:01.453Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config54270313713064974tmp [Pipeline] { [Pipeline] echo [2020-12-07T16:06:01.553Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-07T16:06:02.214Z] ---> create-netrc.sh [Pipeline] } [2020-12-07T16:06:02.230Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-12-07T16:06:02.344Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-07T16:06:02.727Z] ---> python-tools-install.sh [Pipeline] echo [2020-12-07T16:06:02.730Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-07T16:06:03.985Z] ---> sudo-logs.sh [2020-12-07T16:06:03.985Z] Archiving 'sudo' log.. [Pipeline] echo [2020-12-07T16:06:04.004Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-07T16:06:04.709Z] ---> job-cost.sh [2020-12-07T16:06:04.709Z] lf-activate-venv: SKIPPING [2020-12-07T16:06:04.709Z] INFO: No Stack... [2020-12-07T16:06:07.335Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-12-07T16:06:07.935Z] INFO: Archiving Costs [Pipeline] echo [2020-12-07T16:06:07.975Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-07T16:06:08.722Z] ---> logs-deploy.sh [2020-12-07T16:06:08.722Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/92 [2020-12-07T16:06:08.722Z] INFO: archiving workspace using pattern(s): [2020-12-07T16:06:12.315Z] Archives upload complete. [2020-12-07T16:06:12.316Z] INFO: archiving logs to Nexus