[Reproducible-builds] Bug#817881: fail2ban: FTBFS: AssertionError: None among ('Lines: 19 lines, 0 ignored, 13 matched, 6 missed', ) was found in the log

Chris Lamb lamby at debian.org
Fri Mar 11 08:52:18 UTC 2016


Source: fail2ban
Version: 0.9.4-1
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org

Dear Maintainer,

fail2ban fails to build from source in unstable/amd64:

  [..]
  ........................s...........................................................................s................................................................................................................................F.......................s..
  ======================================================================
  FAIL: testDirectRE_1 (fail2ban.tests.fail2banregextestcase.Fail2banRegexTest)
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/home/lamby/temp/cdt.20160311083335.YTS3bZc0at/fail2ban-0.9.4/.pybuild/pythonX.Y_3.5/build/fail2ban/tests/fail2banregextestcase.py", line 127, in testDirectRE_1
      self.assertLogged('Lines: 19 lines, 0 ignored, 13 matched, 6 missed')
    File "/home/lamby/temp/cdt.20160311083335.YTS3bZc0at/fail2ban-0.9.4/.pybuild/pythonX.Y_3.5/build/fail2ban/tests/utils.py", line 266, in assertLogged
      raise AssertionError("None among %r was found in the log: %r" % (s, logged))
  AssertionError: None among ('Lines: 19 lines, 0 ignored, 13 matched, 6 missed',) was found in the log: 'Setting usedns = warn for Filter(None)\nCreated Filter(None)\nUse   failregex line : (?:(?:Authentication failure|Failed [-/\\w+]+) for(...\nUse         log file : /home/lamby/temp/cdt.20160311083335.YTS3bZc0at/fail2ban-0.9.4/.pybuild/pythonX.Y_3.5/build/fail2ban/tests/files/testcase01.log\nUse         encoding : UTF-8\n\nError decoding line from \'<LOG>\' with \'UTF-8\'. Consider setting logencoding=utf-8 (or another appropriate encoding) for this jail. Continuing to process line ignoring invalid characters: b\'D\\xe9c 31 11:59:59 [sshd] error: PAM: Authentication failure for kevin from 193.168.0.128\\n\'\nFound a match for \'D�c 31 11:59:59 [sshd] error: PAM: Authentication failure for kevin from 193.168.0.128\' but no valid date/time found for \'D�c 31 11:59:59 [sshd] error: PAM: Authentication failure for kevin from 193.168.0.128\'. Please try setting a custom date pattern (see man page jail.conf(5)). If format is complex, please file a detailed issue on https://github.com/fail2ban/fail2ban/issues in order to get support for this format.\nSorting the template list\nWinning template: (?:DAY )?MON Day 24hour:Minute:Second(?:\\.Microseconds)?(?: Year)? with 0 hits\nError decoding line from \'<LOG>\' with \'UTF-8\'. Consider setting logencoding=utf-8 (or another appropriate encoding) for this jail. Continuing to process line ignoring invalid characters: b\'D\\xe9c 31 11:59:59 [sshd] error: PAM: Authentication failure for kevin from 193.168.0.128\\n\'\nFound a match for \'D�c 31 11:59:59 [sshd] error: PAM: Authentication failure for kevin from 193.168.0.128\' but no valid date/time found for \'D�c 31 11:59:59 [sshd] error: PAM: Authentication failure for kevin from 193.168.0.128\'. Please try setting a custom date pattern (see man page jail.conf(5)). If format is complex, please file a detailed issue on https://github.com/fail2ban/fail2ban/issues in order to get support for this format.\nError decoding line from \'<LOG>\' with \'UTF-8\'. Consider setting logencoding=utf-8 (or another appropriate encoding) for this jail. Continuing to process line ignoring invalid characters: b\'D\\xe9c 31 11:59:59 [sshd] error: PAM: Authentication failure for kevin from 193.168.0.128\\n\'\nFound a match for \'D�c 31 11:59:59 [sshd] error: PAM: Authentication failure for kevin from 193.168.0.128\' but no valid date/time found for \'D�c 31 11:59:59 [sshd] error: PAM: Authentication failure for kevin from 193.168.0.128\'. Please try setting a custom date pattern (see man page jail.conf(5)). If format is complex, please file a detailed issue on https://github.com/fail2ban/fail2ban/issues in order to get support for this format.\nMatched time template (?:DAY )?MON Day 24hour:Minute:Second(?:\\.Microseconds)?(?: Year)?\nGot time 1451563199.000000 for "\'Dec 31 11:59:59\'" using template (?:DAY )?MON Day 24hour:Minute:Second(?:\\.Microseconds)?(?: Year)?\nDetermined IP using DNS Lookup: failed.dns.ch = [\'92.242.132.15\']\nMatched time template (?:DAY )?MON Day 24hour:Minute:Second(?:\\.Microseconds)?(?: Year)?\nGot time 1451563199.000000 for "\'Dec 31 11:59:59\'" using template (?:DAY )?MON Day 24hour:Minute:Second(?:\\.Microseconds)?(?: Year)?\nDetermined IP using DNS Lookup: failed.dns.ch = [\'92.242.132.15\']\nMatched time template (?:DAY )?MON Day 24hour:Minute:Second(?:\\.Microseconds)?(?: Year)?\nGot time 1451563199.000000 for "\'Dec 31 11:59:59\'" using template (?:DAY )?MON Day 24hour:Minute:Second(?:\\.Microseconds)?(?: Year)?\nDetermined IP using DNS Lookup: failed.dns.ch = [\'92.242.132.15\']\nSorting the template list\nWinning template: (?:DAY )?MON Day 24hour:Minute:Second(?:\\.Microseconds)?(?: Year)? with 3 hits\nMatched time template (?:DAY )?MON Day 24hour:Minute:Second(?:\\.Microseconds)?(?: Year)?\nGot time 1439549999.000000 for "\'Aug 14 11:59:59\'" using template (?:DAY )?MON Day 24hour:Minute:Second(?:\\.Microseconds)?(?: Year)?\nMatched time template (?:DAY )?MON Day 24hour:Minute:Second(?:\\.Microseconds)?(?: Year)?\nGot time 1439549999.000000 for "\'Aug 14 11:59:59\'" using template (?:DAY )?MON Day 24hour:Minute:Second(?:\\.Microseconds)?(?: Year)?\nMatched time template (?:DAY )?MON Day 24hour:Minute:Second(?:\\.Microseconds)?(?: Year)?\nGot time 1439549999.000000 for "\'Aug 14 11:59:59\'" using template (?:DAY )?MON Day 24hour:Minute:Second(?:\\.Microseconds)?(?: Year)?\nMatched time template (?:DAY )?MON Day 24hour:Minute:Second(?:\\.Microseconds)?(?: Year)?\nGot time 1451563199.000000 for "\'Dec 31 11:59:59\'" using template (?:DAY )?MON Day 24hour:Minute:Second(?:\\.Microseconds)?(?: Year)?\nMatched time template (?:DAY )?MON Day 24hour:Minute:Second(?:\\.Microseconds)?(?: Year)?\nGot time 1451563199.000000 for "\'Dec 31 11:59:59\'" using template (?:DAY )?MON Day 24hour:Minute:Second(?:\\.Microseconds)?(?: Year)?\nMatched time template (?:DAY )?MON Day 24hour:Minute:Second(?:\\.Microseconds)?(?: Year)?\nGot time 1451563199.000000 for "\'Dec 31 11:59:59\'" using template (?:DAY )?MON Day 24hour:Minute:Second(?:\\.Microseconds)?(?: Year)?\nMatched time template (?:DAY )?MON Day 24hour:Minute:Second(?:\\.Microseconds)?(?: Year)?\nGot time 1451563199.000000 for "\'Dec 31 11:59:59\'" using template (?:DAY )?MON Day 24hour:Minute:Second(?:\\.Microseconds)?(?: Year)?\n\nResults\n=======\n\nFailregex: 16 total\n|-  #) [# of hits] regular expression\n|   1) [16] (?:(?:Authentication failure|Failed [-/\\w+]+) for(?: [iI](?:llegal|nvalid) user)?|[Ii](?:llegal|nvalid) user|ROOT LOGIN REFUSED) .*(?: from|FROM) <HOST>\n`-\n\nIgnoreregex: 0 total\n\nDate template hits:\n|- [# of hits] date format\n|  [10] (?:DAY )?MON Day 24hour:Minute:Second(?:\\.Microseconds)?(?: Year)?\n`-\n\nLines: 19 lines, 0 ignored, 16 matched, 3 missed\n[processed in 0.01 sec]\n\n|- Matched line(s):\n|  Dec 31 11:59:59 [sshd] error: PAM: Authentication failure for kevin from failed.dns.ch\n|  Dec 31 11:59:59 [sshd] error: PAM: Authentication failure for kevin from failed.dns.ch\n|  Dec 31 11:59:59 [sshd] error: PAM: Authentication failure for kevin from failed.dns.ch\n|  Dez 31 11:59:59 [sshd] error: PAM: Authentication failure for kevin from 193.168.0.128\n|  Dez 31 11:59:59 [sshd] error: PAM: Authentication failure for kevin from 193.168.0.128\n|  Dez 31 11:59:59 [sshd] error: PAM: Authentication failure for kevin from 193.168.0.128\n|  De  31 11:59:59 [sshd] error: PAM: Authentication failure for kevin from 193.168.0.128\n|  De  31 11:59:59 [sshd] error: PAM: Authentication failure for kevin from 193.168.0.128\n|  De  31 11:59:59 [sshd] error: PAM: Authentication failure for kevin from 193.168.0.128\n|  Aug 14 11:59:59 [sshd] error: PAM: Authentication failure for kevin from 193.168.0.128\n|  Aug 14 11:59:59 [sshd] error: PAM: Authentication failure for kevin from 193.168.0.128\n|  Aug 14 11:59:59 [sshd] error: PAM: Authentication failure for kevin from 193.168.0.128\n|  Dec 31 11:59:59 [sshd] error: PAM: Authentication failure for kevin from 87.142.124.10\n|  Dec 31 11:59:59 [sshd] error: PAM: Authentication failure for kevin from 87.142.124.10\n|  Dec 31 11:59:59 [sshd] error: PAM: Authentication failure for kevin from 87.142.124.10\n|  Dec 31 11:59:59 [sshd] error: PAM: Authentication failure for kevin from 87.142.124.10\n`-\n|- Missed line(s):\n|  D�c 31 11:59:59 [sshd] error: PAM: Authentication failure for kevin from 193.168.0.128\n|  D�c 31 11:59:59 [sshd] error: PAM: Authentication failure for kevin from 193.168.0.128\n|  D�c 31 11:59:59 [sshd] error: PAM: Authentication failure for kevin from 193.168.0.128\n`-\n'
  
  ----------------------------------------------------------------------
  Ran 256 tests in 76.127s
  
  FAILED (failures=1, skipped=3)
  debian/rules:52: recipe for target 'override_dh_auto_test' failed
  make[1]: *** [override_dh_auto_test] Error 1
  make[1]: Leaving directory '/home/lamby/temp/cdt.20160311083335.YTS3bZc0at/fail2ban-0.9.4'
  debian/rules:15: recipe for target 'build' failed
  make: *** [build] Error 2

  [..]

The full build log is attached.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fail2ban.0.9.4-1.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 3927 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20160311/0a32607e/attachment.obj>


More information about the Reproducible-builds mailing list