Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from bdd9c76d93ecb8defd437288c48d74aae085bd61 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 878f1b5bff316b9f7b5d8f8b1d22b752867b496c # timeout=10 Commit message: "Merge pull request #321 from ernestojeda/email-fix-generateEmailTemplate" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-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 BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-29994’ Running on prd-centos7-docker-4c-2g-30000 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 > 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 Checking out Revision bdd9c76d93ecb8defd437288c48d74aae085bd61 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f bdd9c76d93ecb8defd437288c48d74aae085bd61 # timeout=10 Commit message: "ci: fix link to Contributing.md (#221)" > git rev-list --no-walk 9554146ac767a316102827058dd0818d8a8edfd8 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-03-16T13:44:24.540Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-03-16T13:44:24.761Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-03-16T13:44:24.849Z] ========================================================= [2021-03-16T13:44:24.849Z] EdgeX Global Pipelines Version Info [2021-03-16T13:44:24.849Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-03-16T13:44:26.451Z] ------------------- [2021-03-16T13:44:26.451Z] stable info: [2021-03-16T13:44:26.451Z] ------------------- [2021-03-16T13:44:26.451Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-03-16T13:44:26.451Z] Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [2021-03-16T13:44:26.451Z] Message: update stable to v1.0.184 [2021-03-16T13:44:27.401Z] ------------------- [2021-03-16T13:44:27.401Z] experimental info: [2021-03-16T13:44:27.401Z] ------------------- [2021-03-16T13:44:27.401Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-03-16T13:44:27.401Z] Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [2021-03-16T13:44:27.401Z] Message: update experimental to v1.0.184 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-03-16T13:44:27.673Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2021-03-16T13:44:27.760Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2021-03-16T13:44:27.842Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-03-16T13:44:27.928Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-03-16T13:44:28.012Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-03-16T13:44:28.091Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-03-16T13:44:28.174Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-03-16T13:44:28.255Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-03-16T13:44:28.336Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-03-16T13:44:28.436Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-03-16T13:44:28.527Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-03-16T13:44:28.638Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-modbus-go [Pipeline] echo [2021-03-16T13:44:28.720Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-03-16T13:44:28.808Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-03-16T13:44:28.892Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-03-16T13:44:28.974Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-03-16T13:44:29.055Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-03-16T13:44:29.151Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-03-16T13:44:29.235Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-03-16T13:44:29.325Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-03-16T13:44:29.410Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-03-16T13:44:29.503Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-03-16T13:44:29.592Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-03-16T13:44:29.674Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-03-16T13:44:29.768Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-03-16T13:44:29.906Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-03-16T13:44:29.993Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-03-16T13:44:30.115Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-03-16T13:44:30.245Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-03-16T13:44:30.327Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bdd9c76d93ecb8defd437288c48d74aae085bd61 [Pipeline] echo [2021-03-16T13:44:30.466Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bdd9c76 [Pipeline] echo [2021-03-16T13:44:30.548Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-16T13:44:30.765Z] provisioning config files... [2021-03-16T13:44:30.801Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config393857963029258217tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-16T13:44:31.167Z] ---> docker-login.sh [2021-03-16T13:44:31.167Z] nexus3.edgexfoundry.org:10001 [2021-03-16T13:44:31.429Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T13:44:31.693Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T13:44:31.693Z] Configure a credential helper to remove this warning. See [2021-03-16T13:44:31.693Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T13:44:31.693Z] [2021-03-16T13:44:31.693Z] Login Succeeded [2021-03-16T13:44:31.693Z] nexus3.edgexfoundry.org:10002 [2021-03-16T13:44:31.693Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T13:44:31.957Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T13:44:31.957Z] Configure a credential helper to remove this warning. See [2021-03-16T13:44:31.957Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T13:44:31.957Z] [2021-03-16T13:44:31.957Z] Login Succeeded [2021-03-16T13:44:31.957Z] nexus3.edgexfoundry.org:10003 [2021-03-16T13:44:31.957Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T13:44:31.957Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T13:44:31.957Z] Configure a credential helper to remove this warning. See [2021-03-16T13:44:31.957Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T13:44:31.957Z] [2021-03-16T13:44:31.957Z] Login Succeeded [2021-03-16T13:44:31.957Z] nexus3.edgexfoundry.org:10004 [2021-03-16T13:44:32.221Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T13:44:32.221Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T13:44:32.221Z] Configure a credential helper to remove this warning. See [2021-03-16T13:44:32.221Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T13:44:32.221Z] [2021-03-16T13:44:32.221Z] Login Succeeded [2021-03-16T13:44:32.221Z] docker.io [2021-03-16T13:44:32.487Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T13:44:32.752Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T13:44:32.752Z] Configure a credential helper to remove this warning. See [2021-03-16T13:44:32.752Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T13:44:32.752Z] [2021-03-16T13:44:32.752Z] Login Succeeded [2021-03-16T13:44:32.752Z] ---> docker-login.sh ends [Pipeline] } [2021-03-16T13:44:32.764Z] 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-03-16T13:44:33.632Z] + git log --format=format:%s -1 bdd9c76d93ecb8defd437288c48d74aae085bd61 [Pipeline] echo [2021-03-16T13:44:33.702Z] GIT_COMMIT: bdd9c76d93ecb8defd437288c48d74aae085bd61, Commit Message: ci: fix link to Contributing.md (#221) [Pipeline] echo [2021-03-16T13:44:33.745Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-03-16T13:44:34.448Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-16T13:44:34.448Z] [2021-03-16T13:44:34.448Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-03-16T13:44:34.800Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-16T13:44:34.800Z] latest: Pulling from edgex-devops/git-semver [2021-03-16T13:44:34.800Z] 31603596830f: Pulling fs layer [2021-03-16T13:44:34.800Z] 2a8b12db71e7: Pulling fs layer [2021-03-16T13:44:34.800Z] 6ca5941a6612: Pulling fs layer [2021-03-16T13:44:34.800Z] ecc8261a40a4: Pulling fs layer [2021-03-16T13:44:34.800Z] 2a8b12db71e7: Verifying Checksum [2021-03-16T13:44:34.800Z] 2a8b12db71e7: Download complete [2021-03-16T13:44:35.065Z] 31603596830f: Verifying Checksum [2021-03-16T13:44:35.065Z] 31603596830f: Download complete [2021-03-16T13:44:35.065Z] 6ca5941a6612: Download complete [2021-03-16T13:44:35.065Z] ecc8261a40a4: Verifying Checksum [2021-03-16T13:44:35.065Z] ecc8261a40a4: Download complete [2021-03-16T13:44:35.327Z] 31603596830f: Pull complete [2021-03-16T13:44:35.591Z] 2a8b12db71e7: Pull complete [2021-03-16T13:44:36.556Z] 6ca5941a6612: Pull complete [2021-03-16T13:44:36.556Z] ecc8261a40a4: Pull complete [2021-03-16T13:44:36.556Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-03-16T13:44:36.556Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-16T13:44:36.556Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-03-16T13:44:36.665Z] prd-centos7-docker-4c-2g-30000 does not seem to be running inside a container [2021-03-16T13:44:36.716Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-16T13:44:38.871Z] $ docker top d3103ee15266b1a9c41f7d1e01b606efed91ccd41719f872989600358c0588cb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-16T13:44:39.152Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-16T13:44:39.152Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-16T13:44:39.378Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-16T13:44:39.382Z] $ docker exec d3103ee15266b1a9c41f7d1e01b606efed91ccd41719f872989600358c0588cb ssh-agent [2021-03-16T13:44:39.565Z] SSH_AUTH_SOCK=/tmp/ssh-0gsuLdE379nU/agent.11 [2021-03-16T13:44:39.565Z] SSH_AGENT_PID=17 [2021-03-16T13:44:39.577Z] Running ssh-add (command line suppressed) [2021-03-16T13:44:39.706Z] Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_4395627408033622986.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_4395627408033622986.key) [2021-03-16T13:44:39.980Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-16T13:44:40.346Z] + git tag --points-at HEAD [Pipeline] } [2021-03-16T13:44:40.367Z] $ docker exec --env ******** --env ******** d3103ee15266b1a9c41f7d1e01b606efed91ccd41719f872989600358c0588cb ssh-agent -k [2021-03-16T13:44:40.484Z] unset SSH_AUTH_SOCK; [2021-03-16T13:44:40.484Z] unset SSH_AGENT_PID; [2021-03-16T13:44:40.484Z] echo Agent pid 17 killed; [2021-03-16T13:44:40.543Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-03-16T13:44:40.683Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-16T13:44:40.683Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-16T13:44:40.862Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-16T13:44:40.866Z] $ docker exec d3103ee15266b1a9c41f7d1e01b606efed91ccd41719f872989600358c0588cb ssh-agent [2021-03-16T13:44:41.057Z] SSH_AUTH_SOCK=/tmp/ssh-2NYQ5QDwPUlB/agent.47 [2021-03-16T13:44:41.057Z] SSH_AGENT_PID=53 [2021-03-16T13:44:41.064Z] Running ssh-add (command line suppressed) [2021-03-16T13:44:41.209Z] Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_7381413215635753174.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_7381413215635753174.key) [2021-03-16T13:44:41.277Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-16T13:44:41.624Z] + git semver init [2021-03-16T13:44:41.625Z] # -> Open(): unable to determine branch for HEAD [2021-03-16T13:44:41.625Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git [2021-03-16T13:44:41.625Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master [2021-03-16T13:44:41.625Z] # $SEMVER_REMOTE_NAME = origin [2021-03-16T13:44:41.625Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-16T13:44:41.625Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-16T13:44:41.625Z] # $SEMVER_BRANCH = master [2021-03-16T13:44:41.625Z] # $SEMVER_TEMP = /tmp/semver-643071103 [2021-03-16T13:44:41.625Z] # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP [2021-03-16T13:44:42.203Z] # '/tmp/semver-643071103' -> '/w/workspace/xfoundry_device-modbus-go_master/.semver' [2021-03-16T13:44:42.203Z] # -> Force: false [2021-03-16T13:44:42.203Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [Pipeline] } [2021-03-16T13:44:42.216Z] $ docker exec --env ******** --env ******** d3103ee15266b1a9c41f7d1e01b606efed91ccd41719f872989600358c0588cb ssh-agent -k [2021-03-16T13:44:42.340Z] unset SSH_AUTH_SOCK; [2021-03-16T13:44:42.340Z] unset SSH_AGENT_PID; [2021-03-16T13:44:42.341Z] echo Agent pid 53 killed; [2021-03-16T13:44:42.397Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-16T13:44:42.846Z] + git semver [Pipeline] } [2021-03-16T13:44:42.863Z] $ docker stop --time=1 d3103ee15266b1a9c41f7d1e01b606efed91ccd41719f872989600358c0588cb [2021-03-16T13:44:44.292Z] $ docker rm -f d3103ee15266b1a9c41f7d1e01b606efed91ccd41719f872989600358c0588cb [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-16T13:44:44.762Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-03-16T13:44:45.141Z] Stashed 1 file(s) [Pipeline] echo [2021-03-16T13:44:45.144Z] [edgeXSemver]: initialized semver on version 1.3.2-dev.2 [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-03-16T13:45:00.621Z] Still waiting to schedule task [2021-03-16T13:45:00.621Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-03-16T13:45:00.624Z] Still waiting to schedule task [2021-03-16T13:45:00.624Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-03-16T13:46:23.153Z] Running on prd-centos7-docker-4c-2g-30002 in /w/workspace/xfoundry_device-modbus-go_master [Pipeline] { [Pipeline] ws [2021-03-16T13:46:23.218Z] Running in /w/workspace/device-modbus-go/39 [Pipeline] { [Pipeline] checkout [2021-03-16T13:46:25.610Z] using credential edgex-jenkins-ssh [2021-03-16T13:46:25.658Z] Cloning the remote Git repository [2021-03-16T13:46:25.692Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2021-03-16T13:46:26.817Z] Checking out Revision bdd9c76d93ecb8defd437288c48d74aae085bd61 (master) [2021-03-16T13:46:25.763Z] > git init /w/workspace/device-modbus-go/39 # timeout=10 [2021-03-16T13:46:25.831Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-03-16T13:46:25.831Z] > git --version # timeout=10 [2021-03-16T13:46:25.837Z] > git --version # 'git version 2.24.3' [2021-03-16T13:46:25.837Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-16T13:46:25.862Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-16T13:46:26.424Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-03-16T13:46:26.430Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-16T13:46:26.446Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-03-16T13:46:26.458Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-03-16T13:46:26.458Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-16T13:46:26.463Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-16T13:46:26.832Z] > git config core.sparsecheckout # timeout=10 [2021-03-16T13:46:26.838Z] > git checkout -f bdd9c76d93ecb8defd437288c48d74aae085bd61 # timeout=10 [2021-03-16T13:46:30.395Z] Commit message: "ci: fix link to Contributing.md (#221)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-16T13:46:31.481Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-03-16T13:46:31.812Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-16T13:46:32.114Z] + true [2021-03-16T13:46:32.114Z] + sudo service docker restart [2021-03-16T13:46:32.114Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-16T13:46:33.569Z] provisioning config files... [2021-03-16T13:46:33.597Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/39@tmp/config509788960168723870tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-16T13:46:33.980Z] ---> docker-login.sh [2021-03-16T13:46:33.980Z] nexus3.edgexfoundry.org:10001 [2021-03-16T13:46:34.246Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T13:46:34.509Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T13:46:34.509Z] Configure a credential helper to remove this warning. See [2021-03-16T13:46:34.509Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T13:46:34.509Z] [2021-03-16T13:46:34.509Z] Login Succeeded [2021-03-16T13:46:34.509Z] nexus3.edgexfoundry.org:10002 [2021-03-16T13:46:34.509Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T13:46:34.771Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T13:46:34.771Z] Configure a credential helper to remove this warning. See [2021-03-16T13:46:34.771Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T13:46:34.771Z] [2021-03-16T13:46:34.771Z] Login Succeeded [2021-03-16T13:46:34.771Z] nexus3.edgexfoundry.org:10003 [2021-03-16T13:46:34.771Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T13:46:34.771Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T13:46:34.771Z] Configure a credential helper to remove this warning. See [2021-03-16T13:46:34.771Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T13:46:34.771Z] [2021-03-16T13:46:34.771Z] Login Succeeded [2021-03-16T13:46:34.771Z] nexus3.edgexfoundry.org:10004 [2021-03-16T13:46:35.036Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T13:46:35.036Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T13:46:35.036Z] Configure a credential helper to remove this warning. See [2021-03-16T13:46:35.036Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T13:46:35.036Z] [2021-03-16T13:46:35.036Z] Login Succeeded [2021-03-16T13:46:35.036Z] docker.io [2021-03-16T13:46:35.036Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T13:46:35.298Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T13:46:35.298Z] Configure a credential helper to remove this warning. See [2021-03-16T13:46:35.298Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T13:46:35.298Z] [2021-03-16T13:46:35.298Z] Login Succeeded [2021-03-16T13:46:35.298Z] ---> docker-login.sh ends [Pipeline] } [2021-03-16T13:46:35.307Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-16T13:46:35.599Z] ========================================================= [2021-03-16T13:46:35.599Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-03-16T13:46:35.599Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-16T13:46:35.941Z] + 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-03-16T13:46:35.941Z] Sending build context to Docker daemon 538.6kB [2021-03-16T13:46:36.216Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-16T13:46:36.216Z] Step 2/8 : FROM ${BASE} [2021-03-16T13:46:36.216Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-03-16T13:46:36.216Z] 188c0c94c7c5: Pulling fs layer [2021-03-16T13:46:36.216Z] 0ef7d3d256c8: Pulling fs layer [2021-03-16T13:46:36.216Z] de9db76c5a1d: Pulling fs layer [2021-03-16T13:46:36.216Z] bca2f99d35d6: Pulling fs layer [2021-03-16T13:46:36.216Z] 93359f2a8cfa: Pulling fs layer [2021-03-16T13:46:36.216Z] 7c6f9722023f: Pulling fs layer [2021-03-16T13:46:36.216Z] a35cf1a2eb13: Pulling fs layer [2021-03-16T13:46:36.216Z] 93359f2a8cfa: Waiting [2021-03-16T13:46:36.216Z] 7c6f9722023f: Waiting [2021-03-16T13:46:36.216Z] a35cf1a2eb13: Waiting [2021-03-16T13:46:36.216Z] bca2f99d35d6: Waiting [2021-03-16T13:46:36.216Z] de9db76c5a1d: Verifying Checksum [2021-03-16T13:46:36.216Z] de9db76c5a1d: Download complete [2021-03-16T13:46:36.216Z] 0ef7d3d256c8: Download complete [2021-03-16T13:46:36.216Z] 93359f2a8cfa: Verifying Checksum [2021-03-16T13:46:36.216Z] 93359f2a8cfa: Download complete [2021-03-16T13:46:36.216Z] 7c6f9722023f: Verifying Checksum [2021-03-16T13:46:36.216Z] 7c6f9722023f: Download complete [2021-03-16T13:46:36.216Z] 188c0c94c7c5: Verifying Checksum [2021-03-16T13:46:36.216Z] 188c0c94c7c5: Download complete [2021-03-16T13:46:36.481Z] 188c0c94c7c5: Pull complete [2021-03-16T13:46:36.748Z] 0ef7d3d256c8: Pull complete [2021-03-16T13:46:36.748Z] de9db76c5a1d: Pull complete [2021-03-16T13:46:38.138Z] a35cf1a2eb13: Verifying Checksum [2021-03-16T13:46:38.138Z] a35cf1a2eb13: Download complete [2021-03-16T13:46:39.087Z] bca2f99d35d6: Verifying Checksum [2021-03-16T13:46:39.087Z] bca2f99d35d6: Download complete [2021-03-16T13:46:44.428Z] bca2f99d35d6: Pull complete [2021-03-16T13:46:44.693Z] 93359f2a8cfa: Pull complete [2021-03-16T13:46:44.693Z] 7c6f9722023f: Pull complete [2021-03-16T13:46:50.050Z] a35cf1a2eb13: Pull complete [2021-03-16T13:46:50.050Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-03-16T13:46:50.050Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-03-16T13:46:50.050Z] ---> a62c8e92a672 [2021-03-16T13:46:50.050Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2021-03-16T13:46:50.050Z] ---> Running in 9b091db2a7fb [2021-03-16T13:46:50.050Z] Removing intermediate container 9b091db2a7fb [2021-03-16T13:46:50.050Z] ---> 078aa1a724df [2021-03-16T13:46:50.050Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-16T13:46:50.050Z] ---> Running in 49098979b699 [2021-03-16T13:46:51.006Z] Removing intermediate container 49098979b699 [2021-03-16T13:46:51.006Z] ---> e7229fb13a6b [2021-03-16T13:46:51.006Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2021-03-16T13:46:51.275Z] ---> Running in 8f2ed7ab72a1 [2021-03-16T13:46:52.229Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-16T13:46:52.807Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-16T13:46:53.382Z] (1/14) Installing libmagic (5.38-r0) [2021-03-16T13:46:53.646Z] (2/14) Installing file (5.38-r0) [2021-03-16T13:46:53.646Z] (3/14) Installing libc-dev (0.7.2-r3) [2021-03-16T13:46:53.910Z] (4/14) Installing g++ (9.3.0-r2) [2021-03-16T13:46:55.931Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-30001 in /w/workspace/xfoundry_device-modbus-go_master [Pipeline] { [Pipeline] ws [2021-03-16T13:46:56.014Z] Running in /w/workspace/device-modbus-go/39 [Pipeline] { [Pipeline] checkout [2021-03-16T13:46:58.130Z] (5/14) Installing fortify-headers (1.1-r0) [2021-03-16T13:46:58.130Z] (6/14) Installing patch (2.7.6-r6) [2021-03-16T13:46:58.130Z] (7/14) Installing build-base (0.5-r2) [2021-03-16T13:46:58.130Z] (8/14) Installing openssh-keygen (8.3_p1-r1) [2021-03-16T13:46:58.130Z] (9/14) Installing libedit (20191231.3.1-r0) [2021-03-16T13:46:58.130Z] (10/14) Installing openssh-client (8.3_p1-r1) [2021-03-16T13:46:58.391Z] (11/14) Installing openssh-sftp-server (8.3_p1-r1) [2021-03-16T13:46:58.392Z] (12/14) Installing openssh-server-common (8.3_p1-r1) [2021-03-16T13:46:58.392Z] (13/14) Installing openssh-server (8.3_p1-r1) [2021-03-16T13:46:58.654Z] (14/14) Installing openssh (8.3_p1-r1) [2021-03-16T13:46:58.654Z] Executing busybox-1.31.1-r19.trigger [2021-03-16T13:46:58.654Z] OK: 237 MiB in 53 packages [2021-03-16T13:47:01.445Z] using credential edgex-jenkins-ssh [2021-03-16T13:47:01.517Z] Cloning the remote Git repository [2021-03-16T13:47:01.995Z] Removing intermediate container 8f2ed7ab72a1 [2021-03-16T13:47:01.995Z] ---> d0c3e7839904 [2021-03-16T13:47:01.995Z] Step 6/8 : WORKDIR /device-modbus-go [2021-03-16T13:47:01.995Z] ---> Running in 530f162e1d7d [2021-03-16T13:47:02.258Z] Removing intermediate container 530f162e1d7d [2021-03-16T13:47:02.258Z] ---> 8ca2deab4e81 [2021-03-16T13:47:02.258Z] Step 7/8 : COPY . . [2021-03-16T13:47:01.582Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2021-03-16T13:47:01.688Z] > git init /w/workspace/device-modbus-go/39 # timeout=10 [2021-03-16T13:47:01.757Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-03-16T13:47:01.757Z] > git --version # timeout=10 [2021-03-16T13:47:01.781Z] > git --version # 'git version 2.17.1' [2021-03-16T13:47:01.783Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-16T13:47:01.862Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-16T13:47:03.210Z] ---> bb088a0ef7c1 [2021-03-16T13:47:03.210Z] Step 8/8 : RUN go mod download [2021-03-16T13:47:03.210Z] ---> Running in fb781fc14e4c [2021-03-16T13:47:05.062Z] Checking out Revision bdd9c76d93ecb8defd437288c48d74aae085bd61 (master) [2021-03-16T13:47:03.844Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-03-16T13:47:03.858Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-16T13:47:03.878Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-03-16T13:47:03.919Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-03-16T13:47:03.919Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-16T13:47:03.940Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-16T13:47:05.084Z] > git config core.sparsecheckout # timeout=10 [2021-03-16T13:47:05.102Z] > git checkout -f bdd9c76d93ecb8defd437288c48d74aae085bd61 # timeout=10 [2021-03-16T13:47:09.482Z] Commit message: "ci: fix link to Contributing.md (#221)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-16T13:47:10.975Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-03-16T13:47:11.424Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-16T13:47:11.768Z] + sudo service docker restart [2021-03-16T13:47:11.768Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-16T13:47:13.833Z] provisioning config files... [2021-03-16T13:47:13.872Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/39@tmp/config1996232002823348493tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-16T13:47:14.291Z] ---> docker-login.sh [2021-03-16T13:47:14.291Z] nexus3.edgexfoundry.org:10001 [2021-03-16T13:47:15.276Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T13:47:15.555Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T13:47:15.555Z] Configure a credential helper to remove this warning. See [2021-03-16T13:47:15.555Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T13:47:15.555Z] [2021-03-16T13:47:15.555Z] Login Succeeded [2021-03-16T13:47:15.555Z] nexus3.edgexfoundry.org:10002 [2021-03-16T13:47:15.827Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T13:47:15.827Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T13:47:15.827Z] Configure a credential helper to remove this warning. See [2021-03-16T13:47:15.827Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T13:47:15.827Z] [2021-03-16T13:47:15.827Z] Login Succeeded [2021-03-16T13:47:16.101Z] nexus3.edgexfoundry.org:10003 [2021-03-16T13:47:16.374Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T13:47:16.375Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T13:47:16.375Z] Configure a credential helper to remove this warning. See [2021-03-16T13:47:16.375Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T13:47:16.375Z] [2021-03-16T13:47:16.375Z] Login Succeeded [2021-03-16T13:47:16.375Z] nexus3.edgexfoundry.org:10004 [2021-03-16T13:47:16.972Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T13:47:16.972Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T13:47:16.972Z] Configure a credential helper to remove this warning. See [2021-03-16T13:47:16.972Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T13:47:16.972Z] [2021-03-16T13:47:16.972Z] Login Succeeded [2021-03-16T13:47:16.972Z] docker.io [2021-03-16T13:47:17.246Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T13:47:17.841Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T13:47:17.841Z] Configure a credential helper to remove this warning. See [2021-03-16T13:47:17.841Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T13:47:17.841Z] [2021-03-16T13:47:17.841Z] Login Succeeded [2021-03-16T13:47:17.841Z] ---> docker-login.sh ends [Pipeline] } [2021-03-16T13:47:17.858Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-16T13:47:18.480Z] ========================================================= [2021-03-16T13:47:18.481Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-03-16T13:47:18.481Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-16T13:47:18.868Z] + 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-03-16T13:47:19.153Z] Sending build context to Docker daemon 537.6kB [2021-03-16T13:47:19.153Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-16T13:47:19.153Z] Step 2/8 : FROM ${BASE} [2021-03-16T13:47:19.439Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-03-16T13:47:19.439Z] 5f621e34cdf4: Pulling fs layer [2021-03-16T13:47:19.439Z] a4357932f1b6: Pulling fs layer [2021-03-16T13:47:19.439Z] 18c013af1878: Pulling fs layer [2021-03-16T13:47:19.439Z] 00ac8860ef70: Pulling fs layer [2021-03-16T13:47:19.439Z] 63d7cb157983: Pulling fs layer [2021-03-16T13:47:19.439Z] b116817d02f9: Pulling fs layer [2021-03-16T13:47:19.439Z] 745a02a5169b: Pulling fs layer [2021-03-16T13:47:19.439Z] 63d7cb157983: Waiting [2021-03-16T13:47:19.439Z] 00ac8860ef70: Waiting [2021-03-16T13:47:19.439Z] b116817d02f9: Waiting [2021-03-16T13:47:19.439Z] 745a02a5169b: Waiting [2021-03-16T13:47:19.439Z] 18c013af1878: Verifying Checksum [2021-03-16T13:47:19.439Z] 18c013af1878: Download complete [2021-03-16T13:47:19.439Z] a4357932f1b6: Verifying Checksum [2021-03-16T13:47:19.439Z] a4357932f1b6: Download complete [2021-03-16T13:47:19.439Z] 63d7cb157983: Verifying Checksum [2021-03-16T13:47:19.439Z] 63d7cb157983: Download complete [2021-03-16T13:47:19.439Z] b116817d02f9: Verifying Checksum [2021-03-16T13:47:19.439Z] b116817d02f9: Download complete [2021-03-16T13:47:19.439Z] 5f621e34cdf4: Verifying Checksum [2021-03-16T13:47:19.439Z] 5f621e34cdf4: Download complete [2021-03-16T13:47:20.042Z] 5f621e34cdf4: Pull complete [2021-03-16T13:47:20.648Z] a4357932f1b6: Pull complete [2021-03-16T13:47:21.245Z] 18c013af1878: Pull complete [2021-03-16T13:47:21.516Z] 745a02a5169b: Verifying Checksum [2021-03-16T13:47:21.516Z] 745a02a5169b: Download complete [2021-03-16T13:47:22.948Z] 00ac8860ef70: Verifying Checksum [2021-03-16T13:47:22.948Z] 00ac8860ef70: Download complete [2021-03-16T13:47:25.240Z] Removing intermediate container fb781fc14e4c [2021-03-16T13:47:25.240Z] ---> 775b43b394d9 [2021-03-16T13:47:25.240Z] Successfully built 775b43b394d9 [2021-03-16T13:47:25.240Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-16T13:47:25.557Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-16T13:47:25.557Z] . [Pipeline] withDockerContainer [2021-03-16T13:47:25.813Z] prd-centos7-docker-4c-2g-30002 does not seem to be running inside a container [2021-03-16T13:47:25.928Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/39 -v /w/workspace/device-modbus-go/39:/w/workspace/device-modbus-go/39:rw,z -v /w/workspace/device-modbus-go/39@tmp:/w/workspace/device-modbus-go/39@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-03-16T13:47:26.666Z] $ docker top b2575cbb65d73efee7847b6b4232c0a41a5f5476fe41f9990d76c5d2eb7d9f34 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-16T13:47:27.197Z] + go version [2021-03-16T13:47:27.197Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-03-16T13:47:27.216Z] $ docker stop --time=1 b2575cbb65d73efee7847b6b4232c0a41a5f5476fe41f9990d76c5d2eb7d9f34 [2021-03-16T13:47:28.562Z] $ docker rm -f b2575cbb65d73efee7847b6b4232c0a41a5f5476fe41f9990d76c5d2eb7d9f34 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-16T13:47:29.416Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-16T13:47:29.416Z] . [Pipeline] withDockerContainer [2021-03-16T13:47:29.521Z] prd-centos7-docker-4c-2g-30002 does not seem to be running inside a container [2021-03-16T13:47:29.578Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/39 -v /w/workspace/device-modbus-go/39:/w/workspace/device-modbus-go/39:rw,z -v /w/workspace/device-modbus-go/39@tmp:/w/workspace/device-modbus-go/39@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-03-16T13:47:30.302Z] $ docker top b03816aa92dece2cd3352bc0b6d9abf1bcf455c1406c8ac4f966b70ec28c6baf -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-16T13:47:30.817Z] + make test [2021-03-16T13:47:30.817Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-03-16T13:47:31.779Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2021-03-16T13:47:33.108Z] 00ac8860ef70: Pull complete [2021-03-16T13:47:33.109Z] 63d7cb157983: Pull complete [2021-03-16T13:47:33.383Z] b116817d02f9: Pull complete [2021-03-16T13:47:37.699Z] 745a02a5169b: Pull complete [2021-03-16T13:47:37.699Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-03-16T13:47:37.699Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-03-16T13:47:37.699Z] ---> b7e6874047d6 [2021-03-16T13:47:37.699Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2021-03-16T13:47:40.324Z] ---> Running in 8208433a04d5 [2021-03-16T13:47:40.598Z] Removing intermediate container 8208433a04d5 [2021-03-16T13:47:40.598Z] ---> 011d06726667 [2021-03-16T13:47:40.598Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-16T13:47:40.598Z] ---> Running in f1b1621ece1f [2021-03-16T13:47:43.221Z] Removing intermediate container f1b1621ece1f [2021-03-16T13:47:43.221Z] ---> f8e237e8bb57 [2021-03-16T13:47:43.221Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2021-03-16T13:47:43.221Z] ---> Running in 2e969d12d5f7 [2021-03-16T13:47:44.110Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2021-03-16T13:47:44.110Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.268s coverage: 50.3% of statements [2021-03-16T13:47:44.110Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-03-16T13:47:44.204Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-16T13:47:44.797Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-16T13:47:45.066Z] gofmt -l . [2021-03-16T13:47:45.331Z] [ "`gofmt -l .`" = "" ] [2021-03-16T13:47:45.331Z] ./bin/test-attribution-txt.sh [2021-03-16T13:47:45.775Z] (1/14) Installing libmagic (5.38-r0) [2021-03-16T13:47:45.910Z] ./bin/test-go-mod-tidy.sh [2021-03-16T13:47:46.044Z] (2/14) Installing file (5.38-r0) [2021-03-16T13:47:46.044Z] (3/14) Installing libc-dev (0.7.2-r3) [2021-03-16T13:47:46.044Z] (4/14) Installing g++ (9.3.0-r2) [Pipeline] } [2021-03-16T13:47:46.192Z] $ docker stop --time=1 b03816aa92dece2cd3352bc0b6d9abf1bcf455c1406c8ac4f966b70ec28c6baf [2021-03-16T13:47:48.518Z] $ docker rm -f b03816aa92dece2cd3352bc0b6d9abf1bcf455c1406c8ac4f966b70ec28c6baf [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-16T13:47:49.127Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-16T13:47:49.466Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-03-16T13:47:52.310Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-16T13:47:52.612Z] + ls -al . [2021-03-16T13:47:52.612Z] total 104 [2021-03-16T13:47:52.612Z] drwxrwxr-x. 9 jenkins jenkins 4096 Mar 16 13:47 . [2021-03-16T13:47:52.612Z] drwxrwxr-x. 4 jenkins jenkins 30 Mar 16 13:46 .. [2021-03-16T13:47:52.612Z] -rw-rw-r--. 1 jenkins jenkins 5589 Mar 16 13:46 Attribution.txt [2021-03-16T13:47:52.612Z] drwxrwxr-x. 2 jenkins jenkins 87 Mar 16 13:46 bin [2021-03-16T13:47:52.612Z] drwxrwxr-x. 3 jenkins jenkins 32 Mar 16 13:46 cmd [2021-03-16T13:47:52.612Z] -rw-r--r--. 1 jenkins jenkins 22362 Mar 16 13:47 coverage.out [2021-03-16T13:47:52.612Z] -rw-rw-r--. 1 jenkins jenkins 1434 Mar 16 13:46 Dockerfile [2021-03-16T13:47:52.612Z] -rw-rw-r--. 1 jenkins jenkins 958 Mar 16 13:46 Dockerfile.build [2021-03-16T13:47:52.612Z] -rw-rw-r--. 1 jenkins jenkins 140 Mar 16 13:46 .dockerignore [2021-03-16T13:47:52.612Z] drwxrwxr-x. 8 jenkins jenkins 162 Mar 16 13:46 .git [2021-03-16T13:47:52.612Z] drwxrwxr-x. 2 jenkins jenkins 103 Mar 16 13:46 .github [2021-03-16T13:47:52.612Z] -rw-rw-r--. 1 jenkins jenkins 338 Mar 16 13:46 .gitignore [2021-03-16T13:47:52.612Z] -rw-r--r--. 1 jenkins jenkins 517 Mar 16 13:47 go.mod [2021-03-16T13:47:52.612Z] -rw-r--r--. 1 jenkins jenkins 14838 Mar 16 13:47 go.sum [2021-03-16T13:47:52.612Z] drwxrwxr-x. 3 jenkins jenkins 20 Mar 16 13:46 internal [2021-03-16T13:47:52.612Z] -rw-rw-r--. 1 jenkins jenkins 679 Mar 16 13:46 Jenkinsfile [2021-03-16T13:47:52.612Z] -rw-rw-r--. 1 jenkins jenkins 11340 Mar 16 13:46 LICENSE [2021-03-16T13:47:52.612Z] -rw-rw-r--. 1 jenkins jenkins 880 Mar 16 13:46 Makefile [2021-03-16T13:47:52.612Z] -rw-rw-r--. 1 jenkins jenkins 591 Mar 16 13:46 README.md [2021-03-16T13:47:52.612Z] drwxrwxr-x. 2 jenkins jenkins 52 Mar 16 13:46 simulator [2021-03-16T13:47:52.612Z] drwxrwxr-x. 4 jenkins jenkins 71 Mar 16 13:46 snap [2021-03-16T13:47:52.612Z] -rw-rw-r--. 1 jenkins jenkins 11 Mar 16 13:44 VERSION [2021-03-16T13:47:52.612Z] -rw-rw-r--. 1 jenkins jenkins 229 Mar 16 13:46 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-16T13:47:52.918Z] + 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=bdd9c76d93ecb8defd437288c48d74aae085bd61 --label arch=amd64 --label version=1.3.2-dev.2 . [2021-03-16T13:47:52.919Z] Sending build context to Docker daemon 569.9kB [2021-03-16T13:47:52.919Z] Step 1/20 : ARG BASE=golang:1.15-alpine3.12 [2021-03-16T13:47:52.919Z] Step 2/20 : FROM ${BASE} AS builder [2021-03-16T13:47:52.919Z] ---> 775b43b394d9 [2021-03-16T13:47:52.919Z] Step 3/20 : ARG MAKE='make build' [2021-03-16T13:47:53.182Z] ---> Running in 3ff1b7ce2675 [2021-03-16T13:47:53.182Z] Removing intermediate container 3ff1b7ce2675 [2021-03-16T13:47:53.182Z] ---> 2bf1460d0b5d [2021-03-16T13:47:53.182Z] Step 4/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-16T13:47:53.445Z] ---> Running in a963d21db1d7 [2021-03-16T13:47:54.341Z] (5/14) Installing fortify-headers (1.1-r0) [2021-03-16T13:47:54.341Z] (6/14) Installing patch (2.7.6-r6) [2021-03-16T13:47:54.341Z] (7/14) Installing build-base (0.5-r2) [2021-03-16T13:47:54.341Z] (8/14) Installing openssh-keygen (8.3_p1-r1) [2021-03-16T13:47:54.341Z] (9/14) Installing libedit (20191231.3.1-r0) [2021-03-16T13:47:54.341Z] (10/14) Installing openssh-client (8.3_p1-r1) [2021-03-16T13:47:54.341Z] (11/14) Installing openssh-sftp-server (8.3_p1-r1) [2021-03-16T13:47:54.341Z] (12/14) Installing openssh-server-common (8.3_p1-r1) [2021-03-16T13:47:54.341Z] (13/14) Installing openssh-server (8.3_p1-r1) [2021-03-16T13:47:54.341Z] (14/14) Installing openssh (8.3_p1-r1) [2021-03-16T13:47:54.399Z] Removing intermediate container a963d21db1d7 [2021-03-16T13:47:54.399Z] ---> 79dddba8ac69 [2021-03-16T13:47:54.399Z] Step 5/20 : RUN apk add --update --no-cache make git openssh build-base [2021-03-16T13:47:54.399Z] ---> Running in 04b4db4cef7b [2021-03-16T13:47:54.610Z] Executing busybox-1.31.1-r19.trigger [2021-03-16T13:47:54.610Z] OK: 221 MiB in 53 packages [2021-03-16T13:47:54.662Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-16T13:47:55.608Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-16T13:47:55.869Z] OK: 237 MiB in 53 packages [2021-03-16T13:47:56.446Z] Removing intermediate container 04b4db4cef7b [2021-03-16T13:47:56.446Z] ---> 655951c679da [2021-03-16T13:47:56.446Z] Step 6/20 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go [2021-03-16T13:47:56.446Z] ---> Running in a5119d6e9d26 [2021-03-16T13:47:56.446Z] Removing intermediate container a5119d6e9d26 [2021-03-16T13:47:56.446Z] ---> 52322554536f [2021-03-16T13:47:56.446Z] Step 7/20 : COPY . . [2021-03-16T13:47:57.408Z] ---> 2da89ea7a152 [2021-03-16T13:47:57.408Z] Step 8/20 : RUN ${MAKE} [2021-03-16T13:47:57.408Z] ---> Running in 8baaf7924113 [2021-03-16T13:47:57.991Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=1.3.2-dev.2" -o cmd/device-modbus ./cmd [2021-03-16T13:47:58.913Z] Removing intermediate container 2e969d12d5f7 [2021-03-16T13:47:58.913Z] ---> d5923395e325 [2021-03-16T13:47:58.913Z] Step 6/8 : WORKDIR /device-modbus-go [2021-03-16T13:47:58.913Z] ---> Running in b1fa8ff6a14b [2021-03-16T13:47:59.186Z] Removing intermediate container b1fa8ff6a14b [2021-03-16T13:47:59.186Z] ---> 519137cd290c [2021-03-16T13:47:59.187Z] Step 7/8 : COPY . . [2021-03-16T13:48:00.170Z] ---> 3109748ec7aa [2021-03-16T13:48:00.170Z] Step 8/8 : RUN go mod download [2021-03-16T13:48:00.170Z] ---> Running in f32ed0f344d3 [2021-03-16T13:48:06.242Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2021-03-16T13:48:09.556Z] Removing intermediate container 8baaf7924113 [2021-03-16T13:48:09.556Z] ---> 516b3f32a499 [2021-03-16T13:48:09.556Z] Step 9/20 : FROM scratch [2021-03-16T13:48:09.556Z] ---> [2021-03-16T13:48:09.556Z] Step 10/20 : ENV APP_PORT=49991 [2021-03-16T13:48:09.556Z] ---> Running in 831f1c1f6a81 [2021-03-16T13:48:09.820Z] Removing intermediate container 831f1c1f6a81 [2021-03-16T13:48:09.820Z] ---> cb436ac9a067 [2021-03-16T13:48:09.820Z] Step 11/20 : EXPOSE $APP_PORT [2021-03-16T13:48:09.820Z] ---> Running in 47ebd8e5eef0 [2021-03-16T13:48:09.820Z] Removing intermediate container 47ebd8e5eef0 [2021-03-16T13:48:09.820Z] ---> 359e869b264c [2021-03-16T13:48:09.820Z] Step 12/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / [2021-03-16T13:48:10.395Z] ---> 1f68dfaef33e [2021-03-16T13:48:10.395Z] Step 13/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / [2021-03-16T13:48:10.657Z] ---> 6750ecb9a819 [2021-03-16T13:48:10.657Z] Step 14/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / [2021-03-16T13:48:10.919Z] ---> 146bae4f2fe6 [2021-03-16T13:48:10.919Z] Step 15/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' [2021-03-16T13:48:10.919Z] ---> Running in 0bd616a180d9 [2021-03-16T13:48:11.181Z] Removing intermediate container 0bd616a180d9 [2021-03-16T13:48:11.181Z] ---> e2608a03c507 [2021-03-16T13:48:11.181Z] Step 16/20 : ENTRYPOINT ["/device-modbus"] [2021-03-16T13:48:11.181Z] ---> Running in abc045eb17ad [2021-03-16T13:48:11.443Z] Removing intermediate container abc045eb17ad [2021-03-16T13:48:11.443Z] ---> 6a944cd8aedd [2021-03-16T13:48:11.443Z] Step 17/20 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-16T13:48:11.443Z] ---> Running in 8cdb9db7347c [2021-03-16T13:48:11.705Z] Removing intermediate container 8cdb9db7347c [2021-03-16T13:48:11.705Z] ---> dc953560b52e [2021-03-16T13:48:11.705Z] Step 18/20 : LABEL arch=amd64 [2021-03-16T13:48:11.705Z] ---> Running in c9490ab06ffd [2021-03-16T13:48:11.705Z] Removing intermediate container c9490ab06ffd [2021-03-16T13:48:11.705Z] ---> a4991b3c66cf [2021-03-16T13:48:11.705Z] Step 19/20 : LABEL git_sha=bdd9c76d93ecb8defd437288c48d74aae085bd61 [2021-03-16T13:48:11.968Z] ---> Running in c7f2a87a0f96 [2021-03-16T13:48:11.968Z] Removing intermediate container c7f2a87a0f96 [2021-03-16T13:48:11.968Z] ---> 443820d72632 [2021-03-16T13:48:11.968Z] Step 20/20 : LABEL version=1.3.2-dev.2 [2021-03-16T13:48:12.230Z] ---> Running in 4037942a8ea7 [2021-03-16T13:48:12.230Z] Removing intermediate container 4037942a8ea7 [2021-03-16T13:48:12.230Z] ---> 719457b0f6bb [2021-03-16T13:48:12.230Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-16T13:48:12.230Z] Successfully built 719457b0f6bb [2021-03-16T13:48:12.230Z] Successfully tagged docker-device-modbus-go:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-16T13:48:12.559Z] provisioning config files... [2021-03-16T13:48:12.594Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/39@tmp/config2437031108625275070tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-16T13:48:12.955Z] ---> docker-login.sh [2021-03-16T13:48:12.955Z] nexus3.edgexfoundry.org:10001 [2021-03-16T13:48:12.955Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T13:48:13.218Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T13:48:13.218Z] Configure a credential helper to remove this warning. See [2021-03-16T13:48:13.218Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T13:48:13.218Z] [2021-03-16T13:48:13.218Z] Login Succeeded [2021-03-16T13:48:13.218Z] nexus3.edgexfoundry.org:10002 [2021-03-16T13:48:13.218Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T13:48:13.218Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T13:48:13.218Z] Configure a credential helper to remove this warning. See [2021-03-16T13:48:13.218Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T13:48:13.218Z] [2021-03-16T13:48:13.218Z] Login Succeeded [2021-03-16T13:48:13.218Z] nexus3.edgexfoundry.org:10003 [2021-03-16T13:48:13.488Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T13:48:13.488Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T13:48:13.488Z] Configure a credential helper to remove this warning. See [2021-03-16T13:48:13.488Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T13:48:13.488Z] [2021-03-16T13:48:13.488Z] Login Succeeded [2021-03-16T13:48:13.488Z] nexus3.edgexfoundry.org:10004 [2021-03-16T13:48:13.488Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T13:48:13.757Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T13:48:13.757Z] Configure a credential helper to remove this warning. See [2021-03-16T13:48:13.757Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T13:48:13.757Z] [2021-03-16T13:48:13.757Z] Login Succeeded [2021-03-16T13:48:13.757Z] docker.io [2021-03-16T13:48:13.757Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T13:48:14.025Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T13:48:14.025Z] Configure a credential helper to remove this warning. See [2021-03-16T13:48:14.025Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T13:48:14.025Z] [2021-03-16T13:48:14.025Z] Login Succeeded [2021-03-16T13:48:14.025Z] ---> docker-login.sh ends [Pipeline] } [2021-03-16T13:48:14.035Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-03-16T13:48:14.244Z] [edgeXDocker.push] Tagging docker image docker-device-modbus-go with the following tags: [2021-03-16T13:48:14.244Z] bdd9c76d93ecb8defd437288c48d74aae085bd61 [2021-03-16T13:48:14.244Z] latest [2021-03-16T13:48:14.244Z] 1.3.2-dev.2 [2021-03-16T13:48:14.244Z] bdd9c76d93ecb8defd437288c48d74aae085bd61-1.3.2-dev.2 [2021-03-16T13:48:14.244Z] master [2021-03-16T13:48:14.244Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-16T13:48:14.746Z] + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:bdd9c76d93ecb8defd437288c48d74aae085bd61 [Pipeline] isUnix [Pipeline] sh [2021-03-16T13:48:15.048Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:bdd9c76d93ecb8defd437288c48d74aae085bd61 [2021-03-16T13:48:15.048Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] [2021-03-16T13:48:15.048Z] 5967d5045983: Preparing [2021-03-16T13:48:15.048Z] 0aa7b4a18ceb: Preparing [2021-03-16T13:48:15.048Z] 9919fe3c7d75: Preparing [2021-03-16T13:48:15.310Z] 5967d5045983: Pushed [2021-03-16T13:48:15.310Z] 0aa7b4a18ceb: Pushed [2021-03-16T13:48:16.261Z] 9919fe3c7d75: Pushed [2021-03-16T13:48:16.523Z] bdd9c76d93ecb8defd437288c48d74aae085bd61: digest: sha256:e7800ea86a39a24820530a7d012b2d60c70eb2558d74965a6c5bb2477d6ccc74 size: 944 [Pipeline] isUnix [Pipeline] sh [2021-03-16T13:48:16.828Z] + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:latest [Pipeline] isUnix [Pipeline] sh [2021-03-16T13:48:17.128Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:latest [2021-03-16T13:48:17.128Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] [2021-03-16T13:48:17.128Z] 5967d5045983: Preparing [2021-03-16T13:48:17.128Z] 0aa7b4a18ceb: Preparing [2021-03-16T13:48:17.128Z] 9919fe3c7d75: Preparing [2021-03-16T13:48:17.128Z] 5967d5045983: Layer already exists [2021-03-16T13:48:17.128Z] 0aa7b4a18ceb: Layer already exists [2021-03-16T13:48:17.128Z] 9919fe3c7d75: Layer already exists [2021-03-16T13:48:17.128Z] latest: digest: sha256:e7800ea86a39a24820530a7d012b2d60c70eb2558d74965a6c5bb2477d6ccc74 size: 944 [Pipeline] isUnix [Pipeline] sh [2021-03-16T13:48:17.434Z] + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:1.3.2-dev.2 [Pipeline] isUnix [Pipeline] sh [2021-03-16T13:48:17.732Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:1.3.2-dev.2 [2021-03-16T13:48:17.732Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] [2021-03-16T13:48:17.732Z] 5967d5045983: Preparing [2021-03-16T13:48:17.732Z] 0aa7b4a18ceb: Preparing [2021-03-16T13:48:17.732Z] 9919fe3c7d75: Preparing [2021-03-16T13:48:17.732Z] 9919fe3c7d75: Layer already exists [2021-03-16T13:48:17.732Z] 0aa7b4a18ceb: Layer already exists [2021-03-16T13:48:17.732Z] 5967d5045983: Layer already exists [2021-03-16T13:48:17.732Z] 1.3.2-dev.2: digest: sha256:e7800ea86a39a24820530a7d012b2d60c70eb2558d74965a6c5bb2477d6ccc74 size: 944 [Pipeline] isUnix [Pipeline] sh [2021-03-16T13:48:18.035Z] + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:bdd9c76d93ecb8defd437288c48d74aae085bd61-1.3.2-dev.2 [Pipeline] isUnix [Pipeline] sh [2021-03-16T13:48:18.331Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:bdd9c76d93ecb8defd437288c48d74aae085bd61-1.3.2-dev.2 [2021-03-16T13:48:18.331Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] [2021-03-16T13:48:18.331Z] 5967d5045983: Preparing [2021-03-16T13:48:18.331Z] 0aa7b4a18ceb: Preparing [2021-03-16T13:48:18.331Z] 9919fe3c7d75: Preparing [2021-03-16T13:48:18.331Z] 5967d5045983: Layer already exists [2021-03-16T13:48:18.331Z] 9919fe3c7d75: Layer already exists [2021-03-16T13:48:18.331Z] 0aa7b4a18ceb: Layer already exists [2021-03-16T13:48:18.331Z] bdd9c76d93ecb8defd437288c48d74aae085bd61-1.3.2-dev.2: digest: sha256:e7800ea86a39a24820530a7d012b2d60c70eb2558d74965a6c5bb2477d6ccc74 size: 944 [Pipeline] isUnix [Pipeline] sh [2021-03-16T13:48:18.649Z] + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:master [Pipeline] isUnix [Pipeline] sh [2021-03-16T13:48:18.948Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:master [2021-03-16T13:48:18.948Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] [2021-03-16T13:48:18.948Z] 5967d5045983: Preparing [2021-03-16T13:48:18.948Z] 0aa7b4a18ceb: Preparing [2021-03-16T13:48:18.948Z] 9919fe3c7d75: Preparing [2021-03-16T13:48:18.948Z] 9919fe3c7d75: Layer already exists [2021-03-16T13:48:18.948Z] 5967d5045983: Layer already exists [2021-03-16T13:48:18.948Z] 0aa7b4a18ceb: Layer already exists [2021-03-16T13:48:18.948Z] master: digest: sha256:e7800ea86a39a24820530a7d012b2d60c70eb2558d74965a6c5bb2477d6ccc74 size: 944 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-03-16T13:48:19.133Z] ===================================================== [Pipeline] echo [2021-03-16T13:48:19.181Z] taggedImages: [2021-03-16T13:48:19.181Z] - nexus3.edgexfoundry.org:10004/docker-device-modbus-go:bdd9c76d93ecb8defd437288c48d74aae085bd61 [2021-03-16T13:48:19.181Z] - nexus3.edgexfoundry.org:10004/docker-device-modbus-go:latest [2021-03-16T13:48:19.181Z] - nexus3.edgexfoundry.org:10004/docker-device-modbus-go:1.3.2-dev.2 [2021-03-16T13:48:19.181Z] - nexus3.edgexfoundry.org:10004/docker-device-modbus-go:bdd9c76d93ecb8defd437288c48d74aae085bd61-1.3.2-dev.2 [2021-03-16T13:48:19.181Z] - nexus3.edgexfoundry.org:10004/docker-device-modbus-go:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-03-16T13:48:20.152Z] ---> job-cost.sh [2021-03-16T13:48:20.152Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-sJtJ [2021-03-16T13:48:26.952Z] Removing intermediate container f32ed0f344d3 [2021-03-16T13:48:26.952Z] ---> 916445110756 [2021-03-16T13:48:26.952Z] Successfully built 916445110756 [2021-03-16T13:48:26.952Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-16T13:48:27.290Z] + docker inspect -f . ci-base-image-arm64 [2021-03-16T13:48:27.290Z] . [Pipeline] withDockerContainer [2021-03-16T13:48:27.559Z] prd-ubuntu18.04-docker-arm64-4c-16g-30001 does not seem to be running inside a container [2021-03-16T13:48:27.646Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/39 -v /w/workspace/device-modbus-go/39:/w/workspace/device-modbus-go/39:rw,z -v /w/workspace/device-modbus-go/39@tmp:/w/workspace/device-modbus-go/39@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-16T13:48:29.179Z] $ docker top c144f7745e9adeb280e576235baffe9c60d1e3c459a41b64939855515535bb6e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-16T13:48:30.191Z] + go version [2021-03-16T13:48:30.191Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-03-16T13:48:30.215Z] $ docker stop --time=1 c144f7745e9adeb280e576235baffe9c60d1e3c459a41b64939855515535bb6e [2021-03-16T13:48:32.209Z] $ docker rm -f c144f7745e9adeb280e576235baffe9c60d1e3c459a41b64939855515535bb6e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-16T13:48:33.266Z] + docker inspect -f . ci-base-image-arm64 [2021-03-16T13:48:33.266Z] . [Pipeline] withDockerContainer [2021-03-16T13:48:33.521Z] prd-ubuntu18.04-docker-arm64-4c-16g-30001 does not seem to be running inside a container [2021-03-16T13:48:33.599Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/39 -v /w/workspace/device-modbus-go/39:/w/workspace/device-modbus-go/39:rw,z -v /w/workspace/device-modbus-go/39@tmp:/w/workspace/device-modbus-go/39@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-16T13:48:35.120Z] $ docker top faa45777dded7e99aed6c6a7b5987a3028d1daa0b0b6528fb263e8bad11e3fab -eo pid,comm [2021-03-16T13:48:35.160Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [Pipeline] { [Pipeline] sh [2021-03-16T13:48:36.140Z] + make test [2021-03-16T13:48:36.140Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-03-16T13:48:37.127Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2021-03-16T13:49:01.885Z] lf-activate-venv(): INFO: Adding /tmp/venv-sJtJ/bin to PATH [2021-03-16T13:49:01.886Z] INFO: No Stack... [2021-03-16T13:49:01.886Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-16T13:49:01.886Z] INFO: Archiving Costs [Pipeline] sh [2021-03-16T13:49:02.221Z] + cat /w/workspace/device-modbus-go/39/archives/cost.csv [2021-03-16T13:49:02.222Z] + cut -d, -f6 [Pipeline] lock [2021-03-16T13:49:02.412Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-master-39-stack-cost] [2021-03-16T13:49:02.426Z] Resource [jenkins-edgexfoundry-device-modbus-go-master-39-stack-cost] did not exist. Created. [2021-03-16T13:49:02.426Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-master-39-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-16T13:49:02.828Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-03-16T13:49:02.985Z] Stashed 1 file(s) [Pipeline] } [2021-03-16T13:49:02.998Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-master-39-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-03-16T13:49:09.556Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2021-03-16T13:49:09.557Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.390s coverage: 50.3% of statements [2021-03-16T13:49:09.557Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-03-16T13:49:17.868Z] gofmt -l . [2021-03-16T13:49:17.868Z] [ "`gofmt -l .`" = "" ] [2021-03-16T13:49:17.868Z] ./bin/test-attribution-txt.sh [2021-03-16T13:49:17.868Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-16T13:49:17.891Z] $ docker stop --time=1 faa45777dded7e99aed6c6a7b5987a3028d1daa0b0b6528fb263e8bad11e3fab [2021-03-16T13:49:20.275Z] $ docker rm -f faa45777dded7e99aed6c6a7b5987a3028d1daa0b0b6528fb263e8bad11e3fab [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-16T13:49:21.244Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-16T13:49:21.333Z] Warning: overwriting stash ‘coverage-report’ [2021-03-16T13:49:22.253Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-16T13:49:22.928Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-16T13:49:23.293Z] + ls -al . [2021-03-16T13:49:23.293Z] total 136 [2021-03-16T13:49:23.293Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 16 13:49 . [2021-03-16T13:49:23.293Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 13:47 .. [2021-03-16T13:49:23.293Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 16 13:47 .dockerignore [2021-03-16T13:49:23.293Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 16 13:47 .git [2021-03-16T13:49:23.293Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 13:47 .github [2021-03-16T13:49:23.293Z] -rw-rw-r-- 1 jenkins jenkins 338 Mar 16 13:47 .gitignore [2021-03-16T13:49:23.293Z] -rw-rw-r-- 1 jenkins jenkins 5589 Mar 16 13:47 Attribution.txt [2021-03-16T13:49:23.293Z] -rw-rw-r-- 1 jenkins jenkins 1434 Mar 16 13:47 Dockerfile [2021-03-16T13:49:23.293Z] -rw-rw-r-- 1 jenkins jenkins 958 Mar 16 13:47 Dockerfile.build [2021-03-16T13:49:23.293Z] -rw-rw-r-- 1 jenkins jenkins 679 Mar 16 13:47 Jenkinsfile [2021-03-16T13:49:23.293Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 16 13:47 LICENSE [2021-03-16T13:49:23.293Z] -rw-rw-r-- 1 jenkins jenkins 880 Mar 16 13:47 Makefile [2021-03-16T13:49:23.293Z] -rw-rw-r-- 1 jenkins jenkins 591 Mar 16 13:47 README.md [2021-03-16T13:49:23.293Z] -rw-rw-r-- 1 jenkins jenkins 11 Mar 16 13:44 VERSION [2021-03-16T13:49:23.293Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 13:47 bin [2021-03-16T13:49:23.293Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 13:47 cmd [2021-03-16T13:49:23.293Z] -rw-r--r-- 1 jenkins jenkins 22362 Mar 16 13:49 coverage.out [2021-03-16T13:49:23.293Z] -rw-r--r-- 1 jenkins jenkins 517 Mar 16 13:49 go.mod [2021-03-16T13:49:23.293Z] -rw-r--r-- 1 jenkins jenkins 14838 Mar 16 13:49 go.sum [2021-03-16T13:49:23.293Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 13:47 internal [2021-03-16T13:49:23.293Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 13:47 simulator [2021-03-16T13:49:23.293Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 13:47 snap [2021-03-16T13:49:23.293Z] -rw-rw-r-- 1 jenkins jenkins 229 Mar 16 13:47 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-16T13:49:23.707Z] + 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=bdd9c76d93ecb8defd437288c48d74aae085bd61 --label arch=arm64 --label version=1.3.2-dev.2 . [2021-03-16T13:49:23.982Z] Sending build context to Docker daemon 568.8kB [2021-03-16T13:49:24.254Z] Step 1/20 : ARG BASE=golang:1.15-alpine3.12 [2021-03-16T13:49:24.254Z] Step 2/20 : FROM ${BASE} AS builder [2021-03-16T13:49:24.254Z] ---> 916445110756 [2021-03-16T13:49:24.254Z] Step 3/20 : ARG MAKE='make build' [2021-03-16T13:49:24.527Z] ---> Running in 897e9fbe4b87 [2021-03-16T13:49:24.798Z] Removing intermediate container 897e9fbe4b87 [2021-03-16T13:49:24.798Z] ---> 7e9d1b259d09 [2021-03-16T13:49:24.798Z] Step 4/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-16T13:49:25.074Z] ---> Running in ba36d301e6a9 [2021-03-16T13:49:27.053Z] Removing intermediate container ba36d301e6a9 [2021-03-16T13:49:27.053Z] ---> 9e4020dd02ee [2021-03-16T13:49:27.053Z] Step 5/20 : RUN apk add --update --no-cache make git openssh build-base [2021-03-16T13:49:27.327Z] ---> Running in 125d65aa3708 [2021-03-16T13:49:28.305Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-16T13:49:28.897Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-16T13:49:29.488Z] OK: 221 MiB in 53 packages [2021-03-16T13:49:30.913Z] Removing intermediate container 125d65aa3708 [2021-03-16T13:49:30.913Z] ---> 55c8aaced930 [2021-03-16T13:49:30.913Z] Step 6/20 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go [2021-03-16T13:49:30.913Z] ---> Running in c2a7e84fa13b [2021-03-16T13:49:31.186Z] Removing intermediate container c2a7e84fa13b [2021-03-16T13:49:31.186Z] ---> d4f806f5d766 [2021-03-16T13:49:31.186Z] Step 7/20 : COPY . . [2021-03-16T13:49:32.177Z] ---> 8d00d3d31df1 [2021-03-16T13:49:32.177Z] Step 8/20 : RUN ${MAKE} [2021-03-16T13:49:32.449Z] ---> Running in 571e01c530a4 [2021-03-16T13:49:33.437Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=1.3.2-dev.2" -o cmd/device-modbus ./cmd [2021-03-16T13:50:00.254Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2021-03-16T13:50:03.632Z] Removing intermediate container 571e01c530a4 [2021-03-16T13:50:03.632Z] ---> 7a5ebbdb07d1 [2021-03-16T13:50:03.632Z] Step 9/20 : FROM scratch [2021-03-16T13:50:03.632Z] ---> [2021-03-16T13:50:03.632Z] Step 10/20 : ENV APP_PORT=49991 [2021-03-16T13:50:03.632Z] ---> Running in da5599d341bf [2021-03-16T13:50:03.904Z] Removing intermediate container da5599d341bf [2021-03-16T13:50:03.904Z] ---> 9430daeacfe1 [2021-03-16T13:50:03.904Z] Step 11/20 : EXPOSE $APP_PORT [2021-03-16T13:50:03.904Z] ---> Running in 552d98fd586d [2021-03-16T13:50:04.497Z] Removing intermediate container 552d98fd586d [2021-03-16T13:50:04.497Z] ---> 382660551534 [2021-03-16T13:50:04.497Z] Step 12/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / [2021-03-16T13:50:05.475Z] ---> 9026097b516d [2021-03-16T13:50:05.475Z] Step 13/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / [2021-03-16T13:50:06.080Z] ---> 44364d3eca38 [2021-03-16T13:50:06.080Z] Step 14/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / [2021-03-16T13:50:07.063Z] ---> dc77c0479ea4 [2021-03-16T13:50:07.063Z] Step 15/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' [2021-03-16T13:50:07.063Z] ---> Running in 60ddb6b5a5e2 [2021-03-16T13:50:07.337Z] Removing intermediate container 60ddb6b5a5e2 [2021-03-16T13:50:07.337Z] ---> 36e3fef04afb [2021-03-16T13:50:07.337Z] Step 16/20 : ENTRYPOINT ["/device-modbus"] [2021-03-16T13:50:07.613Z] ---> Running in 9af6558d3c85 [2021-03-16T13:50:08.213Z] Removing intermediate container 9af6558d3c85 [2021-03-16T13:50:08.213Z] ---> 35eab929cfbb [2021-03-16T13:50:08.213Z] Step 17/20 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-16T13:50:08.213Z] ---> Running in 0f9073d65fa1 [2021-03-16T13:50:08.489Z] Removing intermediate container 0f9073d65fa1 [2021-03-16T13:50:08.489Z] ---> 8db4d0db2306 [2021-03-16T13:50:08.489Z] Step 18/20 : LABEL arch=arm64 [2021-03-16T13:50:08.767Z] ---> Running in fabebe84be3e [2021-03-16T13:50:09.361Z] Removing intermediate container fabebe84be3e [2021-03-16T13:50:09.361Z] ---> 48587a1bcc9f [2021-03-16T13:50:09.361Z] Step 19/20 : LABEL git_sha=bdd9c76d93ecb8defd437288c48d74aae085bd61 [2021-03-16T13:50:09.361Z] ---> Running in 6bb94a7506dc [2021-03-16T13:50:09.638Z] Removing intermediate container 6bb94a7506dc [2021-03-16T13:50:09.639Z] ---> a208d617503d [2021-03-16T13:50:09.639Z] Step 20/20 : LABEL version=1.3.2-dev.2 [2021-03-16T13:50:09.910Z] ---> Running in ebf7a3138202 [2021-03-16T13:50:10.504Z] Removing intermediate container ebf7a3138202 [2021-03-16T13:50:10.504Z] ---> b8e0a4d7d392 [2021-03-16T13:50:10.504Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-16T13:50:10.504Z] Successfully built b8e0a4d7d392 [2021-03-16T13:50:10.504Z] 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-03-16T13:50:10.984Z] provisioning config files... [2021-03-16T13:50:11.016Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/39@tmp/config4542505588451734599tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-16T13:50:11.424Z] ---> docker-login.sh [2021-03-16T13:50:11.424Z] nexus3.edgexfoundry.org:10001 [2021-03-16T13:50:11.694Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T13:50:11.967Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T13:50:11.967Z] Configure a credential helper to remove this warning. See [2021-03-16T13:50:11.967Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T13:50:11.967Z] [2021-03-16T13:50:11.967Z] Login Succeeded [2021-03-16T13:50:11.967Z] nexus3.edgexfoundry.org:10002 [2021-03-16T13:50:12.238Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T13:50:12.238Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T13:50:12.238Z] Configure a credential helper to remove this warning. See [2021-03-16T13:50:12.238Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T13:50:12.238Z] [2021-03-16T13:50:12.238Z] Login Succeeded [2021-03-16T13:50:12.238Z] nexus3.edgexfoundry.org:10003 [2021-03-16T13:50:12.841Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T13:50:12.841Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T13:50:12.841Z] Configure a credential helper to remove this warning. See [2021-03-16T13:50:12.841Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T13:50:12.841Z] [2021-03-16T13:50:12.841Z] Login Succeeded [2021-03-16T13:50:12.841Z] nexus3.edgexfoundry.org:10004 [2021-03-16T13:50:13.439Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T13:50:13.439Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T13:50:13.439Z] Configure a credential helper to remove this warning. See [2021-03-16T13:50:13.439Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T13:50:13.439Z] [2021-03-16T13:50:13.439Z] Login Succeeded [2021-03-16T13:50:13.439Z] docker.io [2021-03-16T13:50:14.035Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T13:50:14.308Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T13:50:14.308Z] Configure a credential helper to remove this warning. See [2021-03-16T13:50:14.308Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T13:50:14.308Z] [2021-03-16T13:50:14.308Z] Login Succeeded [2021-03-16T13:50:14.308Z] ---> docker-login.sh ends [Pipeline] } [2021-03-16T13:50:14.325Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-03-16T13:50:14.549Z] [edgeXDocker.push] Tagging docker image docker-device-modbus-go-arm64 with the following tags: [2021-03-16T13:50:14.549Z] bdd9c76d93ecb8defd437288c48d74aae085bd61 [2021-03-16T13:50:14.549Z] latest [2021-03-16T13:50:14.549Z] 1.3.2-dev.2 [2021-03-16T13:50:14.549Z] bdd9c76d93ecb8defd437288c48d74aae085bd61-1.3.2-dev.2 [2021-03-16T13:50:14.549Z] master [2021-03-16T13:50:14.549Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-16T13:50:15.080Z] + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:bdd9c76d93ecb8defd437288c48d74aae085bd61 [Pipeline] isUnix [Pipeline] sh [2021-03-16T13:50:15.422Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:bdd9c76d93ecb8defd437288c48d74aae085bd61 [2021-03-16T13:50:15.423Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] [2021-03-16T13:50:15.423Z] 9f7765c3c513: Preparing [2021-03-16T13:50:15.423Z] f2ae572e257e: Preparing [2021-03-16T13:50:15.423Z] 7a1831d70326: Preparing [2021-03-16T13:50:15.699Z] f2ae572e257e: Pushed [2021-03-16T13:50:15.699Z] 9f7765c3c513: Pushed [2021-03-16T13:50:18.328Z] 7a1831d70326: Pushed [2021-03-16T13:50:18.600Z] bdd9c76d93ecb8defd437288c48d74aae085bd61: digest: sha256:0593fc855bb841a5e8741a0588220884b8ec755eb3b3929936f09f62f5684db0 size: 944 [Pipeline] isUnix [Pipeline] sh [2021-03-16T13:50:18.942Z] + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-16T13:50:19.271Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:latest [2021-03-16T13:50:19.271Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] [2021-03-16T13:50:19.271Z] 9f7765c3c513: Preparing [2021-03-16T13:50:19.271Z] f2ae572e257e: Preparing [2021-03-16T13:50:19.271Z] 7a1831d70326: Preparing [2021-03-16T13:50:19.271Z] f2ae572e257e: Layer already exists [2021-03-16T13:50:19.271Z] 7a1831d70326: Layer already exists [2021-03-16T13:50:19.271Z] 9f7765c3c513: Layer already exists [2021-03-16T13:50:19.540Z] latest: digest: sha256:0593fc855bb841a5e8741a0588220884b8ec755eb3b3929936f09f62f5684db0 size: 944 [Pipeline] isUnix [Pipeline] sh [2021-03-16T13:50:19.877Z] + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:1.3.2-dev.2 [Pipeline] isUnix [Pipeline] sh [2021-03-16T13:50:20.215Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:1.3.2-dev.2 [2021-03-16T13:50:20.215Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] [2021-03-16T13:50:20.215Z] 9f7765c3c513: Preparing [2021-03-16T13:50:20.215Z] f2ae572e257e: Preparing [2021-03-16T13:50:20.215Z] 7a1831d70326: Preparing [2021-03-16T13:50:20.215Z] f2ae572e257e: Layer already exists [2021-03-16T13:50:20.215Z] 7a1831d70326: Layer already exists [2021-03-16T13:50:20.215Z] 9f7765c3c513: Layer already exists [2021-03-16T13:50:20.484Z] 1.3.2-dev.2: digest: sha256:0593fc855bb841a5e8741a0588220884b8ec755eb3b3929936f09f62f5684db0 size: 944 [Pipeline] isUnix [Pipeline] sh [2021-03-16T13:50:20.824Z] + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:bdd9c76d93ecb8defd437288c48d74aae085bd61-1.3.2-dev.2 [Pipeline] isUnix [Pipeline] sh [2021-03-16T13:50:21.160Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:bdd9c76d93ecb8defd437288c48d74aae085bd61-1.3.2-dev.2 [2021-03-16T13:50:21.160Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] [2021-03-16T13:50:21.160Z] 9f7765c3c513: Preparing [2021-03-16T13:50:21.160Z] f2ae572e257e: Preparing [2021-03-16T13:50:21.160Z] 7a1831d70326: Preparing [2021-03-16T13:50:21.160Z] f2ae572e257e: Layer already exists [2021-03-16T13:50:21.161Z] 7a1831d70326: Layer already exists [2021-03-16T13:50:21.161Z] 9f7765c3c513: Layer already exists [2021-03-16T13:50:21.430Z] bdd9c76d93ecb8defd437288c48d74aae085bd61-1.3.2-dev.2: digest: sha256:0593fc855bb841a5e8741a0588220884b8ec755eb3b3929936f09f62f5684db0 size: 944 [Pipeline] isUnix [Pipeline] sh [2021-03-16T13:50:21.765Z] + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:master [Pipeline] isUnix [Pipeline] sh [2021-03-16T13:50:22.098Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:master [2021-03-16T13:50:22.098Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] [2021-03-16T13:50:22.098Z] 9f7765c3c513: Preparing [2021-03-16T13:50:22.098Z] f2ae572e257e: Preparing [2021-03-16T13:50:22.098Z] 7a1831d70326: Preparing [2021-03-16T13:50:22.098Z] 9f7765c3c513: Layer already exists [2021-03-16T13:50:22.098Z] f2ae572e257e: Layer already exists [2021-03-16T13:50:22.371Z] 7a1831d70326: Layer already exists [2021-03-16T13:50:22.371Z] master: digest: sha256:0593fc855bb841a5e8741a0588220884b8ec755eb3b3929936f09f62f5684db0 size: 944 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-03-16T13:50:22.582Z] ===================================================== [Pipeline] echo [2021-03-16T13:50:22.633Z] taggedImages: [2021-03-16T13:50:22.633Z] - nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:bdd9c76d93ecb8defd437288c48d74aae085bd61 [2021-03-16T13:50:22.633Z] - nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:latest [2021-03-16T13:50:22.633Z] - nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:1.3.2-dev.2 [2021-03-16T13:50:22.633Z] - nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:bdd9c76d93ecb8defd437288c48d74aae085bd61-1.3.2-dev.2 [2021-03-16T13:50:22.633Z] - nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-03-16T13:50:23.238Z] ---> job-cost.sh [2021-03-16T13:50:23.238Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-3y0f [2021-03-16T13:51:02.194Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-16T13:52:38.982Z] lf-activate-venv(): INFO: Adding /tmp/venv-3y0f/bin to PATH [2021-03-16T13:52:38.982Z] INFO: No Stack... [2021-03-16T13:52:38.982Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-03-16T13:52:38.982Z] INFO: Archiving Costs [Pipeline] sh [2021-03-16T13:52:39.345Z] + cat /w/workspace/device-modbus-go/39/archives/cost.csv [2021-03-16T13:52:39.346Z] + cut -d, -f6 [Pipeline] lock [2021-03-16T13:52:39.534Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-master-39-stack-cost] [2021-03-16T13:52:39.544Z] Resource [jenkins-edgexfoundry-device-modbus-go-master-39-stack-cost] did not exist. Created. [2021-03-16T13:52:39.544Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-master-39-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-16T13:52:40.122Z] /w/workspace/device-modbus-go/39@tmp/durable-9f04a7f7/script.sh: 1: /w/workspace/device-modbus-go/39@tmp/durable-9f04a7f7/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-03-16T13:52:40.470Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-03-16T13:52:40.548Z] Warning: overwriting stash ‘stack-cost’ [2021-03-16T13:52:40.696Z] Stashed 1 file(s) [Pipeline] } [2021-03-16T13:52:40.704Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-master-39-stack-cost] [Pipeline] // lock [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-03-16T13:52:42.407Z] provisioning config files... [2021-03-16T13:52:42.422Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config8006936915014962002tmp [Pipeline] { [Pipeline] sh [2021-03-16T13:52:42.813Z] + set +x [2021-03-16T13:52:42.813Z] + curl -s https://codecov.io/bash [2021-03-16T13:52:42.813Z] + bash -s -- [2021-03-16T13:52:43.078Z] [2021-03-16T13:52:43.078Z] _____ _ [2021-03-16T13:52:43.078Z] / ____| | | [2021-03-16T13:52:43.078Z] | | ___ __| | ___ ___ _____ __ [2021-03-16T13:52:43.078Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-03-16T13:52:43.078Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-03-16T13:52:43.078Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-03-16T13:52:43.078Z] Bash-20210309-2b87ace [2021-03-16T13:52:43.078Z] [2021-03-16T13:52:43.078Z] [2021-03-16T13:52:43.078Z] ==> git version 2.24.3 found [2021-03-16T13:52:43.078Z] ==> 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-03-16T13:52:43.078Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-03-16T13:52:43.078Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-03-16T13:52:43.078Z] ==> Jenkins CI detected. [2021-03-16T13:52:43.078Z] project root: . [2021-03-16T13:52:43.078Z] --> token set from env [2021-03-16T13:52:43.078Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-03-16T13:52:43.078Z] ==> Running gcov in . (disable via -X gcov) [2021-03-16T13:52:43.078Z] ==> Python coveragepy not found [2021-03-16T13:52:43.078Z] ==> Searching for coverage reports in: [2021-03-16T13:52:43.078Z] + . [2021-03-16T13:52:43.078Z] -> Found 1 reports [2021-03-16T13:52:43.078Z] ==> Detecting git/mercurial file structure [2021-03-16T13:52:43.078Z] ==> Reading reports [2021-03-16T13:52:43.078Z] + ./coverage.out bytes=22362 [2021-03-16T13:52:43.078Z] ==> Appending adjustments [2021-03-16T13:52:43.078Z] https://docs.codecov.io/docs/fixing-reports [2021-03-16T13:52:43.344Z] + Found adjustments [2021-03-16T13:52:43.344Z] ==> Gzipping contents [2021-03-16T13:52:43.344Z] 8.0K /tmp/codecov.5LNfOX.gz [2021-03-16T13:52:43.344Z] ==> Uploading reports [2021-03-16T13:52:43.344Z] url: https://codecov.io [2021-03-16T13:52:43.344Z] query: branch=master&commit=bdd9c76d93ecb8defd437288c48d74aae085bd61&build=39&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmaster%2F39%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-03-16T13:52:43.344Z] -> Pinging Codecov [2021-03-16T13:52:43.344Z] https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=master&commit=bdd9c76d93ecb8defd437288c48d74aae085bd61&build=39&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmaster%2F39%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-03-16T13:52:43.922Z] -> Uploading to [2021-03-16T13:52:43.922Z] https://storage.googleapis.com/codecov/v4/raw/2021-03-16/55DBCA73C666E3227836607328DD7E49/bdd9c76d93ecb8defd437288c48d74aae085bd61/20913792-b1bf-49d4-b12d-17a5f04eafdd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210316%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210316T135243Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6c19dfc7610f8716e74082584675b7f7377488eddc821d60bf6947b381c5c629 [2021-03-16T13:52:43.922Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-16T13:52:43.922Z] Dload Upload Total Spent Left Speed [2021-03-16T13:52:44.498Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4235 0 0 100 4235 0 9012 --:--:-- --:--:-- --:--:-- 9029 [2021-03-16T13:52:44.498Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/bdd9c76d93ecb8defd437288c48d74aae085bd61 [Pipeline] } [2021-03-16T13:52:44.509Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-03-16T13:52:45.433Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-03-16T13:52:45.497Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-16T13:52:45.846Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-03-16T13:52:45.846Z] [2021-03-16T13:52:45.846Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-03-16T13:52:46.212Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-03-16T13:52:46.212Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-03-16T13:52:46.212Z] 188c0c94c7c5: Pulling fs layer [2021-03-16T13:52:46.212Z] 0ef7d3d256c8: Pulling fs layer [2021-03-16T13:52:46.212Z] de9db76c5a1d: Pulling fs layer [2021-03-16T13:52:46.212Z] 0eba1c9be4d2: Pulling fs layer [2021-03-16T13:52:46.212Z] 0d57e429df01: Pulling fs layer [2021-03-16T13:52:46.212Z] 4e4be7b47b0d: Pulling fs layer [2021-03-16T13:52:46.212Z] e1f770b5df2f: Pulling fs layer [2021-03-16T13:52:46.212Z] 85a0685a4137: Pulling fs layer [2021-03-16T13:52:46.212Z] 4e4be7b47b0d: Waiting [2021-03-16T13:52:46.212Z] 0d57e429df01: Waiting [2021-03-16T13:52:46.212Z] 85a0685a4137: Waiting [2021-03-16T13:52:46.212Z] e1f770b5df2f: Waiting [2021-03-16T13:52:46.212Z] 0eba1c9be4d2: Waiting [2021-03-16T13:52:46.212Z] de9db76c5a1d: Verifying Checksum [2021-03-16T13:52:46.212Z] de9db76c5a1d: Download complete [2021-03-16T13:52:46.212Z] 0ef7d3d256c8: Verifying Checksum [2021-03-16T13:52:46.212Z] 0ef7d3d256c8: Download complete [2021-03-16T13:52:46.212Z] 0d57e429df01: Verifying Checksum [2021-03-16T13:52:46.212Z] 0d57e429df01: Download complete [2021-03-16T13:52:46.212Z] 4e4be7b47b0d: Verifying Checksum [2021-03-16T13:52:46.212Z] 4e4be7b47b0d: Download complete [2021-03-16T13:52:46.212Z] 188c0c94c7c5: Verifying Checksum [2021-03-16T13:52:46.212Z] 188c0c94c7c5: Download complete [2021-03-16T13:52:46.794Z] 188c0c94c7c5: Pull complete [2021-03-16T13:52:46.794Z] 0ef7d3d256c8: Pull complete [2021-03-16T13:52:47.057Z] de9db76c5a1d: Pull complete [2021-03-16T13:52:48.454Z] e1f770b5df2f: Verifying Checksum [2021-03-16T13:52:48.454Z] e1f770b5df2f: Download complete [2021-03-16T13:52:50.384Z] 0eba1c9be4d2: Verifying Checksum [2021-03-16T13:52:50.384Z] 0eba1c9be4d2: Download complete [2021-03-16T13:52:50.384Z] 85a0685a4137: Verifying Checksum [2021-03-16T13:52:50.384Z] 85a0685a4137: Download complete [2021-03-16T13:52:55.716Z] 0eba1c9be4d2: Pull complete [2021-03-16T13:52:55.978Z] 0d57e429df01: Pull complete [2021-03-16T13:52:56.250Z] 4e4be7b47b0d: Pull complete [2021-03-16T13:52:58.178Z] e1f770b5df2f: Pull complete [2021-03-16T13:53:04.861Z] 85a0685a4137: Pull complete [2021-03-16T13:53:05.125Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-03-16T13:53:05.125Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-03-16T13:53:05.125Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-03-16T13:53:05.344Z] prd-centos7-docker-4c-2g-30000 does not seem to be running inside a container [2021-03-16T13:53:05.397Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-03-16T13:53:06.496Z] $ docker top d1b1628d825a660af732d4765df4edd2d72fcb3e4ab8002c80f696d1144d0447 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-03-16T13:53:06.807Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-03-16T13:53:07.105Z] + set -o pipefail [2021-03-16T13:53:07.105Z] + snyk monitor '--org=edgex-jenkins' [2021-03-16T13:53:22.060Z] [2021-03-16T13:53:22.060Z] Monitoring /w/workspace/xfoundry_device-modbus-go_master (github.com/edgexfoundry/device-modbus-go)... [2021-03-16T13:53:22.060Z] [2021-03-16T13:53:22.060Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/f1f9588a-e578-4d15-82cf-faf0ad0ed2d7/history/ebc8e6e2-38a7-4ce2-bb29-bb83621b6334 [2021-03-16T13:53:22.060Z] [2021-03-16T13:53:22.060Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2021-03-16T13:53:22.060Z] [2021-03-16T13:53:22.060Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-03-16T13:53:22.060Z] [2021-03-16T13:53:22.060Z] [Pipeline] } [2021-03-16T13:53:22.078Z] $ docker stop --time=1 d1b1628d825a660af732d4765df4edd2d72fcb3e4ab8002c80f696d1144d0447 [2021-03-16T13:53:24.682Z] $ docker rm -f d1b1628d825a660af732d4765df4edd2d72fcb3e4ab8002c80f696d1144d0447 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) 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-03-16T13:53:26.402Z] + git log --format=format:%s -1 bdd9c76d93ecb8defd437288c48d74aae085bd61 [Pipeline] isUnix [Pipeline] sh [2021-03-16T13:53:26.735Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-16T13:53:26.735Z] . [Pipeline] withDockerContainer [2021-03-16T13:53:26.868Z] prd-centos7-docker-4c-2g-30000 does not seem to be running inside a container [2021-03-16T13:53:26.919Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-16T13:53:27.796Z] $ docker top 5d69e01b6daa3fe5ad4976242a23ca8ddbdca954ea0c8904d757d53cc1c34808 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-16T13:53:28.264Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-16T13:53:28.264Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-16T13:53:28.531Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-16T13:53:28.535Z] $ docker exec 5d69e01b6daa3fe5ad4976242a23ca8ddbdca954ea0c8904d757d53cc1c34808 ssh-agent [2021-03-16T13:53:28.722Z] SSH_AUTH_SOCK=/tmp/ssh-qqZG4LOM2Ttl/agent.11 [2021-03-16T13:53:28.722Z] SSH_AGENT_PID=16 [2021-03-16T13:53:28.730Z] Running ssh-add (command line suppressed) [2021-03-16T13:53:28.882Z] Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_6381790080734027636.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_6381790080734027636.key) [2021-03-16T13:53:28.944Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-16T13:53:29.294Z] + git semver tag [2021-03-16T13:53:29.294Z] # -> Open(): unable to determine branch for HEAD [2021-03-16T13:53:29.294Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git [2021-03-16T13:53:29.294Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master [2021-03-16T13:53:29.294Z] # $SEMVER_REMOTE_NAME = origin [2021-03-16T13:53:29.294Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-16T13:53:29.294Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-16T13:53:29.294Z] # $SEMVER_BRANCH = master [2021-03-16T13:53:29.294Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [2021-03-16T13:53:29.294Z] # bdd9c76d93ecb8defd437288c48d74aae085bd61 HEAD [2021-03-16T13:53:29.294Z] # -> Force: false [2021-03-16T13:53:29.294Z] # afd983b0ecacf99983f654bf50bc3151dfb61a11 refs/tags/v1.3.2-dev.2 [Pipeline] } [2021-03-16T13:53:29.309Z] $ docker exec --env ******** --env ******** 5d69e01b6daa3fe5ad4976242a23ca8ddbdca954ea0c8904d757d53cc1c34808 ssh-agent -k [2021-03-16T13:53:29.462Z] unset SSH_AUTH_SOCK; [2021-03-16T13:53:29.462Z] unset SSH_AGENT_PID; [2021-03-16T13:53:29.462Z] echo Agent pid 16 killed; [2021-03-16T13:53:29.518Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-16T13:53:30.057Z] + git semver [Pipeline] } [2021-03-16T13:53:30.074Z] $ docker stop --time=1 5d69e01b6daa3fe5ad4976242a23ca8ddbdca954ea0c8904d757d53cc1c34808 [2021-03-16T13:53:31.541Z] $ docker rm -f 5d69e01b6daa3fe5ad4976242a23ca8ddbdca954ea0c8904d757d53cc1c34808 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-03-16T13:53:32.334Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-03-16T13:53:32.334Z] [2021-03-16T13:53:32.334Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-03-16T13:53:32.694Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-03-16T13:53:32.694Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-03-16T13:53:32.694Z] ab5ef0e58194: Pulling fs layer [2021-03-16T13:53:32.694Z] 9712f1f96733: Pulling fs layer [2021-03-16T13:53:32.694Z] 63f879dbbcfc: Pulling fs layer [2021-03-16T13:53:32.694Z] 0d9ebad4ef96: Pulling fs layer [2021-03-16T13:53:32.694Z] e9a5061849ea: Pulling fs layer [2021-03-16T13:53:32.694Z] d747dcd14b5f: Pulling fs layer [2021-03-16T13:53:32.694Z] 2de7ff778b66: Pulling fs layer [2021-03-16T13:53:32.694Z] d747dcd14b5f: Waiting [2021-03-16T13:53:32.694Z] 9712f1f96733: Verifying Checksum [2021-03-16T13:53:32.694Z] 9712f1f96733: Download complete [2021-03-16T13:53:34.107Z] 63f879dbbcfc: Verifying Checksum [2021-03-16T13:53:34.107Z] 63f879dbbcfc: Download complete [2021-03-16T13:53:34.373Z] e9a5061849ea: Verifying Checksum [2021-03-16T13:53:34.373Z] e9a5061849ea: Download complete [2021-03-16T13:53:34.373Z] d747dcd14b5f: Verifying Checksum [2021-03-16T13:53:34.373Z] d747dcd14b5f: Download complete [2021-03-16T13:53:34.638Z] 2de7ff778b66: Verifying Checksum [2021-03-16T13:53:34.638Z] 2de7ff778b66: Download complete [2021-03-16T13:53:34.638Z] ab5ef0e58194: Verifying Checksum [2021-03-16T13:53:34.638Z] ab5ef0e58194: Download complete [2021-03-16T13:53:35.222Z] 0d9ebad4ef96: Verifying Checksum [2021-03-16T13:53:35.222Z] 0d9ebad4ef96: Download complete [2021-03-16T13:53:39.478Z] ab5ef0e58194: Pull complete [2021-03-16T13:53:39.478Z] 9712f1f96733: Pull complete [2021-03-16T13:53:42.146Z] 63f879dbbcfc: Pull complete [2021-03-16T13:53:48.807Z] 0d9ebad4ef96: Pull complete [2021-03-16T13:53:50.204Z] e9a5061849ea: Pull complete [2021-03-16T13:53:50.204Z] d747dcd14b5f: Pull complete [2021-03-16T13:53:52.786Z] 2de7ff778b66: Pull complete [2021-03-16T13:53:52.786Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-03-16T13:53:52.786Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-03-16T13:53:52.786Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-03-16T13:53:53.031Z] prd-centos7-docker-4c-2g-30000 does not seem to be running inside a container [2021-03-16T13:53:53.083Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-03-16T13:53:57.026Z] $ docker top 0e7c5923304c244f437e322b285a977f2b345950762a1099a94998b3a1177338 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-03-16T13:53:57.371Z] provisioning config files... [2021-03-16T13:53:57.384Z] copy managed file [sigul-config] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config7243082444948411911tmp [2021-03-16T13:53:57.400Z] copy managed file [sigul-password] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config7266253101722126890tmp [2021-03-16T13:53:57.421Z] copy managed file [sigul-pki] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config7094234292142138058tmp [Pipeline] { [Pipeline] echo [2021-03-16T13:53:57.494Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-16T13:53:57.805Z] ---> sigul-configuration.sh [2021-03-16T13:53:57.805Z] gpg: directory `/root/.gnupg' created [2021-03-16T13:53:57.805Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-03-16T13:53:57.805Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-03-16T13:53:57.805Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-03-16T13:53:57.805Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-03-16T13:53:57.805Z] gpg: CAST5 encrypted data [2021-03-16T13:53:58.069Z] gpg: encrypted with 1 passphrase [2021-03-16T13:53:58.069Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-03-16T13:53:58.372Z] + mkdir /home/jenkins [2021-03-16T13:53:58.372Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-03-16T13:53:58.673Z] + 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-03-16T13:53:58.685Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-16T13:53:58.996Z] ---> sigul-install.sh [2021-03-16T13:54:05.614Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-03-16T13:54:05.922Z] + git tag --list [2021-03-16T13:54:05.922Z] 0.7.1 [2021-03-16T13:54:05.922Z] v1.0.0 [2021-03-16T13:54:05.922Z] v1.1.0 [2021-03-16T13:54:05.922Z] v1.1.1 [2021-03-16T13:54:05.922Z] v1.2.2 [2021-03-16T13:54:05.922Z] v1.3.0 [2021-03-16T13:54:05.922Z] v1.3.1 [2021-03-16T13:54:05.922Z] v1.3.1-dev.1 [2021-03-16T13:54:05.922Z] v1.3.1-dev.2 [2021-03-16T13:54:05.922Z] v1.3.1-dev.3 [2021-03-16T13:54:05.922Z] v1.3.1-dev.4 [2021-03-16T13:54:05.922Z] v1.3.1-dev.5 [2021-03-16T13:54:05.922Z] v1.3.1-dev.6 [2021-03-16T13:54:05.922Z] v1.3.1-dev.7 [2021-03-16T13:54:05.922Z] v1.3.1-dev.8 [2021-03-16T13:54:05.922Z] v1.3.2-dev.1 [2021-03-16T13:54:05.922Z] v1.3.2-dev.2 [Pipeline] sh [2021-03-16T13:54:06.228Z] + lftools sign git-tag v1.3.2-dev.2 [2021-03-16T13:54:07.620Z] Signing Git tag with Sigul... [2021-03-16T13:54:07.620Z] Signing v1.3.2-dev.2 [Pipeline] echo [2021-03-16T13:54:08.580Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-16T13:54:08.878Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-03-16T13:54:08.888Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-03-16T13:54:09.001Z] $ docker stop --time=1 0e7c5923304c244f437e322b285a977f2b345950762a1099a94998b3a1177338 [2021-03-16T13:54:10.973Z] $ docker rm -f 0e7c5923304c244f437e322b285a977f2b345950762a1099a94998b3a1177338 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-03-16T13:54:11.957Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-16T13:54:11.957Z] . [Pipeline] withDockerContainer [2021-03-16T13:54:12.064Z] prd-centos7-docker-4c-2g-30000 does not seem to be running inside a container [2021-03-16T13:54:12.114Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-16T13:54:12.972Z] $ docker top 99497490090efc531b801e8fe115c3b013fe5fd14687724a2661267fa6c7ed5b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-16T13:54:13.417Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-16T13:54:13.417Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-16T13:54:13.678Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-16T13:54:13.681Z] $ docker exec 99497490090efc531b801e8fe115c3b013fe5fd14687724a2661267fa6c7ed5b ssh-agent [2021-03-16T13:54:13.883Z] SSH_AUTH_SOCK=/tmp/ssh-Qx0xnEBM2MYv/agent.11 [2021-03-16T13:54:13.883Z] SSH_AGENT_PID=17 [2021-03-16T13:54:13.892Z] Running ssh-add (command line suppressed) [2021-03-16T13:54:14.047Z] Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_7932176436368654592.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_7932176436368654592.key) [2021-03-16T13:54:14.115Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-16T13:54:14.455Z] + git semver bump pre [2021-03-16T13:54:14.455Z] # -> Open(): unable to determine branch for HEAD [2021-03-16T13:54:14.455Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git [2021-03-16T13:54:14.455Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master [2021-03-16T13:54:14.455Z] # $SEMVER_REMOTE_NAME = origin [2021-03-16T13:54:14.455Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-16T13:54:14.455Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-16T13:54:14.455Z] # $SEMVER_BRANCH = master [2021-03-16T13:54:14.455Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [2021-03-16T13:54:14.455Z] 1.3.2-dev.3 [Pipeline] } [2021-03-16T13:54:14.467Z] $ docker exec --env ******** --env ******** 99497490090efc531b801e8fe115c3b013fe5fd14687724a2661267fa6c7ed5b ssh-agent -k [2021-03-16T13:54:14.604Z] unset SSH_AUTH_SOCK; [2021-03-16T13:54:14.605Z] unset SSH_AGENT_PID; [2021-03-16T13:54:14.605Z] echo Agent pid 17 killed; [2021-03-16T13:54:14.665Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-16T13:54:15.155Z] + git semver [Pipeline] } [2021-03-16T13:54:15.173Z] $ docker stop --time=1 99497490090efc531b801e8fe115c3b013fe5fd14687724a2661267fa6c7ed5b [2021-03-16T13:54:16.565Z] $ docker rm -f 99497490090efc531b801e8fe115c3b013fe5fd14687724a2661267fa6c7ed5b [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-03-16T13:54:17.119Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-16T13:54:17.119Z] . [Pipeline] withDockerContainer [2021-03-16T13:54:17.231Z] prd-centos7-docker-4c-2g-30000 does not seem to be running inside a container [2021-03-16T13:54:17.288Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-16T13:54:18.122Z] $ docker top 99188818efa1b8d13bec53857e6a36b4e5ad87570165d844ef71bf12e2edd775 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-16T13:54:18.435Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-16T13:54:18.435Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-16T13:54:18.669Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-16T13:54:18.673Z] $ docker exec 99188818efa1b8d13bec53857e6a36b4e5ad87570165d844ef71bf12e2edd775 ssh-agent [2021-03-16T13:54:18.895Z] SSH_AUTH_SOCK=/tmp/ssh-I2x9NRHY30cP/agent.13 [2021-03-16T13:54:18.895Z] SSH_AGENT_PID=18 [2021-03-16T13:54:18.903Z] Running ssh-add (command line suppressed) [2021-03-16T13:54:19.045Z] Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_1545420415564116644.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_1545420415564116644.key) [2021-03-16T13:54:19.109Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-16T13:54:19.450Z] + git semver push [2021-03-16T13:54:19.450Z] # -> Open(): unable to determine branch for HEAD [2021-03-16T13:54:19.450Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git [2021-03-16T13:54:19.450Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master [2021-03-16T13:54:19.450Z] # $SEMVER_REMOTE_NAME = origin [2021-03-16T13:54:19.450Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-16T13:54:19.450Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-16T13:54:19.450Z] # $SEMVER_BRANCH = master [2021-03-16T13:54:19.450Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [Pipeline] } [2021-03-16T13:54:23.685Z] $ docker exec --env ******** --env ******** 99188818efa1b8d13bec53857e6a36b4e5ad87570165d844ef71bf12e2edd775 ssh-agent -k [2021-03-16T13:54:23.819Z] unset SSH_AUTH_SOCK; [2021-03-16T13:54:23.820Z] unset SSH_AGENT_PID; [2021-03-16T13:54:23.820Z] echo Agent pid 18 killed; [2021-03-16T13:54:23.875Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-16T13:54:24.365Z] + git semver [Pipeline] } [2021-03-16T13:54:24.383Z] $ docker stop --time=1 99188818efa1b8d13bec53857e6a36b4e5ad87570165d844ef71bf12e2edd775 [2021-03-16T13:54:25.776Z] $ docker rm -f 99188818efa1b8d13bec53857e6a36b4e5ad87570165d844ef71bf12e2edd775 [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-03-16T13:54:27.278Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-16T13:54:27.857Z] ---> package-listing.sh [2021-03-16T13:54:27.858Z] ++ facter osfamily [2021-03-16T13:54:27.858Z] ++ tr '[:upper:]' '[:lower:]' [2021-03-16T13:54:27.858Z] + OS_FAMILY=redhat [2021-03-16T13:54:27.858Z] + workspace=/w/workspace/xfoundry_device-modbus-go_master [2021-03-16T13:54:27.858Z] + START_PACKAGES=/tmp/packages_start.txt [2021-03-16T13:54:27.858Z] + END_PACKAGES=/tmp/packages_end.txt [2021-03-16T13:54:27.858Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-03-16T13:54:27.858Z] + PACKAGES=/tmp/packages_start.txt [2021-03-16T13:54:27.858Z] + '[' /w/workspace/xfoundry_device-modbus-go_master ']' [2021-03-16T13:54:27.858Z] + PACKAGES=/tmp/packages_end.txt [2021-03-16T13:54:27.858Z] + case "${OS_FAMILY}" in [2021-03-16T13:54:27.858Z] + rpm -qa [2021-03-16T13:54:27.858Z] + sort [2021-03-16T13:54:33.184Z] + '[' -f /tmp/packages_start.txt ']' [2021-03-16T13:54:33.184Z] + '[' -f /tmp/packages_end.txt ']' [2021-03-16T13:54:33.184Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-03-16T13:54:33.184Z] + '[' /w/workspace/xfoundry_device-modbus-go_master ']' [2021-03-16T13:54:33.184Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_master/archives/ [2021-03-16T13:54:33.184Z] + 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-03-16T13:54:33.199Z] 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-03-16T13:54:33.502Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-03-16T13:54:33.924Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-16T13:54:33.925Z] [2021-03-16T13:54:33.925Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-03-16T13:54:34.406Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-16T13:54:34.406Z] alpine: Pulling from edgex-lftools-log-publisher [2021-03-16T13:54:34.406Z] df20fa9351a1: Pulling fs layer [2021-03-16T13:54:34.406Z] 36b3adc4ff6f: Pulling fs layer [2021-03-16T13:54:34.406Z] 8ad3a11d3b57: Pulling fs layer [2021-03-16T13:54:34.406Z] 46f8f816bc3b: Pulling fs layer [2021-03-16T13:54:34.406Z] 93b61091891f: Pulling fs layer [2021-03-16T13:54:34.406Z] 93b9cdb0e59b: Pulling fs layer [2021-03-16T13:54:34.406Z] 5e14af77c1be: Pulling fs layer [2021-03-16T13:54:34.406Z] 01666e4c0597: Pulling fs layer [2021-03-16T13:54:34.406Z] aa168da1d23b: Pulling fs layer [2021-03-16T13:54:34.406Z] 93b9cdb0e59b: Waiting [2021-03-16T13:54:34.406Z] 01666e4c0597: Waiting [2021-03-16T13:54:34.406Z] aa168da1d23b: Waiting [2021-03-16T13:54:34.406Z] 5e14af77c1be: Waiting [2021-03-16T13:54:34.406Z] 46f8f816bc3b: Waiting [2021-03-16T13:54:34.406Z] 93b61091891f: Waiting [2021-03-16T13:54:34.406Z] 36b3adc4ff6f: Verifying Checksum [2021-03-16T13:54:34.406Z] 36b3adc4ff6f: Download complete [2021-03-16T13:54:34.406Z] 46f8f816bc3b: Verifying Checksum [2021-03-16T13:54:34.406Z] 46f8f816bc3b: Download complete [2021-03-16T13:54:34.406Z] df20fa9351a1: Verifying Checksum [2021-03-16T13:54:34.718Z] 93b9cdb0e59b: Verifying Checksum [2021-03-16T13:54:34.718Z] 93b9cdb0e59b: Download complete [2021-03-16T13:54:34.718Z] 5e14af77c1be: Verifying Checksum [2021-03-16T13:54:34.718Z] 5e14af77c1be: Download complete [2021-03-16T13:54:34.718Z] 01666e4c0597: Verifying Checksum [2021-03-16T13:54:34.718Z] 01666e4c0597: Download complete [2021-03-16T13:54:34.718Z] 93b61091891f: Verifying Checksum [2021-03-16T13:54:34.718Z] 93b61091891f: Download complete [2021-03-16T13:54:34.981Z] 8ad3a11d3b57: Verifying Checksum [2021-03-16T13:54:34.981Z] 8ad3a11d3b57: Download complete [2021-03-16T13:54:35.246Z] df20fa9351a1: Pull complete [2021-03-16T13:54:35.246Z] 36b3adc4ff6f: Pull complete [2021-03-16T13:54:37.185Z] 8ad3a11d3b57: Pull complete [2021-03-16T13:54:37.185Z] aa168da1d23b: Verifying Checksum [2021-03-16T13:54:37.185Z] aa168da1d23b: Download complete [2021-03-16T13:54:37.185Z] 46f8f816bc3b: Pull complete [2021-03-16T13:54:37.762Z] 93b61091891f: Pull complete [2021-03-16T13:54:37.762Z] 93b9cdb0e59b: Pull complete [2021-03-16T13:54:37.762Z] 5e14af77c1be: Pull complete [2021-03-16T13:54:38.024Z] 01666e4c0597: Pull complete [2021-03-16T13:54:46.220Z] aa168da1d23b: Pull complete [2021-03-16T13:54:46.220Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-03-16T13:54:46.220Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-16T13:54:46.220Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-03-16T13:54:46.350Z] prd-centos7-docker-4c-2g-30000 does not seem to be running inside a container [2021-03-16T13:54:46.400Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-03-16T13:54:49.178Z] $ docker top 6880c5424f173a08e04f832a1debb96190524619721dee7e6774acae7d781f86 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-16T13:54:49.754Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-03-16T13:54:50.056Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-03-16T13:54:50.362Z] + ls /var/log/sa-host [2021-03-16T13:54:50.362Z] + sadf -c /var/log/sa-host/sa16 [2021-03-16T13:54:50.362Z] file_magic: OK [2021-03-16T13:54:50.362Z] HZ: Using current value: 100 [2021-03-16T13:54:50.362Z] file_header: OK [2021-03-16T13:54:50.362Z] 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-03-16T13:54:50.362Z] Statistics: [2021-03-16T13:54:50.362Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-03-16T13:54:50.362Z] File successfully converted to sysstat format version 12.2.1 [2021-03-16T13:54:50.362Z] + sadf -c /var/log/sa-host/sa23 [2021-03-16T13:54:50.362Z] file_magic: OK [2021-03-16T13:54:50.362Z] HZ: Using current value: 100 [2021-03-16T13:54:50.362Z] file_header: OK [2021-03-16T13:54:50.362Z] 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-03-16T13:54:50.362Z] Statistics: [2021-03-16T13:54:50.362Z] Hnuu...uuuununununu... [2021-03-16T13:54:50.362Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-16T13:54:50.618Z] provisioning config files... [2021-03-16T13:54:50.640Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config4926757008497779129tmp [Pipeline] { [Pipeline] echo [2021-03-16T13:54:50.733Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-16T13:54:51.032Z] ---> create-netrc.sh [Pipeline] } [2021-03-16T13:54:51.042Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-03-16T13:54:51.135Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-16T13:54:51.433Z] ---> python-tools-install.sh [Pipeline] echo [2021-03-16T13:54:51.444Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-16T13:54:51.741Z] ---> sudo-logs.sh [2021-03-16T13:54:51.741Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-03-16T13:54:51.803Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-16T13:54:52.117Z] ---> job-cost.sh [2021-03-16T13:54:52.117Z] lf-activate-venv: SKIPPING [2021-03-16T13:54:52.117Z] DEBUG: total: 0.20999999344348907 [2021-03-16T13:54:52.117Z] INFO: Retrieving Stack Cost... [2021-03-16T13:54:53.063Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-16T13:54:53.325Z] INFO: Archiving Costs [Pipeline] echo [2021-03-16T13:54:53.340Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-16T13:54:53.641Z] ---> logs-deploy.sh [2021-03-16T13:54:53.641Z] lf-activate-venv: SKIPPING [2021-03-16T13:54:53.641Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/master/39 [2021-03-16T13:54:53.641Z] INFO: archiving workspace using pattern(s): [2021-03-16T13:54:55.567Z] Archives upload complete. [2021-03-16T13:54:55.567Z] INFO: archiving logs to Nexus [2021-03-16T13:54:56.518Z] ---> uname -a: [2021-03-16T13:54:56.518Z] Linux prd-centos7-docker-4c-2g-30000.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-03-16T13:54:56.518Z] [2021-03-16T13:54:56.518Z] [2021-03-16T13:54:56.518Z] ---> lscpu: [2021-03-16T13:54:56.518Z] Architecture: x86_64 [2021-03-16T13:54:56.518Z] CPU op-mode(s): 32-bit, 64-bit [2021-03-16T13:54:56.518Z] Byte Order: Little Endian [2021-03-16T13:54:56.518Z] Address sizes: 40 bits physical, 48 bits virtual [2021-03-16T13:54:56.518Z] CPU(s): 4 [2021-03-16T13:54:56.518Z] On-line CPU(s) list: 0-3 [2021-03-16T13:54:56.518Z] Thread(s) per core: 1 [2021-03-16T13:54:56.518Z] Core(s) per socket: 1 [2021-03-16T13:54:56.518Z] Socket(s): 4 [2021-03-16T13:54:56.518Z] NUMA node(s): 1 [2021-03-16T13:54:56.518Z] Vendor ID: GenuineIntel [2021-03-16T13:54:56.518Z] CPU family: 6 [2021-03-16T13:54:56.518Z] Model: 44 [2021-03-16T13:54:56.518Z] Model name: Westmere E56xx/L56xx/X56xx (IBRS update) [2021-03-16T13:54:56.518Z] Stepping: 1 [2021-03-16T13:54:56.518Z] CPU MHz: 2933.436 [2021-03-16T13:54:56.518Z] BogoMIPS: 5866.87 [2021-03-16T13:54:56.518Z] Virtualization: VT-x [2021-03-16T13:54:56.518Z] Hypervisor vendor: KVM [2021-03-16T13:54:56.518Z] Virtualization type: full [2021-03-16T13:54:56.518Z] L1d cache: 128 KiB [2021-03-16T13:54:56.518Z] L1i cache: 128 KiB [2021-03-16T13:54:56.518Z] L2 cache: 16 MiB [2021-03-16T13:54:56.518Z] L3 cache: 64 MiB [2021-03-16T13:54:56.518Z] NUMA node0 CPU(s): 0-3 [2021-03-16T13:54:56.518Z] Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages [2021-03-16T13:54:56.518Z] Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled [2021-03-16T13:54:56.518Z] Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown [2021-03-16T13:54:56.518Z] Vulnerability Meltdown: Mitigation; PTI [2021-03-16T13:54:56.518Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2021-03-16T13:54:56.518Z] Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization [2021-03-16T13:54:56.518Z] Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB [2021-03-16T13:54:56.518Z] Vulnerability Srbds: Not affected [2021-03-16T13:54:56.518Z] Vulnerability Tsx async abort: Not affected [2021-03-16T13:54:56.518Z] 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-03-16T13:54:56.518Z] [2021-03-16T13:54:56.518Z] [2021-03-16T13:54:56.518Z] ---> nproc: [2021-03-16T13:54:56.518Z] 4 [2021-03-16T13:54:56.518Z] [2021-03-16T13:54:56.518Z] [2021-03-16T13:54:56.518Z] ---> df -h: [2021-03-16T13:54:56.518Z] Filesystem Size Used Available Use% Mounted on [2021-03-16T13:54:56.518Z] overlay 50.0G 8.5G 41.4G 17% / [2021-03-16T13:54:56.518Z] tmpfs 64.0M 0 64.0M 0% /dev [2021-03-16T13:54:56.518Z] tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup [2021-03-16T13:54:56.518Z] shm 64.0M 0 64.0M 0% /dev/shm [2021-03-16T13:54:56.518Z] /dev/vda1 50.0G 8.5G 41.4G 17% /facter-os [2021-03-16T13:54:56.518Z] /dev/vda1 50.0G 8.5G 41.4G 17% /etc/resolv.conf [2021-03-16T13:54:56.518Z] /dev/vda1 50.0G 8.5G 41.4G 17% /etc/hostname [2021-03-16T13:54:56.518Z] /dev/vda1 50.0G 8.5G 41.4G 17% /etc/hosts [2021-03-16T13:54:56.518Z] /dev/vda1 50.0G 8.5G 41.4G 17% /w/workspace/xfoundry_device-modbus-go_master@tmp [2021-03-16T13:54:56.518Z] /dev/vda1 50.0G 8.5G 41.4G 17% /var/log/sa-host [2021-03-16T13:54:56.518Z] /dev/vda1 50.0G 8.5G 41.4G 17% /var/log/secure [2021-03-16T13:54:56.518Z] /dev/vda1 50.0G 8.5G 41.4G 17% /var/log/auth.log [2021-03-16T13:54:56.518Z] /dev/vda1 50.0G 8.5G 41.4G 17% /run/cloud-init/result.json [2021-03-16T13:54:56.518Z] /dev/vda1 50.0G 8.5G 41.4G 17% /w/workspace/xfoundry_device-modbus-go_master [2021-03-16T13:54:56.518Z] [2021-03-16T13:54:56.518Z]