Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 365435 - Kernel smoke test passes when kernel will not start
Summary: Kernel smoke test passes when kernel will not start
Status: CLOSED FIXED
Alias: None
Product: Virgo
Classification: RT
Component: runtime (show other bugs)
Version: 3.0.0.RELEASE   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 minor (vote)
Target Milestone: 3.5.0.M01   Edit
Assignee: Glyn Normington CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-02 09:28 EST by Glyn Normington CLA
Modified: 2011-12-13 08:56 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Glyn Normington CLA 2011-12-02 09:28:05 EST
In the kernel, edit build-kernel/repository/ext/org.eclipse.virgo.kernel.userregion.springdm.plan to have the plan attribute provisioning=disabled. Since the plan is not transitively complete, e.g. it depends on various Spring framework packages, kernel startup fails.

However, running a build with:

ant clean clean-integration test package smoke-test

results in BUILD SUCCESSFUL when it should fail.
Comment 1 Glyn Normington CLA 2011-12-13 08:51:28 EST
Note: the plan attribute is spelled provisioning="disabled".

For ease of debugging, I ran the following targets instead:

ant clean clean-integration jar package smoke-test
Comment 2 Glyn Normington CLA 2011-12-13 08:56:41 EST
Fixed in kernel commit 15aa68133e6a3eb5c7feafb354d4acb88e6818b6.