Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 1382852b285b5e2bd91d034a86bf10f1b4c73ac1 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a5c854593eac886f27ddeefb8920871132e8ed78 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision a5c854593eac886f27ddeefb8920871132e8ed78 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a5c854593eac886f27ddeefb8920871132e8ed78 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a5c854593eac886f27ddeefb8920871132e8ed78 # timeout=10 Commit message: "Merge pull request #303 from ernestojeda/fix-docker-login-issue" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-modbus-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: true PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-14141 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 Checking out Revision 1382852b285b5e2bd91d034a86bf10f1b4c73ac1 (master) 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 > git config core.sparsecheckout # timeout=10 > git checkout -f 1382852b285b5e2bd91d034a86bf10f1b4c73ac1 # timeout=10 Commit message: "Merge pull request #191 from weichou1229/issue-190" > git rev-list --no-walk 95d835c9ad69cefa5d9aad86a817c44949ea3288 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:48:57 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:48:57 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:48:57 ========================================================= 06:48:57 EdgeX Global Pipelines Version Info 06:48:57 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:48:59 ------------------- 06:48:59 stable info: 06:48:59 ------------------- 06:48:59 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:48:59 Commit SHA: a5c854593eac886f27ddeefb8920871132e8ed78 06:48:59 Message: update stable to v1.0.169 06:49:00 ------------------- 06:49:00 experimental info: 06:49:00 ------------------- 06:49:00 Commited By: **** collab-it+edgex@linuxfoundation.org 06:49:00 Commit SHA: a5c854593eac886f27ddeefb8920871132e8ed78 06:49:00 Message: update experimental to v1.0.169 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:49:00 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 06:49:00 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 06:49:00 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:49:00 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:49:00 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:49:01 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 06:49:01 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 06:49:01 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 06:49:01 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:49:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:49:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:49:01 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-modbus-go [Pipeline] echo 06:49:01 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:49:01 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:49:01 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:49:02 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:49:02 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:49:02 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:49:02 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:49:02 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 06:49:02 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:49:02 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:49:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:49:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:49:03 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:49:03 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 06:49:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 06:49:03 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 06:49:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 06:49:03 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1382852b285b5e2bd91d034a86bf10f1b4c73ac1 [Pipeline] echo 06:49:03 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1382852 [Pipeline] echo 06:49:03 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:49:03 provisioning config files... 06:49:03 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config836757288715520972tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:49:04 ---> docker-login.sh 06:49:04 nexus3.edgexfoundry.org:10001 06:49:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:49:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:49:04 Configure a credential helper to remove this warning. See 06:49:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:49:04 06:49:04 Login Succeeded 06:49:04 nexus3.edgexfoundry.org:10002 06:49:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:49:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:49:04 Configure a credential helper to remove this warning. See 06:49:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:49:04 06:49:04 Login Succeeded 06:49:04 nexus3.edgexfoundry.org:10003 06:49:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:49:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:49:05 Configure a credential helper to remove this warning. See 06:49:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:49:05 06:49:05 Login Succeeded 06:49:05 nexus3.edgexfoundry.org:10004 06:49:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:49:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:49:05 Configure a credential helper to remove this warning. See 06:49:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:49:05 06:49:05 Login Succeeded 06:49:05 docker.io 06:49:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:49:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:49:05 Configure a credential helper to remove this warning. See 06:49:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:49:05 06:49:05 Login Succeeded 06:49:05 ---> docker-login.sh ends [Pipeline] } 06:49:05 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 06:49:06 + git log --format=format:%s -1 1382852b285b5e2bd91d034a86bf10f1b4c73ac1 [Pipeline] echo 06:49:06 GIT_COMMIT: 1382852b285b5e2bd91d034a86bf10f1b4c73ac1, Commit Message: Merge pull request #191 from weichou1229/issue-190 [Pipeline] echo 06:49:06 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 06:49:07 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:49:07 06:49:07 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:49:08 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:49:08 latest: Pulling from edgex-devops/git-semver 06:49:08 31603596830f: Pulling fs layer 06:49:08 2a8b12db71e7: Pulling fs layer 06:49:08 6ca5941a6612: Pulling fs layer 06:49:08 ecc8261a40a4: Pulling fs layer 06:49:08 ecc8261a40a4: Waiting 06:49:08 2a8b12db71e7: Download complete 06:49:08 31603596830f: Verifying Checksum 06:49:08 31603596830f: Download complete 06:49:08 ecc8261a40a4: Verifying Checksum 06:49:08 ecc8261a40a4: Download complete 06:49:08 6ca5941a6612: Verifying Checksum 06:49:08 6ca5941a6612: Download complete 06:49:08 31603596830f: Pull complete 06:49:08 2a8b12db71e7: Pull complete 06:49:09 6ca5941a6612: Pull complete 06:49:09 ecc8261a40a4: Pull complete 06:49:09 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 06:49:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:49:09 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:49:09 prd-centos7-docker-4c-2g-14141 does not seem to be running inside a container 06:49:09 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:49:12 $ docker top 45c5f4213e4340cb48504b9cddc94f12b5f143a8b686824906d9174481aa1852 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:49:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:49:12 [ssh-agent] Looking for ssh-agent implementation... 06:49:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:49:12 $ docker exec 45c5f4213e4340cb48504b9cddc94f12b5f143a8b686824906d9174481aa1852 ssh-agent 06:49:13 SSH_AUTH_SOCK=/tmp/ssh-I4z8nlTpGeHC/agent.12 06:49:13 SSH_AGENT_PID=18 06:49:13 Running ssh-add (command line suppressed) 06:49:13 Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_6154558963358140584.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_6154558963358140584.key) 06:49:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:49:13 + git tag --points-at HEAD [Pipeline] } 06:49:13 $ docker exec --env ******** --env ******** 45c5f4213e4340cb48504b9cddc94f12b5f143a8b686824906d9174481aa1852 ssh-agent -k 06:49:13 unset SSH_AUTH_SOCK; 06:49:13 unset SSH_AGENT_PID; 06:49:13 echo Agent pid 18 killed; 06:49:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:49:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:49:13 [ssh-agent] Looking for ssh-agent implementation... 06:49:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:49:14 $ docker exec 45c5f4213e4340cb48504b9cddc94f12b5f143a8b686824906d9174481aa1852 ssh-agent 06:49:14 SSH_AUTH_SOCK=/tmp/ssh-BJL4zUWAOEZh/agent.47 06:49:14 SSH_AGENT_PID=52 06:49:14 Running ssh-add (command line suppressed) 06:49:14 Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_6244285993615744497.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_6244285993615744497.key) 06:49:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:49:14 + git semver init 06:49:14 # -> Open(): unable to determine branch for HEAD 06:49:14 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git 06:49:14 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master 06:49:14 # $SEMVER_REMOTE_NAME = origin 06:49:14 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:49:14 # $SEMVER_USER_NAME = edgex-jenkins 06:49:14 # $SEMVER_BRANCH = master 06:49:14 # $SEMVER_TEMP = /tmp/semver-726880318 06:49:14 # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP 06:49:15 # '/tmp/semver-726880318' -> '/w/workspace/xfoundry_device-modbus-go_master/.semver' 06:49:15 # -> Force: false 06:49:15 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [Pipeline] } 06:49:15 $ docker exec --env ******** --env ******** 45c5f4213e4340cb48504b9cddc94f12b5f143a8b686824906d9174481aa1852 ssh-agent -k 06:49:15 unset SSH_AUTH_SOCK; 06:49:15 unset SSH_AGENT_PID; 06:49:15 echo Agent pid 52 killed; 06:49:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:49:15 + git semver [Pipeline] } 06:49:15 $ docker stop --time=1 45c5f4213e4340cb48504b9cddc94f12b5f143a8b686824906d9174481aa1852 06:49:17 $ docker rm -f 45c5f4213e4340cb48504b9cddc94f12b5f143a8b686824906d9174481aa1852 [Pipeline] // withDockerContainer [Pipeline] sh 06:49:17 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:49:18 Stashed 1 file(s) [Pipeline] echo 06:49:18 [edgeXSemver]: initialized semver on version 1.3.1-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 06:49:33 Still waiting to schedule task 06:49:33 Waiting for next available executor on ‘centos7-docker-4c-2g’ 06:49:33 Still waiting to schedule task 06:49:33 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 06:52:14 Running on prd-centos7-docker-4c-2g-14143 in /w/workspace/xfoundry_device-modbus-go_master [Pipeline] { [Pipeline] ws 06:52:14 Running in /w/workspace/device-modbus-go/30 [Pipeline] { [Pipeline] checkout 06:52:17 using credential edgex-jenkins-ssh 06:52:17 Cloning the remote Git repository 06:52:17 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 06:52:17 > git init /w/workspace/device-modbus-go/30 # timeout=10 06:52:17 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 06:52:17 > git --version # timeout=10 06:52:17 > git --version # 'git version 2.24.3' 06:52:17 using GIT_SSH to set credentials SSH Credentials for GitHub 06:52:17 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:52:18 Checking out Revision 1382852b285b5e2bd91d034a86bf10f1b4c73ac1 (master) 06:52:17 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 06:52:17 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:52:17 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 06:52:17 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 06:52:17 using GIT_SSH to set credentials SSH Credentials for GitHub 06:52:17 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 06:52:18 > git config core.sparsecheckout # timeout=10 06:52:18 > git checkout -f 1382852b285b5e2bd91d034a86bf10f1b4c73ac1 # timeout=10 06:52:22 Commit message: "Merge pull request #191 from weichou1229/issue-190" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:52:23 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 06:52:23 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:52:24 + sudo service docker restart 06:52:24 + true 06:52:24 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:52:25 provisioning config files... 06:52:25 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/30@tmp/config7866713984935740224tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:52:25 ---> docker-login.sh 06:52:25 nexus3.edgexfoundry.org:10001 06:52:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:52:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:52:26 Configure a credential helper to remove this warning. See 06:52:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:52:26 06:52:26 Login Succeeded 06:52:26 nexus3.edgexfoundry.org:10002 06:52:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:52:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:52:26 Configure a credential helper to remove this warning. See 06:52:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:52:26 06:52:26 Login Succeeded 06:52:26 nexus3.edgexfoundry.org:10003 06:52:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:52:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:52:26 Configure a credential helper to remove this warning. See 06:52:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:52:26 06:52:26 Login Succeeded 06:52:26 nexus3.edgexfoundry.org:10004 06:52:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:52:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:52:26 Configure a credential helper to remove this warning. See 06:52:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:52:26 06:52:26 Login Succeeded 06:52:26 docker.io 06:52:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:52:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:52:27 Configure a credential helper to remove this warning. See 06:52:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:52:27 06:52:27 Login Succeeded 06:52:27 ---> docker-login.sh ends [Pipeline] } 06:52:27 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:52:27 ========================================================= 06:52:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 06:52:27 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:52:28 + 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 . 06:52:28 Sending build context to Docker daemon 508.9kB 06:52:28 Step 1/8 : ARG BASE=golang:1.15-alpine 06:52:28 Step 2/8 : FROM ${BASE} 06:52:28 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 06:52:28 188c0c94c7c5: Pulling fs layer 06:52:28 0ef7d3d256c8: Pulling fs layer 06:52:28 de9db76c5a1d: Pulling fs layer 06:52:28 bca2f99d35d6: Pulling fs layer 06:52:28 93359f2a8cfa: Pulling fs layer 06:52:28 7c6f9722023f: Pulling fs layer 06:52:28 a35cf1a2eb13: Pulling fs layer 06:52:28 bca2f99d35d6: Waiting 06:52:28 93359f2a8cfa: Waiting 06:52:28 7c6f9722023f: Waiting 06:52:28 a35cf1a2eb13: Waiting 06:52:28 de9db76c5a1d: Verifying Checksum 06:52:28 de9db76c5a1d: Download complete 06:52:28 0ef7d3d256c8: Verifying Checksum 06:52:28 0ef7d3d256c8: Download complete 06:52:28 93359f2a8cfa: Verifying Checksum 06:52:28 93359f2a8cfa: Download complete 06:52:28 7c6f9722023f: Verifying Checksum 06:52:28 7c6f9722023f: Download complete 06:52:28 188c0c94c7c5: Verifying Checksum 06:52:28 188c0c94c7c5: Download complete 06:52:28 188c0c94c7c5: Pull complete 06:52:28 0ef7d3d256c8: Pull complete 06:52:28 de9db76c5a1d: Pull complete 06:52:30 a35cf1a2eb13: Verifying Checksum 06:52:30 a35cf1a2eb13: Download complete 06:52:30 bca2f99d35d6: Download complete 06:52:36 bca2f99d35d6: Pull complete 06:52:36 93359f2a8cfa: Pull complete 06:52:36 7c6f9722023f: Pull complete 06:52:42 a35cf1a2eb13: Pull complete 06:52:42 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 06:52:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 06:52:42 ---> a62c8e92a672 06:52:42 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 06:52:42 ---> Running in 09fae88f4257 06:52:42 Removing intermediate container 09fae88f4257 06:52:42 ---> 305a8caf542a 06:52:42 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:52:42 ---> Running in 55310c98502c 06:52:43 Removing intermediate container 55310c98502c 06:52:43 ---> 11a25e3f0f7a 06:52:43 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 06:52:43 ---> Running in 9812b89c084b 06:52:44 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:52:45 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:52:45 (1/14) Installing libmagic (5.38-r0) 06:52:46 (2/14) Installing file (5.38-r0) 06:52:46 (3/14) Installing libc-dev (0.7.2-r3) 06:52:46 (4/14) Installing g++ (9.3.0-r2) 06:52:51 (5/14) Installing fortify-headers (1.1-r0) 06:52:51 (6/14) Installing patch (2.7.6-r6) 06:52:51 (7/14) Installing build-base (0.5-r2) 06:52:51 (8/14) Installing openssh-keygen (8.3_p1-r0) 06:52:51 (9/14) Installing libedit (20191231.3.1-r0) 06:52:51 (10/14) Installing openssh-client (8.3_p1-r0) 06:52:51 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 06:52:51 (12/14) Installing openssh-server-common (8.3_p1-r0) 06:52:51 (13/14) Installing openssh-server (8.3_p1-r0) 06:52:51 (14/14) Installing openssh (8.3_p1-r0) 06:52:51 Executing busybox-1.31.1-r19.trigger 06:52:51 OK: 237 MiB in 53 packages 06:52:55 Removing intermediate container 9812b89c084b 06:52:55 ---> d44be86a78f1 06:52:55 Step 6/8 : WORKDIR /device-modbus-go 06:52:55 ---> Running in a0210f0e36e5 06:52:55 Removing intermediate container a0210f0e36e5 06:52:55 ---> 0d121e991e7b 06:52:55 Step 7/8 : COPY . . 06:52:56 ---> 2c3c1de4f626 06:52:56 Step 8/8 : RUN go mod download 06:52:56 ---> Running in ff2cba1d89dd 06:53:18 Removing intermediate container ff2cba1d89dd 06:53:18 ---> 0dbf45785e0c 06:53:18 Successfully built 0dbf45785e0c 06:53:18 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:53:18 + docker inspect -f . ci-base-image-x86_64 06:53:18 . [Pipeline] withDockerContainer 06:53:18 prd-centos7-docker-4c-2g-14143 does not seem to be running inside a container 06:53:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/30 -v /w/workspace/device-modbus-go/30:/w/workspace/device-modbus-go/30:rw,z -v /w/workspace/device-modbus-go/30@tmp:/w/workspace/device-modbus-go/30@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 06:53:19 $ docker top 0a4a6f04e57ec4a78139561e98876b220f8aa384ee8409088e019918933d0894 -eo pid,comm [Pipeline] { [Pipeline] sh 06:53:20 + go version 06:53:20 go version go1.15.5 linux/amd64 [Pipeline] } 06:53:20 $ docker stop --time=1 0a4a6f04e57ec4a78139561e98876b220f8aa384ee8409088e019918933d0894 06:53:21 $ docker rm -f 0a4a6f04e57ec4a78139561e98876b220f8aa384ee8409088e019918933d0894 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:53:22 + docker inspect -f . ci-base-image-x86_64 06:53:22 . [Pipeline] withDockerContainer 06:53:22 prd-centos7-docker-4c-2g-14143 does not seem to be running inside a container 06:53:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/30 -v /w/workspace/device-modbus-go/30:/w/workspace/device-modbus-go/30:rw,z -v /w/workspace/device-modbus-go/30@tmp:/w/workspace/device-modbus-go/30@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 06:53:23 $ docker top 97c913940bcf8ae92941a3486ef9d8496c230451eef10cd1442d5957efde4a1c -eo pid,comm [Pipeline] { [Pipeline] sh 06:53:23 + make test 06:53:23 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 06:53:24 Running on prd-ubuntu18.04-docker-arm64-4c-16g-14144 in /w/workspace/xfoundry_device-modbus-go_master [Pipeline] { [Pipeline] ws 06:53:24 Running in /w/workspace/device-modbus-go/30 [Pipeline] { [Pipeline] checkout 06:53:24 ? github.com/edgexfoundry/device-modbus-go [no test files] 06:53:30 using credential edgex-jenkins-ssh 06:53:30 Cloning the remote Git repository 06:53:30 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 06:53:30 > git init /w/workspace/device-modbus-go/30 # timeout=10 06:53:30 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 06:53:30 > git --version # timeout=10 06:53:30 > git --version # 'git version 2.17.1' 06:53:30 using GIT_SSH to set credentials SSH Credentials for GitHub 06:53:30 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:53:32 Checking out Revision 1382852b285b5e2bd91d034a86bf10f1b4c73ac1 (master) 06:53:31 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 06:53:31 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:53:31 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 06:53:31 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 06:53:31 using GIT_SSH to set credentials SSH Credentials for GitHub 06:53:31 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 06:53:32 > git config core.sparsecheckout # timeout=10 06:53:32 > git checkout -f 1382852b285b5e2bd91d034a86bf10f1b4c73ac1 # timeout=10 06:53:35 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 06:53:35 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.244s coverage: 50.3% of statements 06:53:35 CGO_ENABLED=0 GO111MODULE=on go vet ./... 06:53:36 Commit message: "Merge pull request #191 from weichou1229/issue-190" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:53:38 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json 06:53:38 gofmt -l . 06:53:38 [ "`gofmt -l .`" = "" ] 06:53:38 ./bin/test-attribution-txt.sh [Pipeline] sh 06:53:38 ./bin/test-go-mod-tidy.sh 06:53:38 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [Pipeline] } 06:53:38 $ docker stop --time=1 97c913940bcf8ae92941a3486ef9d8496c230451eef10cd1442d5957efde4a1c 06:53:39 + true 06:53:39 + sudo service docker restart 06:53:41 $ docker rm -f 97c913940bcf8ae92941a3486ef9d8496c230451eef10cd1442d5957efde4a1c [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:53:41 provisioning config files... 06:53:41 + sudo chown -R jenkins:jenkins . 06:53:41 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/30@tmp/config3228997291926586320tmp [Pipeline] stash [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:53:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script 06:53:42 ---> docker-login.sh 06:53:42 nexus3.edgexfoundry.org:10001 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 06:53:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:53:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:53:43 Configure a credential helper to remove this warning. See 06:53:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:53:43 06:53:43 Login Succeeded 06:53:43 nexus3.edgexfoundry.org:10002 06:53:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:53:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:53:44 Configure a credential helper to remove this warning. See 06:53:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:53:44 06:53:44 Login Succeeded 06:53:44 nexus3.edgexfoundry.org:10003 06:53:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:53:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:53:44 Configure a credential helper to remove this warning. See 06:53:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:53:44 06:53:44 Login Succeeded 06:53:44 nexus3.edgexfoundry.org:10004 06:53:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] sh 06:53:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:53:45 Configure a credential helper to remove this warning. See 06:53:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:53:45 06:53:45 Login Succeeded 06:53:45 docker.io 06:53:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:53:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:53:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:53:45 Configure a credential helper to remove this warning. See 06:53:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:53:45 06:53:45 Login Succeeded 06:53:45 ---> docker-login.sh ends [Pipeline] } 06:53:45 Deleting 1 temporary files 06:53:45 + ls -al . 06:53:45 total 104 06:53:45 drwxrwxr-x. 9 jenkins jenkins 4096 Dec 2 06:53 . 06:53:45 drwxrwxr-x. 4 jenkins jenkins 30 Dec 2 06:52 .. 06:53:45 -rw-rw-r--. 1 jenkins jenkins 5589 Dec 2 06:52 Attribution.txt 06:53:45 drwxrwxr-x. 2 jenkins jenkins 87 Dec 2 06:52 bin 06:53:45 drwxrwxr-x. 3 jenkins jenkins 32 Dec 2 06:52 cmd 06:53:45 -rw-r--r--. 1 jenkins jenkins 22364 Dec 2 06:53 coverage.out 06:53:45 -rw-rw-r--. 1 jenkins jenkins 1430 Dec 2 06:52 Dockerfile 06:53:45 -rw-rw-r--. 1 jenkins jenkins 954 Dec 2 06:52 Dockerfile.build 06:53:45 -rw-rw-r--. 1 jenkins jenkins 140 Dec 2 06:52 .dockerignore 06:53:45 drwxrwxr-x. 8 jenkins jenkins 162 Dec 2 06:52 .git 06:53:45 drwxrwxr-x. 2 jenkins jenkins 60 Dec 2 06:52 .github 06:53:45 -rw-rw-r--. 1 jenkins jenkins 338 Dec 2 06:52 .gitignore 06:53:45 -rw-r--r--. 1 jenkins jenkins 523 Dec 2 06:53 go.mod 06:53:45 -rw-r--r--. 1 jenkins jenkins 14850 Dec 2 06:53 go.sum 06:53:45 drwxrwxr-x. 3 jenkins jenkins 20 Dec 2 06:52 internal 06:53:45 -rw-rw-r--. 1 jenkins jenkins 679 Dec 2 06:52 Jenkinsfile 06:53:45 -rw-rw-r--. 1 jenkins jenkins 11340 Dec 2 06:52 LICENSE 06:53:45 -rw-rw-r--. 1 jenkins jenkins 880 Dec 2 06:52 Makefile 06:53:45 -rw-rw-r--. 1 jenkins jenkins 591 Dec 2 06:52 README.md 06:53:45 drwxrwxr-x. 2 jenkins jenkins 52 Dec 2 06:52 simulator 06:53:45 drwxrwxr-x. 4 jenkins jenkins 54 Dec 2 06:52 snap 06:53:45 -rw-rw-r--. 1 jenkins jenkins 11 Dec 2 06:49 VERSION 06:53:45 -rw-rw-r--. 1 jenkins jenkins 229 Dec 2 06:52 version.go [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] isUnix [Pipeline] sh [Pipeline] echo 06:53:46 ========================================================= 06:53:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 06:53:46 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:53:46 + 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=1382852b285b5e2bd91d034a86bf10f1b4c73ac1 --label arch=amd64 --label version=1.3.1-dev.2 . 06:53:46 Sending build context to Docker daemon 540.2kB 06:53:46 Step 1/20 : ARG BASE=golang:1.15-alpine 06:53:46 Step 2/20 : FROM ${BASE} AS builder 06:53:46 ---> 0dbf45785e0c 06:53:46 Step 3/20 : ARG MAKE='make build' 06:53:46 ---> Running in 54de08d135da 06:53:46 + 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 . 06:53:46 Removing intermediate container 54de08d135da 06:53:46 ---> a03eaf177cd5 06:53:46 Step 4/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:53:46 ---> Running in c8f10bda54d3 06:53:46 Sending build context to Docker daemon 507.9kB 06:53:47 Step 1/8 : ARG BASE=golang:1.15-alpine 06:53:47 Step 2/8 : FROM ${BASE} 06:53:47 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:53:47 5f621e34cdf4: Pulling fs layer 06:53:47 a4357932f1b6: Pulling fs layer 06:53:47 18c013af1878: Pulling fs layer 06:53:47 00ac8860ef70: Pulling fs layer 06:53:47 63d7cb157983: Pulling fs layer 06:53:47 b116817d02f9: Pulling fs layer 06:53:47 745a02a5169b: Pulling fs layer 06:53:47 63d7cb157983: Waiting 06:53:47 b116817d02f9: Waiting 06:53:47 00ac8860ef70: Waiting 06:53:47 18c013af1878: Verifying Checksum 06:53:47 18c013af1878: Download complete 06:53:47 a4357932f1b6: Verifying Checksum 06:53:47 a4357932f1b6: Download complete 06:53:47 63d7cb157983: Download complete 06:53:47 b116817d02f9: Verifying Checksum 06:53:47 b116817d02f9: Download complete 06:53:47 5f621e34cdf4: Verifying Checksum 06:53:47 5f621e34cdf4: Download complete 06:53:47 Removing intermediate container c8f10bda54d3 06:53:47 ---> 2523dfaf56a6 06:53:47 Step 5/20 : RUN apk add --update --no-cache make git openssh build-base 06:53:47 ---> Running in 3c41cf211a76 06:53:48 5f621e34cdf4: Pull complete 06:53:48 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:53:49 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:53:49 a4357932f1b6: Pull complete 06:53:49 18c013af1878: Pull complete 06:53:49 745a02a5169b: Verifying Checksum 06:53:49 745a02a5169b: Download complete 06:53:50 OK: 237 MiB in 53 packages 06:53:50 Removing intermediate container 3c41cf211a76 06:53:50 ---> 389ec28c1db7 06:53:50 Step 6/20 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go 06:53:50 ---> Running in 81ca7051fbe4 06:53:50 Removing intermediate container 81ca7051fbe4 06:53:50 ---> f2a6abcc88ba 06:53:50 Step 7/20 : COPY . . 06:53:51 00ac8860ef70: Verifying Checksum 06:53:51 00ac8860ef70: Download complete 06:53:51 ---> 19df98e42649 06:53:51 Step 8/20 : RUN ${MAKE} 06:53:51 ---> Running in 62e4143dca0c 06:53:51 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=1.3.1-dev.2" -o cmd/device-modbus ./cmd 06:54:00 CGO_ENABLED=0 GO111MODULE=on go build ./... 06:54:01 00ac8860ef70: Pull complete 06:54:01 63d7cb157983: Pull complete 06:54:01 b116817d02f9: Pull complete 06:54:04 Removing intermediate container 62e4143dca0c 06:54:04 ---> 07dae1cb0119 06:54:04 Step 9/20 : FROM scratch 06:54:04 ---> 06:54:04 Step 10/20 : ENV APP_PORT=49991 06:54:04 ---> Running in 49bc89845066 06:54:04 Removing intermediate container 49bc89845066 06:54:04 ---> 89e8e7741c60 06:54:04 Step 11/20 : EXPOSE $APP_PORT 06:54:04 ---> Running in d8ecb257e2e8 06:54:04 Removing intermediate container d8ecb257e2e8 06:54:04 ---> 20304566921c 06:54:04 Step 12/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / 06:54:05 ---> e45b1e01d65b 06:54:05 Step 13/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / 06:54:05 ---> e74dcdb9d8be 06:54:05 Step 14/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / 06:54:05 ---> e16f6bca8f0c 06:54:05 Step 15/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' 06:54:05 ---> Running in 80ea3c9d7840 06:54:05 Removing intermediate container 80ea3c9d7840 06:54:05 ---> 0628d9f8b45b 06:54:05 Step 16/20 : ENTRYPOINT ["/device-modbus"] 06:54:05 ---> Running in 87a6f92acf72 06:54:05 Removing intermediate container 87a6f92acf72 06:54:05 ---> fedd611d6516 06:54:05 Step 17/20 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:54:05 ---> Running in 3eb51bc9790a 06:54:05 Removing intermediate container 3eb51bc9790a 06:54:05 ---> af4b8ea2d326 06:54:05 Step 18/20 : LABEL arch=amd64 06:54:05 745a02a5169b: Pull complete 06:54:05 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 06:54:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 06:54:05 ---> b7e6874047d6 06:54:05 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 06:54:06 ---> Running in fc682a92515c 06:54:06 Removing intermediate container fc682a92515c 06:54:06 ---> 36d7c04a836b 06:54:06 Step 19/20 : LABEL git_sha=1382852b285b5e2bd91d034a86bf10f1b4c73ac1 06:54:06 ---> Running in a4cd68870cde 06:54:06 Removing intermediate container a4cd68870cde 06:54:06 ---> 545f487b8650 06:54:06 Step 20/20 : LABEL version=1.3.1-dev.2 06:54:06 ---> Running in 847527ebd22a 06:54:06 Removing intermediate container 847527ebd22a 06:54:06 ---> 755c5f4e91c5 06:54:06 [Warning] One or more build-args [ARCH] were not consumed 06:54:06 Successfully built 755c5f4e91c5 06:54:06 Successfully tagged docker-device-modbus-go:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:54:07 provisioning config files... 06:54:07 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/30@tmp/config972040047061447044tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:54:07 ---> docker-login.sh 06:54:07 nexus3.edgexfoundry.org:10001 06:54:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:54:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:54:07 Configure a credential helper to remove this warning. See 06:54:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:54:07 06:54:07 Login Succeeded 06:54:07 nexus3.edgexfoundry.org:10002 06:54:07 ---> Running in 775aee5b14f6 06:54:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:54:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:54:07 Configure a credential helper to remove this warning. See 06:54:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:54:07 06:54:07 Login Succeeded 06:54:07 nexus3.edgexfoundry.org:10003 06:54:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:54:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:54:08 Configure a credential helper to remove this warning. See 06:54:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:54:08 06:54:08 Login Succeeded 06:54:08 nexus3.edgexfoundry.org:10004 06:54:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:54:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:54:08 Configure a credential helper to remove this warning. See 06:54:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:54:08 06:54:08 Login Succeeded 06:54:08 docker.io 06:54:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:54:08 Removing intermediate container 775aee5b14f6 06:54:08 ---> 726ad4f79c47 06:54:08 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:54:08 ---> Running in 8659c02a6fb2 06:54:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:54:08 Configure a credential helper to remove this warning. See 06:54:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:54:08 06:54:08 Login Succeeded 06:54:08 ---> docker-login.sh ends [Pipeline] } 06:54:08 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:54:09 [edgeXDocker.push] Tagging docker image docker-device-modbus-go with the following tags: 06:54:09 1382852b285b5e2bd91d034a86bf10f1b4c73ac1 06:54:09 latest 06:54:09 1.3.1-dev.2 06:54:09 1382852b285b5e2bd91d034a86bf10f1b4c73ac1-1.3.1-dev.2 06:54:09 master 06:54:09 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:54:09 + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:1382852b285b5e2bd91d034a86bf10f1b4c73ac1 [Pipeline] isUnix [Pipeline] sh 06:54:09 + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:1382852b285b5e2bd91d034a86bf10f1b4c73ac1 06:54:09 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] 06:54:09 98bc71ca1ca5: Preparing 06:54:09 140ec62fbbdd: Preparing 06:54:09 baae686c7ac2: Preparing 06:54:10 98bc71ca1ca5: Pushed 06:54:10 140ec62fbbdd: Pushed 06:54:11 baae686c7ac2: Pushed 06:54:11 1382852b285b5e2bd91d034a86bf10f1b4c73ac1: digest: sha256:76ec3f0dfb95e7ba6661181b6c7e3c94bb301404f98d8328dbcf1f901d1c1f21 size: 944 [Pipeline] isUnix [Pipeline] sh 06:54:11 Removing intermediate container 8659c02a6fb2 06:54:11 ---> eb9edc2a4803 06:54:11 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 06:54:11 ---> Running in 6fc2c47024ec 06:54:11 + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:latest [Pipeline] isUnix [Pipeline] sh 06:54:11 + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:latest 06:54:11 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] 06:54:11 98bc71ca1ca5: Preparing 06:54:11 140ec62fbbdd: Preparing 06:54:11 baae686c7ac2: Preparing 06:54:11 baae686c7ac2: Layer already exists 06:54:11 98bc71ca1ca5: Layer already exists 06:54:11 140ec62fbbdd: Layer already exists 06:54:11 latest: digest: sha256:76ec3f0dfb95e7ba6661181b6c7e3c94bb301404f98d8328dbcf1f901d1c1f21 size: 944 [Pipeline] isUnix [Pipeline] sh 06:54:12 + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:1.3.1-dev.2 [Pipeline] isUnix [Pipeline] sh 06:54:12 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:54:12 + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:1.3.1-dev.2 06:54:12 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] 06:54:12 98bc71ca1ca5: Preparing 06:54:12 140ec62fbbdd: Preparing 06:54:12 baae686c7ac2: Preparing 06:54:12 baae686c7ac2: Layer already exists 06:54:12 140ec62fbbdd: Layer already exists 06:54:12 98bc71ca1ca5: Layer already exists 06:54:12 1.3.1-dev.2: digest: sha256:76ec3f0dfb95e7ba6661181b6c7e3c94bb301404f98d8328dbcf1f901d1c1f21 size: 944 [Pipeline] isUnix [Pipeline] sh 06:54:12 + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:1382852b285b5e2bd91d034a86bf10f1b4c73ac1-1.3.1-dev.2 [Pipeline] isUnix [Pipeline] sh 06:54:12 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:54:12 + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:1382852b285b5e2bd91d034a86bf10f1b4c73ac1-1.3.1-dev.2 06:54:12 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] 06:54:12 98bc71ca1ca5: Preparing 06:54:12 140ec62fbbdd: Preparing 06:54:12 baae686c7ac2: Preparing 06:54:12 140ec62fbbdd: Layer already exists 06:54:12 98bc71ca1ca5: Layer already exists 06:54:12 baae686c7ac2: Layer already exists 06:54:12 1382852b285b5e2bd91d034a86bf10f1b4c73ac1-1.3.1-dev.2: digest: sha256:76ec3f0dfb95e7ba6661181b6c7e3c94bb301404f98d8328dbcf1f901d1c1f21 size: 944 [Pipeline] isUnix [Pipeline] sh 06:54:13 + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:master [Pipeline] isUnix [Pipeline] sh 06:54:13 + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:master 06:54:13 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] 06:54:13 98bc71ca1ca5: Preparing 06:54:13 140ec62fbbdd: Preparing 06:54:13 baae686c7ac2: Preparing 06:54:13 98bc71ca1ca5: Layer already exists 06:54:13 140ec62fbbdd: Layer already exists 06:54:13 baae686c7ac2: Layer already exists 06:54:13 master: digest: sha256:76ec3f0dfb95e7ba6661181b6c7e3c94bb301404f98d8328dbcf1f901d1c1f21 size: 944 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:54:13 ===================================================== [Pipeline] echo 06:54:13 taggedImages: 06:54:13 - nexus3.edgexfoundry.org:10004/docker-device-modbus-go:1382852b285b5e2bd91d034a86bf10f1b4c73ac1 06:54:13 - nexus3.edgexfoundry.org:10004/docker-device-modbus-go:latest 06:54:13 - nexus3.edgexfoundry.org:10004/docker-device-modbus-go:1.3.1-dev.2 06:54:13 - nexus3.edgexfoundry.org:10004/docker-device-modbus-go:1382852b285b5e2bd91d034a86bf10f1b4c73ac1-1.3.1-dev.2 06:54:13 - nexus3.edgexfoundry.org:10004/docker-device-modbus-go:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) 06:54:14 (1/14) Installing libmagic (5.38-r0) 06:54:14 (2/14) Installing file (5.38-r0) 06:54:14 (3/14) Installing libc-dev (0.7.2-r3) [Pipeline] findFiles Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage 06:54:14 (4/14) Installing g++ (9.3.0-r2) [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 06:54:17 (5/14) Installing fortify-headers (1.1-r0) 06:54:18 (6/14) Installing patch (2.7.6-r6) 06:54:18 (7/14) Installing build-base (0.5-r2) 06:54:18 (8/14) Installing openssh-keygen (8.3_p1-r0) 06:54:18 (9/14) Installing libedit (20191231.3.1-r0) 06:54:18 (10/14) Installing openssh-client (8.3_p1-r0) 06:54:18 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 06:54:18 (12/14) Installing openssh-server-common (8.3_p1-r0) 06:54:18 (13/14) Installing openssh-server (8.3_p1-r0) 06:54:18 (14/14) Installing openssh (8.3_p1-r0) 06:54:19 Executing busybox-1.31.1-r19.trigger 06:54:19 OK: 221 MiB in 53 packages 06:54:23 Removing intermediate container 6fc2c47024ec 06:54:23 ---> 39fecbaebf0f 06:54:23 Step 6/8 : WORKDIR /device-modbus-go 06:54:23 ---> Running in 3f5c9fac19bf 06:54:23 Removing intermediate container 3f5c9fac19bf 06:54:23 ---> b3f50017fd21 06:54:23 Step 7/8 : COPY . . 06:54:24 ---> d86400389dde 06:54:24 Step 8/8 : RUN go mod download 06:54:24 ---> Running in c5f4f61b007e 06:54:47 Removing intermediate container c5f4f61b007e 06:54:47 ---> 97a29c623431 06:54:47 Successfully built 97a29c623431 06:54:47 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:54:47 + docker inspect -f . ci-base-image-arm64 06:54:47 . [Pipeline] withDockerContainer 06:54:47 prd-ubuntu18.04-docker-arm64-4c-16g-14144 does not seem to be running inside a container 06:54:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/30 -v /w/workspace/device-modbus-go/30:/w/workspace/device-modbus-go/30:rw,z -v /w/workspace/device-modbus-go/30@tmp:/w/workspace/device-modbus-go/30@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:54:49 $ docker top b357daaeedbf339d16cfd0b0a3dbfbefcd00f6e6618df700bba8c42c7a0820c5 -eo pid,comm [Pipeline] { [Pipeline] sh 06:54:50 + go version 06:54:50 go version go1.15.5 linux/arm64 [Pipeline] } 06:54:50 $ docker stop --time=1 b357daaeedbf339d16cfd0b0a3dbfbefcd00f6e6618df700bba8c42c7a0820c5 06:54:52 $ docker rm -f b357daaeedbf339d16cfd0b0a3dbfbefcd00f6e6618df700bba8c42c7a0820c5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:54:53 + docker inspect -f . ci-base-image-arm64 06:54:53 . [Pipeline] withDockerContainer 06:54:53 prd-ubuntu18.04-docker-arm64-4c-16g-14144 does not seem to be running inside a container 06:54:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/30 -v /w/workspace/device-modbus-go/30:/w/workspace/device-modbus-go/30:rw,z -v /w/workspace/device-modbus-go/30@tmp:/w/workspace/device-modbus-go/30@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:54:55 $ docker top 91b35ca3b4936416382105d94b28a35cfc4f1c300cc81d20c9aac937c4781e32 -eo pid,comm [Pipeline] { [Pipeline] sh 06:54:56 + make test 06:54:56 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 06:54:57 ? github.com/edgexfoundry/device-modbus-go [no test files] 06:55:29 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 06:55:29 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.327s coverage: 50.3% of statements 06:55:29 CGO_ENABLED=0 GO111MODULE=on go vet ./... 06:55:36 gofmt -l . 06:55:36 [ "`gofmt -l .`" = "" ] 06:55:36 ./bin/test-attribution-txt.sh 06:55:37 ./bin/test-go-mod-tidy.sh [Pipeline] } 06:55:38 $ docker stop --time=1 91b35ca3b4936416382105d94b28a35cfc4f1c300cc81d20c9aac937c4781e32 06:55:40 $ docker rm -f 91b35ca3b4936416382105d94b28a35cfc4f1c300cc81d20c9aac937c4781e32 [Pipeline] // withDockerContainer [Pipeline] sh 06:55:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:55:41 Warning: overwriting stash ‘coverage-report’ 06:55:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:55:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:55:43 + ls -al . 06:55:43 total 136 06:55:43 drwxrwxr-x 9 jenkins jenkins 4096 Dec 2 06:55 . 06:55:43 drwxrwxr-x 4 jenkins jenkins 4096 Dec 2 06:53 .. 06:55:43 -rw-rw-r-- 1 jenkins jenkins 140 Dec 2 06:53 .dockerignore 06:55:43 drwxrwxr-x 8 jenkins jenkins 4096 Dec 2 06:53 .git 06:55:43 drwxrwxr-x 2 jenkins jenkins 4096 Dec 2 06:53 .github 06:55:43 -rw-rw-r-- 1 jenkins jenkins 338 Dec 2 06:53 .gitignore 06:55:43 -rw-rw-r-- 1 jenkins jenkins 5589 Dec 2 06:53 Attribution.txt 06:55:43 -rw-rw-r-- 1 jenkins jenkins 1430 Dec 2 06:53 Dockerfile 06:55:43 -rw-rw-r-- 1 jenkins jenkins 954 Dec 2 06:53 Dockerfile.build 06:55:43 -rw-rw-r-- 1 jenkins jenkins 679 Dec 2 06:53 Jenkinsfile 06:55:43 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 2 06:53 LICENSE 06:55:43 -rw-rw-r-- 1 jenkins jenkins 880 Dec 2 06:53 Makefile 06:55:43 -rw-rw-r-- 1 jenkins jenkins 591 Dec 2 06:53 README.md 06:55:43 -rw-rw-r-- 1 jenkins jenkins 11 Dec 2 06:49 VERSION 06:55:43 drwxrwxr-x 2 jenkins jenkins 4096 Dec 2 06:53 bin 06:55:43 drwxrwxr-x 3 jenkins jenkins 4096 Dec 2 06:53 cmd 06:55:43 -rw-r--r-- 1 jenkins jenkins 22364 Dec 2 06:55 coverage.out 06:55:43 -rw-r--r-- 1 jenkins jenkins 523 Dec 2 06:55 go.mod 06:55:43 -rw-r--r-- 1 jenkins jenkins 14850 Dec 2 06:55 go.sum 06:55:43 drwxrwxr-x 3 jenkins jenkins 4096 Dec 2 06:53 internal 06:55:43 drwxrwxr-x 2 jenkins jenkins 4096 Dec 2 06:53 simulator 06:55:43 drwxrwxr-x 4 jenkins jenkins 4096 Dec 2 06:53 snap 06:55:43 -rw-rw-r-- 1 jenkins jenkins 229 Dec 2 06:53 version.go [Pipeline] isUnix [Pipeline] sh 06:55:43 + 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=1382852b285b5e2bd91d034a86bf10f1b4c73ac1 --label arch=arm64 --label version=1.3.1-dev.2 . 06:55:43 Sending build context to Docker daemon 539.1kB 06:55:44 Step 1/20 : ARG BASE=golang:1.15-alpine 06:55:44 Step 2/20 : FROM ${BASE} AS builder 06:55:44 ---> 97a29c623431 06:55:44 Step 3/20 : ARG MAKE='make build' 06:55:44 ---> Running in 567dfb79d48b 06:55:44 Removing intermediate container 567dfb79d48b 06:55:44 ---> a97055ccede5 06:55:44 Step 4/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:55:44 ---> Running in 14f218db3d87 06:55:46 Removing intermediate container 14f218db3d87 06:55:46 ---> 4a65f6873c99 06:55:46 Step 5/20 : RUN apk add --update --no-cache make git openssh build-base 06:55:46 ---> Running in 18704197c98f 06:55:47 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:55:48 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:55:49 OK: 221 MiB in 53 packages 06:55:50 Removing intermediate container 18704197c98f 06:55:50 ---> 437340b3f821 06:55:50 Step 6/20 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go 06:55:50 ---> Running in 7921a59b7f72 06:55:50 Removing intermediate container 7921a59b7f72 06:55:50 ---> 26224546ffcb 06:55:50 Step 7/20 : COPY . . 06:55:51 ---> 6b7b50d37896 06:55:51 Step 8/20 : RUN ${MAKE} 06:55:51 ---> Running in 2c4c4eeafdcc 06:55:52 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=1.3.1-dev.2" -o cmd/device-modbus ./cmd 06:56:19 CGO_ENABLED=0 GO111MODULE=on go build ./... 06:56:24 Removing intermediate container 2c4c4eeafdcc 06:56:24 ---> e1da0cfa5e9c 06:56:24 Step 9/20 : FROM scratch 06:56:24 ---> 06:56:24 Step 10/20 : ENV APP_PORT=49991 06:56:24 ---> Running in a52cbf9d8899 06:56:24 Removing intermediate container a52cbf9d8899 06:56:24 ---> d5fe775ff559 06:56:24 Step 11/20 : EXPOSE $APP_PORT 06:56:24 ---> Running in 36f76889f0f4 06:56:24 Removing intermediate container 36f76889f0f4 06:56:24 ---> 7659e2fd46bd 06:56:24 Step 12/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / 06:56:26 ---> 838230704d7d 06:56:26 Step 13/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / 06:56:26 ---> 4386c7633c32 06:56:26 Step 14/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / 06:56:27 ---> f5a0d80c0a63 06:56:27 Step 15/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' 06:56:27 ---> Running in 54819e1ef201 06:56:27 Removing intermediate container 54819e1ef201 06:56:27 ---> 811e379ba461 06:56:27 Step 16/20 : ENTRYPOINT ["/device-modbus"] 06:56:28 ---> Running in dc28d36ebf52 06:56:28 Removing intermediate container dc28d36ebf52 06:56:28 ---> d19152a7f2d3 06:56:28 Step 17/20 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:56:28 ---> Running in 77e2d3ffe494 06:56:28 Removing intermediate container 77e2d3ffe494 06:56:28 ---> 66342b8138e0 06:56:28 Step 18/20 : LABEL arch=arm64 06:56:29 ---> Running in c52fd550e32a 06:56:29 Removing intermediate container c52fd550e32a 06:56:29 ---> 7441fcf25e05 06:56:29 Step 19/20 : LABEL git_sha=1382852b285b5e2bd91d034a86bf10f1b4c73ac1 06:56:29 ---> Running in 8562e06461f6 06:56:29 Removing intermediate container 8562e06461f6 06:56:29 ---> fe761e47dc07 06:56:29 Step 20/20 : LABEL version=1.3.1-dev.2 06:56:30 ---> Running in 5392bbafd2c8 06:56:30 Removing intermediate container 5392bbafd2c8 06:56:30 ---> a093ca7a8fc2 06:56:30 [Warning] One or more build-args [ARCH] were not consumed 06:56:30 Successfully built a093ca7a8fc2 06:56:30 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 06:56:31 provisioning config files... 06:56:31 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/30@tmp/config1118198362946124783tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:56:31 ---> docker-login.sh 06:56:31 nexus3.edgexfoundry.org:10001 06:56:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:56:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:56:32 Configure a credential helper to remove this warning. See 06:56:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:56:32 06:56:32 Login Succeeded 06:56:32 nexus3.edgexfoundry.org:10002 06:56:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:56:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:56:32 Configure a credential helper to remove this warning. See 06:56:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:56:32 06:56:32 Login Succeeded 06:56:32 nexus3.edgexfoundry.org:10003 06:56:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:56:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:56:33 Configure a credential helper to remove this warning. See 06:56:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:56:33 06:56:33 Login Succeeded 06:56:33 nexus3.edgexfoundry.org:10004 06:56:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:56:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:56:33 Configure a credential helper to remove this warning. See 06:56:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:56:33 06:56:33 Login Succeeded 06:56:33 docker.io 06:56:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:56:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:56:34 Configure a credential helper to remove this warning. See 06:56:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:56:34 06:56:34 Login Succeeded 06:56:34 ---> docker-login.sh ends [Pipeline] } 06:56:34 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:56:34 [edgeXDocker.push] Tagging docker image docker-device-modbus-go-arm64 with the following tags: 06:56:34 1382852b285b5e2bd91d034a86bf10f1b4c73ac1 06:56:34 latest 06:56:34 1.3.1-dev.2 06:56:34 1382852b285b5e2bd91d034a86bf10f1b4c73ac1-1.3.1-dev.2 06:56:34 master 06:56:34 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:56:35 + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:1382852b285b5e2bd91d034a86bf10f1b4c73ac1 [Pipeline] isUnix [Pipeline] sh 06:56:35 + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:1382852b285b5e2bd91d034a86bf10f1b4c73ac1 06:56:35 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] 06:56:35 8697255d9129: Preparing 06:56:35 77986c9b325b: Preparing 06:56:35 db93589b3546: Preparing 06:56:36 8697255d9129: Pushed 06:56:36 77986c9b325b: Pushed 06:56:38 db93589b3546: Pushed 06:56:38 1382852b285b5e2bd91d034a86bf10f1b4c73ac1: digest: sha256:5fc6ac005a11ed909afa1ae70a85a9fef0a904eaf8d689fcd29688b1a29a31a3 size: 944 [Pipeline] isUnix [Pipeline] sh 06:56:39 + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:56:39 + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:latest 06:56:39 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] 06:56:39 8697255d9129: Preparing 06:56:39 77986c9b325b: Preparing 06:56:39 db93589b3546: Preparing 06:56:39 db93589b3546: Layer already exists 06:56:39 77986c9b325b: Layer already exists 06:56:39 8697255d9129: Layer already exists 06:56:39 latest: digest: sha256:5fc6ac005a11ed909afa1ae70a85a9fef0a904eaf8d689fcd29688b1a29a31a3 size: 944 [Pipeline] isUnix [Pipeline] sh 06:56:40 + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:1.3.1-dev.2 [Pipeline] isUnix [Pipeline] sh 06:56:40 + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:1.3.1-dev.2 06:56:40 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] 06:56:40 8697255d9129: Preparing 06:56:40 77986c9b325b: Preparing 06:56:40 db93589b3546: Preparing 06:56:40 db93589b3546: Layer already exists 06:56:40 77986c9b325b: Layer already exists 06:56:40 8697255d9129: Layer already exists 06:56:40 1.3.1-dev.2: digest: sha256:5fc6ac005a11ed909afa1ae70a85a9fef0a904eaf8d689fcd29688b1a29a31a3 size: 944 [Pipeline] isUnix [Pipeline] sh 06:56:41 + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:1382852b285b5e2bd91d034a86bf10f1b4c73ac1-1.3.1-dev.2 [Pipeline] isUnix [Pipeline] sh 06:56:41 + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:1382852b285b5e2bd91d034a86bf10f1b4c73ac1-1.3.1-dev.2 06:56:41 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] 06:56:41 8697255d9129: Preparing 06:56:41 77986c9b325b: Preparing 06:56:41 db93589b3546: Preparing 06:56:41 8697255d9129: Layer already exists 06:56:41 77986c9b325b: Layer already exists 06:56:41 db93589b3546: Layer already exists 06:56:41 1382852b285b5e2bd91d034a86bf10f1b4c73ac1-1.3.1-dev.2: digest: sha256:5fc6ac005a11ed909afa1ae70a85a9fef0a904eaf8d689fcd29688b1a29a31a3 size: 944 [Pipeline] isUnix [Pipeline] sh 06:56:42 + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:master [Pipeline] isUnix [Pipeline] sh 06:56:42 + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:master 06:56:42 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] 06:56:42 8697255d9129: Preparing 06:56:42 77986c9b325b: Preparing 06:56:42 db93589b3546: Preparing 06:56:42 db93589b3546: Layer already exists 06:56:42 77986c9b325b: Layer already exists 06:56:42 8697255d9129: Layer already exists 06:56:42 master: digest: sha256:5fc6ac005a11ed909afa1ae70a85a9fef0a904eaf8d689fcd29688b1a29a31a3 size: 944 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:56:42 ===================================================== [Pipeline] echo 06:56:43 taggedImages: 06:56:43 - nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:1382852b285b5e2bd91d034a86bf10f1b4c73ac1 06:56:43 - nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:latest 06:56:43 - nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:1.3.1-dev.2 06:56:43 - nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:1382852b285b5e2bd91d034a86bf10f1b4c73ac1-1.3.1-dev.2 06:56:43 - nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 06:56:44 provisioning config files... 06:56:44 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config2306754606813500609tmp [Pipeline] { [Pipeline] sh 06:56:45 + set +x 06:56:45 + curl -s https://codecov.io/bash 06:56:45 + bash -s -- 06:56:45 06:56:45 _____ _ 06:56:45 / ____| | | 06:56:45 | | ___ __| | ___ ___ _____ __ 06:56:45 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:56:45 | |___| (_) | (_| | __/ (_| (_) \ V / 06:56:45 \_____\___/ \__,_|\___|\___\___/ \_/ 06:56:45 Bash-20201130-cc6d3fe 06:56:45 06:56:45 06:56:45 ==> Jenkins CI detected. 06:56:45 project root: . 06:56:45 --> token set from env 06:56:45 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:56:45 ==> Running gcov in . (disable via -X gcov) 06:56:45 ==> Python coveragepy not found 06:56:45 ==> Searching for coverage reports in: 06:56:45 + . 06:56:45 -> Found 1 reports 06:56:45 ==> Detecting git/mercurial file structure 06:56:45 ==> Reading reports 06:56:45 + ./coverage.out bytes=22364 06:56:45 ==> Appending adjustments 06:56:45 https://docs.codecov.io/docs/fixing-reports 06:56:45 + Found adjustments 06:56:45 ==> Gzipping contents 06:56:45 8.0K /tmp/codecov.O7059T.gz 06:56:45 ==> Uploading reports 06:56:45 url: https://codecov.io 06:56:45 query: branch=master&commit=1382852b285b5e2bd91d034a86bf10f1b4c73ac1&build=30&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmaster%2F30%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:56:45 -> Pinging Codecov 06:56:45 https://codecov.io/upload/v4?package=bash-20201130-cc6d3fe&token=secret&branch=master&commit=1382852b285b5e2bd91d034a86bf10f1b4c73ac1&build=30&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmaster%2F30%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:56:46 -> Uploading to 06:56:46 https://storage.googleapis.com/codecov/v4/raw/2020-12-02/55DBCA73C666E3227836607328DD7E49/1382852b285b5e2bd91d034a86bf10f1b4c73ac1/81ed942f-2168-4320-a0c7-a202b3a2cc07.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201202%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201202T065646Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=23355628bac464b25807e1815464c2df06c8dcea22cc069b10547014f8a2ecbc 06:56:46 % Total % Received % Xferd Average Speed Time Time Time Current 06:56:46 Dload Upload Total Spent Left Speed 06:56:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 4205 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4205 0 0 100 4205 0 11123 --:--:-- --:--:-- --:--:-- 11124 06:56:46 -> View reports at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/1382852b285b5e2bd91d034a86bf10f1b4c73ac1 [Pipeline] } 06:56:46 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 06:56:47 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 06:56:47 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:56:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:56:48 06:56:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 06:56:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:56:48 1.410.4: Pulling from edgex-devops/edgex-snyk-go 06:56:48 188c0c94c7c5: Pulling fs layer 06:56:48 0ef7d3d256c8: Pulling fs layer 06:56:48 de9db76c5a1d: Pulling fs layer 06:56:48 0eba1c9be4d2: Pulling fs layer 06:56:48 0d57e429df01: Pulling fs layer 06:56:48 4e4be7b47b0d: Pulling fs layer 06:56:48 e1f770b5df2f: Pulling fs layer 06:56:48 85a0685a4137: Pulling fs layer 06:56:48 0eba1c9be4d2: Waiting 06:56:48 0d57e429df01: Waiting 06:56:48 4e4be7b47b0d: Waiting 06:56:48 e1f770b5df2f: Waiting 06:56:48 85a0685a4137: Waiting 06:56:48 de9db76c5a1d: Verifying Checksum 06:56:48 de9db76c5a1d: Download complete 06:56:48 0ef7d3d256c8: Verifying Checksum 06:56:48 0ef7d3d256c8: Download complete 06:56:48 0d57e429df01: Verifying Checksum 06:56:48 0d57e429df01: Download complete 06:56:48 4e4be7b47b0d: Verifying Checksum 06:56:48 4e4be7b47b0d: Download complete 06:56:48 188c0c94c7c5: Verifying Checksum 06:56:48 188c0c94c7c5: Download complete 06:56:49 188c0c94c7c5: Pull complete 06:56:49 0ef7d3d256c8: Pull complete 06:56:49 de9db76c5a1d: Pull complete 06:56:50 e1f770b5df2f: Verifying Checksum 06:56:50 e1f770b5df2f: Download complete 06:56:52 0eba1c9be4d2: Verifying Checksum 06:56:52 0eba1c9be4d2: Download complete 06:56:52 85a0685a4137: Verifying Checksum 06:56:52 85a0685a4137: Download complete 06:56:57 0eba1c9be4d2: Pull complete 06:56:57 0d57e429df01: Pull complete 06:56:57 4e4be7b47b0d: Pull complete 06:57:01 e1f770b5df2f: Pull complete 06:57:08 85a0685a4137: Pull complete 06:57:08 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 06:57:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:57:08 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 06:57:08 prd-centos7-docker-4c-2g-14141 does not seem to be running inside a container 06:57:08 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 06:57:09 $ docker top feaffae31b7ee67678226c1cefd015fc0f1b3f38a01f6d10cdb78f8acbe41cd3 -eo pid,comm [Pipeline] { [Pipeline] echo 06:57:09 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 06:57:09 + set -o pipefail 06:57:09 + snyk monitor '--org=edgex-jenkins' 06:57:18 06:57:18 Monitoring /w/workspace/xfoundry_device-modbus-go_master (github.com/edgexfoundry/device-modbus-go)... 06:57:18 06:57:18 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/f1f9588a-e578-4d15-82cf-faf0ad0ed2d7/history/7aae2089-824a-43f7-96b0-b66f40dc75da 06:57:18 06:57:18 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 06:57:18 06:57:18 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 06:57:18 06:57:18 [Pipeline] } 06:57:18 $ docker stop --time=1 feaffae31b7ee67678226c1cefd015fc0f1b3f38a01f6d10cdb78f8acbe41cd3 06:57:20 $ docker rm -f feaffae31b7ee67678226c1cefd015fc0f1b3f38a01f6d10cdb78f8acbe41cd3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) [Pipeline] script [Pipeline] { [Pipeline] echo 06:57:21 [edgeXSnyk] dockerImage=nexus3.edgexfoundry.org:10004/docker-device-modbus-go:1382852b285b5e2bd91d034a86bf10f1b4c73ac1, dockerFile=Dockerfile [Pipeline] echo 06:57:21 [edgeXSnyk] downloading global ignore policy file from: https://raw.githubusercontent.com/edgexfoundry/security-pipeline-policies/main/snyk/.snyk [Pipeline] sh 06:57:21 + set -o pipefail 06:57:21 + curl -s https://raw.githubusercontent.com/edgexfoundry/security-pipeline-policies/main/snyk/.snyk 06:57:21 + tee .snyk 06:57:22 # Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. 06:57:22 version: v1.14.1 06:57:22 # ignores vulnerabilities until expiry date; change duration by modifying expiry date 06:57:22 ignore: 06:57:22 SNYK-ALPINE312-ONIGURUMA-1017392: # snyk ID for the issue to ignore. Required. 06:57:22 - '*': 06:57:22 reason: does not apply # justification for ignoring 06:57:22 expires: 2021-01-01T00:00:00 # expiry date string, according to RFC2822 (https://tools.ietf.org/html/rfc2822#page-14)https://snyk.io/vuln/SNYK-ALPINE312-ONIGURUMA-1017392 06:57:22 SNYK-ALPINE312-JQ-588886: 06:57:22 - '*': 06:57:22 reason: false positive 06:57:22 expires: 2021-01-01T00:00:00 06:57:22 # patch: {} [Pipeline] withCredentials 06:57:22 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:57:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:57:22 . [Pipeline] withDockerContainer 06:57:22 prd-centos7-docker-4c-2g-14141 does not seem to be running inside a container 06:57:22 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 06:57:23 $ docker top e624636efb959fbca93afd656219784ba6007077f35689d6db23b4fbebd6ea99 -eo pid,comm [Pipeline] { [Pipeline] sh 06:57:23 + rm -f snykReport.html [Pipeline] echo 06:57:23 [edgeXSnyk] command to run: set -o pipefail ; snyk test --org=edgex-jenkins --docker nexus3.edgexfoundry.org:10004/docker-device-modbus-go:1382852b285b5e2bd91d034a86bf10f1b4c73ac1 --file=./Dockerfile --severity-threshold=high --policy-path=./.snyk --json | snyk-to-html -o snykReport.html [Pipeline] sh 06:57:23 + set -o pipefail 06:57:23 + snyk test '--org=edgex-jenkins' --docker nexus3.edgexfoundry.org:10004/docker-device-modbus-go:1382852b285b5e2bd91d034a86bf10f1b4c73ac1 '--file=./Dockerfile' '--severity-threshold=high' '--policy-path=./.snyk' --json 06:57:23 + snyk-to-html -o snykReport.html 06:57:33 Vulnerability snapshot saved at snykReport.html [Pipeline] } 06:57:34 $ docker stop --time=1 e624636efb959fbca93afd656219784ba6007077f35689d6db23b4fbebd6ea99 06:57:35 $ docker rm -f e624636efb959fbca93afd656219784ba6007077f35689d6db23b4fbebd6ea99 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [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 06:57:37 + git log --format=format:%s -1 1382852b285b5e2bd91d034a86bf10f1b4c73ac1 [Pipeline] isUnix [Pipeline] sh 06:57:37 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:57:37 . [Pipeline] withDockerContainer 06:57:37 prd-centos7-docker-4c-2g-14141 does not seem to be running inside a container 06:57:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:57:38 $ docker top 01857a1a081d6a6d33d443e81bdc1decb28c93a9f0d42b43e9a2d17115ec3d6d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:57:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:57:38 [ssh-agent] Looking for ssh-agent implementation... 06:57:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:57:38 $ docker exec 01857a1a081d6a6d33d443e81bdc1decb28c93a9f0d42b43e9a2d17115ec3d6d ssh-agent 06:57:39 SSH_AUTH_SOCK=/tmp/ssh-SxhMXtYeOi4e/agent.11 06:57:39 SSH_AGENT_PID=17 06:57:39 Running ssh-add (command line suppressed) 06:57:39 Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_6549496742663457185.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_6549496742663457185.key) 06:57:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:57:39 + git semver tag 06:57:39 # -> Open(): unable to determine branch for HEAD 06:57:39 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git 06:57:39 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master 06:57:39 # $SEMVER_REMOTE_NAME = origin 06:57:39 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:57:39 # $SEMVER_USER_NAME = edgex-jenkins 06:57:39 # $SEMVER_BRANCH = master 06:57:39 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver 06:57:39 # 1382852b285b5e2bd91d034a86bf10f1b4c73ac1 HEAD 06:57:39 # -> Force: false 06:57:39 # 3b3908be10c157b6721b8d0f788a45c8b8c418e6 refs/tags/v1.3.1-dev.2 [Pipeline] } 06:57:39 $ docker exec --env ******** --env ******** 01857a1a081d6a6d33d443e81bdc1decb28c93a9f0d42b43e9a2d17115ec3d6d ssh-agent -k 06:57:39 unset SSH_AUTH_SOCK; 06:57:39 unset SSH_AGENT_PID; 06:57:39 echo Agent pid 17 killed; 06:57:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:57:40 + git semver [Pipeline] } 06:57:40 $ docker stop --time=1 01857a1a081d6a6d33d443e81bdc1decb28c93a9f0d42b43e9a2d17115ec3d6d 06:57:41 $ docker rm -f 01857a1a081d6a6d33d443e81bdc1decb28c93a9f0d42b43e9a2d17115ec3d6d [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 06:57:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:57:42 06:57:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 06:57:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:57:42 0.23.1-centos7: Pulling from edgex-lftools 06:57:42 ab5ef0e58194: Pulling fs layer 06:57:42 9712f1f96733: Pulling fs layer 06:57:42 63f879dbbcfc: Pulling fs layer 06:57:42 0d9ebad4ef96: Pulling fs layer 06:57:42 e9a5061849ea: Pulling fs layer 06:57:42 d747dcd14b5f: Pulling fs layer 06:57:42 2de7ff778b66: Pulling fs layer 06:57:42 e9a5061849ea: Waiting 06:57:42 d747dcd14b5f: Waiting 06:57:42 0d9ebad4ef96: Waiting 06:57:42 2de7ff778b66: Waiting 06:57:44 63f879dbbcfc: Verifying Checksum 06:57:44 63f879dbbcfc: Download complete 06:57:44 e9a5061849ea: Verifying Checksum 06:57:44 e9a5061849ea: Download complete 06:57:44 d747dcd14b5f: Verifying Checksum 06:57:44 d747dcd14b5f: Download complete 06:57:44 2de7ff778b66: Verifying Checksum 06:57:44 2de7ff778b66: Download complete 06:57:45 ab5ef0e58194: Verifying Checksum 06:57:45 ab5ef0e58194: Download complete 06:57:45 0d9ebad4ef96: Verifying Checksum 06:57:45 0d9ebad4ef96: Download complete 06:57:49 ab5ef0e58194: Pull complete 06:57:49 9712f1f96733: Pull complete 06:57:51 63f879dbbcfc: Pull complete 06:57:58 0d9ebad4ef96: Pull complete 06:57:59 e9a5061849ea: Pull complete 06:57:59 d747dcd14b5f: Pull complete 06:58:02 2de7ff778b66: Pull complete 06:58:02 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 06:58:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:58:02 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 06:58:02 prd-centos7-docker-4c-2g-14141 does not seem to be running inside a container 06:58:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 06:58:06 $ docker top 2499be35af8971acb3d4da21217ce0554588c3c98964ee3bcaadc745ac8baf6c -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 06:58:06 provisioning config files... 06:58:06 copy managed file [sigul-config] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config8522806375914783606tmp 06:58:06 copy managed file [sigul-password] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config452673675259859644tmp 06:58:06 copy managed file [sigul-pki] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config6359691144749083769tmp [Pipeline] { [Pipeline] echo 06:58:07 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 06:58:07 ---> sigul-configuration.sh 06:58:07 gpg: directory `/root/.gnupg' created 06:58:07 gpg: new configuration file `/root/.gnupg/gpg.conf' created 06:58:07 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 06:58:07 gpg: keyring `/root/.gnupg/secring.gpg' created 06:58:07 gpg: keyring `/root/.gnupg/pubring.gpg' created 06:58:07 gpg: CAST5 encrypted data 06:58:07 gpg: encrypted with 1 passphrase 06:58:07 gpg: WARNING: message was not integrity protected [Pipeline] sh 06:58:07 + mkdir /home/jenkins 06:58:07 + mkdir /home/jenkins/sigul [Pipeline] sh 06:58:08 + 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 06:58:08 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 06:58:08 ---> sigul-install.sh 06:58:15 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 06:58:15 + git tag --list 06:58:15 0.7.1 06:58:15 v1.0.0 06:58:15 v1.1.0 06:58:15 v1.1.1 06:58:15 v1.2.1 06:58:15 v1.2.2 06:58:15 v1.2.2-dev.1 06:58:15 v1.2.2-dev.2 06:58:15 v1.2.2-dev.3 06:58:15 v1.2.3-dev.1 06:58:15 v1.2.3-dev.2 06:58:15 v1.2.3-dev.3 06:58:15 v1.2.3-dev.4 06:58:15 v1.2.3-dev.5 06:58:15 v1.2.3-dev.6 06:58:15 v1.2.3-dev.7 06:58:15 v1.2.3-dev.8 06:58:15 v1.2.3-dev.9 06:58:15 v1.3.0 06:58:15 v1.3.1-dev.1 06:58:15 v1.3.1-dev.2 [Pipeline] sh 06:58:15 + lftools sign git-tag v1.3.1-dev.2 06:58:17 Signing Git tag with Sigul... 06:58:17 Signing v1.3.1-dev.2 [Pipeline] echo 06:58:18 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 06:58:18 ---> sigul-configuration-cleanup.sh [Pipeline] } 06:58:18 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 06:58:18 $ docker stop --time=1 2499be35af8971acb3d4da21217ce0554588c3c98964ee3bcaadc745ac8baf6c 06:58:21 $ docker rm -f 2499be35af8971acb3d4da21217ce0554588c3c98964ee3bcaadc745ac8baf6c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 06:58:22 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:58:22 . [Pipeline] withDockerContainer 06:58:22 prd-centos7-docker-4c-2g-14141 does not seem to be running inside a container 06:58:22 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:58:22 $ docker top ac36c4d4e0af890b79a7a80751ab48306fe740efb38c4d0b19338ac7710910b9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:58:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:58:23 [ssh-agent] Looking for ssh-agent implementation... 06:58:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:58:24 $ docker exec ac36c4d4e0af890b79a7a80751ab48306fe740efb38c4d0b19338ac7710910b9 ssh-agent 06:58:24 SSH_AUTH_SOCK=/tmp/ssh-gXAigDPexGIM/agent.11 06:58:24 SSH_AGENT_PID=17 06:58:24 Running ssh-add (command line suppressed) 06:58:24 Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_5189789491176695348.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_5189789491176695348.key) 06:58:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:58:25 + git semver bump pre 06:58:25 # -> Open(): unable to determine branch for HEAD 06:58:25 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git 06:58:25 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master 06:58:25 # $SEMVER_REMOTE_NAME = origin 06:58:25 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:58:25 # $SEMVER_USER_NAME = edgex-jenkins 06:58:25 # $SEMVER_BRANCH = master 06:58:25 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver 06:58:25 1.3.1-dev.3 [Pipeline] } 06:58:25 $ docker exec --env ******** --env ******** ac36c4d4e0af890b79a7a80751ab48306fe740efb38c4d0b19338ac7710910b9 ssh-agent -k 06:58:25 unset SSH_AUTH_SOCK; 06:58:25 unset SSH_AGENT_PID; 06:58:25 echo Agent pid 17 killed; 06:58:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:58:26 + git semver [Pipeline] } 06:58:26 $ docker stop --time=1 ac36c4d4e0af890b79a7a80751ab48306fe740efb38c4d0b19338ac7710910b9 06:58:27 $ docker rm -f ac36c4d4e0af890b79a7a80751ab48306fe740efb38c4d0b19338ac7710910b9 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 06:58:28 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:58:28 . [Pipeline] withDockerContainer 06:58:28 prd-centos7-docker-4c-2g-14141 does not seem to be running inside a container 06:58:28 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:58:28 $ docker top 84df16fe4b05f94e4a802ddab7f162fbcfe03d6053d3df8930d3817f5f90af68 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:58:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:58:29 [ssh-agent] Looking for ssh-agent implementation... 06:58:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:58:29 $ docker exec 84df16fe4b05f94e4a802ddab7f162fbcfe03d6053d3df8930d3817f5f90af68 ssh-agent 06:58:29 SSH_AUTH_SOCK=/tmp/ssh-sjxcWPlKsISi/agent.12 06:58:29 SSH_AGENT_PID=17 06:58:29 Running ssh-add (command line suppressed) 06:58:29 Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_9106823748813854665.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_9106823748813854665.key) 06:58:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:58:30 + git semver push 06:58:30 # -> Open(): unable to determine branch for HEAD 06:58:30 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git 06:58:30 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master 06:58:30 # $SEMVER_REMOTE_NAME = origin 06:58:30 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:58:30 # $SEMVER_USER_NAME = edgex-jenkins 06:58:30 # $SEMVER_BRANCH = master 06:58:30 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [Pipeline] } 06:58:36 $ docker exec --env ******** --env ******** 84df16fe4b05f94e4a802ddab7f162fbcfe03d6053d3df8930d3817f5f90af68 ssh-agent -k 06:58:36 unset SSH_AUTH_SOCK; 06:58:36 unset SSH_AGENT_PID; 06:58:36 echo Agent pid 17 killed; 06:58:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:58:37 + git semver [Pipeline] } 06:58:37 $ docker stop --time=1 84df16fe4b05f94e4a802ddab7f162fbcfe03d6053d3df8930d3817f5f90af68 06:58:38 $ docker rm -f 84df16fe4b05f94e4a802ddab7f162fbcfe03d6053d3df8930d3817f5f90af68 [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 06:58:40 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:58:40 ---> package-listing.sh 06:58:40 ++ facter osfamily 06:58:40 ++ tr '[:upper:]' '[:lower:]' 06:58:40 + OS_FAMILY=redhat 06:58:40 + workspace=/w/workspace/xfoundry_device-modbus-go_master 06:58:40 + START_PACKAGES=/tmp/packages_start.txt 06:58:40 + END_PACKAGES=/tmp/packages_end.txt 06:58:40 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:58:40 + PACKAGES=/tmp/packages_start.txt 06:58:40 + '[' /w/workspace/xfoundry_device-modbus-go_master ']' 06:58:40 + PACKAGES=/tmp/packages_end.txt 06:58:40 + case "${OS_FAMILY}" in 06:58:40 + rpm -qa 06:58:40 + sort 06:58:46 + '[' -f /tmp/packages_start.txt ']' 06:58:46 + '[' -f /tmp/packages_end.txt ']' 06:58:46 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:58:46 + '[' /w/workspace/xfoundry_device-modbus-go_master ']' 06:58:46 + mkdir -p /w/workspace/xfoundry_device-modbus-go_master/archives/ 06:58:46 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_master/archives/ [Pipeline] echo 06:58:46 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 06:58:46 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:58:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:58:46 06:58:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:58:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:58:47 alpine: Pulling from edgex-lftools-log-publisher 06:58:47 df20fa9351a1: Pulling fs layer 06:58:47 36b3adc4ff6f: Pulling fs layer 06:58:47 8ad3a11d3b57: Pulling fs layer 06:58:47 46f8f816bc3b: Pulling fs layer 06:58:47 93b61091891f: Pulling fs layer 06:58:47 93b9cdb0e59b: Pulling fs layer 06:58:47 5e14af77c1be: Pulling fs layer 06:58:47 01666e4c0597: Pulling fs layer 06:58:47 aa168da1d23b: Pulling fs layer 06:58:47 46f8f816bc3b: Waiting 06:58:47 93b9cdb0e59b: Waiting 06:58:47 93b61091891f: Waiting 06:58:47 5e14af77c1be: Waiting 06:58:47 01666e4c0597: Waiting 06:58:47 aa168da1d23b: Waiting 06:58:47 36b3adc4ff6f: Verifying Checksum 06:58:47 36b3adc4ff6f: Download complete 06:58:47 46f8f816bc3b: Verifying Checksum 06:58:47 46f8f816bc3b: Download complete 06:58:47 df20fa9351a1: Verifying Checksum 06:58:47 df20fa9351a1: Download complete 06:58:47 93b9cdb0e59b: Verifying Checksum 06:58:47 93b9cdb0e59b: Download complete 06:58:47 5e14af77c1be: Verifying Checksum 06:58:47 5e14af77c1be: Download complete 06:58:47 93b61091891f: Verifying Checksum 06:58:47 93b61091891f: Download complete 06:58:47 01666e4c0597: Verifying Checksum 06:58:47 01666e4c0597: Download complete 06:58:47 8ad3a11d3b57: Verifying Checksum 06:58:47 8ad3a11d3b57: Download complete 06:58:47 df20fa9351a1: Pull complete 06:58:47 36b3adc4ff6f: Pull complete 06:58:48 8ad3a11d3b57: Pull complete 06:58:49 46f8f816bc3b: Pull complete 06:58:49 aa168da1d23b: Verifying Checksum 06:58:49 aa168da1d23b: Download complete 06:58:50 93b61091891f: Pull complete 06:58:50 93b9cdb0e59b: Pull complete 06:58:50 5e14af77c1be: Pull complete 06:58:50 01666e4c0597: Pull complete 06:58:58 aa168da1d23b: Pull complete 06:58:58 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 06:58:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:58:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:58:58 prd-centos7-docker-4c-2g-14141 does not seem to be running inside a container 06:58:58 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-modbus-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 06:59:01 $ docker top 2f263017ce4841bbcc5fe902f4cc5cc2f472defef7cc23ef9ddbfd9051fd6d16 -eo pid,comm [Pipeline] { [Pipeline] sh 06:59:02 + touch /tmp/pre-build-complete [Pipeline] sh 06:59:02 + mkdir -p /var/log/sa [Pipeline] sh 06:59:03 + ls /var/log/sa-host 06:59:03 + sadf -c /var/log/sa-host/sa02 06:59:03 file_magic: OK 06:59:03 HZ: Using current value: 100 06:59:03 file_header: OK 06:59:03 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 06:59:03 Statistics: 06:59:03 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:59:03 File successfully converted to sysstat format version 12.2.1 06:59:03 + sadf -c /var/log/sa-host/sa23 06:59:03 file_magic: OK 06:59:03 HZ: Using current value: 100 06:59:03 file_header: OK 06:59:03 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 06:59:03 Statistics: 06:59:03 Hnuu...uuuununununu... 06:59:03 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:59:03 provisioning config files... 06:59:03 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config2739276751223337797tmp [Pipeline] { [Pipeline] echo 06:59:03 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:59:04 ---> create-netrc.sh [Pipeline] } 06:59:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:59:04 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:59:04 ---> python-tools-install.sh [Pipeline] echo 06:59:04 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:59:04 ---> sudo-logs.sh 06:59:04 Archiving 'sudo' log.. [Pipeline] echo 06:59:04 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:59:05 ---> job-cost.sh 06:59:05 lf-activate-venv: SKIPPING 06:59:05 INFO: No Stack... 06:59:06 INFO: Retrieving Pricing Info for: v1-standard-2 06:59:06 INFO: Archiving Costs [Pipeline] echo 06:59:06 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:59:06 ---> logs-deploy.sh 06:59:06 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/master/30 06:59:06 INFO: archiving workspace using pattern(s): 06:59:08 Archives upload complete. 06:59:08 INFO: archiving logs to Nexus 06:59:09 ---> uname -a: 06:59:09 Linux prd-centos7-docker-4c-2g-14141.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 06:59:09 06:59:09 06:59:09 ---> lscpu: 06:59:09 Architecture: x86_64 06:59:09 CPU op-mode(s): 32-bit, 64-bit 06:59:09 Byte Order: Little Endian 06:59:09 Address sizes: 40 bits physical, 48 bits virtual 06:59:09 CPU(s): 4 06:59:09 On-line CPU(s) list: 0-3 06:59:09 Thread(s) per core: 1 06:59:09 Core(s) per socket: 1 06:59:09 Socket(s): 4 06:59:09 NUMA node(s): 1 06:59:09 Vendor ID: GenuineIntel 06:59:09 CPU family: 6 06:59:09 Model: 44 06:59:09 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 06:59:09 Stepping: 1 06:59:09 CPU MHz: 2933.438 06:59:09 BogoMIPS: 5866.87 06:59:09 Virtualization: VT-x 06:59:09 Hypervisor vendor: KVM 06:59:09 Virtualization type: full 06:59:09 L1d cache: 128 KiB 06:59:09 L1i cache: 128 KiB 06:59:09 L2 cache: 16 MiB 06:59:09 L3 cache: 64 MiB 06:59:09 NUMA node0 CPU(s): 0-3 06:59:09 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 06:59:09 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 06:59:09 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 06:59:09 Vulnerability Meltdown: Mitigation; PTI 06:59:09 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 06:59:09 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 06:59:09 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 06:59:09 Vulnerability Srbds: Not affected 06:59:09 Vulnerability Tsx async abort: Not affected 06:59:09 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 06:59:09 06:59:09 06:59:09 ---> nproc: 06:59:09 4 06:59:09 06:59:09 06:59:09 ---> df -h: 06:59:09 Filesystem Size Used Available Use% Mounted on 06:59:09 overlay 50.0G 8.6G 41.4G 17% / 06:59:09 tmpfs 64.0M 0 64.0M 0% /dev 06:59:09 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 06:59:09 shm 64.0M 0 64.0M 0% /dev/shm 06:59:09 /dev/vda1 50.0G 8.6G 41.4G 17% /facter-os 06:59:09 /dev/vda1 50.0G 8.6G 41.4G 17% /etc/resolv.conf 06:59:09 /dev/vda1 50.0G 8.6G 41.4G 17% /etc/hostname 06:59:09 /dev/vda1 50.0G 8.6G 41.4G 17% /etc/hosts 06:59:09 /dev/vda1 50.0G 8.6G 41.4G 17% /var/log/auth.log 06:59:09 /dev/vda1 50.0G 8.6G 41.4G 17% /w/workspace/xfoundry_device-modbus-go_master 06:59:09 /dev/vda1 50.0G 8.6G 41.4G 17% /run/cloud-init/result.json 06:59:09 /dev/vda1 50.0G 8.6G 41.4G 17% /w/workspace/xfoundry_device-modbus-go_master@tmp 06:59:09 /dev/vda1 50.0G 8.6G 41.4G 17% /var/log/sa-host 06:59:09 /dev/vda1 50.0G 8.6G 41.4G 17% /var/log/secure 06:59:09 06:59:09 06:59:09 ---> free -m: 06:59:09 total used free shared buff/cache available 06:59:09 Mem: 1837 813 121 0 901 958 06:59:09 Swap: 1023 2 1021 06:59:09 06:59:09 06:59:09 ---> ip addr: 06:59:09 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 06:59:09 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 06:59:09 inet 127.0.0.1/8 scope host lo 06:59:09 valid_lft forever preferred_lft forever 06:59:09 inet6 ::1/128 scope host 06:59:09 valid_lft forever preferred_lft forever 06:59:09 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 06:59:09 link/ether fa:16:3e:6f:2e:72 brd ff:ff:ff:ff:ff:ff 06:59:09 inet 10.30.122.144/23 brd 10.30.123.255 scope global dynamic eth0 06:59:09 valid_lft 85757sec preferred_lft 85757sec 06:59:09 inet6 fe80::f816:3eff:fe6f:2e72/64 scope link 06:59:09 valid_lft forever preferred_lft forever 06:59:09 3: docker0: mtu 1500 qdisc noqueue state DOWN 06:59:09 link/ether 02:42:55:e0:54:2e brd ff:ff:ff:ff:ff:ff 06:59:09 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 06:59:09 valid_lft forever preferred_lft forever 06:59:09 inet6 fe80::42:55ff:fee0:542e/64 scope link 06:59:09 valid_lft forever preferred_lft forever 06:59:09 06:59:09 06:59:09 ---> sar -b -r -n DEV: 06:59:09 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 12/02/20 _x86_64_ (4 CPU) 06:59:09 06:59:09 06:48:13 LINUX RESTART (4 CPU) 06:59:09 06:59:09 06:49:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 06:59:09 06:50:01 29.25 10.37 18.88 0.00 4292.86 2958.83 0.00 06:59:09 06:51:01 1.88 0.00 1.88 0.00 0.00 35.24 0.00 06:59:09 06:52:01 0.30 0.00 0.30 0.00 0.00 3.75 0.00 06:59:09 06:53:01 0.22 0.00 0.22 0.00 0.00 3.23 0.00 06:59:09 06:54:01 0.18 0.00 0.18 0.00 0.00 1.80 0.00 06:59:09 06:55:01 0.37 0.00 0.37 0.00 0.00 4.56 0.00 06:59:09 06:56:01 0.23 0.00 0.23 0.00 0.00 2.96 0.00 06:59:09 06:57:01 85.55 37.82 47.73 0.00 2062.26 21314.58 0.00 06:59:09 06:58:01 388.35 193.84 194.51 0.00 9333.11 40737.84 0.00 06:59:09 06:59:01 210.90 100.35 110.55 0.00 8090.10 26334.79 0.00 06:59:09 Average: 71.76 34.26 37.50 0.00 2379.08 9144.46 0.00 06:59:09 06:59:09 06:49:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 06:59:09 06:50:01 157984 0 569984 30.29 2620 1150956 1126380 38.44 365600 1158396 20 06:59:09 06:51:01 163028 0 564932 30.02 2620 1150964 1091808 37.26 367576 1152536 8 06:59:09 06:52:01 164272 0 563684 29.96 2620 1150968 1078444 36.81 373056 1145612 8 06:59:09 06:53:01 162120 0 565832 30.07 2620 1150972 1078612 36.81 376032 1145044 8 06:59:09 06:54:01 162312 0 565636 30.06 2620 1150976 1078600 36.81 385832 1135184 8 06:59:09 06:55:01 163312 0 564632 30.01 2620 1150980 1078444 36.81 384984 1135184 12 06:59:09 06:56:01 163484 0 564456 30.00 2620 1150984 1078444 36.81 384992 1135184 8 06:59:09 06:57:01 68700 0 674208 35.83 2620 1136016 1513992 51.67 500756 1075116 47520 06:59:09 06:58:01 126060 0 785168 41.73 1744 968572 1357480 46.33 562044 859468 71028 06:59:09 06:59:01 177368 0 807984 42.94 1492 894700 1597512 54.52 562644 785516 28 06:59:09 Average: 150864 0 622652 33.09 2420 1105609 1207972 41.23 426352 1072724 11865 06:59:09 06:59:09 06:49:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 06:59:09 06:50:01 eth0 76.91 60.88 344.55 26.78 0.00 0.00 0.00 0.00 06:59:09 06:50:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:59:09 06:50:01 docker0 2.00 1.65 0.39 3.94 0.00 0.00 0.00 0.00 06:59:09 06:51:01 eth0 0.50 0.35 0.27 0.20 0.00 0.00 0.00 0.00 06:59:09 06:51:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:59:09 06:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:59:09 06:52:01 eth0 0.53 0.03 0.05 0.00 0.00 0.00 0.00 0.00 06:59:09 06:52:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:59:09 06:52:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:59:09 06:53:01 eth0 1.13 0.35 0.35 0.17 0.00 0.00 0.00 0.00 06:59:09 06:53:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:59:09 06:53:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:59:09 06:54:01 eth0 0.73 0.50 0.41 0.30 0.00 0.00 0.00 0.00 06:59:09 06:54:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:59:09 06:54:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:59:09 06:55:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 06:59:09 06:55:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:59:09 06:55:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:59:09 06:56:01 eth0 0.08 0.08 0.01 0.01 0.00 0.00 0.00 0.00 06:59:09 06:56:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:59:09 06:56:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:59:09 06:57:01 eth0 394.56 350.59 4073.24 28.52 0.00 0.00 0.00 0.00 06:59:09 06:57:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:59:09 06:57:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:59:09 06:58:01 eth0 446.16 397.37 3488.20 92.81 0.00 0.00 0.00 0.00 06:59:09 06:58:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:59:09 06:58:01 docker0 31.11 30.40 2.97 159.00 0.00 0.00 0.00 0.00 06:59:09 06:59:01 eth0 305.32 245.27 2414.56 78.79 0.00 0.00 0.00 0.00 06:59:09 06:59:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:59:09 06:59:01 docker0 21.03 29.18 1.29 185.19 0.00 0.00 0.00 0.00 06:59:09 Average: eth0 122.66 105.60 1032.60 22.77 0.00 0.00 0.00 0.00 06:59:09 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:59:09 Average: docker0 5.42 6.13 0.47 34.84 0.00 0.00 0.00 0.00 06:59:09 06:59:09 06:59:09 ---> sar -P ALL: 06:59:09 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 12/02/20 _x86_64_ (4 CPU) 06:59:09 06:59:09 06:48:13 LINUX RESTART (4 CPU) 06:59:09 06:59:09 06:49:01 CPU %user %nice %system %iowait %steal %idle 06:59:09 06:50:01 all 2.45 0.00 1.78 0.41 0.00 95.35 06:59:09 06:50:01 0 2.75 0.00 1.98 0.13 0.00 95.14 06:59:09 06:50:01 1 2.18 0.00 1.64 1.14 0.02 95.02 06:59:09 06:50:01 2 2.44 0.00 1.81 0.17 0.00 95.58 06:59:09 06:50:01 3 2.43 0.00 1.71 0.20 0.00 95.66 06:59:09 06:51:01 all 0.16 0.00 0.04 0.00 0.00 99.80 06:59:09 06:51:01 0 0.25 0.00 0.02 0.00 0.00 99.73 06:59:09 06:51:01 1 0.07 0.00 0.05 0.00 0.00 99.88 06:59:09 06:51:01 2 0.28 0.00 0.05 0.00 0.00 99.67 06:59:09 06:51:01 3 0.03 0.00 0.03 0.00 0.00 99.93 06:59:09 06:52:01 all 0.16 0.00 0.04 0.00 0.00 99.80 06:59:09 06:52:01 0 0.03 0.00 0.02 0.00 0.02 99.93 06:59:09 06:52:01 1 0.05 0.00 0.07 0.00 0.00 99.88 06:59:09 06:52:01 2 0.52 0.00 0.02 0.00 0.00 99.47 06:59:09 06:52:01 3 0.03 0.00 0.05 0.00 0.00 99.92 06:59:09 06:53:01 all 0.12 0.00 0.05 0.00 0.01 99.81 06:59:09 06:53:01 0 0.05 0.00 0.05 0.00 0.00 99.90 06:59:09 06:53:01 1 0.05 0.00 0.05 0.00 0.02 99.88 06:59:09 06:53:01 2 0.37 0.00 0.08 0.00 0.02 99.53 06:59:09 06:53:01 3 0.02 0.00 0.03 0.00 0.02 99.93 06:59:09 06:54:01 all 0.08 0.00 0.15 0.00 0.02 99.75 06:59:09 06:54:01 0 0.08 0.00 0.08 0.00 0.02 99.82 06:59:09 06:54:01 1 0.10 0.00 0.17 0.00 0.03 99.70 06:59:09 06:54:01 2 0.10 0.00 0.15 0.00 0.02 99.73 06:59:09 06:54:01 3 0.05 0.00 0.22 0.00 0.00 99.73 06:59:09 06:55:01 all 0.03 0.00 0.03 0.00 0.00 99.94 06:59:09 06:55:01 0 0.03 0.00 0.05 0.00 0.00 99.92 06:59:09 06:55:01 1 0.02 0.00 0.02 0.00 0.00 99.97 06:59:09 06:55:01 2 0.02 0.00 0.03 0.00 0.00 99.95 06:59:09 06:55:01 3 0.03 0.00 0.03 0.00 0.00 99.93 06:59:09 06:56:01 all 0.17 0.00 0.02 0.00 0.00 99.81 06:59:09 06:56:01 0 0.55 0.00 0.03 0.00 0.00 99.42 06:59:09 06:56:01 1 0.03 0.00 0.02 0.00 0.00 99.95 06:59:09 06:56:01 2 0.05 0.00 0.03 0.00 0.00 99.92 06:59:09 06:56:01 3 0.03 0.00 0.02 0.00 0.00 99.95 06:59:09 06:57:01 all 4.95 0.00 3.36 0.69 0.02 90.98 06:59:09 06:57:01 0 5.31 0.00 3.49 0.56 0.02 90.62 06:59:09 06:57:01 1 4.96 0.00 3.58 1.55 0.02 89.90 06:59:09 06:57:01 2 4.71 0.00 3.26 0.67 0.02 91.33 06:59:09 06:57:01 3 4.81 0.00 3.09 0.00 0.02 92.08 06:59:09 06:58:01 all 14.57 0.00 11.05 5.01 0.05 69.32 06:59:09 06:58:01 0 13.69 0.00 11.56 5.03 0.03 69.69 06:59:09 06:58:01 1 14.05 0.00 10.68 4.99 0.07 70.21 06:59:09 06:58:01 2 14.38 0.00 11.09 4.69 0.03 69.80 06:59:09 06:58:01 3 16.15 0.00 10.89 5.34 0.07 67.55 06:59:09 06:59:01 all 9.04 0.00 7.00 3.79 0.02 80.16 06:59:09 06:59:01 0 12.43 0.00 7.79 2.86 0.03 76.88 06:59:09 06:59:01 1 7.02 0.00 6.87 3.47 0.02 82.63 06:59:09 06:59:01 2 7.55 0.00 6.37 3.08 0.02 82.98 06:59:09 06:59:01 3 9.15 0.00 6.95 5.75 0.02 78.14 06:59:09 Average: all 3.13 0.00 2.32 0.97 0.01 93.57 06:59:09 Average: 0 3.47 0.00 2.47 0.84 0.01 93.20 06:59:09 Average: 1 2.81 0.00 2.28 1.10 0.02 93.79 06:59:09 Average: 2 3.00 0.00 2.26 0.85 0.01 93.88 06:59:09 Average: 3 3.22 0.00 2.26 1.11 0.01 93.40 06:59:09 06:59:09 06:59:09