7 cookiejar tests started failing

Bug #1548686 reported by Timo Jyrinki
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qtbase-opensource-src (Ubuntu)
Fix Released
Critical
Timo Jyrinki

Bug Description

Somehow it would seem that between 2016-02-17 09:55:10 and 2016-02-19 08:50:12 seven of the qnetworkcookiejar tests have started failing:

Successful run https://launchpad.net/~ci-train-ppa-service/+archive/ubuntu/landing-031/+build/9023683
Unsuccessful run of the same source (a patch added but later commented out to check it's not causing anything): https://launchpad.net/~ci-train-ppa-service/+archive/ubuntu/landing-031/+build/9036677

setCookiesFromUrl (6 tests out of 17 failing)
- co.uk effective TLD not denied correctly (two tests)
- farmacia.mz (*.mz except teledata.mz effective TLD) not denied correctly (three tests)
- cookie.setDomain(".com.") not denied correctly for http://x.foo.com

rfc6265 DOMAIN (1 test out of 42 failing)
- see test 17 at http://code.qt.io/cgit/qt/qtbase.git/tree/tests/auto/network/access/qnetworkcookiejar/parser.json#n905

It's the same tests failing on each run.

Additionally QUrl test are similarly failing regarding effectiveTLD tests.

Succeeded on wily: https://launchpad.net/~timo-jyrinki/+archive/ubuntu/uantal-compiz-unity-testing2/+build/9052340 meaning that the change happened in Ubuntu (xenial).

description: updated
summary: - cookiejar tests started failing
+ 7 cookiejar tests started failing
description: updated
description: updated
description: updated
Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

I have tested it would _not_ be because of the gccgo-6 (libgcc1), gcc5 or glibc uploads that happened during that timeframe, but also I'm now out of ideas what could be the cause.

In other words, I built older versions of the mentioned packages and checked from build logs they are in use during a build, but it still failed similarly at https://launchpad.net/~timo-jyrinki/+archive/ubuntu/quantal-compiz-unity-testing/+build/9053257/+files/buildlog_ubuntu-xenial-amd64.qtbase-opensource-src_5.5.1+dfsg-14ubuntu2~xenial1~test3_BUILDING.txt.gz

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package qtbase-opensource-src - 5.5.1+dfsg-14ubuntu2

---------------
qtbase-opensource-src (5.5.1+dfsg-14ubuntu2) xenial; urgency=medium

  * debian/patches/enable-tests.patch: some qnetworkcookiejar tests have
    started failing without any Qt changes (LP: #1548686)
  * Notify-when-the-primary-screen-changes.patch
    xcb-Handle-screen-siblings-in-QXcbVirtualDesktop.patch
    xcb-Use-a-placeholder-QScreen-when-there-are-no-outp.patch:
    - Another multi-monitor crasher fix and its pre-requirement patches
      (LP: #1548766)
    - Rebase the patches slightly to apply to Qt 5.5.
  * Merge with unreleased Debian's 5.5.1+dfsg-15

 -- Timo Jyrinki <email address hidden> Fri, 26 Feb 2016 07:03:24 +0000

Changed in qtbase-opensource-src (Ubuntu):
status: New → Fix Released
Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

Reopening to track when the tests can be re-enabled. This can also be assigned to the problem causing package once found.

Changed in qtbase-opensource-src (Ubuntu):
status: Fix Released → New
Revision history for this message
Olivier Tilloy (osomon) wrote :

Note: it’s not just the unit tests failing, it’s actually some API functionality that is broken: QUrl::topLevelDomain() now always returns an empty string (see bug #1551145), so apps may be affected, and simply disabling the failing unit tests is not an option.

Changed in qtbase-opensource-src (Ubuntu):
importance: Undecided → Critical
Olivier Tilloy (osomon)
Changed in qtbase-opensource-src (Ubuntu):
assignee: nobody → Timo Jyrinki (timo-jyrinki)
status: New → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package qtbase-opensource-src - 5.5.1+dfsg-14ubuntu3

---------------
qtbase-opensource-src (5.5.1+dfsg-14ubuntu3) xenial; urgency=medium

  * debian/patches/Xcb-fix-crash-on-screen-power-save.patch:
    - Fix additional cases where crash could occur on monitor disconnections
      or power save. (LP: #1551122)
  * Build with C.UTF-8 locale to (LP: #1551145) and re-enable tests (LP: #1548686)

 -- Timo Jyrinki <email address hidden> Wed, 02 Mar 2016 10:28:04 +0000

Changed in qtbase-opensource-src (Ubuntu):
status: In Progress → 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.