← Back to team overview

touch-packages team mailing list archive

[Bug 1447477] [NEW] Occasional JsonAsyncReader and XmlAsyncReader test failures

 

Public bug reported:

vivid@vivid:~/delay-remove$ test/gtest/scopes/qt/XmlAsyncReader/XmlAsyncReader_test 
Running main() from gmock_main.cc
[==========] Running 5 tests from 3 test cases.
[----------] Global test environment set-up.
[----------] 1 test from TimeoutException
[ RUN      ] TimeoutException.state
[       OK ] TimeoutException.state (1 ms)
[----------] 1 test from TimeoutException (1 ms total)

[----------] 1 test from BadUrlException
[ RUN      ] BadUrlException.state
/src/unity-scopes-api/delay-scope-removal/test/gtest/scopes/qt/XmlAsyncReader/XmlAsyncReader_test.cpp:120: Failure
Value of: true
Expected: error_msg.find("Couldn't resolve host name") != std::string::npos
Which is: false
[  FAILED  ] BadUrlException.state (486 ms)
[----------] 1 test from BadUrlException (486 ms total)

[----------] 3 tests from ExceptionsTest
[ RUN      ] ExceptionsTest.user_results_ok
[       OK ] ExceptionsTest.user_results_ok (128 ms)
[ RUN      ] ExceptionsTest.check_xml_bad_formed
Opening and ending tag mismatch.
[       OK ] ExceptionsTest.check_xml_bad_formed (134 ms)
[ RUN      ] ExceptionsTest.check_xml_bad_formed_exception
[       OK ] ExceptionsTest.check_xml_bad_formed_exception (128 ms)
[----------] 3 tests from ExceptionsTest (391 ms total)

[----------] Global test environment tear-down
[==========] 5 tests from 3 test cases ran. (878 ms total)
[  PASSED  ] 4 tests.
[  FAILED  ] 1 test, listed below:
[  FAILED  ] BadUrlException.state

 1 FAILED TEST
vivid@vivid:~/delay-remove$ test/gtest/scopes/qt/JsonAsyncReader/JsonAsyncReader_test 
Running main() from gmock_main.cc
[==========] Running 5 tests from 2 test cases.
[----------] Global test environment set-up.
[----------] 4 tests from ExceptionsTest
[ RUN      ] ExceptionsTest.timeout_test
[       OK ] ExceptionsTest.timeout_test (138 ms)
[ RUN      ] ExceptionsTest.bad_url_test
[       OK ] ExceptionsTest.bad_url_test (131 ms)
[ RUN      ] ExceptionsTest.user_results_ok
[       OK ] ExceptionsTest.user_results_ok (121 ms)
[ RUN      ] ExceptionsTest.check_xml_bad_formed
[       OK ] ExceptionsTest.check_xml_bad_formed (140 ms)
[----------] 4 tests from ExceptionsTest (532 ms total)

[----------] 1 test from BadUrlException
[ RUN      ] BadUrlException.state
/src/unity-scopes-api/delay-scope-removal/test/gtest/scopes/qt/JsonAsyncReader/JsonAsyncReader_test.cpp:126: Failure
Value of: true
Expected: error_msg.find("Couldn't resolve host name") != std::string::npos

** Affects: unity-scopes-api (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  Occasional JsonAsyncReader and XmlAsyncReader test failures

Status in unity-scopes-api package in Ubuntu:
  New

Bug description:
  vivid@vivid:~/delay-remove$ test/gtest/scopes/qt/XmlAsyncReader/XmlAsyncReader_test 
  Running main() from gmock_main.cc
  [==========] Running 5 tests from 3 test cases.
  [----------] Global test environment set-up.
  [----------] 1 test from TimeoutException
  [ RUN      ] TimeoutException.state
  [       OK ] TimeoutException.state (1 ms)
  [----------] 1 test from TimeoutException (1 ms total)

  [----------] 1 test from BadUrlException
  [ RUN      ] BadUrlException.state
  /src/unity-scopes-api/delay-scope-removal/test/gtest/scopes/qt/XmlAsyncReader/XmlAsyncReader_test.cpp:120: Failure
  Value of: true
  Expected: error_msg.find("Couldn't resolve host name") != std::string::npos
  Which is: false
  [  FAILED  ] BadUrlException.state (486 ms)
  [----------] 1 test from BadUrlException (486 ms total)

  [----------] 3 tests from ExceptionsTest
  [ RUN      ] ExceptionsTest.user_results_ok
  [       OK ] ExceptionsTest.user_results_ok (128 ms)
  [ RUN      ] ExceptionsTest.check_xml_bad_formed
  Opening and ending tag mismatch.
  [       OK ] ExceptionsTest.check_xml_bad_formed (134 ms)
  [ RUN      ] ExceptionsTest.check_xml_bad_formed_exception
  [       OK ] ExceptionsTest.check_xml_bad_formed_exception (128 ms)
  [----------] 3 tests from ExceptionsTest (391 ms total)

  [----------] Global test environment tear-down
  [==========] 5 tests from 3 test cases ran. (878 ms total)
  [  PASSED  ] 4 tests.
  [  FAILED  ] 1 test, listed below:
  [  FAILED  ] BadUrlException.state

   1 FAILED TEST
  vivid@vivid:~/delay-remove$ test/gtest/scopes/qt/JsonAsyncReader/JsonAsyncReader_test 
  Running main() from gmock_main.cc
  [==========] Running 5 tests from 2 test cases.
  [----------] Global test environment set-up.
  [----------] 4 tests from ExceptionsTest
  [ RUN      ] ExceptionsTest.timeout_test
  [       OK ] ExceptionsTest.timeout_test (138 ms)
  [ RUN      ] ExceptionsTest.bad_url_test
  [       OK ] ExceptionsTest.bad_url_test (131 ms)
  [ RUN      ] ExceptionsTest.user_results_ok
  [       OK ] ExceptionsTest.user_results_ok (121 ms)
  [ RUN      ] ExceptionsTest.check_xml_bad_formed
  [       OK ] ExceptionsTest.check_xml_bad_formed (140 ms)
  [----------] 4 tests from ExceptionsTest (532 ms total)

  [----------] 1 test from BadUrlException
  [ RUN      ] BadUrlException.state
  /src/unity-scopes-api/delay-scope-removal/test/gtest/scopes/qt/JsonAsyncReader/JsonAsyncReader_test.cpp:126: Failure
  Value of: true
  Expected: error_msg.find("Couldn't resolve host name") != std::string::npos

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity-scopes-api/+bug/1447477/+subscriptions


Follow ups

References