Closed
Bug 495533
Opened 15 years ago
Closed 15 years ago
upgrade Windows reference platform to include Java SE 6 Update 14
Categories
(Release Engineering :: General, defect, P3)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: jaas, Assigned: lsblakk)
References
Details
Attachments
(6 files, 3 obsolete files)
3.33 KB,
patch
|
bhearsum
:
review+
bhearsum
:
checked-in+
|
Details | Diff | Splinter Review |
1.10 KB,
patch
|
bhearsum
:
review+
bhearsum
:
checked-in+
|
Details | Diff | Splinter Review |
5.14 KB,
patch
|
nthomas
:
review+
bhearsum
:
checked-in+
|
Details | Diff | Splinter Review |
6.90 KB,
patch
|
catlee
:
review+
bhearsum
:
checked-in+
|
Details | Diff | Splinter Review |
3.98 KB,
patch
|
catlee
:
review+
bhearsum
:
checked-in+
|
Details | Diff | Splinter Review |
1.23 KB,
patch
|
catlee
:
review+
bhearsum
:
checked-in+
|
Details | Diff | Splinter Review |
https://wiki.mozilla.org/ReferencePlatforms/Win32#Java According to this our Windows reference platform has Java SE 6 Update 10 installed. This is actually used by our tests since we have tests that use the applet tag. Java SE 6 Update 10 includes an NPAPI-based Java plugin, but that Java plugin still uses XPCOM for some things like cookie handling. Java SE 6 Update 14 removes all XPCOM dependencies. Gecko 1.9.2 will not include support for any parts of the XPCOM plugin API, which means that Java SE 6 Update 14 will be the minimum version of Java for Gecko 1.9.2. We need to upgrade the Windows reference platform so that we can remove all support for the XPCOM plugin API on trunk without breaking tests. We'd like to do this early in the 1.9.2 development cycle which will require all trunk tinderboxes to be upgraded.
Updated•15 years ago
|
Assignee: server-ops → nobody
Component: Server Operations → Release Engineering
QA Contact: mrz → release
Comment 1•15 years ago
|
||
These machines are all shared between Gecko 1.9.1, 1.9.2 and any project branches (like TraceMonkey). Would you need the Gecko 1.9.1 tests to continue to use the existing Java install ? (Please say no) At any rate, there enough windows slaves now that this will depend on bug 474572.
Depends on: 474572
No, as far as I know nothing needs to stay on the existing Java install.
Josh: can you test 1.9.1, before we make such an upgrade? As far as we know, nothing is ever wrong with our patches, but testing makes a lot of sense nonetheless!
I have tested Firefox 3.0.10 and the current Firefox 3.5 nightly, both work fine with Java SE 6 Update 14.
Assignee | ||
Comment 5•15 years ago
|
||
Can we get a timeline when this needs to be in effect by? We'll discuss at RelEng meeting to assign it.
I have a patch about ready to go, I'd be able to push a week from now (assuming the trunk is open). I'm guessing the RelEng schedule is pretty hectic right now, any chance we could do this within 3-4 weeks? If I had to wait longer it wouldn't be the end of the world, but the sooner I get going on this big project to clean up our plugin module the better, and I can't get too far until this is done.
Comment 7•15 years ago
|
||
Here's an OPSI package for installing the JDK. Pretty straightforward - the only complication is that the jdk package requires a different "shut up" option than the jre. The two installers will be checked into the opsi-binaries area of mofo. OPSI isn't yet on the production systems so this won't speed up deployment, but it's a good test for OPSI in staging.
Attachment #381063 -
Flags: review?(ccooper)
Updated•15 years ago
|
Attachment #381063 -
Flags: review?(ccooper) → review+
Assignee | ||
Updated•15 years ago
|
Assignee: nobody → lsblakk
Comment 8•15 years ago
|
||
Comment on attachment 381063 [details] [diff] [review] OPSI package for installing the JDK changeset: 8:7ea1b984bd58
Attachment #381063 -
Flags: checked‑in+
Comment 9•15 years ago
|
||
Comment on attachment 381063 [details] [diff] [review] OPSI package for installing the JDK Checking in jdk-6u14-windows-i586.exe; /mofo/opsi-binaries/java/jdk-6u14-windows-i586.exe,v <-- jdk-6u14-windows-i586.exe initial revision: 1.1 done RCS file: /mofo/opsi-binaries/java/jre-6u14-windows-i586.exe,v done Checking in jre-6u14-windows-i586.exe; /mofo/opsi-binaries/java/jre-6u14-windows-i586.exe,v <-- jre-6u14-windows-i586.exe initial revision: 1.1 done
Comment 10•15 years ago
|
||
Lukas and I just upgraded the staging slaves (03, 04, 21) with the OPSI package.
Assignee | ||
Comment 11•15 years ago
|
||
Attachment #381304 -
Flags: review?(bhearsum)
Comment 12•15 years ago
|
||
Comment on attachment 381304 [details] [diff] [review] Bump Java version in xulrunner mozconfigs I don't think we use them, but for completeness please bump the tracemonkey/xulrunner/mozconfig paths, too.
Assignee | ||
Comment 13•15 years ago
|
||
adds tracemonkey changes.
Attachment #381304 -
Attachment is obsolete: true
Attachment #381317 -
Flags: review?(bhearsum)
Attachment #381304 -
Flags: review?(bhearsum)
Updated•15 years ago
|
Attachment #381317 -
Flags: review?(bhearsum) → review+
Assignee | ||
Comment 14•15 years ago
|
||
This was tested successfully on staging-opsi, it correctly installs 1.6.0_14 and removes 1.5.0_10
Attachment #381063 -
Attachment is obsolete: true
Attachment #381357 -
Flags: review?(bhearsum)
Assignee | ||
Updated•15 years ago
|
Priority: -- → P3
Comment 15•15 years ago
|
||
Comment on attachment 381357 [details] [diff] [review] OPSI package for installing the JDK with removal of old JDK Looks good to me!
Attachment #381357 -
Flags: review?(bhearsum) → review+
Comment 16•15 years ago
|
||
Comment on attachment 381357 [details] [diff] [review] OPSI package for installing the JDK with removal of old JDK changeset: 9:05056b0a05cc
Attachment #381357 -
Flags: checked‑in+
Assignee | ||
Comment 17•15 years ago
|
||
We're going to wait and roll this out when we put OPSI into place on our windows builders.
Comment 18•15 years ago
|
||
We did a bunch of the slaves today: moz2-win32-slave01 -> 21 and 23 -> 29. That only leaves slave22, and the try slaves. I'll get slave22 when it becomes idle, and we'll do the try slaves tomorrow.
Comment 19•15 years ago
|
||
(In reply to comment #18) > I'll get slave22 when it becomes idle slave22 is done now.
Comment 20•15 years ago
|
||
So, this caused a permanent orange state due to a leak from some of the test_HTMLBodyDocument* tests, which is bug 471647. If I remove the Java plugin and run the tests again there is no leak. I don't know if this is a leak that is simply tripped by the new Java, or if the leak is within Java itself. I'm going to put together a patch to enable a leak threshold for windows to get rid of the orange. If desired, I could also backout Java until this is fixed.
Reporter | ||
Comment 21•15 years ago
|
||
If we can disable that test for now and file a bug on it being disabled I'll take responsibility for resolving it as soon as I can. I really don't want to roll back the Update 14 installation.
Comment 22•15 years ago
|
||
(In reply to comment #21) > If we can disable that test for now and file a bug on it being disabled I'll > take responsibility for resolving it as soon as I can. I really don't want to > roll back the Update 14 installation. I'm about to post a patch that will set a leak threshold for mochitest - that should get us green again. Probably better to run the tests and ignore the leak for now than not to run them at all.
Reporter | ||
Comment 23•15 years ago
|
||
(In reply to comment #22) > I'm about to post a patch that will set a leak threshold for mochitest - that > should get us green again. Probably better to run the tests and ignore the leak > for now than not to run them at all. Sounds good. Please leave a bug open and assign it to me so I can investigate the leak. Thanks!
Comment 24•15 years ago
|
||
This patch sets a leak threshold of 484 bytes for the mochitest-plain target. I've dug through most of the runs post-java landing and AFAICT the leak is consistently 484. This patch should get us green again.
Attachment #382450 -
Flags: review?(nthomas)
Comment 25•15 years ago
|
||
Comment on attachment 382450 [details] [diff] [review] set a leak threshold of 484 bytes for mochitest Looks good, r+
Attachment #382450 -
Flags: review?(nthomas) → review+
Comment 26•15 years ago
|
||
Comment on attachment 382450 [details] [diff] [review] set a leak threshold of 484 bytes for mochitest changeset: 1183:255fec2e864d
Attachment #382450 -
Flags: checked‑in+
Comment 27•15 years ago
|
||
We're leaking 484 bytes during crashtest too, but don't have the code in place to quickly pass a leakThreshold to buildbotcustom.steps.unittest.MozillaReftest. Doesn't look at all hard, just short of time to do it right now.
Comment 28•15 years ago
|
||
The win32 xulrunner builds died out with /e/builds/moz2_slave/mozilla-central-win32-xulrunner/build/configure: cd: /d/jdk1.5.0_10: No such file or directory configure: error: The header jni.h was not found. Set $JAVA_HOME to your java sdk directory, use --with-java-bin-path={java-bin-dir}, or reconfigure with --disable-javaxpcom. make[1]: *** [configure] Error 1 make: *** [obj-firefox/Makefile] Error 2 This patch corrects the path in the mozconfigs, and gets through configure. It looks like we really had Java 5 Update 10 installed rather than Java 6 Update 10.
Attachment #382474 -
Flags: review?(bhearsum)
Comment 29•15 years ago
|
||
(In reply to comment #27) > We're leaking 484 bytes during crashtest too, but don't have the code in place > to quickly pass a leakThreshold to > buildbotcustom.steps.unittest.MozillaReftest. This would be bug 460548.
Depends on: 460548
Updated•15 years ago
|
Attachment #382474 -
Attachment is obsolete: true
Attachment #382474 -
Flags: review?(bhearsum)
Comment 30•15 years ago
|
||
Comment on attachment 382474 [details] [diff] [review] Fix path to jdk This is the same patch that lukas posted that we helpfully didn't land when we installed java :(
Comment 31•15 years ago
|
||
Comment on attachment 381317 [details] [diff] [review] Bump Java version in xulrunner mozconfigs I landed this and kicked new xr builds changeset: 1188:3c1e7de4ceda
Attachment #381317 -
Flags: checked‑in+
Comment 32•15 years ago
|
||
(In reply to comment #27) > We're leaking 484 bytes during crashtest too, but don't have the code in place > to quickly pass a leakThreshold to > buildbotcustom.steps.unittest.MozillaReftest. Doesn't look at all hard, just > short of time to do it right now. I'm working on a patch to do this.
Comment 33•15 years ago
|
||
Attachment #382515 -
Flags: review?(catlee)
Comment 34•15 years ago
|
||
This patch also fixes the PackagedUnittestFactory to only pass the mochitest_leak_threshold to mochitest-plain - as is the case in UnittestBuildFactory.
Attachment #382516 -
Flags: review?(catlee)
Updated•15 years ago
|
Attachment #382516 -
Flags: review?(catlee) → review+
Updated•15 years ago
|
Attachment #382515 -
Flags: review?(catlee) → review+
Comment 35•15 years ago
|
||
Comment on attachment 382516 [details] [diff] [review] allow for crashtest leak threshold to be passed changeset: 329:453f0bbda966
Attachment #382516 -
Flags: checked‑in+
Updated•15 years ago
|
Attachment #382515 -
Flags: checked‑in+
Comment 36•15 years ago
|
||
Comment on attachment 382515 [details] [diff] [review] set crashtest leak threshold to 484 changeset: 1192:5cee911de535
Comment 37•15 years ago
|
||
Attachment #382970 -
Flags: review?(catlee)
Updated•15 years ago
|
Attachment #382970 -
Flags: review?(catlee) → review+
Comment 38•15 years ago
|
||
Comment on attachment 382970 [details] [diff] [review] same threshold for try changeset: 1196:61ebbaba77ea
Attachment #382970 -
Flags: checked‑in+
Comment 39•15 years ago
|
||
try slaves have been upgraded. only thing left is the ref platform, which will get done on monday.
Comment 40•15 years ago
|
||
The ref platform VM has been updated now. I think we're all done here.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Updated•15 years ago
|
Comment 41•15 years ago
|
||
You can now remove the threshold for "trunk" builds: see bug 471647 comment 19.
Updated•11 years ago
|
Product: mozilla.org → Release Engineering
You need to log in
before you can comment on or make changes to this bug.
Description
•