Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 9f3888b97fc6b215bf6207a034605e4e0e7d1a95 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 69a7e166112f335804d9fea76440e5140e47f034 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 69a7e166112f335804d9fea76440e5140e47f034 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 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-modbus-go, buildSnap:true] ========================================================= [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-modbus-go-settings PROJECT: device-modbus-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: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-modbus-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: true PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-21451 in /w/workspace/xfoundry_device-modbus-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-modbus-go.git > git init /w/workspace/xfoundry_device-modbus-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-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-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9f3888b97fc6b215bf6207a034605e4e0e7d1a95 (master) > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-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-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9f3888b97fc6b215bf6207a034605e4e0e7d1a95 # timeout=10 Commit message: "Merge pull request #215 from iain-anderson/commit-lint" > git rev-list --no-walk 6e20a1d0031e874d4eec2dbc8984745391b205bd # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-20T01:03:52.972Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-20T01:03:53.276Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-20T01:03:53.371Z] ========================================================= [2021-01-20T01:03:53.371Z] EdgeX Global Pipelines Version Info [2021-01-20T01:03:53.371Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-20T01:03:54.856Z] ------------------- [2021-01-20T01:03:54.856Z] stable info: [2021-01-20T01:03:54.856Z] ------------------- [2021-01-20T01:03:54.856Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-20T01:03:54.856Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-20T01:03:54.856Z] Message: update stable to v1.0.179 [2021-01-20T01:03:56.245Z] ------------------- [2021-01-20T01:03:56.245Z] experimental info: [2021-01-20T01:03:56.245Z] ------------------- [2021-01-20T01:03:56.245Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-20T01:03:56.245Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-20T01:03:56.245Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-20T01:03:56.499Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2021-01-20T01:03:56.588Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2021-01-20T01:03:56.678Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-20T01:03:56.767Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-20T01:03:56.885Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-20T01:03:56.976Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-20T01:03:57.065Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-20T01:03:57.154Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-20T01:03:57.270Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-01-20T01:03:57.378Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-20T01:03:57.469Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-20T01:03:57.558Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-modbus-go [Pipeline] echo [2021-01-20T01:03:57.647Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-20T01:03:57.758Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-20T01:03:57.866Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-20T01:03:57.956Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-01-20T01:03:58.049Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-20T01:03:58.137Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-20T01:03:58.226Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-20T01:03:58.314Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-01-20T01:03:58.398Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-01-20T01:03:58.484Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-01-20T01:03:58.592Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-20T01:03:58.689Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-20T01:03:58.852Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-20T01:03:58.967Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-20T01:03:59.075Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-20T01:03:59.160Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-01-20T01:03:59.256Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-01-20T01:03:59.348Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-01-20T01:03:59.437Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9f3888b97fc6b215bf6207a034605e4e0e7d1a95 [Pipeline] echo [2021-01-20T01:03:59.543Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9f3888b [Pipeline] echo [2021-01-20T01:03:59.664Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-20T01:03:59.833Z] provisioning config files... [2021-01-20T01:03:59.862Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config7472688900410765524tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-20T01:04:00.215Z] ---> docker-login.sh [2021-01-20T01:04:00.215Z] nexus3.edgexfoundry.org:10001 [2021-01-20T01:04:00.478Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T01:04:00.740Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T01:04:00.740Z] Configure a credential helper to remove this warning. See [2021-01-20T01:04:00.740Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T01:04:00.740Z] [2021-01-20T01:04:00.740Z] Login Succeeded [2021-01-20T01:04:00.740Z] nexus3.edgexfoundry.org:10002 [2021-01-20T01:04:00.740Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T01:04:00.740Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T01:04:00.740Z] Configure a credential helper to remove this warning. See [2021-01-20T01:04:00.740Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T01:04:00.740Z] [2021-01-20T01:04:00.740Z] Login Succeeded [2021-01-20T01:04:00.740Z] nexus3.edgexfoundry.org:10003 [2021-01-20T01:04:01.001Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T01:04:01.001Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T01:04:01.001Z] Configure a credential helper to remove this warning. See [2021-01-20T01:04:01.001Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T01:04:01.001Z] [2021-01-20T01:04:01.001Z] Login Succeeded [2021-01-20T01:04:01.001Z] nexus3.edgexfoundry.org:10004 [2021-01-20T01:04:01.001Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T01:04:01.265Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T01:04:01.265Z] Configure a credential helper to remove this warning. See [2021-01-20T01:04:01.265Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T01:04:01.265Z] [2021-01-20T01:04:01.265Z] Login Succeeded [2021-01-20T01:04:01.265Z] docker.io [2021-01-20T01:04:01.265Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T01:04:01.527Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T01:04:01.527Z] Configure a credential helper to remove this warning. See [2021-01-20T01:04:01.527Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T01:04:01.527Z] [2021-01-20T01:04:01.527Z] Login Succeeded [2021-01-20T01:04:01.527Z] ---> docker-login.sh ends [Pipeline] } [2021-01-20T01:04:01.536Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-20T01:04:02.453Z] + git log --format=format:%s -1 9f3888b97fc6b215bf6207a034605e4e0e7d1a95 [Pipeline] echo [2021-01-20T01:04:02.517Z] GIT_COMMIT: 9f3888b97fc6b215bf6207a034605e4e0e7d1a95, Commit Message: Merge pull request #215 from iain-anderson/commit-lint [Pipeline] echo [2021-01-20T01:04:02.562Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-20T01:04:03.506Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-20T01:04:03.506Z] [2021-01-20T01:04:03.506Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-20T01:04:03.854Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-20T01:04:03.854Z] latest: Pulling from edgex-devops/git-semver [2021-01-20T01:04:03.854Z] 31603596830f: Pulling fs layer [2021-01-20T01:04:03.854Z] 2a8b12db71e7: Pulling fs layer [2021-01-20T01:04:03.854Z] 6ca5941a6612: Pulling fs layer [2021-01-20T01:04:03.854Z] ecc8261a40a4: Pulling fs layer [2021-01-20T01:04:03.854Z] ecc8261a40a4: Waiting [2021-01-20T01:04:03.854Z] 2a8b12db71e7: Verifying Checksum [2021-01-20T01:04:03.854Z] 2a8b12db71e7: Download complete [2021-01-20T01:04:04.117Z] 31603596830f: Verifying Checksum [2021-01-20T01:04:04.117Z] 31603596830f: Download complete [2021-01-20T01:04:04.117Z] ecc8261a40a4: Verifying Checksum [2021-01-20T01:04:04.117Z] ecc8261a40a4: Download complete [2021-01-20T01:04:04.117Z] 6ca5941a6612: Verifying Checksum [2021-01-20T01:04:04.117Z] 6ca5941a6612: Download complete [2021-01-20T01:04:04.379Z] 31603596830f: Pull complete [2021-01-20T01:04:04.379Z] 2a8b12db71e7: Pull complete [2021-01-20T01:04:05.334Z] 6ca5941a6612: Pull complete [2021-01-20T01:04:05.334Z] ecc8261a40a4: Pull complete [2021-01-20T01:04:05.334Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-20T01:04:05.597Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-20T01:04:05.597Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-20T01:04:05.711Z] prd-centos7-docker-4c-2g-21451 does not seem to be running inside a container [2021-01-20T01:04:05.760Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-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 [2021-01-20T01:04:08.132Z] $ docker top 27e4dafe2adffdb5f07a8034df6b2e792f43026abd337304aaf7c397ec46a68b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-20T01:04:08.454Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-20T01:04:08.454Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-20T01:04:08.672Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-20T01:04:08.677Z] $ docker exec 27e4dafe2adffdb5f07a8034df6b2e792f43026abd337304aaf7c397ec46a68b ssh-agent [2021-01-20T01:04:08.917Z] SSH_AUTH_SOCK=/tmp/ssh-L8zTywx0xRuJ/agent.11 [2021-01-20T01:04:08.917Z] SSH_AGENT_PID=16 [2021-01-20T01:04:08.927Z] Running ssh-add (command line suppressed) [2021-01-20T01:04:09.042Z] Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_7980676701119130574.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_7980676701119130574.key) [2021-01-20T01:04:09.101Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-20T01:04:09.436Z] + git tag --points-at HEAD [Pipeline] } [2021-01-20T01:04:09.469Z] $ docker exec --env ******** --env ******** 27e4dafe2adffdb5f07a8034df6b2e792f43026abd337304aaf7c397ec46a68b ssh-agent -k [2021-01-20T01:04:09.614Z] unset SSH_AUTH_SOCK; [2021-01-20T01:04:09.615Z] unset SSH_AGENT_PID; [2021-01-20T01:04:09.615Z] echo Agent pid 16 killed; [2021-01-20T01:04:09.664Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-20T01:04:09.827Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-20T01:04:09.827Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-20T01:04:09.988Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-20T01:04:09.993Z] $ docker exec 27e4dafe2adffdb5f07a8034df6b2e792f43026abd337304aaf7c397ec46a68b ssh-agent [2021-01-20T01:04:10.148Z] SSH_AUTH_SOCK=/tmp/ssh-0y1VeC255lAj/agent.46 [2021-01-20T01:04:10.148Z] SSH_AGENT_PID=51 [2021-01-20T01:04:10.155Z] Running ssh-add (command line suppressed) [2021-01-20T01:04:10.268Z] Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_5558643905026327357.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_5558643905026327357.key) [2021-01-20T01:04:10.324Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-20T01:04:10.713Z] + git semver init [2021-01-20T01:04:10.713Z] # -> Open(): unable to determine branch for HEAD [2021-01-20T01:04:10.713Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git [2021-01-20T01:04:10.713Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master [2021-01-20T01:04:10.713Z] # $SEMVER_REMOTE_NAME = origin [2021-01-20T01:04:10.713Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-20T01:04:10.713Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-20T01:04:10.713Z] # $SEMVER_BRANCH = master [2021-01-20T01:04:10.713Z] # $SEMVER_TEMP = /tmp/semver-636590555 [2021-01-20T01:04:10.713Z] # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP [2021-01-20T01:04:11.298Z] # '/tmp/semver-636590555' -> '/w/workspace/xfoundry_device-modbus-go_master/.semver' [2021-01-20T01:04:11.298Z] # -> Force: false [2021-01-20T01:04:11.298Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [Pipeline] } [2021-01-20T01:04:11.313Z] $ docker exec --env ******** --env ******** 27e4dafe2adffdb5f07a8034df6b2e792f43026abd337304aaf7c397ec46a68b ssh-agent -k [2021-01-20T01:04:11.427Z] unset SSH_AUTH_SOCK; [2021-01-20T01:04:11.428Z] unset SSH_AGENT_PID; [2021-01-20T01:04:11.428Z] echo Agent pid 51 killed; [2021-01-20T01:04:11.475Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-20T01:04:11.988Z] + git semver [Pipeline] } [2021-01-20T01:04:12.006Z] $ docker stop --time=1 27e4dafe2adffdb5f07a8034df6b2e792f43026abd337304aaf7c397ec46a68b [2021-01-20T01:04:13.364Z] $ docker rm -f 27e4dafe2adffdb5f07a8034df6b2e792f43026abd337304aaf7c397ec46a68b [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-20T01:04:13.839Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-20T01:04:14.271Z] Stashed 1 file(s) [Pipeline] echo [2021-01-20T01:04:14.273Z] [edgeXSemver]: initialized semver on version 1.3.1-dev.8 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-01-20T01:04:29.807Z] Still waiting to schedule task [2021-01-20T01:04:29.807Z] ‘prd-centos7-builder-2c-1g-20773’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-21453’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-01-20T01:04:29.809Z] Still waiting to schedule task [2021-01-20T01:04:29.809Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-01-20T01:05:37.661Z] Running on prd-centos7-docker-4c-2g-21455 in /w/workspace/xfoundry_device-modbus-go_master [Pipeline] { [Pipeline] ws [2021-01-20T01:05:37.724Z] Running in /w/workspace/device-modbus-go/36 [Pipeline] { [Pipeline] checkout [2021-01-20T01:05:40.081Z] using credential edgex-jenkins-ssh [2021-01-20T01:05:40.156Z] Cloning the remote Git repository [2021-01-20T01:05:40.179Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2021-01-20T01:05:40.244Z] > git init /w/workspace/device-modbus-go/36 # timeout=10 [2021-01-20T01:05:40.304Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-01-20T01:05:40.304Z] > git --version # timeout=10 [2021-01-20T01:05:40.310Z] > git --version # 'git version 2.24.3' [2021-01-20T01:05:40.310Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-20T01:05:40.335Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-20T01:05:41.029Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-01-20T01:05:41.036Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-20T01:05:41.049Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-01-20T01:05:41.065Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-01-20T01:05:41.065Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-20T01:05:41.070Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-20T01:05:41.471Z] Checking out Revision 9f3888b97fc6b215bf6207a034605e4e0e7d1a95 (master) [2021-01-20T01:05:41.479Z] > git config core.sparsecheckout # timeout=10 [2021-01-20T01:05:41.483Z] > git checkout -f 9f3888b97fc6b215bf6207a034605e4e0e7d1a95 # timeout=10 [2021-01-20T01:05:45.273Z] Commit message: "Merge pull request #215 from iain-anderson/commit-lint" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-20T01:05:46.481Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-20T01:05:46.818Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-20T01:05:47.123Z] + sudo service docker restart [2021-01-20T01:05:47.123Z] + true [2021-01-20T01:05:47.123Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-20T01:05:48.583Z] provisioning config files... [2021-01-20T01:05:48.616Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/36@tmp/config8323997613642959671tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-20T01:05:48.981Z] ---> docker-login.sh [2021-01-20T01:05:48.981Z] nexus3.edgexfoundry.org:10001 [2021-01-20T01:05:49.245Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T01:05:49.245Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T01:05:49.245Z] Configure a credential helper to remove this warning. See [2021-01-20T01:05:49.245Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T01:05:49.245Z] [2021-01-20T01:05:49.245Z] Login Succeeded [2021-01-20T01:05:49.245Z] nexus3.edgexfoundry.org:10002 [2021-01-20T01:05:49.514Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T01:05:49.514Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T01:05:49.514Z] Configure a credential helper to remove this warning. See [2021-01-20T01:05:49.514Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T01:05:49.514Z] [2021-01-20T01:05:49.514Z] Login Succeeded [2021-01-20T01:05:49.514Z] nexus3.edgexfoundry.org:10003 [2021-01-20T01:05:49.514Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T01:05:49.777Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T01:05:49.777Z] Configure a credential helper to remove this warning. See [2021-01-20T01:05:49.777Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T01:05:49.777Z] [2021-01-20T01:05:49.777Z] Login Succeeded [2021-01-20T01:05:49.777Z] nexus3.edgexfoundry.org:10004 [2021-01-20T01:05:49.777Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T01:05:49.777Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T01:05:49.778Z] Configure a credential helper to remove this warning. See [2021-01-20T01:05:49.778Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T01:05:49.778Z] [2021-01-20T01:05:49.778Z] Login Succeeded [2021-01-20T01:05:49.778Z] docker.io [2021-01-20T01:05:50.041Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T01:05:50.304Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T01:05:50.304Z] Configure a credential helper to remove this warning. See [2021-01-20T01:05:50.304Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T01:05:50.304Z] [2021-01-20T01:05:50.304Z] Login Succeeded [2021-01-20T01:05:50.304Z] ---> docker-login.sh ends [Pipeline] } [2021-01-20T01:05:50.313Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-20T01:05:50.650Z] ========================================================= [2021-01-20T01:05:50.651Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-20T01:05:50.651Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-20T01:05:51.002Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2021-01-20T01:05:51.002Z] Sending build context to Docker daemon 549.9kB [2021-01-20T01:05:51.002Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-20T01:05:51.002Z] Step 2/8 : FROM ${BASE} [2021-01-20T01:05:51.265Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-20T01:05:51.265Z] 188c0c94c7c5: Pulling fs layer [2021-01-20T01:05:51.265Z] 0ef7d3d256c8: Pulling fs layer [2021-01-20T01:05:51.265Z] de9db76c5a1d: Pulling fs layer [2021-01-20T01:05:51.265Z] bca2f99d35d6: Pulling fs layer [2021-01-20T01:05:51.265Z] 93359f2a8cfa: Pulling fs layer [2021-01-20T01:05:51.265Z] 7c6f9722023f: Pulling fs layer [2021-01-20T01:05:51.265Z] a35cf1a2eb13: Pulling fs layer [2021-01-20T01:05:51.265Z] 93359f2a8cfa: Waiting [2021-01-20T01:05:51.265Z] 7c6f9722023f: Waiting [2021-01-20T01:05:51.265Z] a35cf1a2eb13: Waiting [2021-01-20T01:05:51.265Z] bca2f99d35d6: Waiting [2021-01-20T01:05:51.265Z] de9db76c5a1d: Verifying Checksum [2021-01-20T01:05:51.265Z] de9db76c5a1d: Download complete [2021-01-20T01:05:51.265Z] 0ef7d3d256c8: Verifying Checksum [2021-01-20T01:05:51.265Z] 0ef7d3d256c8: Download complete [2021-01-20T01:05:51.265Z] 93359f2a8cfa: Verifying Checksum [2021-01-20T01:05:51.265Z] 93359f2a8cfa: Download complete [2021-01-20T01:05:51.847Z] 7c6f9722023f: Verifying Checksum [2021-01-20T01:05:51.847Z] 7c6f9722023f: Download complete [2021-01-20T01:05:51.847Z] 188c0c94c7c5: Verifying Checksum [2021-01-20T01:05:51.847Z] 188c0c94c7c5: Download complete [2021-01-20T01:05:52.113Z] 188c0c94c7c5: Pull complete [2021-01-20T01:05:52.378Z] 0ef7d3d256c8: Pull complete [2021-01-20T01:05:52.378Z] de9db76c5a1d: Pull complete [2021-01-20T01:05:53.792Z] a35cf1a2eb13: Verifying Checksum [2021-01-20T01:05:53.792Z] a35cf1a2eb13: Download complete [2021-01-20T01:05:54.386Z] bca2f99d35d6: Download complete [2021-01-20T01:05:59.723Z] bca2f99d35d6: Pull complete [2021-01-20T01:05:59.724Z] 93359f2a8cfa: Pull complete [2021-01-20T01:05:59.724Z] 7c6f9722023f: Pull complete [2021-01-20T01:06:07.917Z] a35cf1a2eb13: Pull complete [2021-01-20T01:06:07.917Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-20T01:06:07.917Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-20T01:06:07.917Z] ---> a62c8e92a672 [2021-01-20T01:06:07.917Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2021-01-20T01:06:07.917Z] ---> Running in dd14ef80f69a [2021-01-20T01:06:08.188Z] Removing intermediate container dd14ef80f69a [2021-01-20T01:06:08.188Z] ---> 5bf89521466a [2021-01-20T01:06:08.188Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-20T01:06:08.188Z] ---> Running in c1e6debf6e68 [2021-01-20T01:06:09.148Z] Removing intermediate container c1e6debf6e68 [2021-01-20T01:06:09.148Z] ---> ee376b94057c [2021-01-20T01:06:09.148Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2021-01-20T01:06:09.148Z] ---> Running in e21b3efda140 [2021-01-20T01:06:10.104Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-20T01:06:10.680Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-20T01:06:11.256Z] (1/14) Installing libmagic (5.38-r0) [2021-01-20T01:06:11.517Z] (2/14) Installing file (5.38-r0) [2021-01-20T01:06:11.780Z] (3/14) Installing libc-dev (0.7.2-r3) [2021-01-20T01:06:11.780Z] (4/14) Installing g++ (9.3.0-r2) [2021-01-20T01:06:16.032Z] (5/14) Installing fortify-headers (1.1-r0) [2021-01-20T01:06:16.032Z] (6/14) Installing patch (2.7.6-r6) [2021-01-20T01:06:16.301Z] (7/14) Installing build-base (0.5-r2) [2021-01-20T01:06:16.301Z] (8/14) Installing openssh-keygen (8.3_p1-r1) [2021-01-20T01:06:16.301Z] (9/14) Installing libedit (20191231.3.1-r0) [2021-01-20T01:06:16.567Z] (10/14) Installing openssh-client (8.3_p1-r1) [2021-01-20T01:06:16.831Z] (11/14) Installing openssh-sftp-server (8.3_p1-r1) [2021-01-20T01:06:17.095Z] (12/14) Installing openssh-server-common (8.3_p1-r1) [2021-01-20T01:06:17.095Z] (13/14) Installing openssh-server (8.3_p1-r1) [2021-01-20T01:06:17.360Z] (14/14) Installing openssh (8.3_p1-r1) [2021-01-20T01:06:17.360Z] Executing busybox-1.31.1-r19.trigger [2021-01-20T01:06:17.360Z] OK: 237 MiB in 53 packages [2021-01-20T01:06:20.687Z] Removing intermediate container e21b3efda140 [2021-01-20T01:06:20.687Z] ---> 6a491b8505a2 [2021-01-20T01:06:20.687Z] Step 6/8 : WORKDIR /device-modbus-go [2021-01-20T01:06:20.687Z] ---> Running in a4d482b7df51 [2021-01-20T01:06:20.687Z] Removing intermediate container a4d482b7df51 [2021-01-20T01:06:20.687Z] ---> 309b80a47fbb [2021-01-20T01:06:20.687Z] Step 7/8 : COPY . . [2021-01-20T01:06:21.634Z] ---> d68fc8376921 [2021-01-20T01:06:21.634Z] Step 8/8 : RUN go mod download [2021-01-20T01:06:21.634Z] ---> Running in f995ba755e33 [2021-01-20T01:06:39.826Z] Removing intermediate container f995ba755e33 [2021-01-20T01:06:39.826Z] ---> 1b7d3e552c45 [2021-01-20T01:06:39.826Z] Successfully built 1b7d3e552c45 [2021-01-20T01:06:39.826Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-20T01:06:40.145Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-20T01:06:40.145Z] . [Pipeline] withDockerContainer [2021-01-20T01:06:40.262Z] prd-centos7-docker-4c-2g-21455 does not seem to be running inside a container [2021-01-20T01:06:40.308Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/36 -v /w/workspace/device-modbus-go/36:/w/workspace/device-modbus-go/36:rw,z -v /w/workspace/device-modbus-go/36@tmp:/w/workspace/device-modbus-go/36@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 [2021-01-20T01:06:41.063Z] $ docker top fce82df1e48b12758bcd7513f58121c25183a3c3e65142158537157fa436454c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-20T01:06:41.621Z] + go version [2021-01-20T01:06:41.621Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-20T01:06:41.637Z] $ docker stop --time=1 fce82df1e48b12758bcd7513f58121c25183a3c3e65142158537157fa436454c [2021-01-20T01:06:43.039Z] $ docker rm -f fce82df1e48b12758bcd7513f58121c25183a3c3e65142158537157fa436454c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-20T01:06:43.875Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-20T01:06:43.875Z] . [Pipeline] withDockerContainer [2021-01-20T01:06:43.975Z] prd-centos7-docker-4c-2g-21455 does not seem to be running inside a container [2021-01-20T01:06:44.024Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/36 -v /w/workspace/device-modbus-go/36:/w/workspace/device-modbus-go/36:rw,z -v /w/workspace/device-modbus-go/36@tmp:/w/workspace/device-modbus-go/36@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 [2021-01-20T01:06:44.746Z] $ docker top 8a63b215f2652e31de65ed5b6f34be97b08bdc82a42b658053933c700abdc6c1 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-20T01:06:45.231Z] + make test [2021-01-20T01:06:45.232Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-01-20T01:06:46.644Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2021-01-20T01:06:56.786Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2021-01-20T01:06:57.056Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.301s coverage: 50.3% of statements [2021-01-20T01:06:57.056Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-01-20T01:06:59.643Z] gofmt -l . [2021-01-20T01:06:59.643Z] [ "`gofmt -l .`" = "" ] [2021-01-20T01:06:59.643Z] ./bin/test-attribution-txt.sh [2021-01-20T01:06:59.906Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-20T01:07:00.184Z] $ docker stop --time=1 8a63b215f2652e31de65ed5b6f34be97b08bdc82a42b658053933c700abdc6c1 [2021-01-20T01:07:02.532Z] $ docker rm -f 8a63b215f2652e31de65ed5b6f34be97b08bdc82a42b658053933c700abdc6c1 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-20T01:07:03.093Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-20T01:07:03.481Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-01-20T01:07:06.211Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-20T01:07:06.509Z] + ls -al . [2021-01-20T01:07:06.509Z] total 104 [2021-01-20T01:07:06.509Z] drwxrwxr-x. 9 jenkins jenkins 4096 Jan 20 01:06 . [2021-01-20T01:07:06.509Z] drwxrwxr-x. 4 jenkins jenkins 30 Jan 20 01:05 .. [2021-01-20T01:07:06.509Z] -rw-rw-r--. 1 jenkins jenkins 5589 Jan 20 01:05 Attribution.txt [2021-01-20T01:07:06.509Z] drwxrwxr-x. 2 jenkins jenkins 87 Jan 20 01:05 bin [2021-01-20T01:07:06.509Z] drwxrwxr-x. 3 jenkins jenkins 32 Jan 20 01:05 cmd [2021-01-20T01:07:06.509Z] -rw-r--r--. 1 jenkins jenkins 22362 Jan 20 01:06 coverage.out [2021-01-20T01:07:06.509Z] -rw-rw-r--. 1 jenkins jenkins 1434 Jan 20 01:05 Dockerfile [2021-01-20T01:07:06.509Z] -rw-rw-r--. 1 jenkins jenkins 958 Jan 20 01:05 Dockerfile.build [2021-01-20T01:07:06.509Z] -rw-rw-r--. 1 jenkins jenkins 140 Jan 20 01:05 .dockerignore [2021-01-20T01:07:06.509Z] drwxrwxr-x. 8 jenkins jenkins 162 Jan 20 01:05 .git [2021-01-20T01:07:06.509Z] drwxrwxr-x. 2 jenkins jenkins 103 Jan 20 01:05 .github [2021-01-20T01:07:06.509Z] -rw-rw-r--. 1 jenkins jenkins 338 Jan 20 01:05 .gitignore [2021-01-20T01:07:06.509Z] -rw-r--r--. 1 jenkins jenkins 517 Jan 20 01:06 go.mod [2021-01-20T01:07:06.509Z] -rw-r--r--. 1 jenkins jenkins 14838 Jan 20 01:06 go.sum [2021-01-20T01:07:06.509Z] drwxrwxr-x. 3 jenkins jenkins 20 Jan 20 01:05 internal [2021-01-20T01:07:06.509Z] -rw-rw-r--. 1 jenkins jenkins 679 Jan 20 01:05 Jenkinsfile [2021-01-20T01:07:06.509Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jan 20 01:05 LICENSE [2021-01-20T01:07:06.509Z] -rw-rw-r--. 1 jenkins jenkins 880 Jan 20 01:05 Makefile [2021-01-20T01:07:06.509Z] -rw-rw-r--. 1 jenkins jenkins 591 Jan 20 01:05 README.md [2021-01-20T01:07:06.509Z] drwxrwxr-x. 2 jenkins jenkins 52 Jan 20 01:05 simulator [2021-01-20T01:07:06.509Z] drwxrwxr-x. 4 jenkins jenkins 71 Jan 20 01:05 snap [2021-01-20T01:07:06.509Z] -rw-rw-r--. 1 jenkins jenkins 11 Jan 20 01:04 VERSION [2021-01-20T01:07:06.509Z] -rw-rw-r--. 1 jenkins jenkins 229 Jan 20 01:05 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-20T01:07:06.818Z] + docker build -t docker-device-modbus-go -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=9f3888b97fc6b215bf6207a034605e4e0e7d1a95 --label arch=amd64 --label version=1.3.1-dev.8 . [2021-01-20T01:07:06.818Z] Sending build context to Docker daemon 581.1kB [2021-01-20T01:07:06.818Z] Step 1/20 : ARG BASE=golang:1.15-alpine3.12 [2021-01-20T01:07:06.818Z] Step 2/20 : FROM ${BASE} AS builder [2021-01-20T01:07:06.818Z] ---> 1b7d3e552c45 [2021-01-20T01:07:06.818Z] Step 3/20 : ARG MAKE='make build' [2021-01-20T01:07:07.079Z] ---> Running in 9c3c367fd90a [2021-01-20T01:07:08.027Z] Removing intermediate container 9c3c367fd90a [2021-01-20T01:07:08.027Z] ---> 8ea1205f9760 [2021-01-20T01:07:08.027Z] Step 4/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-20T01:07:08.027Z] ---> Running in ade04508e7c8 [2021-01-20T01:07:08.979Z] Removing intermediate container ade04508e7c8 [2021-01-20T01:07:08.979Z] ---> 28be80889b55 [2021-01-20T01:07:08.979Z] Step 5/20 : RUN apk add --update --no-cache make git openssh build-base [2021-01-20T01:07:08.979Z] ---> Running in 1ec0b0ef14d1 [2021-01-20T01:07:09.242Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-20T01:07:10.191Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-20T01:07:10.453Z] OK: 237 MiB in 53 packages [2021-01-20T01:07:11.030Z] Removing intermediate container 1ec0b0ef14d1 [2021-01-20T01:07:11.030Z] ---> befc672cc2d8 [2021-01-20T01:07:11.030Z] Step 6/20 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go [2021-01-20T01:07:11.030Z] ---> Running in f0fb59dbdaed [2021-01-20T01:07:11.030Z] Removing intermediate container f0fb59dbdaed [2021-01-20T01:07:11.030Z] ---> aa766e6db8c4 [2021-01-20T01:07:11.030Z] Step 7/20 : COPY . . [2021-01-20T01:07:11.981Z] ---> 2fc7ff0ab1c6 [2021-01-20T01:07:11.981Z] Step 8/20 : RUN ${MAKE} [2021-01-20T01:07:11.981Z] ---> Running in 2e1f7bd64b47 [2021-01-20T01:07:12.565Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=1.3.1-dev.8" -o cmd/device-modbus ./cmd [2021-01-20T01:07:17.846Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-21457 in /w/workspace/xfoundry_device-modbus-go_master [Pipeline] { [Pipeline] ws [2021-01-20T01:07:17.896Z] Running in /w/workspace/device-modbus-go/36 [Pipeline] { [Pipeline] checkout [2021-01-20T01:07:20.826Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2021-01-20T01:07:23.016Z] using credential edgex-jenkins-ssh [2021-01-20T01:07:23.132Z] Cloning the remote Git repository [2021-01-20T01:07:23.389Z] Removing intermediate container 2e1f7bd64b47 [2021-01-20T01:07:23.389Z] ---> aba82b213480 [2021-01-20T01:07:23.389Z] Step 9/20 : FROM scratch [2021-01-20T01:07:23.389Z] ---> [2021-01-20T01:07:23.389Z] Step 10/20 : ENV APP_PORT=49991 [2021-01-20T01:07:23.389Z] ---> Running in bda5ae99fa57 [2021-01-20T01:07:23.389Z] Removing intermediate container bda5ae99fa57 [2021-01-20T01:07:23.389Z] ---> aa327a2b8062 [2021-01-20T01:07:23.389Z] Step 11/20 : EXPOSE $APP_PORT [2021-01-20T01:07:23.389Z] ---> Running in 5976578de9c4 [2021-01-20T01:07:23.653Z] Removing intermediate container 5976578de9c4 [2021-01-20T01:07:23.653Z] ---> c03e389e1299 [2021-01-20T01:07:23.653Z] Step 12/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / [2021-01-20T01:07:23.196Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2021-01-20T01:07:23.319Z] > git init /w/workspace/device-modbus-go/36 # timeout=10 [2021-01-20T01:07:23.397Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-01-20T01:07:23.397Z] > git --version # timeout=10 [2021-01-20T01:07:23.421Z] > git --version # 'git version 2.17.1' [2021-01-20T01:07:23.422Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-20T01:07:23.512Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-20T01:07:24.229Z] ---> f9def6147c68 [2021-01-20T01:07:24.229Z] Step 13/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / [2021-01-20T01:07:24.229Z] ---> 3d22e2e3d86b [2021-01-20T01:07:24.229Z] Step 14/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / [2021-01-20T01:07:24.493Z] ---> a9ed5c0e09fd [2021-01-20T01:07:24.493Z] Step 15/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' [2021-01-20T01:07:24.493Z] ---> Running in c5cf70f02345 [2021-01-20T01:07:24.755Z] Removing intermediate container c5cf70f02345 [2021-01-20T01:07:24.755Z] ---> bd41a64b475b [2021-01-20T01:07:24.755Z] Step 16/20 : ENTRYPOINT ["/device-modbus"] [2021-01-20T01:07:24.755Z] ---> Running in 0cf33290ec17 [2021-01-20T01:07:24.865Z] Checking out Revision 9f3888b97fc6b215bf6207a034605e4e0e7d1a95 (master) [2021-01-20T01:07:25.019Z] Removing intermediate container 0cf33290ec17 [2021-01-20T01:07:25.019Z] ---> 3fbc2eab2bc7 [2021-01-20T01:07:25.019Z] Step 17/20 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-20T01:07:25.019Z] ---> Running in f469b611707b [2021-01-20T01:07:25.019Z] Removing intermediate container f469b611707b [2021-01-20T01:07:25.019Z] ---> 07b92173f58c [2021-01-20T01:07:25.019Z] Step 18/20 : LABEL arch=amd64 [2021-01-20T01:07:25.284Z] ---> Running in 25bc9b9d5fec [2021-01-20T01:07:25.284Z] Removing intermediate container 25bc9b9d5fec [2021-01-20T01:07:25.284Z] ---> 0bceecbb897f [2021-01-20T01:07:25.284Z] Step 19/20 : LABEL git_sha=9f3888b97fc6b215bf6207a034605e4e0e7d1a95 [2021-01-20T01:07:25.284Z] ---> Running in 1af27d5535cf [2021-01-20T01:07:24.258Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-01-20T01:07:24.282Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-20T01:07:24.318Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-01-20T01:07:24.368Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-01-20T01:07:24.369Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-20T01:07:24.380Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-20T01:07:24.884Z] > git config core.sparsecheckout # timeout=10 [2021-01-20T01:07:24.907Z] > git checkout -f 9f3888b97fc6b215bf6207a034605e4e0e7d1a95 # timeout=10 [2021-01-20T01:07:25.546Z] Removing intermediate container 1af27d5535cf [2021-01-20T01:07:25.547Z] ---> 372ff1baa84e [2021-01-20T01:07:25.547Z] Step 20/20 : LABEL version=1.3.1-dev.8 [2021-01-20T01:07:25.809Z] ---> Running in 1473c9b41acd [2021-01-20T01:07:25.809Z] Removing intermediate container 1473c9b41acd [2021-01-20T01:07:25.809Z] ---> 440375a61a96 [2021-01-20T01:07:25.809Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-20T01:07:25.809Z] Successfully built 440375a61a96 [2021-01-20T01:07:25.809Z] Successfully tagged docker-device-modbus-go:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-20T01:07:26.195Z] provisioning config files... [2021-01-20T01:07:26.270Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/36@tmp/config6270017161506246845tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-20T01:07:26.708Z] ---> docker-login.sh [2021-01-20T01:07:26.709Z] nexus3.edgexfoundry.org:10001 [2021-01-20T01:07:26.709Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T01:07:26.970Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T01:07:26.970Z] Configure a credential helper to remove this warning. See [2021-01-20T01:07:26.970Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T01:07:26.970Z] [2021-01-20T01:07:26.970Z] Login Succeeded [2021-01-20T01:07:26.970Z] nexus3.edgexfoundry.org:10002 [2021-01-20T01:07:26.970Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T01:07:26.970Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T01:07:26.970Z] Configure a credential helper to remove this warning. See [2021-01-20T01:07:26.970Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T01:07:26.970Z] [2021-01-20T01:07:26.970Z] Login Succeeded [2021-01-20T01:07:26.970Z] nexus3.edgexfoundry.org:10003 [2021-01-20T01:07:27.233Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T01:07:27.233Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T01:07:27.233Z] Configure a credential helper to remove this warning. See [2021-01-20T01:07:27.233Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T01:07:27.233Z] [2021-01-20T01:07:27.233Z] Login Succeeded [2021-01-20T01:07:27.233Z] nexus3.edgexfoundry.org:10004 [2021-01-20T01:07:27.494Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T01:07:27.494Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T01:07:27.494Z] Configure a credential helper to remove this warning. See [2021-01-20T01:07:27.494Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T01:07:27.494Z] [2021-01-20T01:07:27.494Z] Login Succeeded [2021-01-20T01:07:27.494Z] docker.io [2021-01-20T01:07:27.494Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T01:07:27.757Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T01:07:27.757Z] Configure a credential helper to remove this warning. See [2021-01-20T01:07:27.757Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T01:07:27.757Z] [2021-01-20T01:07:27.757Z] Login Succeeded [2021-01-20T01:07:27.757Z] ---> docker-login.sh ends [Pipeline] } [2021-01-20T01:07:27.766Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-01-20T01:07:27.980Z] [edgeXDocker.push] Tagging docker image docker-device-modbus-go with the following tags: [2021-01-20T01:07:27.980Z] 9f3888b97fc6b215bf6207a034605e4e0e7d1a95 [2021-01-20T01:07:27.980Z] latest [2021-01-20T01:07:27.980Z] 1.3.1-dev.8 [2021-01-20T01:07:27.980Z] 9f3888b97fc6b215bf6207a034605e4e0e7d1a95-1.3.1-dev.8 [2021-01-20T01:07:27.980Z] master [2021-01-20T01:07:27.980Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-20T01:07:28.462Z] + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:9f3888b97fc6b215bf6207a034605e4e0e7d1a95 [Pipeline] isUnix [Pipeline] sh [2021-01-20T01:07:28.759Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:9f3888b97fc6b215bf6207a034605e4e0e7d1a95 [2021-01-20T01:07:28.759Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] [2021-01-20T01:07:28.759Z] 60be1dd966c5: Preparing [2021-01-20T01:07:28.759Z] da02eb461f49: Preparing [2021-01-20T01:07:28.759Z] 565535a51a95: Preparing [2021-01-20T01:07:28.759Z] da02eb461f49: Pushed [2021-01-20T01:07:29.020Z] 60be1dd966c5: Pushed [2021-01-20T01:07:29.325Z] Commit message: "Merge pull request #215 from iain-anderson/commit-lint" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-20T01:07:29.970Z] 565535a51a95: Pushed [2021-01-20T01:07:29.971Z] 9f3888b97fc6b215bf6207a034605e4e0e7d1a95: digest: sha256:9b4d31ae283de60f5d041fcfaf9bf0a174b15a6221ff0bc25022fb99212d63f6 size: 944 [Pipeline] isUnix [Pipeline] sh [2021-01-20T01:07:30.800Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [2021-01-20T01:07:30.822Z] + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:latest [Pipeline] isUnix [Pipeline] sh [Pipeline] sh [2021-01-20T01:07:31.124Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:latest [2021-01-20T01:07:31.124Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] [2021-01-20T01:07:31.124Z] 60be1dd966c5: Preparing [2021-01-20T01:07:31.124Z] da02eb461f49: Preparing [2021-01-20T01:07:31.124Z] 565535a51a95: Preparing [2021-01-20T01:07:31.124Z] 565535a51a95: Layer already exists [2021-01-20T01:07:31.124Z] 60be1dd966c5: Layer already exists [2021-01-20T01:07:31.124Z] da02eb461f49: Layer already exists [2021-01-20T01:07:31.124Z] latest: digest: sha256:9b4d31ae283de60f5d041fcfaf9bf0a174b15a6221ff0bc25022fb99212d63f6 size: 944 [Pipeline] isUnix [Pipeline] sh [2021-01-20T01:07:31.236Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-20T01:07:31.435Z] + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:1.3.1-dev.8 [Pipeline] isUnix [Pipeline] sh [2021-01-20T01:07:31.598Z] + true [2021-01-20T01:07:31.598Z] + sudo service docker restart [2021-01-20T01:07:31.774Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:1.3.1-dev.8 [2021-01-20T01:07:31.774Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] [2021-01-20T01:07:31.774Z] 60be1dd966c5: Preparing [2021-01-20T01:07:31.774Z] da02eb461f49: Preparing [2021-01-20T01:07:31.774Z] 565535a51a95: Preparing [2021-01-20T01:07:31.774Z] da02eb461f49: Layer already exists [2021-01-20T01:07:31.774Z] 60be1dd966c5: Layer already exists [2021-01-20T01:07:31.774Z] 565535a51a95: Layer already exists [2021-01-20T01:07:31.774Z] 1.3.1-dev.8: digest: sha256:9b4d31ae283de60f5d041fcfaf9bf0a174b15a6221ff0bc25022fb99212d63f6 size: 944 [Pipeline] isUnix [Pipeline] sh [2021-01-20T01:07:32.088Z] + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:9f3888b97fc6b215bf6207a034605e4e0e7d1a95-1.3.1-dev.8 [Pipeline] isUnix [Pipeline] sh [2021-01-20T01:07:32.387Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:9f3888b97fc6b215bf6207a034605e4e0e7d1a95-1.3.1-dev.8 [2021-01-20T01:07:32.387Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] [2021-01-20T01:07:32.387Z] 60be1dd966c5: Preparing [2021-01-20T01:07:32.387Z] da02eb461f49: Preparing [2021-01-20T01:07:32.387Z] 565535a51a95: Preparing [2021-01-20T01:07:32.387Z] da02eb461f49: Layer already exists [2021-01-20T01:07:32.387Z] 60be1dd966c5: Layer already exists [2021-01-20T01:07:32.387Z] 565535a51a95: Layer already exists [2021-01-20T01:07:32.388Z] 9f3888b97fc6b215bf6207a034605e4e0e7d1a95-1.3.1-dev.8: digest: sha256:9b4d31ae283de60f5d041fcfaf9bf0a174b15a6221ff0bc25022fb99212d63f6 size: 944 [Pipeline] isUnix [Pipeline] sh [2021-01-20T01:07:32.693Z] + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:master [Pipeline] isUnix [Pipeline] sh [2021-01-20T01:07:32.995Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:master [2021-01-20T01:07:32.995Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] [2021-01-20T01:07:32.995Z] 60be1dd966c5: Preparing [2021-01-20T01:07:32.995Z] da02eb461f49: Preparing [2021-01-20T01:07:32.995Z] 565535a51a95: Preparing [2021-01-20T01:07:32.995Z] 565535a51a95: Layer already exists [2021-01-20T01:07:32.995Z] 60be1dd966c5: Layer already exists [2021-01-20T01:07:32.995Z] da02eb461f49: Layer already exists [2021-01-20T01:07:32.995Z] master: digest: sha256:9b4d31ae283de60f5d041fcfaf9bf0a174b15a6221ff0bc25022fb99212d63f6 size: 944 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-01-20T01:07:33.214Z] ===================================================== [Pipeline] echo [2021-01-20T01:07:33.263Z] taggedImages: [2021-01-20T01:07:33.263Z] - nexus3.edgexfoundry.org:10004/docker-device-modbus-go:9f3888b97fc6b215bf6207a034605e4e0e7d1a95 [2021-01-20T01:07:33.263Z] - nexus3.edgexfoundry.org:10004/docker-device-modbus-go:latest [2021-01-20T01:07:33.263Z] - nexus3.edgexfoundry.org:10004/docker-device-modbus-go:1.3.1-dev.8 [2021-01-20T01:07:33.263Z] - nexus3.edgexfoundry.org:10004/docker-device-modbus-go:9f3888b97fc6b215bf6207a034605e4e0e7d1a95-1.3.1-dev.8 [2021-01-20T01:07:33.263Z] - nexus3.edgexfoundry.org:10004/docker-device-modbus-go:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-20T01:07:33.688Z] provisioning config files... [2021-01-20T01:07:33.729Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/36@tmp/config6449672606925402382tmp [Pipeline] findFiles [Pipeline] { [Pipeline] libraryResource [Pipeline] sh Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2021-01-20T01:07:34.248Z] ---> docker-login.sh [2021-01-20T01:07:34.248Z] nexus3.edgexfoundry.org:10001 [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-01-20T01:07:35.250Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T01:07:35.525Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T01:07:35.525Z] Configure a credential helper to remove this warning. See [2021-01-20T01:07:35.525Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T01:07:35.525Z] [2021-01-20T01:07:35.525Z] Login Succeeded [2021-01-20T01:07:35.525Z] nexus3.edgexfoundry.org:10002 [2021-01-20T01:07:35.799Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T01:07:36.073Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T01:07:36.073Z] Configure a credential helper to remove this warning. See [2021-01-20T01:07:36.073Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T01:07:36.073Z] [2021-01-20T01:07:36.073Z] Login Succeeded [2021-01-20T01:07:36.073Z] nexus3.edgexfoundry.org:10003 [2021-01-20T01:07:36.348Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T01:07:36.622Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T01:07:36.622Z] Configure a credential helper to remove this warning. See [2021-01-20T01:07:36.622Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T01:07:36.622Z] [2021-01-20T01:07:36.622Z] Login Succeeded [2021-01-20T01:07:36.622Z] nexus3.edgexfoundry.org:10004 [2021-01-20T01:07:36.896Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T01:07:37.171Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T01:07:37.171Z] Configure a credential helper to remove this warning. See [2021-01-20T01:07:37.171Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T01:07:37.171Z] [2021-01-20T01:07:37.171Z] Login Succeeded [2021-01-20T01:07:37.171Z] docker.io [2021-01-20T01:07:37.450Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T01:07:37.725Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T01:07:37.725Z] Configure a credential helper to remove this warning. See [2021-01-20T01:07:37.725Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T01:07:37.725Z] [2021-01-20T01:07:37.725Z] Login Succeeded [2021-01-20T01:07:37.725Z] ---> docker-login.sh ends [Pipeline] } [2021-01-20T01:07:37.745Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-20T01:07:38.196Z] ========================================================= [2021-01-20T01:07:38.197Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-20T01:07:38.197Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-20T01:07:38.591Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2021-01-20T01:07:38.867Z] Sending build context to Docker daemon 548.9kB [2021-01-20T01:07:38.868Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-20T01:07:38.868Z] Step 2/8 : FROM ${BASE} [2021-01-20T01:07:39.159Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-20T01:07:39.159Z] 5f621e34cdf4: Pulling fs layer [2021-01-20T01:07:39.159Z] a4357932f1b6: Pulling fs layer [2021-01-20T01:07:39.159Z] 18c013af1878: Pulling fs layer [2021-01-20T01:07:39.159Z] 00ac8860ef70: Pulling fs layer [2021-01-20T01:07:39.159Z] 63d7cb157983: Pulling fs layer [2021-01-20T01:07:39.159Z] b116817d02f9: Pulling fs layer [2021-01-20T01:07:39.159Z] 745a02a5169b: Pulling fs layer [2021-01-20T01:07:39.159Z] 00ac8860ef70: Waiting [2021-01-20T01:07:39.159Z] b116817d02f9: Waiting [2021-01-20T01:07:39.159Z] 745a02a5169b: Waiting [2021-01-20T01:07:39.159Z] 18c013af1878: Verifying Checksum [2021-01-20T01:07:39.159Z] 18c013af1878: Download complete [2021-01-20T01:07:39.159Z] a4357932f1b6: Verifying Checksum [2021-01-20T01:07:39.159Z] a4357932f1b6: Download complete [2021-01-20T01:07:39.159Z] 63d7cb157983: Verifying Checksum [2021-01-20T01:07:39.159Z] 63d7cb157983: Download complete [2021-01-20T01:07:39.445Z] b116817d02f9: Download complete [2021-01-20T01:07:39.445Z] 5f621e34cdf4: Verifying Checksum [2021-01-20T01:07:39.445Z] 5f621e34cdf4: Download complete [2021-01-20T01:07:40.057Z] 5f621e34cdf4: Pull complete [2021-01-20T01:07:40.666Z] a4357932f1b6: Pull complete [2021-01-20T01:07:40.945Z] 18c013af1878: Pull complete [2021-01-20T01:07:42.387Z] 745a02a5169b: Verifying Checksum [2021-01-20T01:07:42.387Z] 745a02a5169b: Download complete [2021-01-20T01:07:42.985Z] 00ac8860ef70: Verifying Checksum [2021-01-20T01:07:42.985Z] 00ac8860ef70: Download complete [2021-01-20T01:07:53.192Z] 00ac8860ef70: Pull complete [2021-01-20T01:07:53.192Z] 63d7cb157983: Pull complete [2021-01-20T01:07:53.467Z] b116817d02f9: Pull complete [2021-01-20T01:07:57.781Z] 745a02a5169b: Pull complete [2021-01-20T01:07:57.781Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-20T01:07:57.781Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-20T01:07:57.781Z] ---> b7e6874047d6 [2021-01-20T01:07:57.781Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2021-01-20T01:08:00.428Z] ---> Running in 34e9d0a09529 [2021-01-20T01:08:00.428Z] Removing intermediate container 34e9d0a09529 [2021-01-20T01:08:00.428Z] ---> 8d34a03a1134 [2021-01-20T01:08:00.428Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-20T01:08:00.700Z] ---> Running in 296e3cf3dbd0 [2021-01-20T01:08:02.676Z] Removing intermediate container 296e3cf3dbd0 [2021-01-20T01:08:02.676Z] ---> 0494acf52721 [2021-01-20T01:08:02.676Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2021-01-20T01:08:02.952Z] ---> Running in f5b8b6bd7188 [2021-01-20T01:08:03.931Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-20T01:08:04.527Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-20T01:08:05.124Z] (1/14) Installing libmagic (5.38-r0) [2021-01-20T01:08:05.394Z] (2/14) Installing file (5.38-r0) [2021-01-20T01:08:05.394Z] (3/14) Installing libc-dev (0.7.2-r3) [2021-01-20T01:08:05.663Z] (4/14) Installing g++ (9.3.0-r2) [2021-01-20T01:08:11.065Z] (5/14) Installing fortify-headers (1.1-r0) [2021-01-20T01:08:11.065Z] (6/14) Installing patch (2.7.6-r6) [2021-01-20T01:08:11.065Z] (7/14) Installing build-base (0.5-r2) [2021-01-20T01:08:11.065Z] (8/14) Installing openssh-keygen (8.3_p1-r1) [2021-01-20T01:08:11.065Z] (9/14) Installing libedit (20191231.3.1-r0) [2021-01-20T01:08:11.337Z] (10/14) Installing openssh-client (8.3_p1-r1) [2021-01-20T01:08:11.929Z] (11/14) Installing openssh-sftp-server (8.3_p1-r1) [2021-01-20T01:08:11.929Z] (12/14) Installing openssh-server-common (8.3_p1-r1) [2021-01-20T01:08:11.929Z] (13/14) Installing openssh-server (8.3_p1-r1) [2021-01-20T01:08:12.203Z] (14/14) Installing openssh (8.3_p1-r1) [2021-01-20T01:08:12.203Z] Executing busybox-1.31.1-r19.trigger [2021-01-20T01:08:12.203Z] OK: 221 MiB in 53 packages [2021-01-20T01:08:16.539Z] Removing intermediate container f5b8b6bd7188 [2021-01-20T01:08:16.539Z] ---> ac36b643f071 [2021-01-20T01:08:16.539Z] Step 6/8 : WORKDIR /device-modbus-go [2021-01-20T01:08:16.539Z] ---> Running in 61f4c71ecbef [2021-01-20T01:08:17.146Z] Removing intermediate container 61f4c71ecbef [2021-01-20T01:08:17.147Z] ---> 49d2cf2fc505 [2021-01-20T01:08:17.147Z] Step 7/8 : COPY . . [2021-01-20T01:08:18.125Z] ---> 290a7747658b [2021-01-20T01:08:18.125Z] Step 8/8 : RUN go mod download [2021-01-20T01:08:18.418Z] ---> Running in 140ad466291b [2021-01-20T01:08:40.605Z] Removing intermediate container 140ad466291b [2021-01-20T01:08:40.605Z] ---> 6273efb15773 [2021-01-20T01:08:40.605Z] Successfully built 6273efb15773 [2021-01-20T01:08:40.605Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-20T01:08:40.958Z] + docker inspect -f . ci-base-image-arm64 [2021-01-20T01:08:40.958Z] . [Pipeline] withDockerContainer [2021-01-20T01:08:41.234Z] prd-ubuntu18.04-docker-arm64-4c-16g-21457 does not seem to be running inside a container [2021-01-20T01:08:41.323Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/36 -v /w/workspace/device-modbus-go/36:/w/workspace/device-modbus-go/36:rw,z -v /w/workspace/device-modbus-go/36@tmp:/w/workspace/device-modbus-go/36@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-arm64 cat [2021-01-20T01:08:42.899Z] $ docker top 8cdc130c4c6a447022c056877621898376533130be5037d9e31ef9b5d659feb2 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-20T01:08:43.908Z] + go version [2021-01-20T01:08:43.908Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-20T01:08:43.938Z] $ docker stop --time=1 8cdc130c4c6a447022c056877621898376533130be5037d9e31ef9b5d659feb2 [2021-01-20T01:08:45.991Z] $ docker rm -f 8cdc130c4c6a447022c056877621898376533130be5037d9e31ef9b5d659feb2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-20T01:08:47.007Z] + docker inspect -f . ci-base-image-arm64 [2021-01-20T01:08:47.007Z] . [Pipeline] withDockerContainer [2021-01-20T01:08:47.271Z] prd-ubuntu18.04-docker-arm64-4c-16g-21457 does not seem to be running inside a container [2021-01-20T01:08:47.359Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/36 -v /w/workspace/device-modbus-go/36:/w/workspace/device-modbus-go/36:rw,z -v /w/workspace/device-modbus-go/36@tmp:/w/workspace/device-modbus-go/36@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-arm64 cat [2021-01-20T01:08:48.965Z] $ docker top a9b6d41950e83f30617e19226f4d450cf5be34d07a0cc390fd511ff91aa8d1c5 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-20T01:08:50.042Z] + make test [2021-01-20T01:08:50.043Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-01-20T01:08:51.030Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2021-01-20T01:09:23.412Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2021-01-20T01:09:24.009Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.393s coverage: 50.3% of statements [2021-01-20T01:09:24.284Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-01-20T01:09:32.591Z] gofmt -l . [2021-01-20T01:09:32.591Z] [ "`gofmt -l .`" = "" ] [2021-01-20T01:09:32.591Z] ./bin/test-attribution-txt.sh [2021-01-20T01:09:32.591Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-20T01:09:32.610Z] $ docker stop --time=1 a9b6d41950e83f30617e19226f4d450cf5be34d07a0cc390fd511ff91aa8d1c5 [2021-01-20T01:09:35.023Z] $ docker rm -f a9b6d41950e83f30617e19226f4d450cf5be34d07a0cc390fd511ff91aa8d1c5 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-20T01:09:35.906Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-20T01:09:35.973Z] Warning: overwriting stash ‘coverage-report’ [2021-01-20T01:09:36.713Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-20T01:09:37.431Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-20T01:09:37.805Z] + ls -al . [2021-01-20T01:09:37.805Z] total 136 [2021-01-20T01:09:37.805Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 20 01:09 . [2021-01-20T01:09:37.805Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 20 01:07 .. [2021-01-20T01:09:37.805Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 20 01:07 .dockerignore [2021-01-20T01:09:37.805Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 20 01:07 .git [2021-01-20T01:09:37.805Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 20 01:07 .github [2021-01-20T01:09:37.805Z] -rw-rw-r-- 1 jenkins jenkins 338 Jan 20 01:07 .gitignore [2021-01-20T01:09:37.805Z] -rw-rw-r-- 1 jenkins jenkins 5589 Jan 20 01:07 Attribution.txt [2021-01-20T01:09:37.805Z] -rw-rw-r-- 1 jenkins jenkins 1434 Jan 20 01:07 Dockerfile [2021-01-20T01:09:37.805Z] -rw-rw-r-- 1 jenkins jenkins 958 Jan 20 01:07 Dockerfile.build [2021-01-20T01:09:37.805Z] -rw-rw-r-- 1 jenkins jenkins 679 Jan 20 01:07 Jenkinsfile [2021-01-20T01:09:37.805Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 20 01:07 LICENSE [2021-01-20T01:09:37.805Z] -rw-rw-r-- 1 jenkins jenkins 880 Jan 20 01:07 Makefile [2021-01-20T01:09:37.805Z] -rw-rw-r-- 1 jenkins jenkins 591 Jan 20 01:07 README.md [2021-01-20T01:09:37.805Z] -rw-rw-r-- 1 jenkins jenkins 11 Jan 20 01:04 VERSION [2021-01-20T01:09:37.805Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 20 01:07 bin [2021-01-20T01:09:37.805Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 20 01:07 cmd [2021-01-20T01:09:37.805Z] -rw-r--r-- 1 jenkins jenkins 22362 Jan 20 01:09 coverage.out [2021-01-20T01:09:37.805Z] -rw-r--r-- 1 jenkins jenkins 517 Jan 20 01:09 go.mod [2021-01-20T01:09:37.805Z] -rw-r--r-- 1 jenkins jenkins 14838 Jan 20 01:09 go.sum [2021-01-20T01:09:37.805Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 20 01:07 internal [2021-01-20T01:09:37.805Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 20 01:07 simulator [2021-01-20T01:09:37.805Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 20 01:07 snap [2021-01-20T01:09:37.805Z] -rw-rw-r-- 1 jenkins jenkins 229 Jan 20 01:07 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-20T01:09:38.197Z] + docker build -t docker-device-modbus-go-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=9f3888b97fc6b215bf6207a034605e4e0e7d1a95 --label arch=arm64 --label version=1.3.1-dev.8 . [2021-01-20T01:09:38.488Z] Sending build context to Docker daemon 580.1kB [2021-01-20T01:09:38.488Z] Step 1/20 : ARG BASE=golang:1.15-alpine3.12 [2021-01-20T01:09:38.488Z] Step 2/20 : FROM ${BASE} AS builder [2021-01-20T01:09:38.488Z] ---> 6273efb15773 [2021-01-20T01:09:38.488Z] Step 3/20 : ARG MAKE='make build' [2021-01-20T01:09:39.086Z] ---> Running in d297e4a6a658 [2021-01-20T01:09:39.357Z] Removing intermediate container d297e4a6a658 [2021-01-20T01:09:39.357Z] ---> 48162dc3ad5e [2021-01-20T01:09:39.357Z] Step 4/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-20T01:09:39.636Z] ---> Running in b204dc95b289 [2021-01-20T01:09:41.617Z] Removing intermediate container b204dc95b289 [2021-01-20T01:09:41.617Z] ---> 6129d0a67e2d [2021-01-20T01:09:41.617Z] Step 5/20 : RUN apk add --update --no-cache make git openssh build-base [2021-01-20T01:09:41.617Z] ---> Running in 2c745e442b98 [2021-01-20T01:09:43.063Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-20T01:09:43.657Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-20T01:09:44.257Z] OK: 221 MiB in 53 packages [2021-01-20T01:09:45.694Z] Removing intermediate container 2c745e442b98 [2021-01-20T01:09:45.694Z] ---> a86a49d6456e [2021-01-20T01:09:45.694Z] Step 6/20 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go [2021-01-20T01:09:45.694Z] ---> Running in 63e5c527d71d [2021-01-20T01:09:45.974Z] Removing intermediate container 63e5c527d71d [2021-01-20T01:09:45.975Z] ---> f59e418ede78 [2021-01-20T01:09:45.975Z] Step 7/20 : COPY . . [2021-01-20T01:09:46.964Z] ---> 87dd57bca4a2 [2021-01-20T01:09:46.964Z] Step 8/20 : RUN ${MAKE} [2021-01-20T01:09:47.238Z] ---> Running in a89ed9dcd31e [2021-01-20T01:09:48.681Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=1.3.1-dev.8" -o cmd/device-modbus ./cmd [2021-01-20T01:10:15.518Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2021-01-20T01:10:19.826Z] Removing intermediate container a89ed9dcd31e [2021-01-20T01:10:19.826Z] ---> 28e3b16e6638 [2021-01-20T01:10:19.826Z] Step 9/20 : FROM scratch [2021-01-20T01:10:19.826Z] ---> [2021-01-20T01:10:19.826Z] Step 10/20 : ENV APP_PORT=49991 [2021-01-20T01:10:19.826Z] ---> Running in 1095e6c9e0f6 [2021-01-20T01:10:19.826Z] Removing intermediate container 1095e6c9e0f6 [2021-01-20T01:10:19.826Z] ---> 5d5df7b998d8 [2021-01-20T01:10:19.826Z] Step 11/20 : EXPOSE $APP_PORT [2021-01-20T01:10:20.098Z] ---> Running in ef52cded7c70 [2021-01-20T01:10:20.376Z] Removing intermediate container ef52cded7c70 [2021-01-20T01:10:20.376Z] ---> d0d4d73f202c [2021-01-20T01:10:20.376Z] Step 12/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / [2021-01-20T01:10:21.354Z] ---> 35d31e572535 [2021-01-20T01:10:21.354Z] Step 13/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / [2021-01-20T01:10:22.331Z] ---> 3203c0db1492 [2021-01-20T01:10:22.331Z] Step 14/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / [2021-01-20T01:10:22.929Z] ---> bff436ec6982 [2021-01-20T01:10:22.929Z] Step 15/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' [2021-01-20T01:10:22.929Z] ---> Running in 400210a1d577 [2021-01-20T01:10:23.523Z] Removing intermediate container 400210a1d577 [2021-01-20T01:10:23.523Z] ---> 04ff0abc1ff9 [2021-01-20T01:10:23.523Z] Step 16/20 : ENTRYPOINT ["/device-modbus"] [2021-01-20T01:10:23.523Z] ---> Running in c7bdb1b69874 [2021-01-20T01:10:24.121Z] Removing intermediate container c7bdb1b69874 [2021-01-20T01:10:24.121Z] ---> ce2b864574d7 [2021-01-20T01:10:24.121Z] Step 17/20 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-20T01:10:24.121Z] ---> Running in e8bbe7bd68b7 [2021-01-20T01:10:24.719Z] Removing intermediate container e8bbe7bd68b7 [2021-01-20T01:10:24.719Z] ---> ca0b235bfa67 [2021-01-20T01:10:24.719Z] Step 18/20 : LABEL arch=arm64 [2021-01-20T01:10:24.719Z] ---> Running in e45b6161dc32 [2021-01-20T01:10:25.318Z] Removing intermediate container e45b6161dc32 [2021-01-20T01:10:25.318Z] ---> 5a5702cfdc56 [2021-01-20T01:10:25.318Z] Step 19/20 : LABEL git_sha=9f3888b97fc6b215bf6207a034605e4e0e7d1a95 [2021-01-20T01:10:25.318Z] ---> Running in 1fcb9cdc8dc8 [2021-01-20T01:10:25.916Z] Removing intermediate container 1fcb9cdc8dc8 [2021-01-20T01:10:25.916Z] ---> 6e663da627e2 [2021-01-20T01:10:25.916Z] Step 20/20 : LABEL version=1.3.1-dev.8 [2021-01-20T01:10:25.916Z] ---> Running in 6f9c32afac1f [2021-01-20T01:10:26.514Z] Removing intermediate container 6f9c32afac1f [2021-01-20T01:10:26.514Z] ---> 5ba0102fb118 [2021-01-20T01:10:26.514Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-20T01:10:26.514Z] Successfully built 5ba0102fb118 [2021-01-20T01:10:26.514Z] Successfully tagged docker-device-modbus-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-20T01:10:26.982Z] provisioning config files... [2021-01-20T01:10:27.020Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/36@tmp/config5851988091471793680tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-20T01:10:27.402Z] ---> docker-login.sh [2021-01-20T01:10:27.402Z] nexus3.edgexfoundry.org:10001 [2021-01-20T01:10:27.674Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T01:10:27.674Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T01:10:27.674Z] Configure a credential helper to remove this warning. See [2021-01-20T01:10:27.674Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T01:10:27.674Z] [2021-01-20T01:10:27.674Z] Login Succeeded [2021-01-20T01:10:27.674Z] nexus3.edgexfoundry.org:10002 [2021-01-20T01:10:28.267Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T01:10:28.267Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T01:10:28.267Z] Configure a credential helper to remove this warning. See [2021-01-20T01:10:28.267Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T01:10:28.267Z] [2021-01-20T01:10:28.267Z] Login Succeeded [2021-01-20T01:10:28.267Z] nexus3.edgexfoundry.org:10003 [2021-01-20T01:10:28.541Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T01:10:28.816Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T01:10:28.816Z] Configure a credential helper to remove this warning. See [2021-01-20T01:10:28.816Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T01:10:28.816Z] [2021-01-20T01:10:28.816Z] Login Succeeded [2021-01-20T01:10:28.816Z] nexus3.edgexfoundry.org:10004 [2021-01-20T01:10:29.091Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T01:10:29.368Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T01:10:29.368Z] Configure a credential helper to remove this warning. See [2021-01-20T01:10:29.368Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T01:10:29.368Z] [2021-01-20T01:10:29.368Z] Login Succeeded [2021-01-20T01:10:29.368Z] docker.io [2021-01-20T01:10:29.644Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T01:10:29.916Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T01:10:29.916Z] Configure a credential helper to remove this warning. See [2021-01-20T01:10:29.916Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T01:10:29.916Z] [2021-01-20T01:10:29.916Z] Login Succeeded [2021-01-20T01:10:29.916Z] ---> docker-login.sh ends [Pipeline] } [2021-01-20T01:10:29.934Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-01-20T01:10:30.187Z] [edgeXDocker.push] Tagging docker image docker-device-modbus-go-arm64 with the following tags: [2021-01-20T01:10:30.187Z] 9f3888b97fc6b215bf6207a034605e4e0e7d1a95 [2021-01-20T01:10:30.187Z] latest [2021-01-20T01:10:30.187Z] 1.3.1-dev.8 [2021-01-20T01:10:30.187Z] 9f3888b97fc6b215bf6207a034605e4e0e7d1a95-1.3.1-dev.8 [2021-01-20T01:10:30.187Z] master [2021-01-20T01:10:30.187Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-20T01:10:30.765Z] + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:9f3888b97fc6b215bf6207a034605e4e0e7d1a95 [Pipeline] isUnix [Pipeline] sh [2021-01-20T01:10:31.146Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:9f3888b97fc6b215bf6207a034605e4e0e7d1a95 [2021-01-20T01:10:31.146Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] [2021-01-20T01:10:31.146Z] 45e753cba709: Preparing [2021-01-20T01:10:31.146Z] ac15694a992b: Preparing [2021-01-20T01:10:31.146Z] c4f851535712: Preparing [2021-01-20T01:10:31.420Z] 45e753cba709: Pushed [2021-01-20T01:10:31.420Z] ac15694a992b: Pushed [2021-01-20T01:10:34.032Z] c4f851535712: Pushed [2021-01-20T01:10:34.032Z] 9f3888b97fc6b215bf6207a034605e4e0e7d1a95: digest: sha256:770a8a70bdd06de294fbdc3bac3f9996402344a23ae96e805b4bd767ae4a3977 size: 944 [Pipeline] isUnix [Pipeline] sh [2021-01-20T01:10:34.376Z] + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-20T01:10:34.712Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:latest [2021-01-20T01:10:34.712Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] [2021-01-20T01:10:34.712Z] 45e753cba709: Preparing [2021-01-20T01:10:34.712Z] ac15694a992b: Preparing [2021-01-20T01:10:34.712Z] c4f851535712: Preparing [2021-01-20T01:10:34.712Z] ac15694a992b: Layer already exists [2021-01-20T01:10:34.712Z] c4f851535712: Layer already exists [2021-01-20T01:10:34.712Z] 45e753cba709: Layer already exists [2021-01-20T01:10:34.985Z] latest: digest: sha256:770a8a70bdd06de294fbdc3bac3f9996402344a23ae96e805b4bd767ae4a3977 size: 944 [Pipeline] isUnix [Pipeline] sh [2021-01-20T01:10:35.330Z] + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:1.3.1-dev.8 [Pipeline] isUnix [Pipeline] sh [2021-01-20T01:10:35.669Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:1.3.1-dev.8 [2021-01-20T01:10:35.669Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] [2021-01-20T01:10:35.669Z] 45e753cba709: Preparing [2021-01-20T01:10:35.669Z] ac15694a992b: Preparing [2021-01-20T01:10:35.669Z] c4f851535712: Preparing [2021-01-20T01:10:35.669Z] 45e753cba709: Layer already exists [2021-01-20T01:10:35.669Z] c4f851535712: Layer already exists [2021-01-20T01:10:35.941Z] ac15694a992b: Layer already exists [2021-01-20T01:10:35.941Z] 1.3.1-dev.8: digest: sha256:770a8a70bdd06de294fbdc3bac3f9996402344a23ae96e805b4bd767ae4a3977 size: 944 [Pipeline] isUnix [Pipeline] sh [2021-01-20T01:10:36.289Z] + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:9f3888b97fc6b215bf6207a034605e4e0e7d1a95-1.3.1-dev.8 [Pipeline] isUnix [Pipeline] sh [2021-01-20T01:10:36.636Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:9f3888b97fc6b215bf6207a034605e4e0e7d1a95-1.3.1-dev.8 [2021-01-20T01:10:36.636Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] [2021-01-20T01:10:36.636Z] 45e753cba709: Preparing [2021-01-20T01:10:36.636Z] ac15694a992b: Preparing [2021-01-20T01:10:36.636Z] c4f851535712: Preparing [2021-01-20T01:10:36.913Z] c4f851535712: Layer already exists [2021-01-20T01:10:36.913Z] ac15694a992b: Layer already exists [2021-01-20T01:10:36.913Z] 45e753cba709: Layer already exists [2021-01-20T01:10:36.913Z] 9f3888b97fc6b215bf6207a034605e4e0e7d1a95-1.3.1-dev.8: digest: sha256:770a8a70bdd06de294fbdc3bac3f9996402344a23ae96e805b4bd767ae4a3977 size: 944 [Pipeline] isUnix [Pipeline] sh [2021-01-20T01:10:37.251Z] + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:master [Pipeline] isUnix [Pipeline] sh [2021-01-20T01:10:37.586Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:master [2021-01-20T01:10:37.586Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] [2021-01-20T01:10:37.587Z] 45e753cba709: Preparing [2021-01-20T01:10:37.587Z] ac15694a992b: Preparing [2021-01-20T01:10:37.587Z] c4f851535712: Preparing [2021-01-20T01:10:37.587Z] c4f851535712: Layer already exists [2021-01-20T01:10:37.587Z] ac15694a992b: Layer already exists [2021-01-20T01:10:37.587Z] 45e753cba709: Layer already exists [2021-01-20T01:10:37.860Z] master: digest: sha256:770a8a70bdd06de294fbdc3bac3f9996402344a23ae96e805b4bd767ae4a3977 size: 944 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-01-20T01:10:38.077Z] ===================================================== [Pipeline] echo [2021-01-20T01:10:38.125Z] taggedImages: [2021-01-20T01:10:38.125Z] - nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:9f3888b97fc6b215bf6207a034605e4e0e7d1a95 [2021-01-20T01:10:38.125Z] - nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:latest [2021-01-20T01:10:38.125Z] - nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:1.3.1-dev.8 [2021-01-20T01:10:38.125Z] - nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:9f3888b97fc6b215bf6207a034605e4e0e7d1a95-1.3.1-dev.8 [2021-01-20T01:10:38.125Z] - nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-01-20T01:10:39.524Z] provisioning config files... [2021-01-20T01:10:39.536Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config5022808414493991780tmp [Pipeline] { [Pipeline] sh [2021-01-20T01:10:39.905Z] + set +x [2021-01-20T01:10:39.905Z] + curl -s https://codecov.io/bash [2021-01-20T01:10:39.905Z] + bash -s -- [2021-01-20T01:10:40.170Z] [2021-01-20T01:10:40.170Z] _____ _ [2021-01-20T01:10:40.170Z] / ____| | | [2021-01-20T01:10:40.170Z] | | ___ __| | ___ ___ _____ __ [2021-01-20T01:10:40.170Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-01-20T01:10:40.170Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-01-20T01:10:40.170Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-01-20T01:10:40.170Z] Bash-20210115-cec3c92 [2021-01-20T01:10:40.170Z] [2021-01-20T01:10:40.170Z] [2021-01-20T01:10:40.170Z] ==> git version 2.24.3 found [2021-01-20T01:10:40.170Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-01-20T01:10:40.170Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-01-20T01:10:40.170Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-01-20T01:10:40.170Z] ==> Jenkins CI detected. [2021-01-20T01:10:40.170Z] project root: . [2021-01-20T01:10:40.170Z] --> token set from env [2021-01-20T01:10:40.170Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-01-20T01:10:40.170Z] ==> Running gcov in . (disable via -X gcov) [2021-01-20T01:10:40.170Z] ==> Python coveragepy not found [2021-01-20T01:10:40.170Z] ==> Searching for coverage reports in: [2021-01-20T01:10:40.170Z] + . [2021-01-20T01:10:40.170Z] -> Found 1 reports [2021-01-20T01:10:40.170Z] ==> Detecting git/mercurial file structure [2021-01-20T01:10:40.170Z] ==> Reading reports [2021-01-20T01:10:40.170Z] + ./coverage.out bytes=22362 [2021-01-20T01:10:40.170Z] ==> Appending adjustments [2021-01-20T01:10:40.170Z] https://docs.codecov.io/docs/fixing-reports [2021-01-20T01:10:40.437Z] + Found adjustments [2021-01-20T01:10:40.437Z] ==> Gzipping contents [2021-01-20T01:10:40.437Z] 8.0K /tmp/codecov.unkFxe.gz [2021-01-20T01:10:40.437Z] ==> Uploading reports [2021-01-20T01:10:40.437Z] url: https://codecov.io [2021-01-20T01:10:40.437Z] query: branch=master&commit=9f3888b97fc6b215bf6207a034605e4e0e7d1a95&build=36&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmaster%2F36%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-01-20T01:10:40.437Z] -> Pinging Codecov [2021-01-20T01:10:40.437Z] https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=master&commit=9f3888b97fc6b215bf6207a034605e4e0e7d1a95&build=36&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmaster%2F36%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-01-20T01:10:40.699Z] -> Uploading to [2021-01-20T01:10:40.699Z] https://storage.googleapis.com/codecov/v4/raw/2021-01-20/55DBCA73C666E3227836607328DD7E49/9f3888b97fc6b215bf6207a034605e4e0e7d1a95/e83597e0-22b1-44cc-8683-185496b08f0e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210120%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210120T011040Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d79b1da8dcedb7ba327946a18bb1a3d1dd1c69633e9eb031021481060af4b524 [2021-01-20T01:10:40.699Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-20T01:10:40.699Z] Dload Upload Total Spent Left Speed [2021-01-20T01:10:41.536Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4230 0 0 100 4230 0 7493 --:--:-- --:--:-- --:--:-- 7486 [2021-01-20T01:10:41.536Z] -> View reports at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/9f3888b97fc6b215bf6207a034605e4e0e7d1a95 [Pipeline] } [2021-01-20T01:10:41.547Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-01-20T01:10:42.403Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-01-20T01:10:42.452Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-20T01:10:42.803Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-01-20T01:10:42.804Z] [2021-01-20T01:10:42.804Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-01-20T01:10:43.171Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-01-20T01:10:43.171Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-01-20T01:10:43.171Z] 188c0c94c7c5: Pulling fs layer [2021-01-20T01:10:43.171Z] 0ef7d3d256c8: Pulling fs layer [2021-01-20T01:10:43.171Z] de9db76c5a1d: Pulling fs layer [2021-01-20T01:10:43.171Z] 0eba1c9be4d2: Pulling fs layer [2021-01-20T01:10:43.171Z] 0d57e429df01: Pulling fs layer [2021-01-20T01:10:43.171Z] 4e4be7b47b0d: Pulling fs layer [2021-01-20T01:10:43.171Z] e1f770b5df2f: Pulling fs layer [2021-01-20T01:10:43.171Z] 85a0685a4137: Pulling fs layer [2021-01-20T01:10:43.171Z] 0d57e429df01: Waiting [2021-01-20T01:10:43.171Z] 4e4be7b47b0d: Waiting [2021-01-20T01:10:43.171Z] e1f770b5df2f: Waiting [2021-01-20T01:10:43.171Z] 85a0685a4137: Waiting [2021-01-20T01:10:43.171Z] 0eba1c9be4d2: Waiting [2021-01-20T01:10:43.171Z] de9db76c5a1d: Download complete [2021-01-20T01:10:43.171Z] 0ef7d3d256c8: Verifying Checksum [2021-01-20T01:10:43.171Z] 0ef7d3d256c8: Download complete [2021-01-20T01:10:43.171Z] 0d57e429df01: Verifying Checksum [2021-01-20T01:10:43.171Z] 0d57e429df01: Download complete [2021-01-20T01:10:43.171Z] 188c0c94c7c5: Verifying Checksum [2021-01-20T01:10:43.171Z] 188c0c94c7c5: Download complete [2021-01-20T01:10:43.446Z] 4e4be7b47b0d: Verifying Checksum [2021-01-20T01:10:43.446Z] 4e4be7b47b0d: Download complete [2021-01-20T01:10:43.710Z] 188c0c94c7c5: Pull complete [2021-01-20T01:10:43.972Z] 0ef7d3d256c8: Pull complete [2021-01-20T01:10:43.972Z] de9db76c5a1d: Pull complete [2021-01-20T01:10:44.918Z] e1f770b5df2f: Verifying Checksum [2021-01-20T01:10:44.918Z] e1f770b5df2f: Download complete [2021-01-20T01:10:48.235Z] 0eba1c9be4d2: Verifying Checksum [2021-01-20T01:10:48.235Z] 0eba1c9be4d2: Download complete [2021-01-20T01:10:48.235Z] 85a0685a4137: Verifying Checksum [2021-01-20T01:10:48.235Z] 85a0685a4137: Download complete [2021-01-20T01:10:53.574Z] 0eba1c9be4d2: Pull complete [2021-01-20T01:10:53.574Z] 0d57e429df01: Pull complete [2021-01-20T01:10:53.574Z] 4e4be7b47b0d: Pull complete [2021-01-20T01:10:54.963Z] e1f770b5df2f: Pull complete [2021-01-20T01:11:03.155Z] 85a0685a4137: Pull complete [2021-01-20T01:11:03.155Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-01-20T01:11:03.155Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-01-20T01:11:03.155Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-01-20T01:11:03.433Z] prd-centos7-docker-4c-2g-21451 does not seem to be running inside a container [2021-01-20T01:11:03.514Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-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 [2021-01-20T01:11:04.465Z] $ docker top 07bbc02b6e3624c88f22a49e472221e2b9c068ff58b228d9334b06a07efb8e2d -eo pid,comm [Pipeline] { [Pipeline] echo [2021-01-20T01:11:04.679Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-01-20T01:11:04.974Z] + set -o pipefail [2021-01-20T01:11:04.975Z] + snyk monitor '--org=edgex-jenkins' [2021-01-20T01:11:11.606Z] [2021-01-20T01:11:11.606Z] Monitoring /w/workspace/xfoundry_device-modbus-go_master (github.com/edgexfoundry/device-modbus-go)... [2021-01-20T01:11:11.606Z] [2021-01-20T01:11:11.606Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/f1f9588a-e578-4d15-82cf-faf0ad0ed2d7/history/ceaf3b17-998d-4bd6-805c-b6fd82fc9431 [2021-01-20T01:11:11.606Z] [2021-01-20T01:11:11.606Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2021-01-20T01:11:11.606Z] [2021-01-20T01:11:11.606Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-01-20T01:11:11.606Z] [2021-01-20T01:11:11.606Z] [Pipeline] } [2021-01-20T01:11:11.624Z] $ docker stop --time=1 07bbc02b6e3624c88f22a49e472221e2b9c068ff58b228d9334b06a07efb8e2d [2021-01-20T01:11:14.266Z] $ docker rm -f 07bbc02b6e3624c88f22a49e472221e2b9c068ff58b228d9334b06a07efb8e2d [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) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-01-20T01:11:16.081Z] + git log --format=format:%s -1 9f3888b97fc6b215bf6207a034605e4e0e7d1a95 [Pipeline] isUnix [Pipeline] sh [2021-01-20T01:11:16.389Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-20T01:11:16.389Z] . [Pipeline] withDockerContainer [2021-01-20T01:11:16.494Z] prd-centos7-docker-4c-2g-21451 does not seem to be running inside a container [2021-01-20T01:11:16.539Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-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 [2021-01-20T01:11:17.323Z] $ docker top 2f0b426cbffbef6497b46caf1460b814bb62d131ab95a9decef58d2504eed1b7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-20T01:11:17.624Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-20T01:11:17.624Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-20T01:11:17.860Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-20T01:11:17.864Z] $ docker exec 2f0b426cbffbef6497b46caf1460b814bb62d131ab95a9decef58d2504eed1b7 ssh-agent [2021-01-20T01:11:18.059Z] SSH_AUTH_SOCK=/tmp/ssh-Wdn9MMrbfyc7/agent.11 [2021-01-20T01:11:18.059Z] SSH_AGENT_PID=17 [2021-01-20T01:11:18.067Z] Running ssh-add (command line suppressed) [2021-01-20T01:11:18.220Z] Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_4768429249697864999.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_4768429249697864999.key) [2021-01-20T01:11:18.277Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-20T01:11:18.609Z] + git semver tag [2021-01-20T01:11:18.609Z] # -> Open(): unable to determine branch for HEAD [2021-01-20T01:11:18.609Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git [2021-01-20T01:11:18.609Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master [2021-01-20T01:11:18.609Z] # $SEMVER_REMOTE_NAME = origin [2021-01-20T01:11:18.609Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-20T01:11:18.609Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-20T01:11:18.609Z] # $SEMVER_BRANCH = master [2021-01-20T01:11:18.609Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [2021-01-20T01:11:18.609Z] # 9f3888b97fc6b215bf6207a034605e4e0e7d1a95 HEAD [2021-01-20T01:11:18.609Z] # -> Force: false [2021-01-20T01:11:18.610Z] # 1f88ddb6a772bd04eb0efef2930a548fc6dfcf28 refs/tags/v1.3.1-dev.8 [Pipeline] } [2021-01-20T01:11:18.621Z] $ docker exec --env ******** --env ******** 2f0b426cbffbef6497b46caf1460b814bb62d131ab95a9decef58d2504eed1b7 ssh-agent -k [2021-01-20T01:11:18.746Z] unset SSH_AUTH_SOCK; [2021-01-20T01:11:18.747Z] unset SSH_AGENT_PID; [2021-01-20T01:11:18.747Z] echo Agent pid 17 killed; [2021-01-20T01:11:18.798Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-20T01:11:19.271Z] + git semver [Pipeline] } [2021-01-20T01:11:19.288Z] $ docker stop --time=1 2f0b426cbffbef6497b46caf1460b814bb62d131ab95a9decef58d2504eed1b7 [2021-01-20T01:11:20.635Z] $ docker rm -f 2f0b426cbffbef6497b46caf1460b814bb62d131ab95a9decef58d2504eed1b7 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-01-20T01:11:21.366Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-01-20T01:11:21.367Z] [2021-01-20T01:11:21.367Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-01-20T01:11:21.786Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-01-20T01:11:21.786Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-01-20T01:11:21.786Z] ab5ef0e58194: Pulling fs layer [2021-01-20T01:11:21.786Z] 9712f1f96733: Pulling fs layer [2021-01-20T01:11:21.786Z] 63f879dbbcfc: Pulling fs layer [2021-01-20T01:11:21.786Z] 0d9ebad4ef96: Pulling fs layer [2021-01-20T01:11:21.786Z] e9a5061849ea: Pulling fs layer [2021-01-20T01:11:21.786Z] d747dcd14b5f: Pulling fs layer [2021-01-20T01:11:21.786Z] 2de7ff778b66: Pulling fs layer [2021-01-20T01:11:21.786Z] e9a5061849ea: Waiting [2021-01-20T01:11:21.786Z] d747dcd14b5f: Waiting [2021-01-20T01:11:21.786Z] 2de7ff778b66: Waiting [2021-01-20T01:11:21.786Z] 0d9ebad4ef96: Waiting [2021-01-20T01:11:21.786Z] 9712f1f96733: Verifying Checksum [2021-01-20T01:11:21.786Z] 9712f1f96733: Download complete [2021-01-20T01:11:23.811Z] 63f879dbbcfc: Verifying Checksum [2021-01-20T01:11:23.811Z] 63f879dbbcfc: Download complete [2021-01-20T01:11:23.811Z] e9a5061849ea: Verifying Checksum [2021-01-20T01:11:23.811Z] e9a5061849ea: Download complete [2021-01-20T01:11:23.811Z] d747dcd14b5f: Download complete [2021-01-20T01:11:24.074Z] 2de7ff778b66: Verifying Checksum [2021-01-20T01:11:24.074Z] 2de7ff778b66: Download complete [2021-01-20T01:11:24.336Z] 0d9ebad4ef96: Download complete [2021-01-20T01:11:24.336Z] ab5ef0e58194: Verifying Checksum [2021-01-20T01:11:24.336Z] ab5ef0e58194: Download complete [2021-01-20T01:11:28.574Z] ab5ef0e58194: Pull complete [2021-01-20T01:11:28.574Z] 9712f1f96733: Pull complete [2021-01-20T01:11:31.146Z] 63f879dbbcfc: Pull complete [2021-01-20T01:11:36.468Z] 0d9ebad4ef96: Pull complete [2021-01-20T01:11:38.386Z] e9a5061849ea: Pull complete [2021-01-20T01:11:38.386Z] d747dcd14b5f: Pull complete [2021-01-20T01:11:40.966Z] 2de7ff778b66: Pull complete [2021-01-20T01:11:40.966Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-01-20T01:11:40.966Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-01-20T01:11:40.966Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-01-20T01:11:41.181Z] prd-centos7-docker-4c-2g-21451 does not seem to be running inside a container [2021-01-20T01:11:41.238Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-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 [2021-01-20T01:11:44.908Z] $ docker top bc87df7f9f0af81d0f0ab19dba865d04d84f3c122d035a20fe506fb11903fa98 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-01-20T01:11:45.186Z] provisioning config files... [2021-01-20T01:11:45.208Z] copy managed file [sigul-config] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config8542291144739719043tmp [2021-01-20T01:11:45.226Z] copy managed file [sigul-password] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config7239126644269809268tmp [2021-01-20T01:11:45.250Z] copy managed file [sigul-pki] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config7144927349459692521tmp [Pipeline] { [Pipeline] echo [2021-01-20T01:11:45.303Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-20T01:11:45.606Z] ---> sigul-configuration.sh [2021-01-20T01:11:45.606Z] gpg: directory `/root/.gnupg' created [2021-01-20T01:11:45.606Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-01-20T01:11:45.606Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-01-20T01:11:45.606Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-01-20T01:11:45.606Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-01-20T01:11:45.606Z] gpg: CAST5 encrypted data [2021-01-20T01:11:45.869Z] gpg: encrypted with 1 passphrase [2021-01-20T01:11:45.869Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-01-20T01:11:46.171Z] + mkdir /home/jenkins [2021-01-20T01:11:46.172Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-01-20T01:11:46.475Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2021-01-20T01:11:46.487Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-20T01:11:46.788Z] ---> sigul-install.sh [2021-01-20T01:11:53.392Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-01-20T01:11:53.687Z] + git tag --list [2021-01-20T01:11:53.687Z] 0.7.1 [2021-01-20T01:11:53.687Z] v1.0.0 [2021-01-20T01:11:53.687Z] v1.1.0 [2021-01-20T01:11:53.687Z] v1.1.1 [2021-01-20T01:11:53.687Z] v1.2.1 [2021-01-20T01:11:53.687Z] v1.2.2 [2021-01-20T01:11:53.687Z] v1.2.2-dev.1 [2021-01-20T01:11:53.687Z] v1.2.2-dev.2 [2021-01-20T01:11:53.687Z] v1.2.2-dev.3 [2021-01-20T01:11:53.687Z] v1.2.3-dev.1 [2021-01-20T01:11:53.687Z] v1.2.3-dev.2 [2021-01-20T01:11:53.687Z] v1.2.3-dev.3 [2021-01-20T01:11:53.687Z] v1.2.3-dev.4 [2021-01-20T01:11:53.687Z] v1.2.3-dev.5 [2021-01-20T01:11:53.687Z] v1.2.3-dev.6 [2021-01-20T01:11:53.687Z] v1.2.3-dev.7 [2021-01-20T01:11:53.687Z] v1.2.3-dev.8 [2021-01-20T01:11:53.687Z] v1.2.3-dev.9 [2021-01-20T01:11:53.687Z] v1.3.0 [2021-01-20T01:11:53.687Z] v1.3.1-dev.1 [2021-01-20T01:11:53.687Z] v1.3.1-dev.2 [2021-01-20T01:11:53.687Z] v1.3.1-dev.3 [2021-01-20T01:11:53.687Z] v1.3.1-dev.4 [2021-01-20T01:11:53.687Z] v1.3.1-dev.5 [2021-01-20T01:11:53.687Z] v1.3.1-dev.6 [2021-01-20T01:11:53.687Z] v1.3.1-dev.7 [2021-01-20T01:11:53.687Z] v1.3.1-dev.8 [Pipeline] sh [2021-01-20T01:11:53.987Z] + lftools sign git-tag v1.3.1-dev.8 [2021-01-20T01:11:55.374Z] Signing Git tag with Sigul... [2021-01-20T01:11:55.374Z] Signing v1.3.1-dev.8 [Pipeline] echo [2021-01-20T01:11:56.370Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-20T01:11:56.665Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-01-20T01:11:56.675Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-01-20T01:11:56.769Z] $ docker stop --time=1 bc87df7f9f0af81d0f0ab19dba865d04d84f3c122d035a20fe506fb11903fa98 [2021-01-20T01:11:58.809Z] $ docker rm -f bc87df7f9f0af81d0f0ab19dba865d04d84f3c122d035a20fe506fb11903fa98 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-01-20T01:11:59.695Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-20T01:11:59.695Z] . [Pipeline] withDockerContainer [2021-01-20T01:11:59.804Z] prd-centos7-docker-4c-2g-21451 does not seem to be running inside a container [2021-01-20T01:11:59.856Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-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 [2021-01-20T01:12:00.530Z] $ docker top 2636c194901852829f4cd4de116cb3e5983dbdbff8f3147fcb0ca27c3f7cbce9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-20T01:12:00.911Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-20T01:12:00.911Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-20T01:12:01.128Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-20T01:12:01.132Z] $ docker exec 2636c194901852829f4cd4de116cb3e5983dbdbff8f3147fcb0ca27c3f7cbce9 ssh-agent [2021-01-20T01:12:01.304Z] SSH_AUTH_SOCK=/tmp/ssh-pNPlqt9PaM3q/agent.11 [2021-01-20T01:12:01.304Z] SSH_AGENT_PID=16 [2021-01-20T01:12:01.314Z] Running ssh-add (command line suppressed) [2021-01-20T01:12:01.441Z] Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_6837173994280233201.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_6837173994280233201.key) [2021-01-20T01:12:01.501Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-20T01:12:01.843Z] + git semver bump pre [2021-01-20T01:12:01.843Z] # -> Open(): unable to determine branch for HEAD [2021-01-20T01:12:01.843Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git [2021-01-20T01:12:01.843Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master [2021-01-20T01:12:01.843Z] # $SEMVER_REMOTE_NAME = origin [2021-01-20T01:12:01.843Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-20T01:12:01.843Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-20T01:12:01.843Z] # $SEMVER_BRANCH = master [2021-01-20T01:12:01.843Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [2021-01-20T01:12:01.843Z] 1.3.1-dev.9 [Pipeline] } [2021-01-20T01:12:01.857Z] $ docker exec --env ******** --env ******** 2636c194901852829f4cd4de116cb3e5983dbdbff8f3147fcb0ca27c3f7cbce9 ssh-agent -k [2021-01-20T01:12:02.010Z] unset SSH_AUTH_SOCK; [2021-01-20T01:12:02.011Z] unset SSH_AGENT_PID; [2021-01-20T01:12:02.011Z] echo Agent pid 16 killed; [2021-01-20T01:12:02.084Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-20T01:12:02.556Z] + git semver [Pipeline] } [2021-01-20T01:12:02.573Z] $ docker stop --time=1 2636c194901852829f4cd4de116cb3e5983dbdbff8f3147fcb0ca27c3f7cbce9 [2021-01-20T01:12:03.984Z] $ docker rm -f 2636c194901852829f4cd4de116cb3e5983dbdbff8f3147fcb0ca27c3f7cbce9 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-01-20T01:12:04.516Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-20T01:12:04.516Z] . [Pipeline] withDockerContainer [2021-01-20T01:12:04.620Z] prd-centos7-docker-4c-2g-21451 does not seem to be running inside a container [2021-01-20T01:12:04.665Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-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 [2021-01-20T01:12:05.334Z] $ docker top 683cd919c12f0930e18a8dac102b13b7881826bc803c088dc9c8ec82ccd546ac -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-20T01:12:05.616Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-20T01:12:05.616Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-20T01:12:05.799Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-20T01:12:05.802Z] $ docker exec 683cd919c12f0930e18a8dac102b13b7881826bc803c088dc9c8ec82ccd546ac ssh-agent [2021-01-20T01:12:05.976Z] SSH_AUTH_SOCK=/tmp/ssh-KnP8xEf8Nbxl/agent.13 [2021-01-20T01:12:05.976Z] SSH_AGENT_PID=18 [2021-01-20T01:12:05.983Z] Running ssh-add (command line suppressed) [2021-01-20T01:12:06.113Z] Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_3935609487733233179.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_3935609487733233179.key) [2021-01-20T01:12:06.226Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-20T01:12:06.586Z] + git semver push [2021-01-20T01:12:06.586Z] # -> Open(): unable to determine branch for HEAD [2021-01-20T01:12:06.586Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git [2021-01-20T01:12:06.586Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master [2021-01-20T01:12:06.586Z] # $SEMVER_REMOTE_NAME = origin [2021-01-20T01:12:06.586Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-20T01:12:06.586Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-20T01:12:06.586Z] # $SEMVER_BRANCH = master [2021-01-20T01:12:06.586Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [Pipeline] } [2021-01-20T01:12:14.811Z] $ docker exec --env ******** --env ******** 683cd919c12f0930e18a8dac102b13b7881826bc803c088dc9c8ec82ccd546ac ssh-agent -k [2021-01-20T01:12:14.943Z] unset SSH_AUTH_SOCK; [2021-01-20T01:12:14.943Z] unset SSH_AGENT_PID; [2021-01-20T01:12:14.944Z] echo Agent pid 18 killed; [2021-01-20T01:12:14.993Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-20T01:12:15.478Z] + git semver [Pipeline] } [2021-01-20T01:12:15.494Z] $ docker stop --time=1 683cd919c12f0930e18a8dac102b13b7881826bc803c088dc9c8ec82ccd546ac [2021-01-20T01:12:16.841Z] $ docker rm -f 683cd919c12f0930e18a8dac102b13b7881826bc803c088dc9c8ec82ccd546ac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-01-20T01:12:18.464Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-20T01:12:19.028Z] ---> package-listing.sh [2021-01-20T01:12:19.028Z] ++ facter osfamily [2021-01-20T01:12:19.028Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-20T01:12:19.028Z] + OS_FAMILY=redhat [2021-01-20T01:12:19.028Z] + workspace=/w/workspace/xfoundry_device-modbus-go_master [2021-01-20T01:12:19.028Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-20T01:12:19.028Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-20T01:12:19.028Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-20T01:12:19.028Z] + PACKAGES=/tmp/packages_start.txt [2021-01-20T01:12:19.028Z] + '[' /w/workspace/xfoundry_device-modbus-go_master ']' [2021-01-20T01:12:19.028Z] + PACKAGES=/tmp/packages_end.txt [2021-01-20T01:12:19.028Z] + case "${OS_FAMILY}" in [2021-01-20T01:12:19.028Z] + rpm -qa [2021-01-20T01:12:19.028Z] + sort [2021-01-20T01:12:23.249Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-20T01:12:23.249Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-20T01:12:23.249Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-20T01:12:23.249Z] + '[' /w/workspace/xfoundry_device-modbus-go_master ']' [2021-01-20T01:12:23.249Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_master/archives/ [2021-01-20T01:12:23.249Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_master/archives/ [Pipeline] echo [2021-01-20T01:12:23.262Z] 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/xfoundry_device-modbus-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-20T01:12:23.556Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-20T01:12:23.863Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-20T01:12:23.863Z] [2021-01-20T01:12:23.863Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-20T01:12:24.207Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-20T01:12:24.207Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-20T01:12:24.207Z] df20fa9351a1: Pulling fs layer [2021-01-20T01:12:24.207Z] 36b3adc4ff6f: Pulling fs layer [2021-01-20T01:12:24.207Z] 8ad3a11d3b57: Pulling fs layer [2021-01-20T01:12:24.207Z] 46f8f816bc3b: Pulling fs layer [2021-01-20T01:12:24.207Z] 93b61091891f: Pulling fs layer [2021-01-20T01:12:24.207Z] 93b9cdb0e59b: Pulling fs layer [2021-01-20T01:12:24.207Z] 5e14af77c1be: Pulling fs layer [2021-01-20T01:12:24.207Z] 01666e4c0597: Pulling fs layer [2021-01-20T01:12:24.207Z] aa168da1d23b: Pulling fs layer [2021-01-20T01:12:24.207Z] 93b9cdb0e59b: Waiting [2021-01-20T01:12:24.207Z] aa168da1d23b: Waiting [2021-01-20T01:12:24.207Z] 5e14af77c1be: Waiting [2021-01-20T01:12:24.207Z] 01666e4c0597: Waiting [2021-01-20T01:12:24.207Z] 46f8f816bc3b: Waiting [2021-01-20T01:12:24.207Z] 93b61091891f: Waiting [2021-01-20T01:12:24.207Z] 36b3adc4ff6f: Verifying Checksum [2021-01-20T01:12:24.207Z] 36b3adc4ff6f: Download complete [2021-01-20T01:12:24.207Z] 46f8f816bc3b: Download complete [2021-01-20T01:12:24.471Z] df20fa9351a1: Verifying Checksum [2021-01-20T01:12:24.471Z] df20fa9351a1: Download complete [2021-01-20T01:12:24.471Z] 93b61091891f: Verifying Checksum [2021-01-20T01:12:24.471Z] 93b61091891f: Download complete [2021-01-20T01:12:24.471Z] 8ad3a11d3b57: Verifying Checksum [2021-01-20T01:12:24.471Z] 8ad3a11d3b57: Download complete [2021-01-20T01:12:24.471Z] 5e14af77c1be: Verifying Checksum [2021-01-20T01:12:24.471Z] 5e14af77c1be: Download complete [2021-01-20T01:12:24.471Z] 01666e4c0597: Download complete [2021-01-20T01:12:24.739Z] df20fa9351a1: Pull complete [2021-01-20T01:12:25.012Z] 36b3adc4ff6f: Pull complete [2021-01-20T01:12:25.278Z] 93b9cdb0e59b: Verifying Checksum [2021-01-20T01:12:25.278Z] 93b9cdb0e59b: Download complete [2021-01-20T01:12:26.668Z] 8ad3a11d3b57: Pull complete [2021-01-20T01:12:26.668Z] aa168da1d23b: Verifying Checksum [2021-01-20T01:12:26.668Z] aa168da1d23b: Download complete [2021-01-20T01:12:26.931Z] 46f8f816bc3b: Pull complete [2021-01-20T01:12:27.195Z] 93b61091891f: Pull complete [2021-01-20T01:12:27.458Z] 93b9cdb0e59b: Pull complete [2021-01-20T01:12:27.458Z] 5e14af77c1be: Pull complete [2021-01-20T01:12:27.728Z] 01666e4c0597: Pull complete [2021-01-20T01:12:34.388Z] aa168da1d23b: Pull complete [2021-01-20T01:12:34.388Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-20T01:12:34.388Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-20T01:12:34.388Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-20T01:12:34.513Z] prd-centos7-docker-4c-2g-21451 does not seem to be running inside a container [2021-01-20T01:12:34.567Z] $ 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/xfoundry_device-modbus-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/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-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 [2021-01-20T01:12:37.282Z] $ docker top 6c4bc81fd74ef70f7ba8aa47a37d4cf141843e83696da3a1d0207ed4bf4ea938 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-20T01:12:37.776Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-20T01:12:38.074Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-20T01:12:38.375Z] + ls /var/log/sa-host [2021-01-20T01:12:38.375Z] + sadf -c /var/log/sa-host/sa20 [2021-01-20T01:12:38.375Z] file_magic: OK [2021-01-20T01:12:38.375Z] HZ: Using current value: 100 [2021-01-20T01:12:38.375Z] file_header: OK [2021-01-20T01:12:38.375Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-01-20T01:12:38.375Z] Statistics: [2021-01-20T01:12:38.375Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-20T01:12:38.375Z] File successfully converted to sysstat format version 12.2.1 [2021-01-20T01:12:38.375Z] + sadf -c /var/log/sa-host/sa23 [2021-01-20T01:12:38.375Z] file_magic: OK [2021-01-20T01:12:38.375Z] HZ: Using current value: 100 [2021-01-20T01:12:38.375Z] file_header: OK [2021-01-20T01:12:38.375Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-01-20T01:12:38.375Z] Statistics: [2021-01-20T01:12:38.375Z] Hnuu...uuuununununu... [2021-01-20T01:12:38.375Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-20T01:12:38.999Z] provisioning config files... [2021-01-20T01:12:39.014Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config6011848186846318954tmp [Pipeline] { [Pipeline] echo [2021-01-20T01:12:39.093Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-20T01:12:39.386Z] ---> create-netrc.sh [Pipeline] } [2021-01-20T01:12:39.396Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-20T01:12:39.482Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-20T01:12:39.778Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-20T01:12:39.789Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-20T01:12:40.088Z] ---> sudo-logs.sh [2021-01-20T01:12:40.088Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-20T01:12:40.098Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-20T01:12:40.393Z] ---> job-cost.sh [2021-01-20T01:12:40.393Z] lf-activate-venv: SKIPPING [2021-01-20T01:12:40.393Z] INFO: No Stack... [2021-01-20T01:12:41.340Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-20T01:12:41.602Z] INFO: Archiving Costs [Pipeline] echo [2021-01-20T01:12:41.618Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-20T01:12:41.914Z] ---> logs-deploy.sh [2021-01-20T01:12:41.914Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/master/36 [2021-01-20T01:12:41.914Z] INFO: archiving workspace using pattern(s): [2021-01-20T01:12:43.304Z] Archives upload complete. [2021-01-20T01:12:43.565Z] INFO: archiving logs to Nexus [2021-01-20T01:12:44.513Z] ---> uname -a: [2021-01-20T01:12:44.513Z] Linux prd-centos7-docker-4c-2g-21451.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux [2021-01-20T01:12:44.513Z] [2021-01-20T01:12:44.513Z] [2021-01-20T01:12:44.513Z] ---> lscpu: [2021-01-20T01:12:44.513Z] Architecture: x86_64 [2021-01-20T01:12:44.513Z] CPU op-mode(s): 32-bit, 64-bit [2021-01-20T01:12:44.513Z] Byte Order: Little Endian [2021-01-20T01:12:44.513Z] Address sizes: 40 bits physical, 48 bits virtual [2021-01-20T01:12:44.513Z] CPU(s): 4 [2021-01-20T01:12:44.513Z] On-line CPU(s) list: 0-3 [2021-01-20T01:12:44.513Z] Thread(s) per core: 1 [2021-01-20T01:12:44.513Z] Core(s) per socket: 1 [2021-01-20T01:12:44.513Z] Socket(s): 4 [2021-01-20T01:12:44.513Z] NUMA node(s): 1 [2021-01-20T01:12:44.513Z] Vendor ID: GenuineIntel [2021-01-20T01:12:44.513Z] CPU family: 6 [2021-01-20T01:12:44.513Z] Model: 44 [2021-01-20T01:12:44.513Z] Model name: Westmere E56xx/L56xx/X56xx (IBRS update) [2021-01-20T01:12:44.513Z] Stepping: 1 [2021-01-20T01:12:44.513Z] CPU MHz: 2933.442 [2021-01-20T01:12:44.513Z] BogoMIPS: 5866.88 [2021-01-20T01:12:44.513Z] Virtualization: VT-x [2021-01-20T01:12:44.513Z] Hypervisor vendor: KVM [2021-01-20T01:12:44.513Z] Virtualization type: full [2021-01-20T01:12:44.513Z] L1d cache: 128 KiB [2021-01-20T01:12:44.513Z] L1i cache: 128 KiB [2021-01-20T01:12:44.513Z] L2 cache: 16 MiB [2021-01-20T01:12:44.513Z] L3 cache: 64 MiB [2021-01-20T01:12:44.513Z] NUMA node0 CPU(s): 0-3 [2021-01-20T01:12:44.513Z] Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages [2021-01-20T01:12:44.513Z] Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled [2021-01-20T01:12:44.513Z] Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown [2021-01-20T01:12:44.513Z] Vulnerability Meltdown: Mitigation; PTI [2021-01-20T01:12:44.513Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2021-01-20T01:12:44.513Z] Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization [2021-01-20T01:12:44.513Z] Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB [2021-01-20T01:12:44.513Z] Vulnerability Srbds: Not affected [2021-01-20T01:12:44.513Z] Vulnerability Tsx async abort: Not affected [2021-01-20T01:12:44.513Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp [2021-01-20T01:12:44.513Z] [2021-01-20T01:12:44.513Z] [2021-01-20T01:12:44.513Z] ---> nproc: [2021-01-20T01:12:44.513Z] 4 [2021-01-20T01:12:44.513Z] [2021-01-20T01:12:44.513Z] [2021-01-20T01:12:44.513Z] ---> df -h: [2021-01-20T01:12:44.513Z] Filesystem Size Used Available Use% Mounted on [2021-01-20T01:12:44.513Z] overlay 50.0G 8.5G 41.4G 17% / [2021-01-20T01:12:44.513Z] tmpfs 64.0M 0 64.0M 0% /dev [2021-01-20T01:12:44.513Z] tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup [2021-01-20T01:12:44.513Z] shm 64.0M 0 64.0M 0% /dev/shm [2021-01-20T01:12:44.513Z] /dev/vda1 50.0G 8.5G 41.4G 17% /facter-os [2021-01-20T01:12:44.513Z] /dev/vda1 50.0G 8.5G 41.4G 17% /etc/resolv.conf [2021-01-20T01:12:44.513Z] /dev/vda1 50.0G 8.5G 41.4G 17% /etc/hostname [2021-01-20T01:12:44.513Z] /dev/vda1 50.0G 8.5G 41.4G 17% /etc/hosts [2021-01-20T01:12:44.513Z] /dev/vda1 50.0G 8.5G 41.4G 17% /var/log/auth.log [2021-01-20T01:12:44.513Z] /dev/vda1 50.0G 8.5G 41.4G 17% /run/cloud-init/result.json [2021-01-20T01:12:44.513Z] /dev/vda1 50.0G 8.5G 41.4G 17% /w/workspace/xfoundry_device-modbus-go_master [2021-01-20T01:12:44.513Z] /dev/vda1 50.0G 8.5G 41.4G 17% /w/workspace/xfoundry_device-modbus-go_master@tmp [2021-01-20T01:12:44.513Z] /dev/vda1 50.0G 8.5G 41.4G 17% /var/log/sa-host [2021-01-20T01:12:44.513Z] /dev/vda1 50.0G 8.5G 41.4G 17% /var/log/secure [2021-01-20T01:12:44.513Z] [2021-01-20T01:12:44.513Z] [2021-01-20T01:12:44.513Z] ---> free -m: [2021-01-20T01:12:44.513Z] total used free shared buff/cache available [2021-01-20T01:12:44.513Z] Mem: 1837 819 152 0 865 954 [2021-01-20T01:12:44.513Z] Swap: 1023 2 1021 [2021-01-20T01:12:44.513Z] [2021-01-20T01:12:44.513Z] [2021-01-20T01:12:44.513Z] ---> ip addr: [2021-01-20T01:12:44.513Z] 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 [2021-01-20T01:12:44.513Z] link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 [2021-01-20T01:12:44.513Z] inet 127.0.0.1/8 scope host lo [2021-01-20T01:12:44.513Z] valid_lft forever preferred_lft forever [2021-01-20T01:12:44.513Z] inet6 ::1/128 scope host [2021-01-20T01:12:44.513Z] valid_lft forever preferred_lft forever [2021-01-20T01:12:44.513Z] 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 [2021-01-20T01:12:44.513Z] link/ether fa:16:3e:9c:a9:5e brd ff:ff:ff:ff:ff:ff [2021-01-20T01:12:44.513Z] inet 10.30.123.17/23 brd 10.30.123.255 scope global dynamic eth0 [2021-01-20T01:12:44.513Z] valid_lft 85836sec preferred_lft 85836sec [2021-01-20T01:12:44.513Z] inet6 fe80::f816:3eff:fe9c:a95e/64 scope link [2021-01-20T01:12:44.513Z] valid_lft forever preferred_lft forever [2021-01-20T01:12:44.513Z] 3: docker0: mtu 1500 qdisc noqueue state DOWN [2021-01-20T01:12:44.513Z] link/ether 02:42:8d:19:a9:de brd ff:ff:ff:ff:ff:ff [2021-01-20T01:12:44.513Z] inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 [2021-01-20T01:12:44.513Z] valid_lft forever preferred_lft forever [2021-01-20T01:12:44.513Z] inet6 fe80::42:8dff:fe19:a9de/64 scope link [2021-01-20T01:12:44.513Z] valid_lft forever preferred_lft forever [2021-01-20T01:12:44.513Z] [2021-01-20T01:12:44.513Z] [2021-01-20T01:12:44.513Z] ---> sar -b -r -n DEV: [2021-01-20T01:12:44.513Z] Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/20/21 _x86_64_ (4 CPU) [2021-01-20T01:12:44.513Z] [2021-01-20T01:12:44.513Z] 01:03:09 LINUX RESTART (4 CPU) [2021-01-20T01:12:44.513Z] [2021-01-20T01:12:44.513Z] 01:04:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s [2021-01-20T01:12:44.513Z] 01:05:01 25.02 6.13 18.89 0.00 1632.89 2961.48 0.00 [2021-01-20T01:12:44.513Z] 01:06:01 1.90 0.00 1.90 0.00 0.00 35.01 0.00 [2021-01-20T01:12:44.513Z] 01:07:01 0.25 0.00 0.25 0.00 0.00 2.71 0.00 [2021-01-20T01:12:44.513Z] 01:08:01 0.27 0.00 0.27 0.00 0.00 3.46 0.00 [2021-01-20T01:12:44.513Z] 01:09:01 0.22 0.00 0.22 0.00 0.00 2.88 0.00 [2021-01-20T01:12:44.513Z] 01:10:01 0.37 0.00 0.37 0.00 0.00 4.90 0.00 [2021-01-20T01:12:44.513Z] 01:11:01 185.67 109.53 76.14 0.00 4297.37 29442.55 0.00 [2021-01-20T01:12:44.513Z] 01:12:01 295.23 131.74 163.48 0.00 8506.94 39179.74 0.00 [2021-01-20T01:12:44.513Z] Average: 63.66 30.95 32.71 0.00 1805.78 8959.94 0.00 [2021-01-20T01:12:44.513Z] [2021-01-20T01:12:44.513Z] 01:04:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty [2021-01-20T01:12:44.513Z] 01:05:01 168836 0 568532 30.22 2620 1141556 1122160 38.30 407316 1106308 16 [2021-01-20T01:12:44.513Z] 01:06:01 172604 0 564756 30.02 2620 1141564 1087756 37.12 406452 1104092 8 [2021-01-20T01:12:44.513Z] 01:07:01 172176 0 565180 30.04 2620 1141568 1087624 37.12 407212 1104316 8 [2021-01-20T01:12:44.513Z] 01:08:01 172856 0 564500 30.00 2620 1141568 1077428 36.77 418284 1092708 12 [2021-01-20T01:12:44.513Z] 01:09:01 168608 0 568740 30.23 2620 1141576 1077464 36.77 419884 1095280 8 [2021-01-20T01:12:44.513Z] 01:10:01 167600 0 569744 30.28 2620 1141580 1077564 36.78 431640 1085040 20 [2021-01-20T01:12:44.513Z] 01:11:01 72060 0 696480 37.02 2620 1110384 1513284 51.65 530996 1028008 88128 [2021-01-20T01:12:44.513Z] 01:12:01 220708 0 787988 41.88 1560 871288 1379696 47.09 603124 722028 48 [2021-01-20T01:12:44.513Z] Average: 164431 0 610740 32.46 2488 1103886 1177872 40.20 453114 1042222 11031 [2021-01-20T01:12:44.513Z] [2021-01-20T01:12:44.513Z] 01:04:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil [2021-01-20T01:12:44.513Z] 01:05:01 eth0 76.73 59.08 341.43 26.75 0.00 0.00 0.00 0.00 [2021-01-20T01:12:44.513Z] 01:05:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-01-20T01:12:44.513Z] 01:05:01 docker0 2.05 1.60 0.44 4.26 0.00 0.00 0.00 0.00 [2021-01-20T01:12:44.513Z] 01:06:01 eth0 1.78 0.65 0.63 0.40 0.00 0.00 0.00 0.00 [2021-01-20T01:12:44.513Z] 01:06:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-01-20T01:12:44.513Z] 01:06:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-01-20T01:12:44.513Z] 01:07:01 eth0 1.20 0.28 0.33 0.20 0.00 0.00 0.00 0.00 [2021-01-20T01:12:44.513Z] 01:07:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-01-20T01:12:44.513Z] 01:07:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-01-20T01:12:44.513Z] 01:08:01 eth0 1.87 0.30 0.44 0.20 0.00 0.00 0.00 0.00 [2021-01-20T01:12:44.513Z] 01:08:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-01-20T01:12:44.513Z] 01:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-01-20T01:12:44.513Z] 01:09:01 eth0 1.30 0.77 0.70 0.47 0.00 0.00 0.00 0.00 [2021-01-20T01:12:44.513Z] 01:09:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-01-20T01:12:44.513Z] 01:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-01-20T01:12:44.513Z] 01:10:01 eth0 2.05 0.28 0.42 0.17 0.00 0.00 0.00 0.00 [2021-01-20T01:12:44.513Z] 01:10:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-01-20T01:12:44.513Z] 01:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-01-20T01:12:44.513Z] 01:11:01 eth0 464.71 409.25 4076.98 32.90 0.00 0.00 0.00 0.00 [2021-01-20T01:12:44.513Z] 01:11:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-01-20T01:12:44.513Z] 01:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-01-20T01:12:44.513Z] 01:12:01 eth0 576.69 488.34 3616.59 98.60 0.00 0.00 0.00 0.00 [2021-01-20T01:12:44.513Z] 01:12:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-01-20T01:12:44.513Z] 01:12:01 veth460c496 0.00 0.05 0.00 0.00 0.00 0.00 0.00 0.00 [2021-01-20T01:12:44.513Z] 01:12:01 docker0 80.52 99.22 5.49 364.14 0.00 0.00 0.00 0.00 [2021-01-20T01:12:44.513Z] Average: eth0 140.88 119.95 1005.33 19.97 0.00 0.00 0.00 0.00 [2021-01-20T01:12:44.513Z] Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-01-20T01:12:44.513Z] Average: veth460c496 0.00 0.01 0.00 0.00 0.00 0.00 0.00 0.00 [2021-01-20T01:12:44.513Z] Average: docker0 10.33 12.61 0.74 46.08 0.00 0.00 0.00 0.00 [2021-01-20T01:12:44.513Z] [2021-01-20T01:12:44.513Z]