Skip to content

Instantly share code, notes, and snippets.

@tiagovignatti
Created March 25, 2014 14:45
Show Gist options
  • Save tiagovignatti/9763282 to your computer and use it in GitHub Desktop.
Save tiagovignatti/9763282 to your computer and use it in GitHub Desktop.
root@fisu:/home/tiago/git/chromium/src/out_kms/out/Debug# ./ui_unittests --gtest_filter=DriSurfaceFactoryTest.* --single-process-tests
Note: Google Test filter = DriSurfaceFactoryTest.*
[==========] Running 8 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 8 tests from DriSurfaceFactoryTest
[ RUN ] DriSurfaceFactoryTest.FailInitialization
[6336:6336:0325/164423:717735464585:ERROR:dri_surface_factory.cc(138)] Cannot open graphics card '/dev/dri/card0': No such file or directory
[ OK ] DriSurfaceFactoryTest.FailInitialization (0 ms)
[ RUN ] DriSurfaceFactoryTest.SuccessfulInitialization
[6336:6336:0325/164423:717735464780:ERROR:dri_skbitmap.cc(38)] Cannot create dumb buffer (25) Inappropriate ioctl for device
[6336:6336:0325/164423:717735464811:ERROR:dri_skbitmap.cc(98)] Cannot allocate drm dumb buffer
[6336:6336:0325/164423:717735464834:ERROR:dri_surface_factory.cc(146)] Failed to initialize cursor surface
../../../ui/gfx/ozone/dri/dri_surface_factory_unittest.cc:254: Failure
Value of: factory_->InitializeHardware()
Actual: 2
Expected: gfx::SurfaceFactoryOzone::INITIALIZED
Which is: 1
[ FAILED ] DriSurfaceFactoryTest.SuccessfulInitialization (0 ms)
[ RUN ] DriSurfaceFactoryTest.FailSurfaceInitialization
[6336:6336:0325/164423:717735465075:ERROR:dri_skbitmap.cc(38)] Cannot create dumb buffer (25) Inappropriate ioctl for device
[6336:6336:0325/164423:717735465102:ERROR:dri_skbitmap.cc(98)] Cannot allocate drm dumb buffer
[6336:6336:0325/164423:717735465120:ERROR:dri_surface_factory.cc(146)] Failed to initialize cursor surface
../../../ui/gfx/ozone/dri/dri_surface_factory_unittest.cc:261: Failure
Value of: factory_->InitializeHardware()
Actual: 2
Expected: gfx::SurfaceFactoryOzone::INITIALIZED
Which is: 1
[6336:6336:0325/164423:717735465249:FATAL:dri_surface_factory.cc(165)] Check failed: state_ != FAILED.
#0 0x000000677a67 base::debug::StackTrace::StackTrace()
#1 0x0000005bfae9 logging::LogMessage::~LogMessage()
#2 0x000000c9cf63 gfx::DriSurfaceFactory::GetAcceleratedWidget()
#3 0x00000052bb6c DriSurfaceFactoryTest_FailSurfaceInitialization_Test::TestBody()
#4 0x00000070fbca testing::internal::HandleSehExceptionsInMethodIfSupported<>()
#5 0x00000070baf1 testing::internal::HandleExceptionsInMethodIfSupported<>()
#6 0x000000700195 testing::Test::Run()
#7 0x0000007007be testing::TestInfo::Run()
#8 0x000000700d19 testing::TestCase::Run()
#9 0x00000070578b testing::internal::UnitTestImpl::RunAllTests()
#10 0x000000710d5f testing::internal::HandleSehExceptionsInMethodIfSupported<>()
#11 0x00000070c8b1 testing::internal::HandleExceptionsInMethodIfSupported<>()
#12 0x000000704779 testing::UnitTest::Run()
#13 0x0000006d1e1d RUN_ALL_TESTS()
#14 0x0000006d1800 base::TestSuite::Run()
#15 0x000000478d86 base::internal::RunnableAdapter<>::Run()
#16 0x000000478b3c base::internal::InvokeHelper<>::MakeItSo()
#17 0x000000478ae8 base::internal::Invoker<>::Run()
#18 0x0000006cdc33 base::Callback<>::Run()
#19 0x0000006cbeee base::(anonymous namespace)::LaunchUnitTestsInternal()
#20 0x0000006cc1ba base::LaunchUnitTests()
#21 0x000000478905 main
#22 0x7ffd69a1376d __libc_start_main
#23 0x000000410e29 <unknown>
root@fisu:/home/tiago/git/chromium/src/out_kms/out/Debug#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment