[Desktop-packages] [Bug 1336671] Re: Intermittent mir_unit_tests.MesaDisplayTest.drm_device_change_event_triggers_handler test failure: libumockdev isn't thread safe

2014-07-13 Thread Daniel van Vugt
** Changed in: mir
Milestone: 0.5.0 = None

** Changed in: mir
   Status: In Progress = Invalid

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to umockdev in Ubuntu.
https://bugs.launchpad.net/bugs/1336671

Title:
  Intermittent
  mir_unit_tests.MesaDisplayTest.drm_device_change_event_triggers_handler
  test failure: libumockdev isn't thread safe

Status in Mir:
  Invalid
Status in “umockdev” package in Ubuntu:
  Fix Released

Bug description:
  As seen in: http://s-jenkins.ubuntu-ci:8080/job/mir-clang-utopic-
  amd64-build/799/console

  To reproduce locally:

  bzr branch lp:mir/devel mir-devel  cd mir-devel
  mkdir build  cd build  cmake ..  make -j4
  umockdev-wrapper bin/mir_unit_tests 
--gtest_filter=MesaDisplayTest.drm_device_change_event_triggers_handler 
--gtest_repeat=-1 --gtest_break_on_failure

  (Ignore the segfault when the test fails, it's a side effect of
  --gtest_break_on_failure)

  Running with strace or on a system with high load increases the chances that 
we hit the problem. For example, running make -j4 in another mir branch while
  running the tests does the trick for mir.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1336671/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1336671] Re: Intermittent mir_unit_tests.MesaDisplayTest.drm_device_change_event_triggers_handler test failure: libumockdev isn't thread safe

2014-07-11 Thread Launchpad Bug Tracker
This bug was fixed in the package umockdev - 0.8.5-1

---
umockdev (0.8.5-1) unstable; urgency=medium


  * New upstream release, to fix build and test on 32 bit architectures.

 -- Martin Pitt mp...@debian.org  Fri, 11 Jul 2014 07:34:26 +0200

** Changed in: umockdev (Ubuntu)
   Status: Fix Committed = Fix Released

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to umockdev in Ubuntu.
https://bugs.launchpad.net/bugs/1336671

Title:
  Intermittent
  mir_unit_tests.MesaDisplayTest.drm_device_change_event_triggers_handler
  test failure: libumockdev isn't thread safe

Status in Mir:
  In Progress
Status in “umockdev” package in Ubuntu:
  Fix Released

Bug description:
  As seen in: http://s-jenkins.ubuntu-ci:8080/job/mir-clang-utopic-
  amd64-build/799/console

  To reproduce locally:

  bzr branch lp:mir/devel mir-devel  cd mir-devel
  mkdir build  cd build  cmake ..  make -j4
  umockdev-wrapper bin/mir_unit_tests 
--gtest_filter=MesaDisplayTest.drm_device_change_event_triggers_handler 
--gtest_repeat=-1 --gtest_break_on_failure

  (Ignore the segfault when the test fails, it's a side effect of
  --gtest_break_on_failure)

  Running with strace or on a system with high load increases the chances that 
we hit the problem. For example, running make -j4 in another mir branch while
  running the tests does the trick for mir.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1336671/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1336671] Re: Intermittent mir_unit_tests.MesaDisplayTest.drm_device_change_event_triggers_handler test failure: libumockdev isn't thread safe

2014-07-10 Thread Launchpad Bug Tracker
** Branch linked: lp:debian/umockdev

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to umockdev in Ubuntu.
https://bugs.launchpad.net/bugs/1336671

Title:
  Intermittent
  mir_unit_tests.MesaDisplayTest.drm_device_change_event_triggers_handler
  test failure: libumockdev isn't thread safe

Status in Mir:
  In Progress
Status in “umockdev” package in Ubuntu:
  Fix Committed

Bug description:
  As seen in: http://s-jenkins.ubuntu-ci:8080/job/mir-clang-utopic-
  amd64-build/799/console

  To reproduce locally:

  bzr branch lp:mir/devel mir-devel  cd mir-devel
  mkdir build  cd build  cmake ..  make -j4
  umockdev-wrapper bin/mir_unit_tests 
--gtest_filter=MesaDisplayTest.drm_device_change_event_triggers_handler 
--gtest_repeat=-1 --gtest_break_on_failure

  (Ignore the segfault when the test fails, it's a side effect of
  --gtest_break_on_failure)

  Running with strace or on a system with high load increases the chances that 
we hit the problem. For example, running make -j4 in another mir branch while
  running the tests does the trick for mir.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1336671/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1336671] Re: Intermittent mir_unit_tests.MesaDisplayTest.drm_device_change_event_triggers_handler test failure: libumockdev isn't thread safe

2014-07-07 Thread Martin Pitt
I now wrote two test cases for umockdev itself which reproduce the
multi-thread errors and pretty much the same errors as the Mir test
case. I now made the path redirection to testbed thread-safe for all
wrapped functions, which does not yet address all MT issues, but is
sufficient for this particular test scenario:

  https://github.com/martinpitt/umockdev/commit/3b852ea23

With that I ran that Mir test successfully through 20.000 iterations
(with a version without
thestd::this_thread::sleep_for(std::chrono::microseconds{500})) . It
previously hardly survived two iterations without the sleep, and with
the sleep it failed after ~ 1000 iterations on an idle system and ~ a
hundred on a loaded one.

** Changed in: umockdev (Ubuntu)
   Status: New = Fix Committed

** Changed in: umockdev (Ubuntu)
 Assignee: (unassigned) = Martin Pitt (pitti)

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to umockdev in Ubuntu.
https://bugs.launchpad.net/bugs/1336671

Title:
  Intermittent
  mir_unit_tests.MesaDisplayTest.drm_device_change_event_triggers_handler
  test failure: libumockdev isn't thread safe

Status in Mir:
  In Progress
Status in “umockdev” package in Ubuntu:
  Fix Committed

Bug description:
  As seen in: http://s-jenkins.ubuntu-ci:8080/job/mir-clang-utopic-
  amd64-build/799/console

  To reproduce locally:

  bzr branch lp:mir/devel mir-devel  cd mir-devel
  mkdir build  cd build  cmake ..  make -j4
  umockdev-wrapper bin/mir_unit_tests 
--gtest_filter=MesaDisplayTest.drm_device_change_event_triggers_handler 
--gtest_repeat=-1 --gtest_break_on_failure

  (Ignore the segfault when the test fails, it's a side effect of
  --gtest_break_on_failure)

  Running with strace or on a system with high load increases the chances that 
we hit the problem. For example, running make -j4 in another mir branch while
  running the tests does the trick for mir.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1336671/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1336671] Re: Intermittent mir_unit_tests.MesaDisplayTest.drm_device_change_event_triggers_handler test failure: libumockdev isn't thread safe

2014-07-07 Thread Martin Pitt
I keep the Mir task open so that you can adjust the test case to take
out the sleep (if you wish). If you want to leave it in, please just
close as invalid.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to umockdev in Ubuntu.
https://bugs.launchpad.net/bugs/1336671

Title:
  Intermittent
  mir_unit_tests.MesaDisplayTest.drm_device_change_event_triggers_handler
  test failure: libumockdev isn't thread safe

Status in Mir:
  In Progress
Status in “umockdev” package in Ubuntu:
  Fix Committed

Bug description:
  As seen in: http://s-jenkins.ubuntu-ci:8080/job/mir-clang-utopic-
  amd64-build/799/console

  To reproduce locally:

  bzr branch lp:mir/devel mir-devel  cd mir-devel
  mkdir build  cd build  cmake ..  make -j4
  umockdev-wrapper bin/mir_unit_tests 
--gtest_filter=MesaDisplayTest.drm_device_change_event_triggers_handler 
--gtest_repeat=-1 --gtest_break_on_failure

  (Ignore the segfault when the test fails, it's a side effect of
  --gtest_break_on_failure)

  Running with strace or on a system with high load increases the chances that 
we hit the problem. For example, running make -j4 in another mir branch while
  running the tests does the trick for mir.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1336671/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1336671] Re: Intermittent mir_unit_tests.MesaDisplayTest.drm_device_change_event_triggers_handler test failure: libumockdev isn't thread safe

2014-07-07 Thread Daniel van Vugt
Note fix committed to upstream and the LP mirror of it:
https://github.com/martinpitt/umockdev/commit/3b852ea2321b6b5c887b8b4943eee1a1cc24696b
http://bazaar.launchpad.net/~pitti/umockdev/trunk/revision/364

But technically not fix committed to Ubuntu yet. I'm sure it's coming soon:
https://launchpad.net/ubuntu/+source/umockdev

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to umockdev in Ubuntu.
https://bugs.launchpad.net/bugs/1336671

Title:
  Intermittent
  mir_unit_tests.MesaDisplayTest.drm_device_change_event_triggers_handler
  test failure: libumockdev isn't thread safe

Status in Mir:
  In Progress
Status in “umockdev” package in Ubuntu:
  Fix Committed

Bug description:
  As seen in: http://s-jenkins.ubuntu-ci:8080/job/mir-clang-utopic-
  amd64-build/799/console

  To reproduce locally:

  bzr branch lp:mir/devel mir-devel  cd mir-devel
  mkdir build  cd build  cmake ..  make -j4
  umockdev-wrapper bin/mir_unit_tests 
--gtest_filter=MesaDisplayTest.drm_device_change_event_triggers_handler 
--gtest_repeat=-1 --gtest_break_on_failure

  (Ignore the segfault when the test fails, it's a side effect of
  --gtest_break_on_failure)

  Running with strace or on a system with high load increases the chances that 
we hit the problem. For example, running make -j4 in another mir branch while
  running the tests does the trick for mir.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1336671/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1336671] Re: Intermittent mir_unit_tests.MesaDisplayTest.drm_device_change_event_triggers_handler test failure: libumockdev isn't thread safe

2014-07-07 Thread Martin Pitt
Daniel: yeah, I (and many others) have traditionally used fix
committed for fixed in upstream task, but not released to Ubuntu yet.
I know it's a slightly different semantics than for upstream tasks, but
a very useful one.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to umockdev in Ubuntu.
https://bugs.launchpad.net/bugs/1336671

Title:
  Intermittent
  mir_unit_tests.MesaDisplayTest.drm_device_change_event_triggers_handler
  test failure: libumockdev isn't thread safe

Status in Mir:
  In Progress
Status in “umockdev” package in Ubuntu:
  Fix Committed

Bug description:
  As seen in: http://s-jenkins.ubuntu-ci:8080/job/mir-clang-utopic-
  amd64-build/799/console

  To reproduce locally:

  bzr branch lp:mir/devel mir-devel  cd mir-devel
  mkdir build  cd build  cmake ..  make -j4
  umockdev-wrapper bin/mir_unit_tests 
--gtest_filter=MesaDisplayTest.drm_device_change_event_triggers_handler 
--gtest_repeat=-1 --gtest_break_on_failure

  (Ignore the segfault when the test fails, it's a side effect of
  --gtest_break_on_failure)

  Running with strace or on a system with high load increases the chances that 
we hit the problem. For example, running make -j4 in another mir branch while
  running the tests does the trick for mir.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1336671/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1336671] Re: Intermittent mir_unit_tests.MesaDisplayTest.drm_device_change_event_triggers_handler test failure: libumockdev isn't thread safe

2014-07-04 Thread Martin Pitt
Just in case I still need it next week, here's the complete strace with
debugging.

** Attachment added: complete strace with debugging-enabled run
   
https://bugs.launchpad.net/mir/+bug/1336671/+attachment/4145606/+files/test-strace.txt

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to umockdev in Ubuntu.
https://bugs.launchpad.net/bugs/1336671

Title:
  Intermittent
  mir_unit_tests.MesaDisplayTest.drm_device_change_event_triggers_handler
  test failure: libumockdev isn't thread safe

Status in Mir:
  In Progress
Status in “umockdev” package in Ubuntu:
  New

Bug description:
  As seen in: http://s-jenkins.ubuntu-ci:8080/job/mir-clang-utopic-
  amd64-build/799/console

  To reproduce locally:

  bzr branch lp:mir/devel mir-devel  cd mir-devel
  mkdir build  cd build  cmake ..  make -j4
  umockdev-wrapper bin/mir_unit_tests 
--gtest_filter=MesaDisplayTest.drm_device_change_event_triggers_handler 
--gtest_repeat=-1 --gtest_break_on_failure

  (Ignore the segfault when the test fails, it's a side effect of
  --gtest_break_on_failure)

  Running with strace or on a system with high load increases the chances that 
we hit the problem. For example, running make -j4 in another mir branch while
  running the tests does the trick for mir.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1336671/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp