Replace BrowserTestUtils.waitForCondition with TestUtils.waitForCondition in browser_tabstrip_overflow_underflow.js
Categories
(Firefox :: General, enhancement, P5)
Tracking
()
Tracking | Status | |
---|---|---|
firefox76 | --- | fixed |
People
(Reporter: prathiksha, Assigned: jgabitto1792, Mentored)
Details
Attachments
(1 file)
This is a good first bug for newcomers to Firefox development.
BrowserTestUtils.waitForCondition in [0]browser_tabstrip_overflow_underflow.js can be replaced by TestUtils.waitForCondition.
You can run this test with the ./mach test command:
./mach test browser/base/content/test/performance/browser_tabstrip_overflow_underflow.js
Please leave a comment if you would like to be assigned to this bug. Feel free to contact us via Matrix in the #osfcep channel or leave a comment here if you're stuck.
Hi Prathiksha,
I'd like to be assigned this bug.
Thanks!
Jorge
Reporter | ||
Updated•5 years ago
|
Prathiksha,
When I try to make a commit, I get the error message:
Exception [Error 2] The system cannot find the file specified
Do you know what this error means?
(In reply to Jorge from comment #2)
Prathiksha,
When I try to make a commit, I get the error message:
Exception [Error 2] The system cannot find the file specified
Do you know what this error means?
In addition, I get this error when I run moz-phab arc diff
C:\mozilla-source\mozilla-central>moz-phab arc diff --trace
ARGV "C:\Users\Jorge Gabitto.mozbuild\moz-phab\arcanist\bin..\scripts\arcanist.php" "diff" "--trace"
LOAD Loaded "phutil" from "C:\Users\Jorge Gabitto.mozbuild\moz-phab\libphutil\src".
LOAD Loaded "arcanist" from "C:\Users\Jorge Gabitto.mozbuild\moz-phab\arcanist\src".
Config: Reading user configuration file "C:\Users\Jorge Gabitto\AppData\Roaming/.arcrc"...
Config: Did not find system configuration at "C:\ProgramData\Phabricator/Arcanist/config".
Working Copy: Reading .arcconfig from "C:\mozilla-source\mozilla-central/.arcconfig".
Working Copy: Path "C:\mozilla-source\mozilla-central" is part of hg
working copy "C:\mozilla-source\mozilla-central".
Working Copy: Project root is at "C:\mozilla-source\mozilla-central".
Config: Did not find local configuration at "C:\mozilla-source\mozilla-central.hg\arc/config".
[0] (+0) <http> https://phabricator.services.mozilla.com/api/user.whoami
<<< [0] (+358) <http> 358,214 us
[1] (+370) <exec> $ set HGPLAIN=1 & hg status
<<< [1] (+946) <exec> 576,048 us
[2] (+950) <event> diff.didCollectChanges <listeners = 0>
<<< [2] (+950) <event> 138 us
[3] (+951) <exec> $ set HGPLAIN=1 & hg help phase
<<< [3] (+1,165) <exec> 214,379 us
[4] (+1,165) <exec> $ set HGPLAIN=1 & hg branch
<<< [4] (+1,431) <exec> 265,249 us
[5] (+1,431) <exec> $ set HGPLAIN=1 & hg log --branch "default" -r "draft()" --style default
<<< [5] (+1,727) <exec> 296,231 us
[6] (+1,728) <exec> $ set HGPLAIN=1 & hg parents --style default --rev "."
<<< [6] (+2,008) <exec> 279,484 us
[7] (+2,008) <exec> $ set HGPLAIN=1 & hg parents --style default --rev "47d01cdfb7da"
<<< [7] (+2,347) <exec> 338,560 us
[8] (+2,347) <exec> $ set HGPLAIN=1 & hg parents --style default --rev "6bc245d0bc9a"
<<< [8] (+2,675) <exec> 327,523 us
[9] (+2,675) <exec> $ set HGPLAIN=1 & hg parents --style default --rev "a9014a06ce72"
<<< [9] (+2,984) <exec> 308,881 us
[10] (+2,985) <exec> $ set HGPLAIN=1 & hg parents --style default --rev "eb7634a099a4"
<<< [10] (+3,294) <exec> 309,590 us
[11] (+3,295) <exec> $ set HGPLAIN=1 & hg log --template "{node}<...binary data...>" --rev "('5e32bdf73dc2'::. - '5e32bdf73dc2')" --branch "default" --
<<< [11] (+3,623) <exec> 328,510 us
[12] (+3,626) <exec> $ set HGPLAIN=1 & hg log --template "{node}<...binary data...>{date|rfc822date}<...binary data...>" --rev "('5e32bdf73dc2'::. - '5e32bdf73dc2')" --branch "default" --
<<< [12] (+3,946) <exec> 319,366 us
[13] (+3,948) <exec> $ set HGPLAIN=1 & hg parents --template "{node}\n" --rev "eb7634a099a4de4a7b0fb1dd7a8e579aadc50698"
[14] (+3,951) <exec> $ set HGPLAIN=1 & hg parents --template "{node}\n" --rev "6bc245d0bc9a30833fbb0b5328bc240e6f5fb6c7"
<<< [14] (+4,274) <exec> 322,772 us
<<< [13] (+4,274) <exec> 326,403 us
[15] (+4,276) <http> https://phabricator.services.mozilla.com/api/differential.query
<<< [15] (+4,407) <http> 131,621 us
[16] (+4,410) <http> https://phabricator.services.mozilla.com/api/differential.parsecommitmessage
<<< [16] (+4,510) <http> 100,013 us
[17] (+4,511) <http> https://phabricator.services.mozilla.com/api/differential.parsecommitmessage
<<< [17] (+4,632) <http> 121,313 us
[18] (+4,633) <http> https://phabricator.services.mozilla.com/api/differential.parsecommitmessage
<<< [18] (+4,763) <http> 129,567 us
[19] (+4,763) <http> https://phabricator.services.mozilla.com/api/differential.parsecommitmessage
<<< [19] (+4,865) <http> 101,540 us
[20] (+4,866) <http> https://phabricator.services.mozilla.com/api/differential.parsecommitmessage
<<< [20] (+4,984) <http> 118,424 us
[21] (+4,985) <event> diff.willBuildMessage <listeners = 0>
<<< [21] (+4,987) <event> 2,414 us
[22] (+4,988) <http> https://phabricator.services.mozilla.com/api/differential.getcommitmessage
<<< [22] (+5,119) <http> 130,242 us
[23] (+5,127) <exec> $ where "editor"
<<< [23] (+5,277) <exec> 150,148 us
[24] (+5,279) <exec> $ editor "C:\Users\Jorge Gabitto\AppData\Local\Temp\edit.1pfoswnh29nowww0\new-commit"
[2020-03-11 17:59:29] EXCEPTION: (Exception) Failed to passthru proc_open(): proc_open(): CreateProcess failed, error code - 2 at
[<phutil>\src\future\exec\PhutilExecPassthru.php:103]
arcanist(head=stable, ref.stable=1c0dfbf7f768), phutil(head=stable, ref.stable=034cf7cc3994)
#0 PhutilExecPassthru::execute() called at [<phutil>\src\future\exec\execx.php:50]
#1 phutil_passthru(string, PhutilCommandString) called at [<phutil>\src\console\PhutilInteractiveEditor.php:148]
#2 PhutilInteractiveEditor::invokeEditor(string, string, integer) called at [<phutil>\src\console\PhutilInteractiveEditor.php:77]
#3 PhutilInteractiveEditor::editInteractively() called at [<arcanist>\src\workflow\ArcanistDiffWorkflow.php:1658]
#4 ArcanistDiffWorkflow::getCommitMessageFromUser() called at [<arcanist>\src\workflow\ArcanistDiffWorkflow.php:1501]
#5 ArcanistDiffWorkflow::buildCommitMessage() called at [<arcanist>\src\workflow\ArcanistDiffWorkflow.php:469]
#6 ArcanistDiffWorkflow::run() called at [<arcanist>\scripts\arcanist.php:394]
Comment 6•5 years ago
|
||
Backed out changeset e1aa65d7ec79 (Bug 1621418) for mochitest failures on browser_google_behavior.js
Backout link: https://hg.mozilla.org/integration/autoland/rev/7bee6942029fcd95349322797164a59e260b89c3
Failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=292918811&repo=autoland&lineNumber=4239
[task 2020-03-12T21:40:37.159Z] 21:40:37 INFO - TEST-START | browser/components/search/test/browser/browser_google_behavior.js
[task 2020-03-12T21:40:38.306Z] 21:40:38 INFO - TEST-INFO | started process screentopng
[task 2020-03-12T21:40:39.007Z] 21:40:39 INFO - TEST-INFO | screentopng: exit 0
[task 2020-03-12T21:40:39.007Z] 21:40:39 INFO - Buffered messages logged at 21:40:37
[task 2020-03-12T21:40:39.008Z] 21:40:39 INFO - Entering test bound setup
[task 2020-03-12T21:40:39.008Z] 21:40:39 INFO - Leaving test bound setup
[task 2020-03-12T21:40:39.009Z] 21:40:39 INFO - Entering test bound
[task 2020-03-12T21:40:39.009Z] 21:40:39 INFO - TEST-PASS | browser/components/search/test/browser/browser_google_behavior.js | Google is installed - {"searchForm":"https://www.google.com/search?client=firefox-b-d&q=","getSubmission":"function getSubmission() {\n [native code]\n}","name":"Google","alias":null,"description":"Google Search","hidden":false,"QueryInterface":"function QueryInterface() {\n [native code]\n}","addParam":"function addParam() {\n [native code]\n}","supportsResponseType":"function supportsResponseType() {\n [native code]\n}","getIconURLBySize":"function getIconURLBySize() {\n [native code]\n}","getIcons":"function getIcons() {\n [native code]\n}","speculativeConnect":"function speculativeConnect() {\n [native code]\n}","iconURI":{"spec":"moz-extension://9ba4a03d-2836-472f-b7ed-1805dad6501c/favicon.ico","scheme":"moz-extension","prePath":"moz-extension://9ba4a03d-2836-472f-b7ed-1805dad6501c","userPass":"","username":"","password":"","hostPort":"9ba4a03d-2836-472f-b7ed-1805dad6501c","host":"9ba4a03d-2836-472f-b7ed-1805dad6501c","port":-1,"pathQueryRef":"/favicon.ico","equals":"function equals() {\n [native code]\n}","schemeIs":"function schemeIs() {\n [native code]\n}","resolve":"function resolve() {\n [native code]\n}","asciiSpec":"moz-extension://9ba4a03d-2836-472f-b7ed-1805dad6501c/favicon.ico","asciiHostPort":"9ba4a03d-2836-472f-b7ed-1805dad6501c","asciiHost":"9ba4a03d-2836-472f-b7ed-1805dad6501c","ref":"","equalsExceptRef":"function equalsExceptRef() {\n [native code]\n}","specIgnoringRef":"moz-extension://9ba4a03d-2836-472f-b7ed-1805dad6501c/favicon.ico","hasRef":false,"filePath":"/favicon.ico","query":"","displayHost":"9ba4a03d-2836-472f-b7ed-1805dad6501c","displayHostPort":"9ba4a03d-2836-472f-b7ed-1805dad6501c","displaySpec":"moz-extension://9ba4a03d-2836-472f-b7ed-1805dad6501c/favicon.ico","displayPrePath":"moz-extension://9ba4a03d-2836-472f-b7ed-1805dad6501c","mutate":"function mutate() {\n [native code]\n}"},"telemetryId":"google-b-d","identifier":"google-b-d","getResultDomain":"function getResultDomain() {\n [native code]\n}"} == true -
[task 2020-03-12T21:40:39.009Z] 21:40:39 INFO - TEST-PASS | browser/components/search/test/browser/browser_google_behavior.js | Check search URL for 'foo' - "foo" == "foo" -
[task 2020-03-12T21:40:39.011Z] 21:40:39 INFO - Running: context menu search
[task 2020-03-12T21:40:39.011Z] 21:40:39 INFO - TEST-PASS | browser/components/search/test/browser/browser_google_behavior.js | "firefox-b-d" == "firefox-b-d" -
[task 2020-03-12T21:40:39.011Z] 21:40:39 INFO - Running: keyword search
[task 2020-03-12T21:40:39.011Z] 21:40:39 INFO - Console message: [JavaScript Warning: "Key event not available on some keyboard layouts: key=“r” modifiers=“accel,alt” id=“key_toggleReaderMode”" {file: "chrome://mochikit/content/tests/SimpleTest/EventUtils.js" line: 1097}]
[task 2020-03-12T21:40:39.015Z] 21:40:39 INFO - Console message: [JavaScript Warning: "Key event not available on some keyboard layouts: key=“i” modifiers=“accel,alt,shift” id=“key_browserToolbox”" {file: "chrome://mochikit/content/tests/SimpleTest/EventUtils.js" line: 1097}]
[task 2020-03-12T21:40:39.015Z] 21:40:39 INFO - TEST-PASS | browser/components/search/test/browser/browser_google_behavior.js | "firefox-b-d" == "firefox-b-d" -
[task 2020-03-12T21:40:39.015Z] 21:40:39 INFO - Running: keyword search with alias
[task 2020-03-12T21:40:39.016Z] 21:40:39 INFO - TEST-PASS | browser/components/search/test/browser/browser_google_behavior.js | "firefox-b-d" == "firefox-b-d" -
[task 2020-03-12T21:40:39.016Z] 21:40:39 INFO - Running: search bar search
[task 2020-03-12T21:40:39.016Z] 21:40:39 INFO - Buffered messages logged at 21:40:38
[task 2020-03-12T21:40:39.017Z] 21:40:39 INFO - TEST-PASS | browser/components/search/test/browser/browser_google_behavior.js | "firefox-b-d" == "firefox-b-d" -
[task 2020-03-12T21:40:39.018Z] 21:40:39 INFO - Running: new tab search
[task 2020-03-12T21:40:39.019Z] 21:40:39 INFO - Buffered messages finished
[task 2020-03-12T21:40:39.020Z] 21:40:39 INFO - TEST-UNEXPECTED-FAIL | browser/components/search/test/browser/browser_google_behavior.js | Uncaught exception - [Exception... "(null)" nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)" location: "<unknown>" data: no]
[task 2020-03-12T21:40:39.020Z] 21:40:39 INFO - Leaving test bound
[task 2020-03-12T21:40:39.021Z] 21:40:39 INFO - GECKO(8070) | MEMORY STAT | vsize 2821MB | residentFast 316MB | heapAllocated 130MB
[task 2020-03-12T21:40:39.022Z] 21:40:39 INFO - TEST-OK | browser/components/search/test/browser/browser_google_behavior.js | took 1248ms
[task 2020-03-12T21:40:39.023Z] 21:40:39 INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-03-12T21:40:39.024Z] 21:40:39 INFO - TEST-UNEXPECTED-FAIL | browser/components/search/test/browser/browser_google_behavior.js | Found an unexpected tab at the end of test run: about:newtab -
[task 2020-03-12T21:40:39.024Z] 21:40:39 INFO - checking window state
[task 2020-03-12T21:40:40.145Z] 21:40:40 INFO - GECKO(8070) | Completed ShutdownLeaks collections in process 8284
[task 2020-03-12T21:40:40.187Z] 21:40:40 INFO - GECKO(8070) | Completed ShutdownLeaks collections in process 8344
[task 2020-03-12T21:40:40.202Z] 21:40:40 INFO - GECKO(8070) | Completed ShutdownLeaks collections in process 8294
[task 2020-03-12T21:40:40.213Z] 21:40:40 INFO - GECKO(8070) | Completed ShutdownLeaks collections in process 8221
[task 2020-03-12T21:40:40.213Z] 21:40:40 INFO - GECKO(8070) | Completed ShutdownLeaks collections in process 8147
[task 2020-03-12T21:40:40.256Z] 21:40:40 INFO - GECKO(8070) | Completed ShutdownLeaks collections in process 8130
[task 2020-03-12T21:40:40.297Z] 21:40:40 INFO - GECKO(8070) | Completed ShutdownLeaks collections in process 8248
[task 2020-03-12T21:40:40.520Z] 21:40:40 INFO - GECKO(8070) | Completed ShutdownLeaks collections in process 8070
[task 2020-03-12T21:40:40.520Z] 21:40:40 INFO - TEST-START | Shutdown
[task 2020-03-12T21:40:40.520Z] 21:40:40 INFO - Browser Chrome Test Summary
[task 2020-03-12T21:40:40.521Z] 21:40:40 INFO - Passed: 14
[task 2020-03-12T21:40:40.522Z] 21:40:40 INFO - Failed: 2
[task 2020-03-12T21:40:40.522Z] 21:40:40 INFO - Todo: 0
[task 2020-03-12T21:40:40.524Z] 21:40:40 INFO - Mode: e10s
[task 2020-03-12T21:40:40.525Z] 21:40:40 INFO - *** End BrowserChrome Test Results ***
[task 2020-03-12T21:40:41.172Z] 21:40:41 INFO - GECKO(8070) | 1584049241168 Marionette TRACE Received observer notification xpcom-will-shutdown
[task 2020-03-12T21:40:41.172Z] 21:40:41 INFO - GECKO(8070) | 1584049241169 Marionette INFO Stopped listening on port 2828
[task 2020-03-12T21:40:41.172Z] 21:40:41 INFO - GECKO(8070) | 1584049241169 Marionette DEBUG Marionette stopped listening
[task 2020-03-12T21:40:41.269Z] 21:40:41 INFO - TEST-INFO | Main app process: exit 0
[task 2020-03-12T21:40:41.270Z] 21:40:41 INFO - runtests.py | Application ran for: 0:00:09.162921
Comment 7•5 years ago
|
||
These changes have increased the failure's occurrence.
Initially it was happening <10%
Comment 9•5 years ago
|
||
Bad call, the backout did not solve the issue. Patch relanded. Sorry.
Comment 10•5 years ago
|
||
bugherder |
Comment 11•5 years ago
|
||
bugherder |
Description
•