eclipse-ocl / org.eclipse.ocl

Eclipse Public License 2.0
0 stars 0 forks source link

[tests] Suspicious test launch configurations #1130

Open eclipse-ocl-bot opened 5 days ago

eclipse-ocl-bot commented 5 days ago

| --- | --- | | Bugzilla Link | 411403 | | Status | NEW | | Importance | P3 normal | | Reported | Jun 21, 2013 13:07 EDT | | Modified | Jul 01, 2013 06:00 EDT | | Reporter | Adolfo Sanchez-Barbudo Herrera |

Description

After a hard day of hudson/build failures I've concluded that some plugin tests launch configuration are not correct

Facts:

Although I can't quickly diagnose which missing plugin (set of) is the real cause of not making the xtext plugin test work under our current dependencies graph, the point is that including that org.eclipse.pde.core dependency cures the problem, since it should transitively include one(set of) plugin required to make the Xtext plugins work.

Rather than looking for that specific plugin (or set of plugins), I decided to do experiments in other way. Why do we require to launch and org.eclipse.sdk.ide product ?. These are the results

product (sdk.ide)

Therefore both solutions currently fail in hudson. So rather than looking for the minimum required plugins to make the xtext-plugin test run in hudson or including the org.eclipse.pde.core dependency into the xtext tests plugin, I'm doing the following:

I'll kick a build see if now the xtext plugins pass. If it successes, I'll also compare tests execution times to see if it gets degraded.

[1] https://hudson.eclipse.org/hudson/job/buckminster-mdt-ocl-branch-tests/347/\ [2] https://hudson.eclipse.org/hudson/job/buckminster-mdt-ocl-tools-kepler-master/482\ [3] https://hudson.eclipse.org/hudson/job/buckminster-mdt-ocl-tools-kepler-master/483

eclipse-ocl-bot commented 5 days ago

By Adolfo Sanchez-Barbudo Herrera on Jun 21, 2013 13:48

(In reply to comment #0)

I'll kick a build see if now the xtext plugins pass. If it successes, I'll also compare tests execution times to see if it gets degraded.

It failed.

Looking into error log and dependencies:

While having the following transitive dependencies:

org.eclipse.ui.ide.application\ -> org.eclipse.ui.ide (req bundle)\ -> org.eclipse.equinox.p2.engine (req bundle)\ -> org.eclipse.equinox.p2.reposiotory.spi (imported pkg) (which in Eclipse SDK is contributed via org.eclipse.equinox.p2.repository bundle)\ \ I don't see the corresponding org.eclipse.equinox.p2.repository bundle in the TP used by buckminster :(

I must be missing something else...

An obvious solution could be including a dependency on pde.core bundle, but I'd like to know what the hell is happening with this sensible xtext.tests configuration of the launch.conf file

I've kicked a new build to reproduce the same error, but I don't have any hope of success.

eclipse-ocl-bot commented 5 days ago

By Adolfo Sanchez-Barbudo Herrera on Jul 01, 2013 06:00

Last branch/tests failing builds are related to this issue.

As commented, including the depedency on the org.eclipse.ui.ide.application plugin which contains the application definition run by the test cases doesn't (incomprehensibly) solves the error: we don't have a bundle in TP providing the required, among others, org.eclipse.equinox.p2.reposiotory.spi package.

After explicitly including the org.eclipse.pde.core dependency, the org.eclipse.equinox.p2.repository bundle finally appear in the TP. However, the build [1] failed in the same point but with a different undescriptible error (There is no problem in launching the application with the test cases, though).

A second run is taking taking place, to verify this last error.

[1] https://hudson.eclipse.org/hudson/job/buckminster-ocl-branch-tests/364/console