root / t / todo.org @ ad9a1aac
Historique | Voir | Annoter | Télécharger (2,85 ko)
| 1 |
* munin contrib - plugin tests |
|---|---|
| 2 |
|
| 3 |
Summary: |
| 4 |
|
| 5 |
Failed 5/1006 subtests |
| 6 |
|
| 7 |
(less 1 skipped subtest: 1000 okay) |
| 8 |
|
| 9 |
** [0/1] Failing test |
| 10 |
*** TODO Failed test 'plugins/snmp/snmp__brocade_ifs: python compile' |
| 11 |
|
| 12 |
python plugin with error in regular expression string. |
| 13 |
|
| 14 |
#+BEGIN_EXAMPLE |
| 15 |
# at t/test.t line 162. |
| 16 |
# |
| 17 |
# Command: python -m py_compile snmp__brocade_ifs |
| 18 |
# |
| 19 |
# STDOUT: |
| 20 |
# |
| 21 |
# |
| 22 |
# |
| 23 |
# STDERR: |
| 24 |
# |
| 25 |
# SyntaxError: ('invalid syntax', ('snmp__brocade_ifs', 272, 22, "regex_str = '^snmp_'(.+)'_brocade_ifs'\n"))
|
| 26 |
# |
| 27 |
# |
| 28 |
#+END_EXAMPLE |
| 29 |
|
| 30 |
|
| 31 |
** [0/4] False positives |
| 32 |
|
| 33 |
*** TODO not ok 110 - plugins/system/solaris-memstat: ksh syntax check |
| 34 |
|
| 35 |
Can't see what's wrong here. False positive? |
| 36 |
|
| 37 |
#+BEGIN_EXAMPLE |
| 38 |
# Failed test 'plugins/system/solaris-memstat: ksh syntax check' |
| 39 |
# at t/test.t line 169. |
| 40 |
# |
| 41 |
# Command: ksh -n solaris-memstat |
| 42 |
# |
| 43 |
# STDOUT: |
| 44 |
# |
| 45 |
# |
| 46 |
# |
| 47 |
# STDERR: |
| 48 |
# |
| 49 |
# solaris-memstat: syntax error at line 119: `if' unmatched |
| 50 |
# |
| 51 |
# |
| 52 |
#+END_EXAMPLE |
| 53 |
|
| 54 |
*** TODO not ok 191 - plugins/snmp/snmp__webthermometer |
| 55 |
|
| 56 |
False positive in "checkbashisms". It looks for $HOSTNAME, which is |
| 57 |
set implicitly by bash, but explicitly by the plugin. |
| 58 |
|
| 59 |
#+BEGIN_EXAMPLE |
| 60 |
# Subtest: plugins/snmp/snmp__webthermometer |
| 61 |
1..2 |
| 62 |
ok 1 - sh syntax check |
| 63 |
not ok 2 - checkbashisms |
| 64 |
# Failed test 'checkbashisms' |
| 65 |
# at t/test.t line 169. |
| 66 |
# |
| 67 |
# Command: checkbashisms snmp__webthermometer |
| 68 |
# |
| 69 |
# STDOUT: |
| 70 |
# |
| 71 |
# |
| 72 |
# |
| 73 |
# STDERR: |
| 74 |
# |
| 75 |
# possible bashism in snmp__webthermometer line 44 ($HOST(TYPE|NAME)): |
| 76 |
# HOSTNAME=`echo $HOSTNAME | sed -e 's/\.$//'` |
| 77 |
# possible bashism in snmp__webthermometer line 47 ($HOST(TYPE|NAME)): |
| 78 |
# echo file $FILE dir $DIR hostname $HOSTNAME linkdir $LINKDIR linkfile $LINKFILE |
| 79 |
# |
| 80 |
# |
| 81 |
# Looks like you failed 1 test of 2. |
| 82 |
#+END_EXAMPLE |
| 83 |
|
| 84 |
*** TODO not ok 319 - plugins/rabbitmq/rabbitmq_connections |
| 85 |
|
| 86 |
False positive in "checkbashisms". |
| 87 |
|
| 88 |
#+BEGIN_EXAMPLE |
| 89 |
# Subtest: plugins/rabbitmq/rabbitmq_connections |
| 90 |
1..2 |
| 91 |
ok 1 - sh syntax check |
| 92 |
not ok 2 - checkbashisms |
| 93 |
# Failed test 'checkbashisms' |
| 94 |
# at t/test.t line 169. |
| 95 |
# |
| 96 |
# Command: checkbashisms rabbitmq_connections |
| 97 |
# |
| 98 |
# STDOUT: |
| 99 |
# |
| 100 |
# |
| 101 |
# |
| 102 |
# STDERR: |
| 103 |
# |
| 104 |
# possible bashism in rabbitmq_connections line 66 ($"foo" should be eval_gettext "foo"): |
| 105 |
# echo "connections.value $(HOME=$HOME rabbitmqctl list_connections | grep -v "^Listing" | grep -v "done.$" | wc -l)" |
| 106 |
# |
| 107 |
# |
| 108 |
# Looks like you failed 1 test of 2. |
| 109 |
not ok 319 - plugins/rabbitmq/rabbitmq_connections |
| 110 |
# Failed test 'plugins/rabbitmq/rabbitmq_connections' |
| 111 |
# at t/test.t line 64. |
| 112 |
#+END_EXAMPLE |
| 113 |
|
| 114 |
|
| 115 |
** [0/1] Blame the CI provider |
| 116 |
|
| 117 |
*** TODO not ok 536 - plugins/network/multi_tcp_ping: perl syntax check |
| 118 |
|
| 119 |
Perl on travis-ci not built to support threads |
| 120 |
|
| 121 |
#+BEGIN_EXAMPLE |
| 122 |
# Failed test 'plugins/network/multi_tcp_ping: perl syntax check' |
| 123 |
# at t/test.t line 169. |
| 124 |
# |
| 125 |
# Command: perl -cw multi_tcp_ping |
| 126 |
# |
| 127 |
# STDOUT: |
| 128 |
# |
| 129 |
# |
| 130 |
# |
| 131 |
# STDERR: |
| 132 |
# |
| 133 |
# This Perl not built to support threads |
| 134 |
# Compilation failed in require at multi_tcp_ping line 75. |
| 135 |
# BEGIN failed--compilation aborted at multi_tcp_ping line 75. |
| 136 |
# |
| 137 |
# |
| 138 |
#+END_EXAMPLE |
