New issue
Advanced search Search tips

Issue 764020 link

Starred by 2 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Fuchsia
Pri: 3
Type: Bug

Blocking:
issue 882906
issue 738275
issue 754861



Sign in to add a comment

ServiceWorkerStorageOriginTrialsDiskTest.FromMainScript failed in content_unittests on Fuchsia

Project Member Reported by scottmg@chromium.org, Sep 11 2017

Issue description

https://luci-logdog.appspot.com/v/?s=chromium%2Fbb%2Fchromium.fyi%2FFuchsia%2F9349%2F%2B%2Frecipes%2Fsteps%2Fcontent_unittests%2F0%2Fstdout

[00195.406] 02802.03402> [3:2008041899:0911/064102.137178:195406867:ERROR:test_launcher.cc(343)] adding 6210465f to live process list
[00195.415] 02802.03402> [3:2008041899:0911/064102.146069:195415716:ERROR:process_fuchsia.cc(167)] going to wait for process 6210465f (deadline=645415486000, now=195415820000)
[00197.252] 01113.01146> <== fatal exception: process content_unittests[157547] thread initial-thread[157594]
[00197.253] 01113.01146> <== fatal page fault, PC at 0x55e2518e2fd1
[00197.255] 01113.01146>  CS:                   0 RIP:     0x55e2518e2fd1 EFL:            0x10202 CR2:               0xc8
[00197.256] 01113.01146>  RAX:                  0 RBX:     0x17b30a83f0c0 RCX:                0x2 RDX:                0x2
[00197.258] 01113.01146>  RSI:        0x17b30a83f RDI:     0x1713b616f058 RBP: 0xaaaaaaaaaaaaaaab RSP:     0x32b0337d1440
[00197.258] 01113.01146>   R8:              0x148  R9:         0x17b30a83 R10:     0x16cf8eb53240 R11:              0x212
[00197.258] 01113.01146>  R12: 0xaaaaaaaaaaaaaaab R13: 0x3165727574616546 R14:     0x1713b62f9cc0 R15:     0x178c3a291e00
[00197.259] 01113.01146>  errc:               0x4
[00197.259] 01113.01146> bottom of user stack:
[00197.260] 01113.01146> 0x000032b0337d1440: 00000000 00000000 00000000 00000000 |................|
[00197.261] 01113.01146> 0x000032b0337d1450: b61b3060 00001713 b61b30e8 00001713 |`0.......0......|
[00197.262] 01113.01146> 0x000032b0337d1460: b61b30e8 00001713 00000005 00000000 |.0..............|
[00197.262] 01113.01146> 0x000032b0337d1470: 3a0b8a00 0000178c 00000000 00000000 |...:............|
[00197.263] 01113.01146> 0x000032b0337d1480: 3a21fcd0 0000178c 00000000 00000000 |..!:............|
[00197.264] 01113.01146> 0x000032b0337d1490: 00000000 00000000 00000000 ffffffff |................|
[00197.264] 01113.01146> 0x000032b0337d14a0: 00000000 ffffffff 00000000 ffffffff |................|
[00197.264] 01113.01146> 0x000032b0337d14b0: 00000000 ffffffff 00000000 ffffffff |................|
[00197.265] 01113.01146> 0x000032b0337d14c0: 00000000 ffffffff 00000000 ffffffff |................|
[00197.266] 01113.01146> 0x000032b0337d14d0: 00000000 ffffffff 53478a00 000055e2 |..........GS.U..|
[00197.267] 01113.01146> 0x000032b0337d14e0: 00000000 00000000 00000000 00000000 |................|
[00197.267] 01113.01146> 0x000032b0337d14f0: 00000064 00000000 00000000 00000000 |d...............|
[00197.267] 01113.01146> 0x000032b0337d1500: 54544822 2e312f50 30322031 4b4f2030 |"HTTP/1.1 200 OK|
[00197.267] 01113.01146> 0x000032b0337d1510: 00000a0a 00000000 69724f1c 2d6e6967 |.........Origin-|
[00197.268] 01113.01146> 0x000032b0337d1520: 61697254 00203a6c 00000000 00000000 |Trial: .........|
[00197.268] 01113.01146> 0x000032b0337d1530: 00000000 00000000 00000000 00000000 |................|
[00197.269] 01113.01146> arch: x86_64
[00197.270] 01113.01146> dso: id=1145b56198ec610f90e9a7ab397167e57f8e7059 base=0x671dfd5a7000 name=<vDSO>
[00197.270] 01113.01146> dso: id=cd05550a2a852b6a base=0x55e24f571000 name=app:content_unittests
[00197.271] 01113.01146> dso: id=59ae220e2f05a5163e0a5d6adfb5329267b8272f base=0x53104618d000 name=liblaunchpad.so
[00197.271] 01113.01146> dso: id=8d91e10abb4bd0b663acea61a8882c246dd307aa base=0x471a042b8000 name=libc.so
[00197.272] 01113.01146> dso: id=cfa3091154257e17ca3235c5af847d5a790b421a base=0x3ab5587cb000 name=libmxio.so
#01: scoped_refptr<content::ServiceWorkerVersion>::get() const at base/memory/ref_counted.h:538
      (inlined by) content::ServiceWorkerRegistration::active_version() const at content/browser/service_worker/service_worker_registration.h:83
      (inlined by) content::ServiceWorkerStorageOriginTrialsDiskTest_FromMainScript_Test::TestBody() at content/browser/service_worker/service_worker_storage_unittest.cc:2078
#02: testing::internal::UnitTestImpl::os_stack_trace_getter() at third_party/googletest/src/googletest/src/gtest.cc:4947
      (inlined by) testing::Test::Run() at third_party/googletest/src/googletest/src/gtest.cc:2479
#03: testing::internal::UnitTestImpl::os_stack_trace_getter() at third_party/googletest/src/googletest/src/gtest.cc:4947
      (inlined by) testing::TestInfo::Run() at third_party/googletest/src/googletest/src/gtest.cc:2658
#04: testing::TestCase::Run() at third_party/googletest/src/googletest/src/gtest.cc:2771
#05: testing::internal::UnitTestImpl::RunAllTests() at third_party/googletest/src/googletest/src/gtest.cc:4676
#06: testing::UnitTest::Run() at third_party/googletest/src/googletest/src/gtest.cc:4285
#07: RUN_ALL_TESTS() at third_party/googletest/src/googletest/include/gtest/gtest.h:2237
      (inlined by) base::TestSuite::Run() at base/test/test_suite.cc:270
#08: base::RepeatingCallback<int ()>::Run() const & at base/callback.h:92
      (inlined by) base::(anonymous namespace)::LaunchUnitTestsInternal(base::RepeatingCallback<int ()> const&, unsigned long, int, bool, base::RepeatingCallback<void ()> const&) at base/test/launcher/unit_test_launcher.cc:216
#09: base::LaunchUnitTests(int, char**, base::RepeatingCallback<int ()> const&) at base/test/launcher/unit_test_launcher.cc:475
#10: main at content/test/run_all_unittests.cc:20
#11: pc 0x471a042d3e3e sp 0x32b0337d1fe0 (libc.so,0x1be3e)
#12: pc 0 sp 0x32b0337d2000
[00197.307] 02802.03360> [3:2011711885:0911/064104.037289:197306926:ERROR:test_launcher.cc(382)] going to KillProcessGroup() for 6ea045cf
[00197.311] 02802.03360> [3:2011711885:0911/064104.041454:197311091:ERROR:test_launcher.cc(392)] removing 6ea045cf from live process list
[00197.392] 02802.02933> [2501/4560] ServiceWorkerResourceStorageDiskTest.DeleteAndStartOver (1723 ms)
[00197.392] 02802.02933> [2502/4560] ServiceWorkerResourceStorageDiskTest.DeleteAndStartOver_UnrelatedFileExists (1619 ms)
[00197.393] 02802.02933> [2503/4560] ServiceWorkerResourceStorageDiskTest.DeleteAndStartOver_OpenedFileExists (1306 ms)
[00197.393] 02802.02933> [2504/4560] ServiceWorkerStorageDiskTest.OriginHasForeignFetchRegistrations (1189 ms)
[00197.393] 02802.02933> [2505/4560] ServiceWorkerStorageDiskTest.DisabledNavigationPreloadState (1056 ms)
[00197.394] 02802.02933> [2506/4560] ServiceWorkerStorageDiskTest.EnabledNavigationPreloadState (763 ms)
[00197.394] 02802.02933> [ RUN      ] ServiceWorkerStorageOriginTrialsDiskTest.FromMainScript
[00197.394] 02802.02933> ../../content/browser/service_worker/service_worker_storage_unittest.cc:2067: Failure
[00197.396] 02802.02933>       Expected: SERVICE_WORKER_OK
[00197.396] 02802.02933>       Which is: 0
[00197.397] 02802.02933> To be equal to: StoreRegistration(registration, version)
[00197.397] 02802.02933>       Which is: 1
[00197.397] 02802.02933> ../../content/browser/service_worker/service_worker_storage_unittest.cc:2077: Failure
[00197.398] 02802.02933>       Expected: SERVICE_WORKER_OK
[00197.398] 02802.02933>       Which is: 0
[00197.398] 02802.02933> To be equal to: FindRegistrationForDocument(kScope, &found_registration)
[00197.399] 02802.02933>       Which is: 5
[00197.399] 02802.02933> [2507/4560] ServiceWorkerStorageOriginTrialsDiskTest.FromMainScript (CRASHED)
 
Has started failing fairly regularly instead of crashing. Seems to have started here:

https://build.chromium.org/p/chromium.fyi/builders/Fuchsia/builds/10174


But builds 10148-10173 were broken elsewhere so might have masked a regression range.

Seems to fail every few runs on the waterfall now.
Oh wait, wrong one. OK, ignore #c1.
Blocking: 882906
Cc: scottmg@chromium.org
Owner: ----
Status: Available (was: Assigned)

Sign in to add a comment