2
0
mirror of https://github.com/munin-monitoring/contrib.git synced 2018-11-08 00:59:34 +01:00
contrib-munin/t/todo.org

139 lines
2.9 KiB
Org Mode
Raw Normal View History

2014-10-05 11:52:56 +02:00
* munin contrib - plugin tests
2014-10-05 00:53:39 +02:00
Summary:
2014-10-05 00:53:39 +02:00
2014-10-05 15:32:35 +02:00
Failed 5/1006 subtests
2014-10-05 00:53:39 +02:00
2014-10-05 15:32:35 +02:00
(less 1 skipped subtest: 1000 okay)
2014-10-05 00:53:39 +02:00
2014-10-05 15:32:35 +02:00
** [0/1] Failing test
*** TODO Failed test 'plugins/snmp/snmp__brocade_ifs: python compile'
2014-10-05 00:53:39 +02:00
2014-10-05 15:32:35 +02:00
python plugin with error in regular expression string.
2014-10-05 11:52:56 +02:00
#+BEGIN_EXAMPLE
2014-10-05 15:32:35 +02:00
# at t/test.t line 162.
2014-10-05 11:52:56 +02:00
#
2014-10-05 15:32:35 +02:00
# Command: python -m py_compile snmp__brocade_ifs
2014-10-05 11:52:56 +02:00
#
# STDOUT:
#
#
#
# STDERR:
#
2014-10-05 15:32:35 +02:00
# SyntaxError: ('invalid syntax', ('snmp__brocade_ifs', 272, 22, "regex_str = '^snmp_'(.+)'_brocade_ifs'\n"))
2014-10-05 11:52:56 +02:00
#
#
#+END_EXAMPLE
2014-10-05 15:32:35 +02:00
2014-10-05 11:52:56 +02:00
** [0/4] False positives
*** TODO not ok 110 - plugins/system/solaris-memstat: ksh syntax check
2014-10-05 00:53:39 +02:00
Can't see what's wrong here. False positive?
#+BEGIN_EXAMPLE
# Failed test 'plugins/system/solaris-memstat: ksh syntax check'
# at t/test.t line 169.
#
# Command: ksh -n solaris-memstat
#
# STDOUT:
#
#
#
# STDERR:
#
# solaris-memstat: syntax error at line 119: `if' unmatched
#
#
#+END_EXAMPLE
2014-10-05 11:52:56 +02:00
*** TODO not ok 191 - plugins/snmp/snmp__webthermometer
2014-10-05 00:53:39 +02:00
False positive in "checkbashisms". It looks for $HOSTNAME, which is
set implicitly by bash, but explicitly by the plugin.
#+BEGIN_EXAMPLE
# Subtest: plugins/snmp/snmp__webthermometer
1..2
ok 1 - sh syntax check
not ok 2 - checkbashisms
# Failed test 'checkbashisms'
# at t/test.t line 169.
#
# Command: checkbashisms snmp__webthermometer
#
# STDOUT:
#
#
#
# STDERR:
#
# possible bashism in snmp__webthermometer line 44 ($HOST(TYPE|NAME)):
# HOSTNAME=`echo $HOSTNAME | sed -e 's/\.$//'`
# possible bashism in snmp__webthermometer line 47 ($HOST(TYPE|NAME)):
# echo file $FILE dir $DIR hostname $HOSTNAME linkdir $LINKDIR linkfile $LINKFILE
#
#
# Looks like you failed 1 test of 2.
#+END_EXAMPLE
2014-10-05 11:52:56 +02:00
*** TODO not ok 319 - plugins/rabbitmq/rabbitmq_connections
2014-10-05 00:53:39 +02:00
False positive in "checkbashisms".
#+BEGIN_EXAMPLE
# Subtest: plugins/rabbitmq/rabbitmq_connections
1..2
ok 1 - sh syntax check
not ok 2 - checkbashisms
# Failed test 'checkbashisms'
# at t/test.t line 169.
#
# Command: checkbashisms rabbitmq_connections
#
# STDOUT:
#
#
#
# STDERR:
#
# possible bashism in rabbitmq_connections line 66 ($"foo" should be eval_gettext "foo"):
# echo "connections.value $(HOME=$HOME rabbitmqctl list_connections | grep -v "^Listing" | grep -v "done.$" | wc -l)"
#
#
# Looks like you failed 1 test of 2.
not ok 319 - plugins/rabbitmq/rabbitmq_connections
# Failed test 'plugins/rabbitmq/rabbitmq_connections'
# at t/test.t line 64.
#+END_EXAMPLE
2014-10-05 11:52:56 +02:00
** [0/1] Blame the CI provider
*** TODO not ok 536 - plugins/network/multi_tcp_ping: perl syntax check
Perl on travis-ci not built to support threads
2014-10-05 00:53:39 +02:00
#+BEGIN_EXAMPLE
2014-10-05 11:52:56 +02:00
# Failed test 'plugins/network/multi_tcp_ping: perl syntax check'
2014-10-05 00:53:39 +02:00
# at t/test.t line 169.
#
2014-10-05 11:52:56 +02:00
# Command: perl -cw multi_tcp_ping
2014-10-05 00:53:39 +02:00
#
# STDOUT:
#
#
#
# STDERR:
#
2014-10-05 11:52:56 +02:00
# This Perl not built to support threads
# Compilation failed in require at multi_tcp_ping line 75.
# BEGIN failed--compilation aborted at multi_tcp_ping line 75.
2014-10-05 00:53:39 +02:00
#
#
#+END_EXAMPLE