Closed Bug 790206 Opened 12 years ago Closed 11 years ago

Install and enable Java on OSX 10.7 & 10.8 test machines

Categories

(Infrastructure & Operations Graveyard :: CIDuty, task)

x86_64
macOS
task
Not set
major

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: gfritzsche, Unassigned)

References

Details

Attachments

(2 files)

Bug 705570 showed that Java is not installed on the try slaves running OS X 10.7 & 10.8. This leads to test-suites only testing the placeholder/standin plugin, not Java itself. Java should be installed and enabled on the test machines.
Summary: Install and enable Java on OS X 10.7 & 10.8 → Install and enable Java on OS X 10.7 & 10.8 try machines
(We use the same shared test pool for production testing and for try testing, so I've tweaked summary to match reality.) I've just confirmed w/kmoir - the osx10.7 and osx 10.8 test slaves do not have java installed by default. What specific version of Java do you want installed? Do you care where specifically they are installed? If you need access to a loaner machine to test/verify specific version of java in specific location, please let us know and we'll get you access asap.
Summary: Install and enable Java on OS X 10.7 & 10.8 try machines → Install and enable Java on OSX 10.7 & 10.8 test machines
OS X >= 10.7 comes with an integrated Java installer and placeholders. Those should be covered by Apples software updates as well, so i think there is no need for specific versions or locations. See e.g.: http://rics.partners.org/show_article.php?id=245
OS X upgrade from 10.7 -> 10.8 uninstalls, forcing the user to reinstall, if they ever use java. Further, the upgrade from 10.7 to 10.8 de-installs java (at least from browser's point of view), so 10.8 users must manually install java. Moving to platform support.
Component: Release Engineering: Developer Tools → Release Engineering: Platform Support
QA Contact: hwine → coop
Can i provide any additional info to help move this forward? Would be great to get complete test-coverage and lose the oranges here.
Severity: normal → major
There was some discussion regarding this bug in channel, i.e. what's the policy regarding installing Java for test machines given that the default os install that the majority of users have wouldn't include Java. John, Hal what are your thoughts?
It's worth noting that we have a few Java-specific tests. A search that probably doesn't catch them all: http://mxr.mozilla.org/mozilla-central/search?string=%3Capplet&find=test If the test environment only provides Java on specific platforms, we a) wouldn't cover those tests on some platforms b) might have to look into skipping specific tests depending on platform / platform version
I'll investigate how to install Java via Puppet on the 10.7 and 10.8 test slaves.
Assignee: nobody → kmoir
This is dependent on the changes in bug https://bug786177.bugzilla.mozilla.org/attachment.cgi?id=663490 where pkgdmg is refactored.
Attachment #663496 - Flags: review?(dustin)
Comment on attachment 663496 [details] [diff] [review] patch to install java on 10.8 slaves Looks good. I forgot on the other bug, too -- some comments as to where outside users might find these DMGs would be great. Can you add those for this DMG and the command line tools?
Attachment #663496 - Flags: review?(dustin) → review+
Comment on attachment 663496 [details] [diff] [review] patch to install java on 10.8 slaves There's a comment in the package above with it's location (line 3), and in the the xcode command tools module. I'll go update the documentation for these two modules now :-)
Attachment #663496 - Flags: checked-in+
I'm a dummy, sorry, I should have looked harder.
The dmg is currently just in staging. I assume /N isn't mirrored externally, so we don't have to worry about having private directories.
Attachment #666734 - Flags: review?(rail)
Comment on attachment 666734 [details] [diff] [review] patch to install java on 10.7 slaves lgtm. BTW, could you submit patches with more context (we usually use 8 context lines) in the future? I have this in my ~/.hgrc: [diff] git = 1 showfunc = 1 nodates = 1 unified = 8
Attachment #666734 - Flags: review?(rail) → review+
Comment on attachment 666734 [details] [diff] [review] patch to install java on 10.7 slaves Sure will do that next time, thanks rail
Attachment #666734 - Flags: checked-in+
Changed deployed and verified that slaves have Java installed.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Bug 705570 seems to indicate that although Java is installed, it's not enabled properly.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Did you get a chance to check into this?
no, unfortunately I've been heads down on pandas, buildduty and a beta release
Depending on the outcome of bug 705570, we may not need this after all (and I would presume we would rather test the OS X configuration that most of our uses have; that is no Java installed, if at all possible).
Product: mozilla.org → Release Engineering
Is this still needed? Or should I close it wontfix?
Assignee: kmoir → nobody
Status: REOPENED → RESOLVED
Closed: 12 years ago11 years ago
Resolution: --- → INCOMPLETE
Component: Platform Support → Buildduty
Product: Release Engineering → Infrastructure & Operations
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: