Subunit.pm incorrect works with months

Bug #911237 reported by Oleg Tsarev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Server moved to https://jira.percona.com/projects/PS
Fix Released
Undecided
Laurynas Biveinis
5.1
Fix Released
Undecided
Oleg Tsarev
5.5
Fix Released
Undecided
Laurynas Biveinis
Rnt-5.1
Fix Released
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

Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PS-2721

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.