I reproduced the tst_SingleInstanceManagerTests failure locally in an
schroot, here is the XML output of the test run:

<?xml version="1.0" encoding="UTF-8" ?>
<testsuite errors="2" failures="2" tests="4" name="SingleInstanceManagerTests">
  <properties>
    <property value="5.5.1" name="QTestVersion"/>
    <property value="5.5.1" name="QtVersion"/>
    <property value="Qt 5.5.1 (x86_64&#x002D;little_endian&#x002D;lp64 shared 
(dynamic) release build; by GCC 5.3.1 20160330)" name="QtBuild"/>
  </properties>
  <testcase result="pass" name="initTestCase"/>
  <testcase result="fail" name="test_cannot_run_twice_same_instance">
    <!-- message="Failed to launch single instance: &quot;QLocalServer::listen: 
Name error&quot;" type="system" -->
    <failure message="&apos;singleton&#x002D;&gt;run(QStringList())&apos; 
returned FALSE. ()" result="fail"/>
  </testcase>
  <testcase result="fail" 
name="test_arguments_passed_to_already_running_instance">
    <!-- message="Failed to launch single instance: &quot;QLocalServer::listen: 
Name error&quot;" type="system" -->
    <failure message="&apos;singleton&#x002D;&gt;run(QStringList())&apos; 
returned FALSE. ()" result="fail"/>
  </testcase>
  <testcase result="pass" name="cleanupTestCase"/>
  <system-err>
<![CDATA[Failed to launch single instance: "QLocalServer::listen: Name error"]]>
<![CDATA[Failed to launch single instance: "QLocalServer::listen: Name error"]]>
  </system-err>
</testsuite>

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to webbrowser-app in Ubuntu.
https://bugs.launchpad.net/bugs/1567294

Title:
  Some unit tests fail when run under an sbuild chroot

Status in webbrowser-app package in Ubuntu:
  In Progress

Bug description:
  This is because in an sbuild chroot HOME is set to /sbuild-
  nonexistent.

  Test #18: tst_FaviconFetcherTests ..................***Failed    0.76 sec
  Test #24: tst_SingleInstanceManagerTests ...........***Failed    0.02 sec
  Test  #2: tst_QmlTests .............................***Failed  178.00 sec

  
  FAIL!  : QmlTests::BrowserTab::test_delete_preview_on_close() 'verify()' 
returned FALSE. ()
      Loc: 
[/$BUILDDIR$/webbrowser-app-0.23+16.04.20160405+vivid206bzr863/tests/unittests/qml/tst_BrowserTab.qml(164)]

  FAIL!  : QmlTests::BrowserTab::test_save_preview() Compared values are not 
the same
      Actual   (): 
      Expected (): 
file:///sbuild-nonexistent/.cache/tst_QmlTests/captures/dab521de65f9250b4cca7383feef67dc.png
      Loc: 
[/$BUILDDIR$/webbrowser-app-0.23+16.04.20160405+vivid206bzr863/tests/unittests/qml/tst_BrowserTab.qml(131)]

  FAIL!  : QmlTests::PreviewManager::test_save_preview() 'verify()' returned 
FALSE. ()
      Loc: 
[/$BUILDDIR$/webbrowser-app-0.23+16.04.20160405+vivid206bzr863/tests/unittests/qml/tst_PreviewManager.qml(99)]

  FAIL!  : QmlTests::PreviewManager::test_topsites_not_deleted() 'verify()' 
returned FALSE. ()
      Loc: 
[/$BUILDDIR$/webbrowser-app-0.23+16.04.20160405+vivid206bzr863/tests/unittests/qml/tst_PreviewManager.qml(90)]

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/webbrowser-app/+bug/1567294/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to