distrorelease.txt test has a time bomb

Bug #78907 reported by Carlos Perelló Marín
2
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Critical
Carlos Perelló Marín

Bug Description

The problem is when the test is executed near the change of a minute, for instance at 2007-01-10 23:24:59+0000

In that test, we export two .po files that should be the same, but for this problem, the timestamps are different.

File "/srv/pqm.ubuntu.com/chroot-amd64/home/pqm/pqm-workdir/home/---devel/launchpad/lib/canonical/launchpad/ftests/../doc/distrorelease.txt", line 623, in distrorelease.txt

Failed example:

    print compare_translations(hoary, humpy)

Differences (ndiff with -expected +actual):

      Spanish (es) translation of evolution-2.2 in Ubuntu Humpy Hippo package "evolution" is different than its parent Spanish (es) translation of evolution-2.2 in Ubuntu Hoary package "evolution":

    - ---

    + ---

    ? ++

      <BLANKLINE>

    - +++

    + +++

    ? ++

      <BLANKLINE>

    + @@ -25,7 +25,7 @@

    + <BLANKLINE>

    + "Content-Transfer-Encoding: 8bit\n"

    + "Report-Msgid-Bugs-To: <email address hidden>\n"

    + "Plural-Forms: nplurals=2; plural=(n != 1);\n"

    + -"X-Rosetta-Export-Date: 2007-01-10 23:24+0000\n"

    + +"X-Rosetta-Export-Date: 2007-01-10 23:25+0000\n"

    + <BLANKLINE>

    + #: a11y/addressbook/ea-addressbook-view.c:94

    + #: a11y/addressbook/ea-addressbook-view.c:103

      @@ -35,7 +35,7 @@

    + <BLANKLINE>

      <BLANKLINE>

       #: a11y/addressbook/ea-minicard-view.c:101

       msgid "current addressbook folder"

      -msgstr "second hoary updated string"

      +msgstr "humpy updated string"

      <BLANKLINE>

       #: a11y/addressbook/ea-minicard-view.c:102

       #, fuzzy

[...]

Tests with failures:

   /srv/pqm.ubuntu.com/chroot-amd64/home/pqm/pqm-workdir/home/---devel/launchpad/lib/canonical/launchpad/ftests/../doc/distrorelease.txt

Changed in rosetta:
importance: Undecided → High
status: Unconfirmed → Confirmed
Revision history for this message
Carlos Perelló Marín (carlos) wrote :

Fixed in RF 3820

Changed in rosetta:
assignee: nobody → carlos
status: Confirmed → Fix Released
Revision history for this message
Francis J. Lacoste (flacoste) wrote :

This seems to still happen:

Failed doctest test for distrorelease.txt

  File "/srv/pqm.ubuntu.com/chroot-amd64/home/pqm/pqm-workdir/home/---devel/launchpad/lib/canonical/launchpad/ftests/../doc/distrorelease.txt", line 0

----------------------------------------------------------------------

File "/srv/pqm.ubuntu.com/chroot-amd64/home/pqm/pqm-workdir/home/---devel/launchpad/lib/canonical/launchpad/ftests/../doc/distrorelease.txt", line 610, in distrorelease.txt

Failed example:

    print compare_translations(hoary, humpy)

Differences (ndiff with -expected +actual):

      Output doesn't match:

      <BLANKLINE>

    - --- expected

    + --- expected

    ? + +

    - +++ actual

    + +++ actual

    ? +

    - <BLANKLINE>

      @@ -35,7 +35,7 @@

      <BLANKLINE>

       #: a11y/addressbook/ea-minicard-view.c:101

       msgid "current addressbook folder"

      -msgstr "carpeta de libretas de direcciones actual"

      +msgstr "humpy updated string"

      <BLANKLINE>

       #: a11y/addressbook/ea-minicard-view.c:102

       #, fuzzy

    + Output doesn't match:

    + <BLANKLINE>

    + --- expected

    + +++ actual

    + @@ -23,7 +23,7 @@

    + "MIME-Version: 1.0\n"

    + "Content-Type: text/plain; charset=UTF-8\n"

    + "Content-Transfer-Encoding: 8bit\n"

    + -"X-Rosetta-Export-Date: 2007-02-16 14:50+0000\n"

    + +"X-Rosetta-Export-Date: 2007-02-16 14:51+0000\n"

    + <BLANKLINE>

    + #. Type: note

    + #: ../mozilla-browser.templates:3

    + <BLANKLINE>

Changed in rosetta:
importance: High → Critical
status: Fix Released → Confirmed
Revision history for this message
Carlos Perelló Marín (carlos) wrote :

It should be fixed now. Really

Changed in rosetta:
status: Confirmed → Fix Released
Revision history for this message
Francis J. Lacoste (flacoste) wrote :

Nope, it is back!

File "/srv/pqm.ubuntu.com/chroot-amd64/home/pqm/pqm-workdir/home/---devel/launchpad/lib/canonical/launchpad/ftests/../doc/distrorelease.txt", line 565, in distrorelease.txt

Failed example:

    print compare_translations(hoary, humpy)

Differences (ndiff with -expected +actual):

      Output doesn't match:

      <BLANKLINE>

    - --- expected

    + --- expected

    ? + +

    - +++ actual

    + +++ actual

    ? +

    + @@ -25,17 +25,17 @@

    + "Content-Transfer-Encoding: 8bit\n"

    + "Report-Msgid-Bugs-To: <email address hidden>\n"

    + "Plural-Forms: nplurals=2; plural=(n != 1);\n"

    + -"X-Rosetta-Export-Date: 2007-02-23 19:34:24+0000\n"

    + +"X-Rosetta-Export-Date: 2007-02-23 19:34:25+0000\n"

      <BLANKLINE>

    + #: a11y/addressbook/ea-addressbook-view.c:94

    - @@ -31,11 +31,11 @@

    - <BLANKLINE>

       #: a11y/addressbook/ea-addressbook-view.c:103

       #: a11y/addressbook/ea-minicard-view.c:119

       msgid "evolution addressbook"

      -msgstr "hoary updated string"

      +msgstr "libreta de direcciones de Evolution"

      <BLANKLINE>

       #: a11y/addressbook/ea-minicard-view.c:101

       msgid "current addressbook folder"

      -msgstr "carpeta de libretas de direcciones actual"

      +msgstr "humpy updated string"

      <BLANKLINE>

       #: a11y/addressbook/ea-minicard-view.c:102

       #, fuzzy

      @@ -44,7 +44,7 @@

      <BLANKLINE>

    - <BLANKLINE>

       #: a11y/addressbook/ea-minicard-view.c:102

       msgid "has "

      -msgstr "empty string translated "

      +msgstr ""

      <BLANKLINE>

       #: a11y/addressbook/ea-minicard-view.c:104

       msgid " cards"

    + <BLANKLINE>

Changed in rosetta:
status: Fix Released → Confirmed
Revision history for this message
Francis J. Lacoste (flacoste) wrote :

I've disabled the test in RF 3855 as it was preventing repeatdly a merge.

Changed in rosetta:
importance: Critical → High
Revision history for this message
Björn Tillenius (bjornt) wrote :

It's still failing:

File
+"/srv/pqm.ubuntu.com/chroot-amd64/home/pqm/pqm-workdir/home/---devel/launchpad/
+lib/canonical/launchpad/ftests/../doc/distrorelease.txt", line 643, in
+distrorelease.txt

Failed example:

    print compare_translations(hoary, humpy)

Differences (ndiff with -expected +actual):

      Output doesn't match:

      <BLANKLINE>

    - --- expected

    + --- expected

    ? + +

    - +++ actual

    + +++ actual

    ? +

    + @@ -25,7 +25,7 @@

    + "Content-Transfer-Encoding: 8bit\n"

    + "Report-Msgid-Bugs-To: <email address hidden>\n"

    + "Plural-Forms: nplurals=2; plural=(n != 1);\n"

    + -"X-Rosetta-Export-Date: 2007-02-26 14:27:41+0000\n"

    + +"X-Rosetta-Export-Date: 2007-02-26 14:27:42+0000\n"

      <BLANKLINE>

    + #: a11y/addressbook/ea-addressbook-view.c:94

    + #: a11y/addressbook/ea-addressbook-view.c:103

      @@ -35,7 +35,7 @@

      <BLANKLINE>

       #: a11y/addressbook/ea-minicard-view.c:101

       msgid "current addressbook folder"

      -msgstr "second hoary updated string"

      +msgstr "humpy updated string"

      <BLANKLINE>

       #: a11y/addressbook/ea-minicard-view.c:102

       #, fuzzy

    + <BLANKLINE>

Changed in rosetta:
importance: High → Critical
Revision history for this message
Carlos Perelló Marín (carlos) wrote :

It should be fixed now. I got someone else (Francis and Bjorn) help to see what I was missing.

Changed in rosetta:
status: Confirmed → Fix Committed
status: Fix Committed → Fix Released
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.