New issue
Advanced search Search tips

Issue 844027 link

Starred by 3 users

Issue metadata

Status: Untriaged
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 3
Type: Bug



Sign in to add a comment

midi_unittests MidiManagerTest.CreatePlatformMidiManager fails on Android

Project Member Reported by h...@chromium.org, May 17 2018

Issue description

Example:
https://ci.chromium.org/buildbot/tryserver.chromium.android/android_n5x_swarming_rel/424449




[ RUN      ] MidiManagerTest.CreatePlatformMidiManager
[FATAL:jni_android.cc(258)] Please include Java exception stack in crash report
[ERROR:test_suite.cc(301)] Currently running: MidiManagerTest.CreatePlatformMidiManager
Searching for native crashes in: /b/swarming/w/itQAFR0o/tmpAdzuTk
Unknown Android release, consider passing --packed-lib.
Reading Android symbols from: /b/swarming/w/ir
Searching for Chrome symbols from within: /b/swarming/w/ir/out/Release/lib.unstripped:/b/swarming/w/ir/out/Release
Stack Trace:
  RELADDR   FUNCTION                                                                                                                                                                                                                                                                                                                                                                                                                                         FILE:LINE
  00000000001315c3  logging::LogMessage::~LogMessage()                                                                                                                                                                                                                                                                                                                                                                                                               ??:0:0
  000000000011e723  base::android::CheckException(_JNIEnv*)                                                                                                                                                                                                                                                                                                                                                                                                          ??:0:0
  000000000011361b  midi::MidiManagerAndroid::StartInitialization()                                                                                                                                                                                                                                                                                                                                                                                                  ??:0:0
  000000000010cb6b  midi::MidiManager::StartSession(midi::MidiManagerClient*)                                                                                                                                                                                                                                                                                                                                                                                        ??:0:0
  00000000001107ff  midi::MidiService::StartSession(midi::MidiManagerClient*)                                                                                                                                                                                                                                                                                                                                                                                        ??:0:0
  00000000000f5397  midi::(anonymous namespace)::MidiManagerTest_CreatePlatformMidiManager_Test::TestBody()                                                                                                                                                                                                                                                                                                                                                          ??:0:0
  0000000000229a23  testing::Test::Run()                                                                                                                                                                                                                                                                                                                                                                                                                             ??:0:0
  0000000000229f67  testing::TestInfo::Run()                                                                                                                                                                                                                                                                                                                                                                                                                         ??:0:0
  000000000022a2c7  testing::TestCase::Run()                                                                                                                                                                                                                                                                                                                                                                                                                         ??:0:0
  000000000022f583  testing::internal::UnitTestImpl::RunAllTests()                                                                                                                                                                                                                                                                                                                                                                                                   ??:0:0
  000000000022f2fb  testing::UnitTest::Run()                                                                                                                                                                                                                                                                                                                                                                                                                         ??:0:0
  00000000002357b7  base::TestSuite::Run()                                                                                                                                                                                                                                                                                                                                                                                                                           ??:0:0
  0000000000110b13  void base::internal::Invoker<base::internal::BindState<void (midi::MidiManager::*)(), base::internal::UnretainedWrapper<midi::MidiManager> >, void ()>::RunImpl<void (midi::MidiManager::*)(), std::__ndk1::tuple<base::internal::UnretainedWrapper<midi::MidiManager> >, 0ul>(void (midi::MidiManager::*&&)(), std::__ndk1::tuple<base::internal::UnretainedWrapper<midi::MidiManager> >&&, std::__ndk1::integer_sequence<unsigned long, 0ul>)  ??:0:0
  0000000000237563  base::OnceCallback<int ()>::Run() &&                                                                                                                                                                                                                                                                                                                                                                                                             ??:0:0
  000000000023749b  base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>)                                                                                                                                                                                                                                                                                                                                                                                   ??:0:0
  00000000002338cb  main                                                                                                                                                                                                                                                                                                                                                                                                                                             ??:0:0
  00000000002331b7  Java_org_chromium_native_1test_NativeTest_nativeRunTests                                                                                                                                                                                                                                                                                                                                                                                         ??:0:0
  0000000000982ffb  <UNKNOWN>                                                                                                                                                                                                                                                                                                                                                                                                                                        /data/app/org.chromium.native_test-1/oat/arm64/base.odex
  0000000000983ffb  <UNKNOWN>                                                                                                                                                                                                                                                                                                                                                                                                                                        /data/app/org.chromium.native_test-1/oat/arm64/base.odex
  0000000000982eab  <UNKNOWN>                                                                                                                                                                                                                                                                                                                                                                                                                                        /data/app/org.chromium.native_test-1/oat/arm64/base.odex
  000000000098275f  <UNKNOWN>                                                                                                                                                                                                                                                                                                                                                                                                                                        /data/app/org.chromium.native_test-1/oat/arm64/base.odex
  00000000029d06e3  <UNKNOWN>                                       
 

Comment 1 by thakis@chromium.org, May 17 2018

Cc: toyoshim@chromium.org
Components: Blink>Media
Project Member

Comment 2 by bugdroid1@chromium.org, May 17 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/31fa6fcacd98f4268ef84ac0d284781e5a9c2398

commit 31fa6fcacd98f4268ef84ac0d284781e5a9c2398
Author: Hans Wennborg <hans@chromium.org>
Date: Thu May 17 16:58:16 2018

Android test exclusions: don't exclude midi_unittests

These tests do pass on some bots, e.g. [1], and it's not clear why they
were being excluded. If there's a legitimate reason for them not to run
on Android, let's figure it out and get a bug filed.

Sheriffs: if this causes the tests to start failing on Android bots,
please file a bug with information about the error, put the exclusion
back and reference the bug.

(Disabling MidiManagerTest.CreatePlatformMidiManager, see second bug.)

Bug:  842698 , 844027

 [1] https://ci.chromium.org/buildbot/chromium.clang/ToTAndroid/3343

R=kbr@chromium.org, thakis@chromium.org
TBR=toyoshim for media/midi

Change-Id: I5f6e04f97ede67ba37ea3c04063d36ffa8f5e1b6
Reviewed-on: https://chromium-review.googlesource.com/1063832
Reviewed-by: Hans Wennborg <hans@chromium.org>
Reviewed-by: Nico Weber <thakis@chromium.org>
Commit-Queue: Hans Wennborg <hans@chromium.org>
Cr-Commit-Position: refs/heads/master@{#559573}
[modify] https://crrev.com/31fa6fcacd98f4268ef84ac0d284781e5a9c2398/media/midi/midi_manager_unittest.cc
[modify] https://crrev.com/31fa6fcacd98f4268ef84ac0d284781e5a9c2398/testing/buildbot/chromium.android.fyi.json
[modify] https://crrev.com/31fa6fcacd98f4268ef84ac0d284781e5a9c2398/testing/buildbot/chromium.android.json
[modify] https://crrev.com/31fa6fcacd98f4268ef84ac0d284781e5a9c2398/testing/buildbot/chromium.clang.json
[modify] https://crrev.com/31fa6fcacd98f4268ef84ac0d284781e5a9c2398/testing/buildbot/chromium.memory.json
[modify] https://crrev.com/31fa6fcacd98f4268ef84ac0d284781e5a9c2398/testing/buildbot/test_suite_exceptions.pyl

Cc: yhirano@chromium.org
Components: -Blink>Media Blink>WebMIDI
We had an arm64 only crash issue on the test. May be a dup. Will merge these bugs later.

Comment 4 by h...@chromium.org, May 22 2018

 Issue 778783  has been merged into this issue.

Sign in to add a comment