Closed Bug 925272 Opened 12 years ago Closed 12 years ago

Test failure "Current URL should be identical to the target URL" in /testSecurity/testSafeBrowsingWarningPages.js

Categories

(Mozilla QA Graveyard :: Mozmill Tests, defect, P1)

defect

Tracking

(firefox24 unaffected, firefox25 unaffected, firefox26 unaffected, firefox27 fixed, firefox-esr17 unaffected, firefox-esr24 unaffected)

RESOLVED FIXED
Tracking Status
firefox24 --- unaffected
firefox25 --- unaffected
firefox26 --- unaffected
firefox27 --- fixed
firefox-esr17 --- unaffected
firefox-esr24 --- unaffected

People

(Reporter: cosmin-malutan, Assigned: mario.garbi)

References

()

Details

(Keywords: regression, Whiteboard: [mozmill-test-failure])

Attachments

(2 files, 1 obsolete file)

This failed a lot today with nightly, and it reproduces every time, so i think we should skip this tests until we find the root, all locales are affected on all machine . It passes with the previous build so it could be a regression. http://mozmill-daily.blargon7.com/#/remote/report/6d6f6a58b02eeffc06eafa8beaac087e
OS: Linux → All
Hardware: x86_64 → All
Whiteboard: [mozmill-test-failure][mozmill-2.0 → [mozmill-test-failure]
Priority: -- → P1
Attached patch skip.patch (obsolete) — Splinter Review
Skip patch until we can find a fix. I have also updated the manifest with a change that I missed in Bug 905033, sorry about that. I can locally reproduce this and will look into it.
Assignee: nobody → mario.garbi
Status: NEW → ASSIGNED
Attachment #815261 - Flags: review?(andrei.eftimie)
Attachment #815261 - Flags: review?(andreea.matei)
Attached patch skip v2Splinter Review
Removed that changes to the manifest as I will make a separate patch for that.
Attachment #815261 - Attachment is obsolete: true
Attachment #815261 - Flags: review?(andrei.eftimie)
Attachment #815261 - Flags: review?(andreea.matei)
Attachment #815262 - Flags: review?(andrei.eftimie)
Attachment #815262 - Flags: review?(andreea.matei)
Comment on attachment 815262 [details] [diff] [review] skip v2 Review of attachment 815262 [details] [diff] [review]: ----------------------------------------------------------------- Looks good, Disabled: http://hg.mozilla.org/qa/mozmill-tests/rev/c4bb2af1c011 (default) Does indeed looks like a genuine regression, please find a regression range using inbound builds.
Attachment #815262 - Flags: review?(andrei.eftimie)
Attachment #815262 - Flags: review?(andreea.matei)
Attachment #815262 - Flags: review+
Attachment #815262 - Flags: checkin+
Whiteboard: [mozmill-test-failure] → [mozmill-test-failure][regression]
The problem here is that Services.urlFormatter.formatURLPref(prefName) that we use in utils to gather the url is using a deprecated //@ as can be seen by the console error below: JavaScript warning: https://support.cdn.mozilla.net/static/js/common-min.js?build=2a09b72, line 2: Using //@ to indicate sourceMappingURL pragmas is deprecated. Use //# instead Using dumps I noticed that the "url" parameter that we send to check with utils.assertLoadedUrlEqual is either "about:blank" or "about:home" and as such confirms the above. I will further look into this.
The problem was actually with a preference that got removed, that we used to get the url in that function: "browser.safebrowsing.warning.infoURL" https://hg.mozilla.org/mozilla-central/rev/da823cb1e924#l2.12 Changeset: http://hg.mozilla.org/mozilla-central/rev/da823cb1e924 I will replace the old preference with the new one and come with a fix patch.
That totally explains why we are getting redirected to SUMO now. Thanks Mario!
Keywords: regression
Whiteboard: [mozmill-test-failure][regression] → [mozmill-test-failure]
Comment on attachment 815350 [details] [diff] [review] patch v1 Review of attachment 815350 [details] [diff] [review]: ----------------------------------------------------------------- Thanks Mario for the quick investigation and fix! Landed: http://hg.mozilla.org/qa/mozmill-tests/rev/5eb11ce0db8f (default)
Attachment #815350 - Flags: review?(andrei.eftimie)
Attachment #815350 - Flags: review?(andreea.matei)
Attachment #815350 - Flags: review+
Attachment #815350 - Flags: checkin+
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Product: Mozilla QA → Mozilla QA Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: