autopkgtest: jstest in sphinx-doc test times out

Bug #1871610 reported by James Page
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
sphinx (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

The sphinx-doc autopkgtest is currently failing as the jstest component times out waiting for the search results to be evaluated.

I added a bit of debug to the Browser class to see what was happening:

gi.repository.GLib.Error: WebKitJavascriptError: file:///usr/share/doc/sphinx-doc/html/search.html?q=example:1:80: TypeError: null is not an object (evaluating '$('#search-results > p:first').text().match(/found (\d+) page/)[1]') (699)

It would appear that the actual search is not being executed so the parsing of the results continues to fail until the 40 second timeout is hit.

http://autopkgtest.ubuntu.com/packages/s/sphinx

The test has been failing since 30/03/2020 and is blocking a few other packages from migration to the proposed pocket:

1.8.5-5 python-docutils/0.16+dfsg-2 2020-03-30 01:12:02 UTC 0h 11m 11s

Manually testing the search page - it appears to function correctly.

James Page (james-page)
tags: added: rls-ff-incoming
Changed in sphinx (Ubuntu):
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package sphinx - 1.8.5-7ubuntu2

---------------
sphinx (1.8.5-7ubuntu2) focal; urgency=medium

  * Make Sphinx' documentation use HTML 5 instead of XHTML, to fix WebKitGTK
    parsing errors with shared-mime-info ≥ 0.11 (LP: #1871610).

 -- Dmitry Shachnev <email address hidden> Wed, 08 Apr 2020 20:02:54 +0300

Changed in sphinx (Ubuntu):
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.