root / t / todo.org @ a9d8c625
Historique | Voir | Annoter | Télécharger (7,3 ko)
| 1 | a9d8c625 | Stig Sandbeck Mathisen | * [0/12] tests |
|---|---|---|---|
| 2 | |||
| 3 | 11/1006 ok |
||
| 4 | |||
| 5 | (less 110 skipped, 883 okay) |
||
| 6 | |||
| 7 | ** TODO ok 1 # skip need better syntax check for python |
||
| 8 | |||
| 9 | Not really OK, we need a useful syntax check for python. |
||
| 10 | |||
| 11 | 109 of these. |
||
| 12 | |||
| 13 | ** TODO not ok 18 - plugins/zeo/zeo_monitor_: perl syntax check |
||
| 14 | |||
| 15 | Looks like perl -T also sanitizes PERL5LIB, since this is set to |
||
| 16 | include /usr/share/perl5, where Munin::Plugin is. |
||
| 17 | |||
| 18 | #+BEGIN_EXAMPLE |
||
| 19 | # Failed test 'plugins/zeo/zeo_monitor_: perl syntax check' |
||
| 20 | # at t/test.t line 169. |
||
| 21 | # |
||
| 22 | # Command: perl -cwT zeo_monitor_ |
||
| 23 | # |
||
| 24 | # STDOUT: |
||
| 25 | # |
||
| 26 | # |
||
| 27 | # |
||
| 28 | # STDERR: |
||
| 29 | # |
||
| 30 | # Can't locate Munin/Plugin.pm in @INC (@INC contains: /home/travis/perl5/perlbrew/perls/5.14/lib/site_perl/5.14.4/x86_64-linux /home/travis/perl5/perlbrew/perls/5.14/lib/site_perl/5.14.4 /home/travis/perl5/perlbrew/perls/5.14/lib/5.14.4/x86_64-linux /home/travis/perl5/perlbrew/perls/5.14/lib/5.14.4) at zeo_monitor_ line 67. |
||
| 31 | # BEGIN failed--compilation aborted at zeo_monitor_ line 67. |
||
| 32 | #+END_EXAMPLE |
||
| 33 | |||
| 34 | ** TODO not ok 64 - plugins/virtualization/vmware/esx_: perl syntax check |
||
| 35 | |||
| 36 | Missing perl module. VMware::VIRuntime. Not on CPAN. |
||
| 37 | |||
| 38 | #+BEGIN_EXAMPLE |
||
| 39 | # Failed test 'plugins/virtualization/vmware/esx_: perl syntax check' |
||
| 40 | # at t/test.t line 169. |
||
| 41 | # |
||
| 42 | # Command: perl -cw esx_ |
||
| 43 | # |
||
| 44 | # STDOUT: |
||
| 45 | # |
||
| 46 | # |
||
| 47 | # |
||
| 48 | # STDERR: |
||
| 49 | # |
||
| 50 | # Can't locate VMware/VIRuntime.pm in @INC (@INC contains: /usr/share/perl5 /home/travis/perl5/perlbrew/perls/5.14/lib/site_perl/5.14.4/x86_64-linux /home/travis/perl5/perlbrew/perls/5.14/lib/site_perl/5.14.4 /home/travis/perl5/perlbrew/perls/5.14/lib/5.14.4/x86_64-linux /home/travis/perl5/perlbrew/perls/5.14/lib/5.14.4 .) at esx_ line 118. |
||
| 51 | # BEGIN failed--compilation aborted at esx_ line 118. |
||
| 52 | # |
||
| 53 | #+END_EXAMPLE |
||
| 54 | ** TODO not ok 109 - plugins/system/swapspace-info: perl syntax check |
||
| 55 | |||
| 56 | Missing Sun::Solaris::Kstat. Not on CPAN |
||
| 57 | |||
| 58 | #+BEGIN_EXAMPLE |
||
| 59 | |||
| 60 | # Failed test 'plugins/system/swapspace-info: perl syntax check' |
||
| 61 | # at t/test.t line 169. |
||
| 62 | # |
||
| 63 | # Command: perl -cw swapspace-info |
||
| 64 | # |
||
| 65 | # STDOUT: |
||
| 66 | # |
||
| 67 | # |
||
| 68 | # |
||
| 69 | # STDERR: |
||
| 70 | # |
||
| 71 | # Can't locate Sun/Solaris/Kstat.pm in @INC (@INC contains: /usr/share/perl5 /home/travis/perl5/perlbrew/perls/5.14/lib/site_perl/5.14.4/x86_64-linux /home/travis/perl5/perlbrew/perls/5.14/lib/site_perl/5.14.4 /home/travis/perl5/perlbrew/perls/5.14/lib/5.14.4/x86_64-linux /home/travis/perl5/perlbrew/perls/5.14/lib/5.14.4 .) at swapspace-info line 74. |
||
| 72 | # BEGIN failed--compilation aborted at swapspace-info line 74. |
||
| 73 | # |
||
| 74 | |||
| 75 | #+END_EXAMPLE |
||
| 76 | |||
| 77 | ** TODO not ok 110 - plugins/system/solaris-memstat: ksh syntax check |
||
| 78 | |||
| 79 | Can't see what's wrong here. False positive? |
||
| 80 | |||
| 81 | #+BEGIN_EXAMPLE |
||
| 82 | # Failed test 'plugins/system/solaris-memstat: ksh syntax check' |
||
| 83 | # at t/test.t line 169. |
||
| 84 | # |
||
| 85 | # Command: ksh -n solaris-memstat |
||
| 86 | # |
||
| 87 | # STDOUT: |
||
| 88 | # |
||
| 89 | # |
||
| 90 | # |
||
| 91 | # STDERR: |
||
| 92 | # |
||
| 93 | # solaris-memstat: syntax error at line 119: `if' unmatched |
||
| 94 | # |
||
| 95 | # |
||
| 96 | #+END_EXAMPLE |
||
| 97 | |||
| 98 | ** TODO not ok 112 - plugins/system/raminfo: perl syntax check |
||
| 99 | |||
| 100 | Missing Sun::Solaris::Kstat. Not on CPAN |
||
| 101 | |||
| 102 | #+BEGIN_EXAMPLE |
||
| 103 | # Failed test 'plugins/system/raminfo: perl syntax check' |
||
| 104 | # at t/test.t line 169. |
||
| 105 | # |
||
| 106 | # Command: perl -cw raminfo |
||
| 107 | # |
||
| 108 | # STDOUT: |
||
| 109 | # |
||
| 110 | # |
||
| 111 | # |
||
| 112 | # STDERR: |
||
| 113 | # |
||
| 114 | # Can't locate Sun/Solaris/Kstat.pm in @INC (@INC contains: /usr/share/perl5 /home/travis/perl5/perlbrew/perls/5.14/lib/site_perl/5.14.4/x86_64-linux /home/travis/perl5/perlbrew/perls/5.14/lib/site_perl/5.14.4 /home/travis/perl5/perlbrew/perls/5.14/lib/5.14.4/x86_64-linux /home/travis/perl5/perlbrew/perls/5.14/lib/5.14.4 .) at raminfo line 76. |
||
| 115 | # BEGIN failed--compilation aborted at raminfo line 76. |
||
| 116 | # |
||
| 117 | # |
||
| 118 | #+END_EXAMPLE |
||
| 119 | |||
| 120 | ** TODO not ok 191 - plugins/snmp/snmp__webthermometer |
||
| 121 | |||
| 122 | False positive in "checkbashisms". It looks for $HOSTNAME, which is |
||
| 123 | set implicitly by bash, but explicitly by the plugin. |
||
| 124 | |||
| 125 | #+BEGIN_EXAMPLE |
||
| 126 | # Subtest: plugins/snmp/snmp__webthermometer |
||
| 127 | 1..2 |
||
| 128 | ok 1 - sh syntax check |
||
| 129 | not ok 2 - checkbashisms |
||
| 130 | # Failed test 'checkbashisms' |
||
| 131 | # at t/test.t line 169. |
||
| 132 | # |
||
| 133 | # Command: checkbashisms snmp__webthermometer |
||
| 134 | # |
||
| 135 | # STDOUT: |
||
| 136 | # |
||
| 137 | # |
||
| 138 | # |
||
| 139 | # STDERR: |
||
| 140 | # |
||
| 141 | # possible bashism in snmp__webthermometer line 44 ($HOST(TYPE|NAME)): |
||
| 142 | # HOSTNAME=`echo $HOSTNAME | sed -e 's/\.$//'` |
||
| 143 | # possible bashism in snmp__webthermometer line 47 ($HOST(TYPE|NAME)): |
||
| 144 | # echo file $FILE dir $DIR hostname $HOSTNAME linkdir $LINKDIR linkfile $LINKFILE |
||
| 145 | # |
||
| 146 | # |
||
| 147 | # Looks like you failed 1 test of 2. |
||
| 148 | #+END_EXAMPLE |
||
| 149 | |||
| 150 | ** TODO not ok 319 - plugins/rabbitmq/rabbitmq_connections |
||
| 151 | |||
| 152 | False positive in "checkbashisms". |
||
| 153 | |||
| 154 | #+BEGIN_EXAMPLE |
||
| 155 | # Subtest: plugins/rabbitmq/rabbitmq_connections |
||
| 156 | 1..2 |
||
| 157 | ok 1 - sh syntax check |
||
| 158 | not ok 2 - checkbashisms |
||
| 159 | # Failed test 'checkbashisms' |
||
| 160 | # at t/test.t line 169. |
||
| 161 | # |
||
| 162 | # Command: checkbashisms rabbitmq_connections |
||
| 163 | # |
||
| 164 | # STDOUT: |
||
| 165 | # |
||
| 166 | # |
||
| 167 | # |
||
| 168 | # STDERR: |
||
| 169 | # |
||
| 170 | # possible bashism in rabbitmq_connections line 66 ($"foo" should be eval_gettext "foo"): |
||
| 171 | # echo "connections.value $(HOME=$HOME rabbitmqctl list_connections | grep -v "^Listing" | grep -v "done.$" | wc -l)" |
||
| 172 | # |
||
| 173 | # |
||
| 174 | # Looks like you failed 1 test of 2. |
||
| 175 | not ok 319 - plugins/rabbitmq/rabbitmq_connections |
||
| 176 | # Failed test 'plugins/rabbitmq/rabbitmq_connections' |
||
| 177 | # at t/test.t line 64. |
||
| 178 | #+END_EXAMPLE |
||
| 179 | |||
| 180 | ** TODO not ok 536 - plugins/network/multi_tcp_ping: perl syntax check |
||
| 181 | |||
| 182 | threads… |
||
| 183 | |||
| 184 | #+BEGIN_EXAMPLE |
||
| 185 | # Failed test 'plugins/network/multi_tcp_ping: perl syntax check' |
||
| 186 | # at t/test.t line 169. |
||
| 187 | # |
||
| 188 | # Command: perl -cw multi_tcp_ping |
||
| 189 | # |
||
| 190 | # STDOUT: |
||
| 191 | # |
||
| 192 | # |
||
| 193 | # |
||
| 194 | # STDERR: |
||
| 195 | # |
||
| 196 | # This Perl not built to support threads |
||
| 197 | # Compilation failed in require at multi_tcp_ping line 75. |
||
| 198 | # BEGIN failed--compilation aborted at multi_tcp_ping line 75. |
||
| 199 | # |
||
| 200 | # |
||
| 201 | #+END_EXAMPLE |
||
| 202 | |||
| 203 | ** TODO not ok 538 - plugins/network/ldap_connections |
||
| 204 | |||
| 205 | False positive at 'ESTABLISHED$"'. |
||
| 206 | |||
| 207 | Still, quite horrible shell code. |
||
| 208 | |||
| 209 | #+BEGIN_EXAMPLE |
||
| 210 | # Subtest: plugins/network/ldap_connections |
||
| 211 | 1..2 |
||
| 212 | ok 1 - sh syntax check |
||
| 213 | not ok 2 - checkbashisms |
||
| 214 | # Failed test 'checkbashisms' |
||
| 215 | # at t/test.t line 169. |
||
| 216 | # |
||
| 217 | # Command: checkbashisms ldap_connections |
||
| 218 | # |
||
| 219 | # STDOUT: |
||
| 220 | # |
||
| 221 | # |
||
| 222 | # |
||
| 223 | # STDERR: |
||
| 224 | # |
||
| 225 | # possible bashism in ldap_connections line 130 ($"foo" should be eval_gettext "foo"): |
||
| 226 | # echo "$(echo $ip | sed 's/\./_/g')_${port}.value $(grep "^tcp[46]\{0,1\}\([[:space:]]\{1,\}[[:digit:]]\{1,\}\)\{2\}[[:space:]]\{1,\}$ip[\.:]$port[[:space:]].*ESTABLISHED$" $TEMP_FILE | wc -l | sed 's/[[:space:]]*//g')"
|
||
| 227 | # |
||
| 228 | # |
||
| 229 | # Looks like you failed 1 test of 2. |
||
| 230 | #+END_EXAMPLE |
||
| 231 | |||
| 232 | ** TODO not ok 572 - plugins/network/d-link-dir-655-router-statistics-plugin: ruby syntax check |
||
| 233 | |||
| 234 | No idea |
||
| 235 | |||
| 236 | #+BEGIN_EXAMPLE |
||
| 237 | # Failed test 'plugins/network/d-link-dir-655-router-statistics-plugin: ruby syntax check' |
||
| 238 | # at t/test.t line 169. |
||
| 239 | # |
||
| 240 | # Command: ruby -cw d-link-dir-655-router-statistics-plugin |
||
| 241 | # |
||
| 242 | # STDOUT: |
||
| 243 | # |
||
| 244 | # |
||
| 245 | # |
||
| 246 | # STDERR: |
||
| 247 | # |
||
| 248 | # /home/travis/.rvm/rubies/ruby-1.9.3-p547/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:54:in `require': cannot load such file -- auto_gem (LoadError) |
||
| 249 | # from /home/travis/.rvm/rubies/ruby-1.9.3-p547/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:54:in `require' |
||
| 250 | # |
||
| 251 | # |
||
| 252 | #+END_EXAMPLE |
||
| 253 | |||
| 254 | ** TODO not ok 627 - plugins/mythtv/mythtv_status_: perl syntax check |
||
| 255 | |||
| 256 | Missing perl module MythTV, not on CPAN. |
||
| 257 | |||
| 258 | #+BEGIN_EXAMPLE |
||
| 259 | # Failed test 'plugins/mythtv/mythtv_status_: perl syntax check' |
||
| 260 | # at t/test.t line 169. |
||
| 261 | # |
||
| 262 | # Command: perl -cw mythtv_status_ |
||
| 263 | # |
||
| 264 | # STDOUT: |
||
| 265 | # |
||
| 266 | # |
||
| 267 | # |
||
| 268 | # STDERR: |
||
| 269 | # |
||
| 270 | # Can't locate MythTV.pm in @INC (@INC contains: /usr/share/perl5 /home/travis/perl5/perlbrew/perls/5.14/lib/site_perl/5.14.4/x86_64-linux /home/travis/perl5/perlbrew/perls/5.14/lib/site_perl/5.14.4 /home/travis/perl5/perlbrew/perls/5.14/lib/5.14.4/x86_64-linux /home/travis/perl5/perlbrew/perls/5.14/lib/5.14.4 .) at mythtv_status_ line 74. |
||
| 271 | # BEGIN failed--compilation aborted at mythtv_status_ line 74. |
||
| 272 | # |
||
| 273 | # |
||
| 274 | #+END_EXAMPLE |
