Automated tests during build fail regularly (though not always)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
The Sync Menu |
Fix Released
|
High
|
Charles Kerr | ||
indicator-sync (Ubuntu) |
Fix Released
|
High
|
Mathieu Trudel-Lapierre |
Bug Description
The tests tend to fail a lot in sbuild when run locally; without dbus-test-runner, they will simply not work usually (failing to bring up a dbus bus), and with dbus-test-runner; they tend to time out at various stages, but most reproducibly in starting the SyncApp service:
task-0: PASS: test-ascii-quotes
task-0: Running main() from gtest_main.cc
task-0: [==========] Running 2 tests from 1 test case.
task-0: [----------] Global test environment set-up.
task-0: [----------] 2 tests from ClientTest
task-0: [ RUN ] ClientTest.
Activating service name='com.
Successfully activated service 'com.canonical.
task-0: [ OK ] ClientTest.
task-0: [ RUN ] ClientTest.
(process:32276): libindicator-
Activating service name='com.
Successfully activated service 'com.canonical.
(process:32286): GLib-CRITICAL **: g_key_file_
(process:32286): GLib-GIO-CRITICAL **: g_app_info_
(process:32286): GLib-GIO-CRITICAL **: g_icon_to_string: assertion `icon != NULL' failed
(process:32286): GLib-GIO-CRITICAL **: g_dbus_proxy_new: assertion `g_variant_
task-0: test-client.
task-0: Value of: err == NULL
task-0: Actual: false
task-0: Expected: true
task-0: [ FAILED ] ClientTest.
task-0: [----------] 2 tests from ClientTest (149 ms total)
task-0:
task-0: [----------] Global test environment tear-down
task-0: [==========] 2 tests from 1 test case ran. (149 ms total)
task-0: [ PASSED ] 1 test.
task-0: [ FAILED ] 1 test, listed below:
task-0: [ FAILED ] ClientTest.
task-0:
task-0: 1 FAILED TEST
task-0: FAIL: test-client
task-0: ===================
task-0: 1 of 4 tests failed
make[4]: task-0: ===================
*** [check-TESTS] Error 1
make[3]: *** [check-am] Error 2
task-0: make[4]: Leaving directory `/«PKGBUILDDIR»
task-0: make[3]: Leaving directory `/«PKGBUILDDIR»
make[2]: *** [check-recursive] Error 1
task-0: make[2]: Leaving directory `/«PKGBUILDDIR»'
dh_auto_test: make -j1 check returned exit code 2
make[1]: *** [override_
make[1]: Leaving directory `/«PKGBUILDDIR»'
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
Related branches
Changed in indicator-sync (Ubuntu): | |
milestone: | none → ubuntu-12.10-beta-2 |
Changed in indicator-sync (Ubuntu): | |
assignee: | nobody → Charles Kerr (charlesk) |
Changed in indicator-sync (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in indicator-sync: | |
assignee: | nobody → Charles Kerr (charlesk) |
status: | New → In Progress |
importance: | Undecided → High |
Changed in indicator-sync: | |
milestone: | none → 12.10.2 |
Changed in indicator-sync: | |
status: | Fix Committed → Fix Released |
Changed in indicator-sync (Ubuntu): | |
assignee: | Charles Kerr (charlesk) → Mathieu Trudel-Lapierre (mathieu-tl) |
status: | Triaged → In Progress |
See also: http:// paste.ubuntu. com/1172093/
For now; I'll disable the automated tests since things appear to be working properly when the examples are being run manually: see http:// bazaar. launchpad. net/~indicator- applet- developers/ indicator- sync/trunk/ view/head: /examples/ README