quality@glassfish.java.net

pkg tool installation fails for the latest GF v3 nightly build

From: Naresh <Srinivas.Bhimisetty_at_Sun.COM>
Date: Fri, 11 Sep 2009 14:39:50 +0530

Hi,

  looks like something went wrong in the latest nightly build of GF v3.
I see failures in pkg tool installation of some of my Hudson jobs.

The following is the stack trace from pkg installation:
------------------------------------------------------------------------------------------------------

+ bin/pkg

The software needed for this command (pkg) is not installed.

When this tool interacts with package repositories, some system information
such as your system's IP address and operating system type and version
is sent to the repository server. For more information please see:

http://wiki.updatecenter.java.net/Wiki.jsp?page=UsageMetricsUC2

Once installation is complete you may re-run this command.

Would you like to install this software now (y/n):
Proxy: Using system proxy settings.
Install image: <http://hudson.sfbay/job/JerseyTestsOnV3/ws/glassfishv3>
Installing pkg packages.
Unrecognized exception: Package pkg-toolkit-incorporation contains constraint that requires downgrade of installed pkg pkg://dev.glassfish.org/pkg-java_at_1.121,0-36.2403:20090901T204847Z: Pkg pkg-java: Optional min_version: 1.111-30 max_version: 1.111-30 defined by: pkg:/pkg-toolkit-incorporation
com.sun.pkg.client.Constraint$DowngradeConflict: Package pkg-toolkit-incorporation contains constraint that requires downgrade of installed pkg pkg://dev.glassfish.org/pkg-java_at_1.121,0-36.2403:20090901T204847Z: Pkg pkg-java: Optional min_version: 1.111-30 max_version: 1.111-30 defined by: pkg:/pkg-toolkit-incorporation
        at com.sun.pkg.client.Constraint.checkForWork(Constraint.java:365)
        at com.sun.pkg.client.Image$ImagePlan.evaluateFmri(Image.java:465)
        at com.sun.pkg.client.Image$ImagePlan.evaluate(Image.java:530)
        at com.sun.pkg.client.Image.makeAndEvaluateImagePlan(Image.java:1548)
        at com.sun.pkg.client.Image.makeInstallPlan(Image.java:1526)
        at com.sun.pkg.client.Image.installPackages(Image.java:1592)
        at com.sun.pkg.bootstrap.Bootstrap._main(Bootstrap.java:219)
        at com.sun.pkg.bootstrap.Bootstrap._main(Bootstrap.java:154)
        at com.sun.pkg.bootstrap.Bootstrap.main(Bootstrap.java:104)
Recording test results

------------------------------------------------------------------------------------------------------

   Could somebody please look into it?

-Naresh