Subunit.pm incorrect works with months

Bug #911237 reported by Oleg Tsarev on 2012-01-03
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Server
Undecided
Laurynas Biveinis
5.1
Undecided
Oleg Tsarev
5.5
Undecided
Laurynas Biveinis
Rnt-5.1
Undecided
Oleg Tsarev

Bug Description

oleg.tsarev (0) /storage/dev/percona/percona_server_5.1/debug/mysql-test$ cat test_results.subunit | PYTHONPATH=../../python-for-subunit2junitxml ../../subunit2junitxml
Traceback (most recent call last):
  File "../../subunit2junitxml", line 56, in <module>
    test.run(result)
  File "/storage/dev/percona/percona_server_5.1/python-for-subunit2junitxml/subunit/__init__.py", line 1149, in run
    protocol.lineReceived(line)
  File "/storage/dev/percona/percona_server_5.1/python-for-subunit2junitxml/subunit/__init__.py", line 548, in lineReceived
    self._state.lineReceived(line)
  File "/storage/dev/percona/percona_server_5.1/python-for-subunit2junitxml/subunit/__init__.py", line 251, in lineReceived
    self.parser._handleTime(offset, line)
  File "/storage/dev/percona/percona_server_5.1/python-for-subunit2junitxml/subunit/__init__.py", line 540, in _handleTime
    event_time = iso8601.parse_date(line[offset:-1])
  File "/storage/dev/percona/percona_server_5.1/python-for-subunit2junitxml/subunit/iso8601.py", line 133, in parse_date
    int(groups["fraction"]), tz)
ValueError: month must be in 1..12

Related branches

lp:~tsarev/percona-server/5.1_fix_bug_911237
Merged into lp:percona-server/5.1 at revision 415
Stewart Smith (community): Approve on 2012-01-04
lp:~tsarev/percona-server/rnt-5.1_fix_bug_911237
Merged into lp:percona-server/rnt-5.1 at revision 207
Stewart Smith (community): Approve on 2012-01-04
lp:~laurynas-biveinis/percona-server/bug911237-5.5
Merged into lp:percona-server/5.5 at revision 202
Laurynas Biveinis: Approve on 2012-01-04
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers