Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Intermittent test failures on CI - AdBlockServiceTest.SubFrame #12351

Closed
jumde opened this issue Oct 27, 2020 · 2 comments
Closed

Intermittent test failures on CI - AdBlockServiceTest.SubFrame #12351

jumde opened this issue Oct 27, 2020 · 2 comments
Assignees
Labels

Comments

@jumde
Copy link
Contributor

jumde commented Oct 27, 2020

12:34:27  EOF while parsing a value at line 1 column 0
12:34:27  Failed to parse JSON adblock resources: EOF while parsing a value at line 1 column 0
12:34:27  Failed to parse JSON adblock resources: EOF while parsing a value at line 1 column 0
12:34:27  ../../brave/browser/brave_shields/ad_block_service_browsertest.cc:554: Failure
12:34:27  Expected equality of these values:
12:34:27    browser()->profile()->GetPrefs()->GetUint64(kAdsBlocked)
12:34:27      Which is: 1
12:34:27    2ULL
12:34:27      Which is: 2
12:34:27  Stack trace:
12:34:27  #0 0x55e2a07a1c99 (/home/ubuntu/workspace/pr-brave-browser-fix_lint-linux/src/out/Release/brave_browser_tests+0x5ef7c98)
12:34:27  
12:34:27  [  FAILED  ] AdBlockServiceTest.SubFrame, where TypeParam =  and GetParam() =  (562 ms)
@jumde jumde added OS/Android Fixes related to Android browser functionality OS/Desktop labels Oct 27, 2020
@kjozwiak
Copy link
Member

Ran into this as well when uplifting brave/brave-core#6961 into 1.17.x. Happens pretty often.

12:58:39  [ RUN      ] AdBlockServiceTest.SubFrame
12:58:39  [4855:4855:1029/165838.929344:WARNING:xproto_util.cc(51)] X error received: serial 188, error_code 2 (BadValue (integer parameter out of range for operation)), request_code 53, minor_code 0 (X_CreatePixmap)
12:58:39  [4855:4855:1029/165838.929366:WARNING:xproto_util.cc(51)] X error received: serial 189, error_code 9 (BadDrawable (invalid Pixmap or Window parameter)), request_code 55, minor_code 0 (X_CreateGC)
12:58:39  [4855:4855:1029/165838.929373:WARNING:xproto_util.cc(51)] X error received: serial 190, error_code 9 (BadDrawable (invalid Pixmap or Window parameter)), request_code 72, minor_code 0 (X_PutImage)
12:58:39  [4855:4855:1029/165838.929383:WARNING:xproto_util.cc(51)] X error received: serial 191, error_code 4 (BadPixmap (invalid Pixmap parameter)), request_code 54, minor_code 0 (X_FreePixmap)
12:58:39  [4855:4855:1029/165838.929392:WARNING:xproto_util.cc(51)] X error received: serial 192, error_code 13 (BadGC (invalid GC parameter)), request_code 60, minor_code 0 (X_FreeGC)
12:58:39  [4855:4883:1029/165838.934353:ERROR:bus.cc(393)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
12:58:39  [4855:4883:1029/165838.934380:ERROR:bus.cc(393)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
12:58:39  [4855:4883:1029/165838.966152:ERROR:bus.cc(393)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
12:58:39  [4855:4883:1029/165838.966177:ERROR:bus.cc(393)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
12:58:39  [4855:4855:1029/165839.065957:WARNING:CONSOLE(1)] "no tab id so cannot request shield data from window focus change!", source: chrome-extension://mnojpmjdmbbfmejpflffifhffcmidifd/out/brave_extension_background.bundle.js (1)
12:58:39  [4855:4894:1029/165839.073317:ERROR:dat_file_util.cc(41)] GetDATFileAsString: cannot read dat file /tmp/.org.chromium.Chromium.TLANzy/user_data/Default/Extensions/naccapggpomhlhoifnlebfoocegenbol/1.0.1_0/resources.json
12:58:39  [4855:4894:1029/165839.073591:ERROR:dat_file_util.cc(41)] GetDATFileAsString: cannot read dat file /tmp/.org.chromium.Chromium.TLANzy/user_data/Default/Extensions/naccapggpomhlhoifnlebfoocegenbol/1.0.1_0/regional_catalog.json
12:58:39  [4855:4855:1029/165839.075681:ERROR:ad_block_service_helper.cc(58)] Could not load regional adblock catalog
12:58:39  Failed to parse JSON adblock resources: EOF while parsing a value at line 1 column 0
12:58:39  Failed to parse JSON adblock resources: EOF while parsing a value at line 1 column 0
12:58:39  Failed to parse JSON adblock resources: EOF while parsing a value at line 1 column 0
12:58:39  ../../brave/browser/brave_shields/ad_block_service_browsertest.cc:554: Failure
12:58:39  Expected equality of these values:
12:58:39    browser()->profile()->GetPrefs()->GetUint64(kAdsBlocked)
12:58:39      Which is: 1
12:58:39    2ULL
12:58:39      Which is: 2
12:58:39  Stack trace:
12:58:39  #0 0x55a7f303dd59 (/home/ubuntu/workspace/pr-brave-browser-pr6951_uphold-equities_1.17.x-linux/src/out/Release/brave_browser_tests+0x5efbd58)
12:58:39  
12:58:39  [  FAILED  ] AdBlockServiceTest.SubFrame, where TypeParam =  and GetParam() =  (381 ms)

@iefremov
Copy link
Contributor

Fixed in brave/brave-core#7115

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants