| Summary: | Update Mac slave to OS X 10.6 (java 1.6 installs on mac slave appear to be for wrong processor type on 10.5) | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Community | Reporter: | Kim Moir <kim.moir> | ||||||
| Component: | CI-Jenkins | Assignee: | Eclipse Webmaster <webmaster> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | skovatch | ||||||
| Version: | unspecified | ||||||||
| Target Milestone: | --- | ||||||||
| Hardware: | Macintosh | ||||||||
| OS: | Mac OS X - Carbon (unsup.) | ||||||||
| Whiteboard: | |||||||||
| Bug Depends on: | |||||||||
| Bug Blocks: | 295393 | ||||||||
| Attachments: |
|
||||||||
The 1.5.0 and 1.4.2 versions seem to be installed correctly. I suspect we may be hosed here. From the Apple release notes( Mac OS X 10.5 Updates 6,7) : Java SE 6 is available on 64-bit Intel-based Macs only And the Update 8 & 9 release notes: ...Java SE 6 to 1.6.0_22 for 64-bit capable Intel-based Macs only Since this is a 32bit machine it doesn't look like Apple will/does provide a Java 1.6 package. Any ideas? -M. That's funny. My mac here is the same architecture and os version as yours and it has the correct version of Java 6 installed.
luiimac:~ ibmemployee$ ioreg -l -p IODeviceTree | grep firmware-abi
| | "firmware-abi" = <"EFI32">
luiimac:~ ibmemployee$ uname -a
Darwin luiimac.ottawa.ibm.com 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386 i386
What does it say when you try to install the latest Java package?
Well I 're-installed' the 10.5 update 9 and it was happy(no errors, but I don't recall there being errors previously). But that seems to have 'removed' the 1.6 files(even though it indicated it was installing them). Mini-2:Versions root# pwd /System/Library/Frameworks/JavaVM.framework/Versions Mini-2:Versions root# cd 1.6 -sh: cd: 1.6: No such file or directory -M. Well, that's a problem :-( Some of our test bundles require Java 6. For instance, the p2 tests manifest looks like this Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: %foo Bundle-SymbolicName: foo Bundle-Version: 1.0.0.qualifier Bundle-Localization: plugin Bundle-RequiredExecutionEnvironment: JavaSE-1.6 This means that these tests just fail/timeout on this machine since there isn't any Java 6 available. The result is 1800 missing test results :-( Also, the minimum reference platform for 3.7 for the Mac is 10.6 http://www.eclipse.org/projects/project-plan.php?planurl=http://www.eclipse.org/eclipse/development/plans/eclipse_project_plan_3_7.xml#target_environments Well how did you install the Java 6 files? Maybe we can re-use that to get these tests running while we solve 329830. -M. Just the regular java update luiimac:~ ibmemployee$ pkgutil --pkgs | grep -i java com.apple.pkg.JavaToolsLeo com.apple.pkg.Java com.apple.pkg.JavaSDKLeo com.apple.pkg.JavaForMacOSX10.5Update2 com.apple.pkg.JavaForMacOSX10.5Update5 luiimac:Commands ibmemployee$ pwd /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Commands luiimac:Commands ibmemployee$ pkgutil --file-info /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Commands/java volume: / path: System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Commands/java pkgid: com.apple.pkg.JavaForMacOSX10.5Update2 pkg-version: 10.5.0.1.1.1192168948 install-time: 1240233130 uid: 0 gid: 0 mode: 120755 pkgid: com.apple.pkg.JavaForMacOSX10.5Update5 pkg-version: 10.5.0.1.1.1192168948 install-time: 1262634483 uid: 0 gid: 0 mode: 120755 Created attachment 191831 [details]
mac mini at foundation java install
It looks like you have other packages installed
Well I only installed update 9, so I presume the rest were part of the standard OS updates(or were included with X-code). Just for kicks I managed to find a copy of Java update 4 and it's readme had the same verbiage ~= 1.6 is 64bit only. Not sure what to suggest to resolve this. -M. (In reply to comment #9) > Not sure what to suggest to resolve this. I'll repeat what I said in bug 329830 over here. Java 6 is 64-bit only on 10.5, and since this Mac Mini is a Core Duo it won't run 64-bit code. The installers are smart enough to detect that. Mac OS X 10.6 has both 32- and 64-bit Java 6, so you can update to 10.6 and run Java 6 in 32-bit mode. That will set you back $29, and you can get it just about anywhere. Matt, if you have no reason to believe that 10.6 will not run on our mini, please do what's necessary to acquire that upgrade and apply it at your earliest convenience. I now have a copy of 10.6.3 in my hands. I'm going to schedule some time in the IDC tommorrow morning to install it. -M. Thanks Matt! I've installed 10.6. Mini-2:~ $ java -version java version "1.6.0_17" Java(TM) SE Runtime Environment (build 1.6.0_17-b04-248) Java HotSpot(TM) Client VM (build 14.3-b01-101, mixed mode) -M. Thanks, I'm running a test build now, which will launch tests on MacOSX. My most recent build failed because it couldn't find the cvs binary to check out the build scripts on the mac slave I just went through all the comments in bug 329830 to check if the new OS install had the changes you made to the base os. The following things need to be fixed -Install cvs binary -Ensure that this machine is automatically logged into as the hudson user with no screen savers enabled. When I looked at it via vnc, it seems that it's logged in as the Hudson user, but there aren't any icons for Safari etc, at the bottom of the screen. Strange. I've installed cvs(via Xcode) and enabled the auto-login feature. If I scroll to the bottom of the screen, I see the Safari icon on the dock. -M. As per comment 14, the Mac slave has been upgraded to 10.6. |
Created attachment 191637 [details] screen shot I'll attach a screen shot.