Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(102)

Issue 2397803002: Use FileDescriptorWatcher in wl::FakeServer. (Closed)

Created:
4 years, 2 months ago by fdoray
Modified:
4 years, 2 months ago
Reviewers:
spang
CC:
chromium-reviews, kalyank, ozone-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use FileDescriptorWatcher in wl::FakeServer. FileDescriptorWatcher is a new API that replaces MessageLoopForIO::WatchFileDescriptor. BUG=645114 Committed: https://crrev.com/233655edccc560d98e739b48f16879df99d9c398 Cr-Commit-Position: refs/heads/master@{#425685}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -17 lines) Patch
M ui/ozone/platform/wayland/fake_server.h View 4 chunks +7 lines, -7 lines 0 comments Download
M ui/ozone/platform/wayland/fake_server.cc View 2 chunks +10 lines, -10 lines 0 comments Download

Messages

Total messages: 17 (9 generated)
fdoray
PTAL
4 years, 2 months ago (2016-10-05 17:01:48 UTC) #6
fdoray
Is there a bot on which I can run wayland_unittests?
4 years, 2 months ago (2016-10-11 12:34:46 UTC) #7
spang
On 2016/10/11 12:34:46, fdoray wrote: > Is there a bot on which I can run ...
4 years, 2 months ago (2016-10-11 16:57:41 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2397803002/1
4 years, 2 months ago (2016-10-17 15:26:21 UTC) #12
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 2 months ago (2016-10-17 15:35:51 UTC) #13
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/233655edccc560d98e739b48f16879df99d9c398 Cr-Commit-Position: refs/heads/master@{#425685}
4 years, 2 months ago (2016-10-17 15:39:24 UTC) #15
tonikitoo
On 2016/10/11 12:34:46, fdoray wrote: > Is there a bot on which I can run ...
4 years, 2 months ago (2016-10-19 14:42:45 UTC) #16
not to use - tonikitoo
4 years, 2 months ago (2016-10-19 14:59:38 UTC) #17
Message was sent while issue was closed.
A revert of this CL (patchset #1 id:1) has been created in
https://codereview.chromium.org/2437563004/ by tonikitoo@chromium.org.

The reason for reverting is: There is no bots that build/run ozone/wayland unit
tests at the moment, although it is being worked on in
https://codereview.chromium.org/2423833002/.

This CL has made all wayland unit tests to fail:

One can run them with GN args

  dcheck_always_on = true
  is_debug = false
  symbol_level = 1

  target_os = "chromeos"
  use_ozone = true
  ozone_platform_wayland = true

$ ninja time ninja -C <out> wayland_unittests  ozone_unittests
$ <out>/ozone_unittests

Failure:

[1019/104135:ERROR:kill_posix.cc(84)] Unable to terminate process group 19687:
No such process
[ RUN      ] WaylandConnectionTest.UseUnstableVersion
[19687:19687:1019/104135:94999256539:FATAL:file_descriptor_watcher_posix.cc(29)]
Check failed: sequence_checker_.CalledOnValidSequence(). 
#0 0x7f6fa9aae91e base::debug::StackTrace::StackTrace()
#1 0x7f6fa9ad0940 logging::LogMessage::~LogMessage()
#2 0x7f6fa9ab2bde base::FileDescriptorWatcher::Controller::~Controller()
#3 0x000000418d22 wl::FakeServer::~FakeServer()
#4 0x00000042c56c ui::WaylandConnectionTest_UseUnstableVersion_Test::TestBody()
#5 0x00000045b787 testing::Test::Run()
#6 0x00000045c309 testing::TestInfo::Run()
#7 0x00000045c8e7 testing::TestCase::Run()
#8 0x000000462ab7 testing::internal::UnitTestImpl::RunAllTests()
#9 0x0000004626f7 testing::UnitTest::Run()
#10 0x00000044191d base::TestSuite::Run()
#11 0x000000442d99 base::(anonymous namespace)::LaunchUnitTestsInternal()
#12 0x000000442c64 base::LaunchUnitTests()
#13 0x000000417f2f main
#14 0x7f6fa7a06731 __libc_start_main
#15 0x000000417dc9 _start.

Powered by Google App Engine
This is Rietveld 408576698