Add a net-info job builder macro

To assist in troubleshooting a variety of otherwise hard-to-diagnose
failure modes, add a builder macro to jobs so that we will be able
to see their interface addresses, routing table entries and network
neighbors.

Change-Id: I256c31312fa97dbc3aa44732cae99d066b57d223
This commit is contained in:
Jeremy Stanley 2014-03-19 00:06:03 +00:00
parent 5cbeb61788
commit 55370a54ab
15 changed files with 70 additions and 1 deletions

View File

@ -10,6 +10,7 @@
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe

View File

@ -10,6 +10,7 @@
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe

View File

@ -10,6 +10,7 @@
builders:
- link-logs
- net-info
- experimental-devstack-checkout
- shell: |
#!/bin/bash -xe
@ -37,6 +38,7 @@
builders:
- link-logs
- net-info
- experimental-devstack-checkout
- shell: |
#!/bin/bash -xe
@ -63,6 +65,7 @@
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
@ -103,6 +106,7 @@
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
@ -133,6 +137,7 @@
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
@ -163,6 +168,7 @@
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
@ -195,6 +201,7 @@
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
@ -227,6 +234,7 @@
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
@ -261,6 +269,7 @@
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
@ -293,6 +302,7 @@
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
@ -326,6 +336,7 @@
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
@ -357,6 +368,7 @@
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
@ -390,6 +402,7 @@
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
@ -424,6 +437,7 @@
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
@ -476,6 +490,7 @@
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
@ -508,6 +523,7 @@
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
@ -539,6 +555,7 @@
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
@ -571,6 +588,7 @@
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
@ -601,6 +619,7 @@
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
@ -633,6 +652,7 @@
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
@ -666,6 +686,7 @@
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
@ -698,6 +719,7 @@
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
@ -731,6 +753,7 @@
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
@ -758,6 +781,7 @@
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
@ -786,6 +810,7 @@
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
@ -814,6 +839,7 @@
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
@ -843,6 +869,7 @@
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
@ -871,6 +898,7 @@
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
@ -903,6 +931,7 @@
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
@ -935,6 +964,7 @@
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
@ -968,6 +998,7 @@
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
@ -999,6 +1030,7 @@
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
@ -1030,6 +1062,7 @@
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
@ -1061,6 +1094,7 @@
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe

View File

@ -5,6 +5,7 @@
builders:
- link-logs
- net-info
- gerrit-git-prep
- shell: |
#!/bin/bash -xe

View File

@ -240,6 +240,20 @@
echo "Detailed logs: http://logs.openstack.org/$LOG_PATH/"
- builder:
name: net-info
builders:
- shell: |
#!/bin/sh
echo "Network interface addresses..."
ip address show
echo "Network routing tables..."
ip route show
ip -6 route show
echo "Network neighbors..."
ip neighbor show
- builder:
name: update-pypi-mirror
builders:

View File

@ -10,6 +10,7 @@
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe

View File

@ -10,6 +10,7 @@
builders:
- link-logs
- net-info
- update-pypi-mirror
publishers:
@ -28,6 +29,7 @@
builders:
- link-logs
- net-info
- update-pypi-mirror
publishers:
@ -46,6 +48,7 @@
builders:
- link-logs
- net-info
- update-pypi-mirror
publishers:
@ -64,6 +67,7 @@
builders:
- link-logs
- net-info
- update-pypi-mirror
publishers:
@ -82,6 +86,7 @@
builders:
- link-logs
- net-info
- update-pypi-mirror
publishers:
@ -100,6 +105,7 @@
builders:
- link-logs
- net-info
- update-pypi-mirror
publishers:

View File

@ -10,6 +10,7 @@
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe

View File

@ -10,6 +10,7 @@
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe

View File

@ -9,6 +9,8 @@
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
@ -38,7 +40,6 @@
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
- link-logs
publishers:
- devstack-logs

View File

@ -10,6 +10,7 @@
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
@ -37,6 +38,7 @@
builders:
- link-logs
- net-info
- gerrit-git-prep
- shell: /usr/local/jenkins/slave_scripts/propose_requirements_update.sh

View File

@ -10,6 +10,7 @@
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe

View File

@ -10,6 +10,7 @@
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe

View File

@ -10,6 +10,7 @@
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe

View File

@ -10,6 +10,7 @@
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
@ -49,6 +50,7 @@
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
@ -88,6 +90,7 @@
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe