Closed Bug 1054249 Opened 10 years ago Closed 7 years ago

TestDeadlockDetector and test_deadlock_detector unit tests fail on B2G Emulator in debug builds

Categories

(Core :: XPCOM, defect)

ARM
Gonk (Firefox OS)
defect
Not set
minor

Tracking

()

RESOLVED WONTFIX

People

(Reporter: dminor, Unassigned)

Details

(Whiteboard: [test disabled on android 4.3 debug])

In Bug 1014653 we're looking at getting cppunit tests running from the test package for B2G emulators.

The deadlock tests are failing:

07:47:29     INFO -  [210] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80520012: file ../../../../gecko/netwerk/base/src/nsFileStreams.cpp, line 475
07:47:29     INFO -  [210] WARNING: Trying to SendCommand() without a SLC: file ../../../gecko/dom/bluetooth/bluez/BluetoothHfpManager.cpp, line 1274
07:47:32     INFO -  [210] WARNING: Could not open bluetooth socket!: file ../../../gecko/dom/bluetooth/bluez/BluetoothUnixSocketConnector.cpp, line 201
07:47:32     INFO -  [210] WARNING: Cannot create socket fd!: file ../../../gecko/ipc/unixsocket/UnixSocket.cpp, line 239
07:47:32     INFO -  [210] WARNING: '!IsOpen()', file ../../../gecko/ipc/unixfd/UnixFdWatcher.cpp, line 36
07:47:32     INFO -  [210] WARNING: DBus connection has not been established.: file ../../../gecko/dom/bluetooth/bluez/BluetoothDBusService.cpp, line 2218
07:47:33     INFO -  *** UTM:SVC TimerManager:notify - notified @mozilla.org/b2g/webapps-update-timer;1
07:47:34     INFO -  [210] WARNING: Bluetooth has already been enabled/disabled before or the toggling is failed.: file ../../../gecko/dom/bluetooth/BluetoothService.cpp, line 528
07:47:34     INFO -  [210] WARNING: No observer registered for path /B2G/bluetooth/manager: file ../../../gecko/dom/bluetooth/BluetoothService.cpp, line 382
07:47:58     INFO -  System JS : WARNING resource://gre/modules/Webapps.jsm:974 - reference to undefined property manifest.redirects
07:47:59     INFO -  System JS : WARNING resource://gre/modules/SystemMessagePermissionsChecker.jsm:235 - reference to undefined property newManifest.permissions[permName].access
07:48:06     INFO -  [1294] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
07:48:06     INFO -  [1294] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
07:48:06     INFO -  [1294] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
07:48:06     INFO -  [1294] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
07:48:06     INFO -  [1294] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
07:48:06     INFO -  [1294] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
07:48:06     INFO -  [1294] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
07:48:06     INFO -  Running Storage deadlock detector correctness (../../../gecko/storage/test/test_deadlock_detector.cpp) tests...
07:48:06     INFO -  [1294] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
07:48:06     INFO -  [1294] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
07:48:06     INFO -  [1294] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
07:48:06     INFO -  [1294] WARNING: Error parsing GRE default preferences. Is this an old-style embedding app?: file ../../../gecko/modules/libpref/Preferences.cpp, line 1287
07:48:06     INFO -  [1294] WARNING: network segment size is not a power of 2!: '(!(size & (size - 1)))', file ../../../../gecko/netwerk/base/src/nsIOService.cpp, line 852
07:48:06     INFO -  (timed out!)
07:48:06     INFO -  (missed token '###!!! ERROR: Potential deadlock detected' in output)
07:48:06     INFO -  ----------------------------------
07:48:06     INFO -  [1309] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
07:48:06     INFO -  [1309] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
07:48:06     INFO -  [1309] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
07:48:06     INFO -  [1309] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
07:48:06     INFO -  [1309] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
07:48:06     INFO -  [1309] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
07:48:06     INFO -  [1309] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
07:48:06     INFO -  [1309] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
07:48:06     INFO -  [1309] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
07:48:06     INFO -  [1309] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
07:48:06     INFO -  [1309] WARNING: Error parsing GRE default preferences. Is this an old-style embedding app?: file ../../../gecko/modules/libpref/Preferences.cpp, line 1287
07:48:06     INFO -  [1309] WARNING: network segment size is not a power of 2!: '(!(size & (size - 1)))', file ../../../../gecko/netwerk/base/src/nsIOService.cpp, line 852
07:48:06     INFO -  ----------------------------------
07:48:06  WARNING -  TEST-UNEXPECTED-FAIL | ../../../gecko/storage/test/test_deadlock_detector.cpp | Sanity - deadlock not detected
07:48:06     INFO -  (timed out!)
07:48:06     INFO -  TEST-PASS | Sanity2
07:48:06     INFO -  (timed out!)
07:48:06     INFO -  (missed token '###!!! ERROR: Potential deadlock detected' in output)
07:48:06     INFO -  ----------------------------------
07:48:06     INFO -  [1329] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
07:48:06     INFO -  [1329] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
07:48:06     INFO -  [1329] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
07:48:06     INFO -  [1329] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
07:48:06     INFO -  [1329] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
07:48:06     INFO -  [1329] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
07:48:06     INFO -  [1329] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
07:48:06     INFO -  [1329] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
07:48:06     INFO -  [1329] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
07:48:06     INFO -  [1329] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
07:48:06     INFO -  [1329] WARNING: Error parsing GRE default preferences. Is this an old-style embedding app?: file ../../../gecko/modules/libpref/Preferences.cpp, line 1287
07:48:06     INFO -  [1329] WARNING: network segment size is not a power of 2!: '(!(size & (size - 1)))', file ../../../../gecko/netwerk/base/src/nsIOService.cpp, line 852
07:48:06     INFO -  ----------------------------------
07:48:06  WARNING -  TEST-UNEXPECTED-FAIL | ../../../gecko/storage/test/test_deadlock_detector.cpp | Sanity3 - deadlock not detected
07:48:06     INFO -  (timed out!)
07:48:06     INFO -  (missed token 'Re-entering ReentrantMonitor after acquiring other resources' in output)
07:48:06     INFO -  ----------------------------------
07:48:06     INFO -  [1344] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
07:48:06     INFO -  [1344] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
07:48:06     INFO -  [1344] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
07:48:06     INFO -  [1344] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
07:48:06     INFO -  [1344] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
07:48:06     INFO -  [1344] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
07:48:06     INFO -  [1344] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
07:48:06     INFO -  [1344] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
07:48:06     INFO -  [1344] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
07:48:06     INFO -  [1344] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
07:48:06     INFO -  [1344] WARNING: Error parsing GRE default preferences. Is this an old-style embedding app?: file ../../../gecko/modules/libpref/Preferences.cpp, line 1287
07:48:06     INFO -  [1344] WARNING: network segment size is not a power of 2!: '(!(size & (size - 1)))', file ../../../../gecko/netwerk/base/src/nsIOService.cpp, line 852
07:48:06     INFO -  ----------------------------------
07:48:06  WARNING -  TEST-UNEXPECTED-FAIL | ../../../gecko/storage/test/test_deadlock_detector.cpp | Sanity4 - deadlock not detected
07:48:06     INFO -  (timed out!)
07:48:06     INFO -  (missed token '###!!! ERROR: Potential deadlock detected' in output)
07:48:06     INFO -  ----------------------------------
07:48:06     INFO -  [1355] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
07:48:06     INFO -  [1355] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
07:48:06     INFO -  [1355] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
07:48:06     INFO -  [1355] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
07:48:06     INFO -  [1355] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
07:48:06     INFO -  [1355] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
07:48:06     INFO -  [1355] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
07:48:06     INFO -  [1355] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
07:48:06     INFO -  [1355] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
07:48:06     INFO -  [1355] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
07:48:06     INFO -  [1355] WARNING: Error parsing GRE default preferences. Is this an old-style embedding app?: file ../../../gecko/modules/libpref/Preferences.cpp, line 1287
07:48:06     INFO -  [1355] WARNING: network segment size is not a power of 2!: '(!(size & (size - 1)))', file ../../../../gecko/netwerk/base/src/nsIOService.cpp, line 852
07:48:06     INFO -  ----------------------------------
07:48:06  WARNING -  TEST-UNEXPECTED-FAIL | ../../../gecko/storage/test/test_deadlock_detector.cpp | TwoThreads - deadlock not detected
07:48:06     INFO -  (expected 0 == return code, got 1)
07:48:06     INFO -  (output)
07:48:06     INFO -  ----------------------------------
07:48:06     INFO -  Running nsresult ContentionNoDeadlock() tests...
07:48:06  WARNING -  TEST-UNEXPECTED-FAIL | ../../../gecko/storage/test/test_deadlock_detector.cpp | main - unknown child test
07:48:06     INFO -  Finished running nsresult ContentionNoDeadlock() tests.
07:48:06     INFO -  nsStringStats
07:48:06     INFO -   => mAllocCount:           1486
07:48:06     INFO -   => mReallocCount:           16
07:48:06     INFO -   => mFreeCount:            1486
07:48:06     INFO -   => mShareCount:           2883
07:48:06     INFO -   => mAdoptCount:              1
07:48:06     INFO -   => mAdoptFreeCount:          1
07:48:06     INFO -   => Process ID: 1364, Thread ID: 1074476168
07:48:06     INFO -  ----------------------------------
07:48:06     INFO -  (error output)
07:48:06     INFO -  ----------------------------------
07:48:06     INFO -  [1364] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
07:48:06     INFO -  [1364] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
07:48:06     INFO -  [1364] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
07:48:06     INFO -  [1364] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
07:48:06     INFO -  [1364] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
07:48:06     INFO -  [1364] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
07:48:06     INFO -  [1364] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
07:48:06     INFO -  [1364] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
07:48:06     INFO -  [1364] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
07:48:06     INFO -  [1364] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
07:48:06     INFO -  [1364] WARNING: Error parsing GRE default preferences. Is this an old-style embedding app?: file ../../../gecko/modules/libpref/Preferences.cpp, line 1287
07:48:06     INFO -  [1364] WARNING: network segment size is not a power of 2!: '(!(size & (size - 1)))', file ../../../../gecko/netwerk/base/src/nsIOService.cpp, line 852
07:48:06     INFO -  [1364] WARNING: '!compMgr', file /builds/slave/b2g_ced_emu-d_dep-000000000000/build/gecko/xpcom/glue/nsComponentManagerUtils.cpp, line 63
07:48:06     INFO -  [1364] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
07:48:06     INFO -  [1364] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
07:48:06     INFO -  [1364] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
07:48:06     INFO -  [1364] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
07:48:06     INFO -  [1364] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
07:48:07     INFO -  [remotecppunittests TEST-UNEXPECTED-FAIL | test_deadlock_detector | test failed with return code 1
07:48:07     INFO -  remotecppunittests INFO | Running test TestWeakPtr
07:48:08     INFO -  remotecppunittests INFO | Running test TestArrayUtils
07:48:09     INFO -  remotecppunittests INFO | Running test ShowAlignments
07:48:11     INFO -  1364] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
07:48:11     INFO -  [1364] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
07:48:11     INFO -  [1364] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
07:48:11     INFO -  [1364] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
07:48:11     INFO -  [1364] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
07:48:11     INFO -  [1364] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
07:48:11     INFO -  ----------------------------------
07:48:11  WARNING -  TEST-UNEXPECTED-FAIL | ../../../gecko/storage/test/test_deadlock_detector.cpp | ContentionNoDeadlock - deadlock

08:02:12     INFO -  [1901] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
08:02:12     INFO -  [1901] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
08:02:13     INFO -  [1901] WARNING: remotecppunittests INFO | Running test TestDeadlockDetector
08:02:45     INFO -  XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
08:02:45     INFO -  [1901] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
08:02:45     INFO -  nsStringStats
08:02:45     INFO -   => mAllocCount:           1564
08:02:45     INFO -   => mReallocCount:           38
08:02:45     INFO -   => mFreeCount:            1564
08:02:45     INFO -   => mShareCount:           2883
08:02:45     INFO -   => mAdoptCount:              1
08:02:45     INFO -   => mAdoptFreeCount:          1
08:02:45     INFO -   => Process ID: 1901, Thread ID: 1074476168
08:02:45     INFO -  [1915] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
08:02:45     INFO -  [1915] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
08:02:45     INFO -  [1915] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
08:02:45     INFO -  [1915] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
08:02:45     INFO -  [1915] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
08:02:45     INFO -  [1915] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
08:02:45     INFO -  [1915] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
08:02:45     INFO -  Running XPCOM deadlock detector correctness (../../../gecko/xpcom/tests/TestDeadlockDetector.cpp) tests...
08:02:45     INFO -  [1915] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
08:02:45     INFO -  [1915] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
08:02:45     INFO -  [1915] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
08:02:45     INFO -  [1915] WARNING: Error parsing GRE default preferences. Is this an old-style embedding app?: file ../../../gecko/modules/libpref/Preferences.cpp, line 1287
08:02:45     INFO -  [1915] WARNING: network segment size is not a power of 2!: '(!(size & (size - 1)))', file ../../../../gecko/netwerk/base/src/nsIOService.cpp, line 852
08:02:45     INFO -  (timed out!)
08:02:45     INFO -  TEST-PASS | Sanity
08:02:45     INFO -  (timed out!)
08:02:45     INFO -  TEST-PASS | Sanity2
08:02:45     INFO -  (timed out!)
08:02:45     INFO -  TEST-PASS | Sanity3
08:02:45     INFO -  (timed out!)
08:02:45     INFO -  TEST-PASS | Sanity4
08:02:45     INFO -  (timed out!)
08:02:45     INFO -  TEST-PASS | TwoThreads
08:02:45     INFO -  (expected 0 == return code, got 2)
08:02:45     INFO -  (output)
08:02:45     INFO -  ----------------------------------
08:02:45     INFO -  Running nsresult ContentionNoDeadlock() tests...
08:02:45  WARNING -  TEST-UNEXPECTED-FAIL | ../../../gecko/xpcom/tests/TestDeadlockDetector.cpp | main - unknown child test
08:02:45     INFO -  Finished running nsresult ContentionNoDeadlock() tests.
08:02:45     INFO -  nsStringStats
08:02:45     INFO -   => mAllocCount:           1526
08:02:45     INFO -   => mReallocCount:           16
08:02:45     INFO -   => mFreeCount:            1526
08:02:45     INFO -   => mShareCount:           2883
08:02:45     INFO -   => mAdoptCount:              1
08:02:45     INFO -   => mAdoptFreeCount:          1
08:02:45     INFO -   => Process ID: 1983, Thread ID: 1074476168
08:02:45     INFO -  ----------------------------------
08:02:45     INFO -  (error output)
08:02:45     INFO -  ----------------------------------
08:02:45     INFO -  [1983] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
08:02:45     INFO -  [1983] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
08:02:45     INFO -  [1983] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
08:02:45     INFO -  [1983] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
08:02:45     INFO -  [1983] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
08:02:45     INFO -  [1983] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
08:02:45     INFO -  [1983] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
08:02:45     INFO -  [1983] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
08:02:45     INFO -  [1983] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
08:02:45     INFO -  [1983] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
08:02:45     INFO -  [1983] WARNING: Error parsing GRE default preferences. Is this an old-style embedding app?: file ../../../gecko/modules/libpref/Preferences.cpp, line 1287
08:02:45     INFO -  [1983] WARNING: network segment size is not a power of 2!: '(!(size & (size - 1)))', file ../../../../gecko/netwerk/base/src/nsIOService.cpp, line 852
08:02:45     INFO -  [1983] WARNING: '!compMgr', file /builds/slave/b2g_ced_emu-d_dep-000000000000/build/gecko/xpcom/glue/nsComponentManagerUtils.cpp, line 63
08:02:45     INFO -  [1983] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
08:02:45     INFO -  [1983] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
08:02:45     INFO -  [1983] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
08:02:45     INFO -  [1983] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
08:02:45     INFO -  [1983] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
08:02:45     INFO -  [1983] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
08:02:45     INFO -  [1983] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
08:02:45     INFO -  [1983] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
08:02:45     INFO -  [1983] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
08:02:45     INFO -  [1983] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
08:02:45     INFO -  [1983] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
08:02:45     INFO -  ----------------------------------
08:02:45  WARNING -  TEST-UNEXPECTED-FAIL | ../../../gecko/xpcom/tests/TestDeadlockDetector.cpp | ContentionNoDeadlock - deadlock
08:02:45     INFO -  [1915] WARNING: '!compMgr', file /builds/slave/b2g_ced_emu-d_dep-000000000000/build/gecko/xpcom/glue/nsComponentManagerUtils.cpp, line 63
08:02:45     INFO -  Finished running XPCOM deadlock detector correctness (../../../gecko/xpcom/tests/TestDeadlockDetector.cpp) tests.
08:02:45     INFO -  [1915] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
08:02:45     INFO -  [1915] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
08:02:45     INFO -  [1915] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
08:02:45     INFO -  [1915] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
08:02:45     INFO -  [1915] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
08:02:45     INFO -  [1915] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
08:02:45     INFO -  [1915] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
08:02:45     INFO -  [1915] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
08:02:45     INFO -  [1915] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
08:02:45     INFO -  [1915] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
08:02:45     INFO -  [1915] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file ../../../gecko/xpcom/base/nsTraceRefcnt.cpp, line 148
08:02:45     INFO -  nsStringStats
08:02:45     INFO -   => mAllocCount:           1550
08:02:45     INFO -   => mReallocCount:           46
08:02:45     INFO -   => mFreeCount:            1550
08:02:45     INFO -   => mShareCount:           2883
08:02:45     INFO -   => mAdoptCount:              1
08:02:47     INFO -   => mAdoptFreeCremotecppunittests TEST-UNEXPECTED-FAIL | TestDeadlockDetector | test failed with return code 1
These tests fail just the same on Android 4.3 Debug:

http://ftp.mozilla.org/pub/mozilla.org/mobile/try-builds/gbrown@mozilla.com-21a67998a674/try-android-api-11-debug/try_ubuntu64_vm_armv7_mobile-debug_test-cppunit-bm53-tests1-linux64-build11.txt.gz

23:09:05     INFO -  PROCESS | TestDeadlockDetector | 
23:09:05     INFO -  [1631] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /builds/slave/try-and-api-11-d-0000000000000/build/xpcom/base/nsTraceRefcnt.cpp, line 132
23:09:05     INFO -  Running XPCOM deadlock detector correctness (/builds/slave/try-and-api-11-d-0000000000000/build/xpcom/tests/TestDeadlockDetector.cpp) tests...
23:09:05     INFO -  [1631] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /builds/slave/try-and-api-11-d-0000000000000/build/xpcom/base/nsTraceRefcnt.cpp, line 132
23:09:05     INFO -  [1631] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /builds/slave/try-and-api-11-d-0000000000000/build/xpcom/base/nsTraceRefcnt.cpp, line 132
23:09:05     INFO -  [1631] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /builds/slave/try-and-api-11-d-0000000000000/build/xpcom/base/nsTraceRefcnt.cpp, line 132
23:09:05     INFO -  [1631] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /builds/slave/try-and-api-11-d-0000000000000/build/xpcom/base/nsTraceRefcnt.cpp, line 132
23:09:05     INFO -  [1631] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /builds/slave/try-and-api-11-d-0000000000000/build/xpcom/base/nsTraceRefcnt.cpp, line 132
23:09:05     INFO -  [1631] WARNING: Error parsing GRE default preferences. Is this an old-style embedding app?: file /builds/slave/try-and-api-11-d-0000000000000/build/modules/libpref/Preferences.cpp, line 1283
23:09:05     INFO -  [1631] WARNING: network segment size is not a power of 2!: '(!(size & (size - 1)))', file /builds/slave/try-and-api-11-d-0000000000000/build/netwerk/base/nsIOService.cpp, line 1078
23:09:05     INFO -  TEST-PASS | Sanity
23:09:05     INFO -  TEST-PASS | Sanity2
23:09:05     INFO -  TEST-PASS | Sanity3
23:09:05     INFO -  TEST-PASS | Sanity4
23:09:05     INFO -  TEST-PASS | TwoThreads
23:09:05     INFO -  (expected 0 == return code, got 2)
23:09:05     INFO -  (output)
23:09:05     INFO -  ----------------------------------
23:09:05     INFO -  
23:09:05     INFO -  Running nsresult ContentionNoDeadlock() tests...
23:09:05  WARNING -  TEST-UNEXPECTED-FAIL | /builds/slave/try-and-api-11-d-0000000000000/build/xpcom/tests/TestDeadlockDetector.cpp | main - unknown child test
23:09:05     INFO -  Finished running nsresult ContentionNoDeadlock() tests.
23:09:05     INFO -  
23:09:05     INFO -  ----------------------------------
23:09:05     INFO -  
23:09:05     INFO -  (error output)
23:09:05     INFO -  ----------------------------------
23:09:05     INFO -  
23:09:05     INFO -  [1694] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /builds/slave/try-and-api-11-d-0000000000000/build/xpcom/base/nsTraceRefcnt.cpp, line 132
23:09:05     INFO -  [1694] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /builds/slave/try-and-api-11-d-0000000000000/build/xpcom/base/nsTraceRefcnt.cpp, line 132
23:09:05     INFO -  [1694] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /builds/slave/try-and-api-11-d-0000000000000/build/xpcom/base/nsTraceRefcnt.cpp, line 132
23:09:05     INFO -  [1694] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /builds/slave/try-and-api-11-d-0000000000000/build/xpcom/base/nsTraceRefcnt.cpp, line 132
23:09:05     INFO -  [1694] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /builds/slave/try-and-api-11-d-0000000000000/build/xpcom/base/nsTraceRefcnt.cpp, line 132
23:09:05     INFO -  [1694] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /builds/slave/try-and-api-11-d-0000000000000/build/xpcom/base/nsTraceRefcnt.cpp, line 132
23:09:05     INFO -  [1694] WARNING: Error parsing GRE default preferences. Is this an old-style embedding app?: file /builds/slave/try-and-api-11-d-0000000000000/build/modules/libpref/Preferences.cpp, line 1283
23:09:05     INFO -  [1694] WARNING: network segment size is not a power of 2!: '(!(size & (size - 1)))', file /builds/slave/try-and-api-11-d-0000000000000/build/netwerk/base/nsIOService.cpp, line 1078
23:09:05     INFO -  [1694] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /builds/slave/try-and-api-11-d-0000000000000/build/xpcom/base/nsTraceRefcnt.cpp, line 132
23:09:05     INFO -  [1694] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /builds/slave/try-and-api-11-d-0000000000000/build/xpcom/base/nsTraceRefcnt.cpp, line 132
23:09:05     INFO -  [1694] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /builds/slave/try-and-api-11-d-0000000000000/build/xpcom/base/nsTraceRefcnt.cpp, line 132
23:09:05     INFO -  [1694] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /builds/slave/try-and-api-11-d-0000000000000/build/xpcom/base/nsTraceRefcnt.cpp, line 132
23:09:05     INFO -  
23:09:05     INFO -  ----------------------------------
23:09:05     INFO -  
23:09:05  WARNING -  TEST-UNEXPECTED-FAIL | /builds/slave/try-and-api-11-d-0000000000000/build/xpcom/tests/TestDeadlockDetector.cpp | ContentionNoDeadlock - deadlock
23:09:05     INFO -  Finished running XPCOM deadlock detector correctness (/builds/slave/try-and-api-11-d-0000000000000/build/xpcom/tests/TestDeadlockDetector.cpp) tests.
23:09:05     INFO -  [1631] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /builds/slave/try-and-api-11-d-0000000000000/build/xpcom/base/nsTraceRefcnt.cpp, line 132
23:09:05     INFO -  [1631] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /builds/slave/try-and-api-11-d-0000000000000/build/xpcom/base/nsTraceRefcnt.cpp, line 132
23:09:05     INFO -  [1631] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /builds/slave/try-and-api-11-d-0000000000000/build/xpcom/base/nsTraceRefcnt.cpp, line 132
23:09:05     INFO -  [1631] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /builds/slave/try-and-api-11-d-0000000000000/build/xpcom/base/nsTraceRefcnt.cpp, line 132
23:09:05     INFO -  
23:09:05  WARNING -  TEST-UNEXPECTED-FAIL | TestDeadlockDetector | test failed with return code 1
23:09:05     INFO -  TEST-INFO took 23322ms


23:09:06     INFO -  TEST-START | test_deadlock_detector
23:09:06     INFO -  PROCESS | test_deadlock_detector | 
23:09:06     INFO -  [2178] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /builds/slave/try-and-api-11-d-0000000000000/build/xpcom/base/nsTraceRefcnt.cpp, line 132
23:09:06     INFO -  Running Storage deadlock detector correctness (/builds/slave/try-and-api-11-d-0000000000000/build/storage/test/test_deadlock_detector.cpp) tests...
23:09:06     INFO -  [2178] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /builds/slave/try-and-api-11-d-0000000000000/build/xpcom/base/nsTraceRefcnt.cpp, line 132
23:09:06     INFO -  [2178] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /builds/slave/try-and-api-11-d-0000000000000/build/xpcom/base/nsTraceRefcnt.cpp, line 132
23:09:06     INFO -  [2178] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /builds/slave/try-and-api-11-d-0000000000000/build/xpcom/base/nsTraceRefcnt.cpp, line 132
23:09:06     INFO -  [2178] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /builds/slave/try-and-api-11-d-0000000000000/build/xpcom/base/nsTraceRefcnt.cpp, line 132
23:09:06     INFO -  [2178] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /builds/slave/try-and-api-11-d-0000000000000/build/xpcom/base/nsTraceRefcnt.cpp, line 132
23:09:06     INFO -  [2178] WARNING: Error parsing GRE default preferences. Is this an old-style embedding app?: file /builds/slave/try-and-api-11-d-0000000000000/build/modules/libpref/Preferences.cpp, line 1283
23:09:06     INFO -  [2178] WARNING: network segment size is not a power of 2!: '(!(size & (size - 1)))', file /builds/slave/try-and-api-11-d-0000000000000/build/netwerk/base/nsIOService.cpp, line 1078
23:09:06     INFO -  TEST-PASS | Sanity
23:09:06     INFO -  TEST-PASS | Sanity2
23:09:06     INFO -  TEST-PASS | Sanity3
23:09:06     INFO -  TEST-PASS | Sanity4
23:09:07     INFO -  TEST-PASS | TwoThreads
23:09:07     INFO -  (expected 0 == return code, got 1)
23:09:07     INFO -  (output)
23:09:07     INFO -  ----------------------------------
23:09:07     INFO -  
23:09:07     INFO -  Running nsresult ContentionNoDeadlock() tests...
23:09:07  WARNING -  TEST-UNEXPECTED-FAIL | /builds/slave/try-and-api-11-d-0000000000000/build/storage/test/test_deadlock_detector.cpp | main - unknown child test
23:09:07     INFO -  Finished running nsresult ContentionNoDeadlock() tests.
23:09:07     INFO -  
23:09:07     INFO -  ----------------------------------
23:09:07     INFO -  
23:09:07     INFO -  (error output)
23:09:07     INFO -  ----------------------------------
23:09:07     INFO -  
23:09:07     INFO -  [2241] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /builds/slave/try-and-api-11-d-0000000000000/build/xpcom/base/nsTraceRefcnt.cpp, line 132
23:09:07     INFO -  [2241] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /builds/slave/try-and-api-11-d-0000000000000/build/xpcom/base/nsTraceRefcnt.cpp, line 132
23:09:07     INFO -  [2241] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /builds/slave/try-and-api-11-d-0000000000000/build/xpcom/base/nsTraceRefcnt.cpp, line 132
23:09:07     INFO -  [2241] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /builds/slave/try-and-api-11-d-0000000000000/build/xpcom/base/nsTraceRefcnt.cpp, line 132
23:09:07     INFO -  [2241] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /builds/slave/try-and-api-11-d-0000000000000/build/xpcom/base/nsTraceRefcnt.cpp, line 132
23:09:07     INFO -  [2241] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /builds/slave/try-and-api-11-d-0000000000000/build/xpcom/base/nsTraceRefcnt.cpp, line 132
23:09:07     INFO -  [2241] WARNING: Error parsing GRE default preferences. Is this an old-style embedding app?: file /builds/slave/try-and-api-11-d-0000000000000/build/modules/libpref/Preferences.cpp, line 1283
23:09:07     INFO -  [2241] WARNING: network segment size is not a power of 2!: '(!(size & (size - 1)))', file /builds/slave/try-and-api-11-d-0000000000000/build/netwerk/base/nsIOService.cpp, line 1078
23:09:07     INFO -  [2241] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /builds/slave/try-and-api-11-d-0000000000000/build/xpcom/base/nsTraceRefcnt.cpp, line 132
23:09:07     INFO -  [2241] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /builds/slave/try-and-api-11-d-0000000000000/build/xpcom/base/nsTraceRefcnt.cpp, line 132
23:09:07     INFO -  [2241] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /builds/slave/try-and-api-11-d-0000000000000/build/xpcom/base/nsTraceRefcnt.cpp, line 132
23:09:07     INFO -  [2241] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /builds/slave/try-and-api-11-d-0000000000000/build/xpcom/base/nsTraceRefcnt.cpp, line 132
23:09:07     INFO -  
23:09:07     INFO -  ----------------------------------
23:09:07     INFO -  
23:09:07  WARNING -  TEST-UNEXPECTED-FAIL | /builds/slave/try-and-api-11-d-0000000000000/build/storage/test/test_deadlock_detector.cpp | ContentionNoDeadlock - deadlock
23:09:07     INFO -  Finished running Storage deadlock detector correctness (/builds/slave/try-and-api-11-d-0000000000000/build/storage/test/test_deadlock_detector.cpp) tests.
23:09:07     INFO -  [2178] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /builds/slave/try-and-api-11-d-0000000000000/build/xpcom/base/nsTraceRefcnt.cpp, line 132
23:09:07     INFO -  [2178] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /builds/slave/try-and-api-11-d-0000000000000/build/xpcom/base/nsTraceRefcnt.cpp, line 132
23:09:07     INFO -  [2178] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /builds/slave/try-and-api-11-d-0000000000000/build/xpcom/base/nsTraceRefcnt.cpp, line 132
23:09:07     INFO -  [2178] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /builds/slave/try-and-api-11-d-0000000000000/build/xpcom/base/nsTraceRefcnt.cpp, line 132
23:09:07     INFO -  
23:09:07  WARNING -  TEST-UNEXPECTED-FAIL | test_deadlock_detector | test failed with return code 1
23:09:07     INFO -  TEST-INFO took 24486ms
Blocks: 1140454
No longer blocks: 1140454
Whiteboard: [test disabled on android 4.3 debug]
We can ignore all those warnings (they're not related to this test). For background: this test is weird, we're trying to create deadlocks so we actually spawn off subprocesses and create the deadlock there.

My best guess is that the messages that we spit out when detecting the deadlock are not getting properly piped back to the parent process.

Dan, can you provide details on how I would run this locally?
Flags: needinfo?(dminor)
Sorry for the delay, my old emulator doesn't run and I can't seem to get b2g to build any more. :ahal said he would have a look.
Flags: needinfo?(dminor) → needinfo?(ahalberstadt)
I got a build, but couldn't figure out how to get them running. Whoever knows how should really add documentation to:
https://developer.mozilla.org/en-US/Firefox_OS/Automated_testing

I was able to get this far:
$ cd objdir-gecko
$ make package-tests
$ cd dist/test-stage
$ virtualenv venv
$ pip install -r mozbase_requirements.txt
$ cd ../cppunittests
$ python remotecppunittests.py --help

But I couldn't figure out what magic sauce was needed to get it running. But imo, even with documentation that's way too complicated to set up. We should also update the cppunittest mach command to work with B2G. Ideally the only thing a dev should have to do is |mach cppunittest|.
Flags: needinfo?(ahalberstadt)
secret sauce:
* start an emulator
* python remotecppunittests.py --xre-path=<b2g-path> --dm_trans=adb --addEnv LD_LIBRARY_PATH=/vendor/lib:/system/lib:/system/b2g <test>

<b2g-path> should be a path to a directory containing e.g. libnss3.so
<test> should be a path to the test to run, e.g. TestDeadlockDetector
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.