Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 342957 - [releng] Build failed with director error
Summary: [releng] Build failed with director error
Status: CLOSED DUPLICATE of bug 342853
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: p2 (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: P2 Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 345259 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-04-15 07:58 EDT by Paul Webster CLA
Modified: 2011-05-18 13:41 EDT (History)
4 users (show)

See Also:


Attachments
Build fail log (432.50 KB, text/plain)
2011-04-15 07:58 EDT, Paul Webster CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Webster CLA 2011-04-15 07:58:39 EDT
Created attachment 193356 [details]
Build fail log

Last night's build failed with the director call in the 4.1 SDK part.  I've attached more exceptions in the log file.


runDirector:
[p2.director] Installing org.eclipse.sdk.ide 4.1.0.I20110414-2200.
[p2.director] Installing org.eclipse.sdk.ide 4.1.0.I20110414-2200.
[p2.director] Installing org.eclipse.sdk.ide 4.1.0.I20110414-2200.
[p2.director] Installing org.eclipse.sdk.ide 4.1.0.I20110414-2200.
[p2.director] Installation failed.
[p2.director] An error occurred during the org.eclipse.equinox.internal.p2.engine.phases.CheckTrust phase.
[p2.director]  session context was:(profile=SDKProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.CheckTrust, operand=, action=).
[p2.director]  String index out of range: 39957
[p2.director] An error occurred during the org.eclipse.equinox.internal.p2.engine.phases.CheckTrust phase.
[p2.director] session context was:(profile=SDKProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.CheckTrust, operand=, action=).
[p2.director] String index out of range: 39957
A problem occured while invoking the director.
Caused by:

BUILD FAILED

[ERROR][composeExpectedState()](org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxBundlesState)BundleInfo:BundleInfo(org.apache.batik.util, 1.6.0.v201011041432, location=file:/shared/eclipse/e4/build/e4/downloads/drops/4.0.0/40builds/I20110414-2200/20110414-2200/p2temp/sdk.install.linux.gtk.x86_64/eclipse/plugins/org.apache.batik.util_1.6.0.v201011041432.jar, startLevel=4, toBeStarted=false, resolved=true, id=10,no manifest)
org.eclipse.equinox.internal.provisional.frameworkadmin.FrameworkAdminRuntimeException: FrameworkAdmin creates this object is no more available.
        at org.eclipse.equinox.internal.frameworkadmin.utils.SimpleBundlesState.checkAvailability(SimpleBundlesState.java:41)
        at org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxBundlesState.installBundle(EquinoxBundlesState.java:541)
        at org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxBundlesState.composeState(EquinoxBundlesState.java:357)
        at org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxBundlesState.composeNewState(EquinoxBundlesState.java:290)
        at org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxBundlesState.<init>(EquinoxBundlesState.java:260)
        at org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxManipulatorImpl.getBundlesState(EquinoxManipulatorImpl.java:145)
        at org.eclipse.equinox.internal.simpleconfigurator.manipulator.SimpleConfiguratorManipulatorImpl.divideBundleInfos(SimpleConfiguratorManipulatorImpl.java:211)
Comment 1 Andrew Niefer CLA 2011-04-15 13:54:35 EDT
We aren't sure what caused this, lowering priority since the rebuild succeeded without use actually fixing anything.
Comment 2 Andrew Niefer CLA 2011-05-10 11:40:33 EDT
*** Bug 345259 has been marked as a duplicate of this bug. ***
Comment 3 Paul Webster CLA 2011-05-11 08:12:33 EDT
This failed again in last night's build.

[p2.director] Installing org.eclipse.sdk.ide 4.1.0.I20110510-2200.
[p2.director] Installation failed.
[p2.director] An error occurred during the org.eclipse.equinox.internal.p2.engine.phases.CheckTrust phase.
[p2.director]  session context was:(profile=SDKProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.CheckTrust, operand=, action=).
[p2.director]  String index out of range: 39946
[p2.director] An error occurred during the org.eclipse.equinox.internal.p2.engine.phases.CheckTrust phase.
[p2.director] session context was:(profile=SDKProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.CheckTrust, operand=, action=).
[p2.director] String index out of range: 39946
A problem occured while invoking the director.
Comment 4 Pascal Rapicault CLA 2011-05-17 19:29:36 EDT
I looked through the p2 code and did not see message like the one mentioned (String index out of range). The only thing that comes to mind is a failure in the signature verification process. 
Cc'ing Tom to see if he knows what is going on there.
But it looks to me like a corrupt artifact since nothing changed in space for quite a while.
Comment 5 Paul Webster CLA 2011-05-18 00:58:41 EDT
I don't believe this is critical anymore.

PW
Comment 6 Thomas Watson CLA 2011-05-18 08:31:17 EDT
bug342853 could be to blame for the "String index out of range" message, but it is hard to tell without the relevant stack trace for the exception.
Comment 7 Pascal Rapicault CLA 2011-05-18 09:56:53 EDT
IMO this is the same thing. Closing as dup until proven otherwise :)

*** This bug has been marked as a duplicate of bug 342853 ***
Comment 8 Thomas Watson CLA 2011-05-18 13:41:42 EDT
I don't know if it is possible, but it would help me out if you could get the artifacts from the failed build after this error occurs.  This way I can try to run them through the verifier to see if one fails.