eclipse-ocl / org.eclipse.ocl

Eclipse Public License 2.0
0 stars 0 forks source link

[releng] OCL features refer to non-existent org.eclipse.ocl.all feature #537

Closed eclipse-ocl-bot closed 1 month ago

eclipse-ocl-bot commented 1 month ago

| --- | --- | | Bugzilla Link | 310349 | | Status | CLOSED FIXED | | Importance | P3 major | | Reported | Apr 23, 2010 17:03 EDT | | Modified | May 27, 2011 02:54 EDT | | Version | 3.0.0 | | Depends on | 313124 | | Reporter | Steve Francisco |

Description

Build Identifier: Helios builds (post M6)

The following zips in the mdt-ocl build have an statement in their feature.xml files to include a feature that doesn't seem to exist in any of the ocl zip files. Either the should be removed, or the missign feature should be added to the packaging.

mdt-ocl-runtime-I201003230836.zip\ mdt-ocl-SDK-I201003230836.zip\ mdt-ocl-examples-I201003230836.zip\ mdt-ocl-standalone-I201003230836.zip

Here is the statement:\ <includes id="org.eclipse.ocl.all"\ version="3.0.0.v200912161120-77--7EB1IDFsG9BLAKGMGUDB" />

This is causing us problems when verifying the integrity of our builds as the referenced feature is not found causing an error. It's considered major for us because the error is stopping our builds from continuing.

Reproducible: Always

eclipse-ocl-bot commented 1 month ago

By Ed Willink on Apr 23, 2010 17:34

I've checked both feature.xml in

mdt-ocl-examples-I201003230836.zip

and can see nothing remotely resembling what you report.

It seems very difficult to believe that a 2010 build should reference a 2009 feature.

Please check your environment carefully and provide more informative description of the problem. Which file has the erroneous include?

eclipse-ocl-bot commented 1 month ago

By Steve Francisco on Apr 23, 2010 19:30

Thanks for the quick turnaround Edward. You're right. I was told all 4 zips had the problem but I only verified it in one zip before posting - that was sloppy of me.

The one I found it in is the SDK (mdt-ocl-SDK-I201003230836.zip). In there is a feature called org.eclipse.ocl.all.sdk which contains the of org.eclipse.ocl.all which does not exist.

eclipse-ocl-bot commented 1 month ago

By Ed Willink on Apr 24, 2010 01:22

Ow! The ocl.map file has had drifting incoherent versions since 28-Dec-2009.

Thank you for reporting this.

N-builds are ok, so if you pick a green one (Hudson is giving numerous spurious red ones at present) you at least have a workaround. Try https://build.eclipse.org/hudson/job/cbi-mdt-ocl-3.0/lastSuccessfulBuild/artifact/.

Watch https://build.eclipse.org/hudson/job/cbi-mdt-ocl-3.0-integration/ for an I-build. Will try to promote one soon.

eclipse-ocl-bot commented 1 month ago

By Ed Willink on Apr 24, 2010 02:03

Correction: the versions haven't been drifting, they have just been selectively maintained, so unchanging plugins and features have retained older tags. I guess that the problem is that a four-month prune has occurred and the feature is no longer available.

Seems a modest cost to always tag the whole of MDT/OCL as a single operation. I will try to ensure this happens in future.

eclipse-ocl-bot commented 1 month ago

By Ed Willink on Apr 24, 2010 06:01

https://build.eclipse.org/hudson/job/cbi-mdt-ocl-3.0-integration/82/artifact/build/I201004240239/ is ready for promotion; an activity that I've yet to accomplish. Not sure whether I can do it; may have to wait till Alex responds.

eclipse-ocl-bot commented 1 month ago

By Alexander Igdalov on Apr 24, 2010 09:22

(In reply to comment #5)

https://build.eclipse.org/hudson/job/cbi-mdt-ocl-3.0-integration/82/artifact/build/I201004240239/ is ready for promotion; an activity that I've yet to accomplish. Not sure whether I can do it; may have to wait till Alex responds.

Hi All,

I will promote the I-build this evening. Ed, if you wish to publish it earlier - my +1.

Regards,

eclipse-ocl-bot commented 1 month ago

By Steve Francisco on May 06, 2010 11:52

The M7 build didn't seem to correct the problem. The feature still refers to the non-existent org.eclipse.ocl.all plugin.

eclipse-ocl-bot commented 1 month ago

By Ed Willink on May 06, 2010 12:48

Please provide the exact URL that you believe to be erroneous.

eclipse-ocl-bot commented 1 month ago

By Anthony Hunter on May 06, 2010 13:00

(In reply to comment #8)

Please provide the exact URL that you believe to be erroneous.

The M7 build at \ http://download.eclipse.org/modeling/mdt/ocl/downloads/drops/3.0.0/S201005040447/

Looking in the mdt-ocl-runtime-3.0.0M7.zip

It includes a org.eclipse.ocl.master_3.0.0.v201005040140-7D--7_v33pRirguU5Ac41gUV59nA

If you remove the org.eclipse.ocl.master feature from this zip the issue is solved.

org.eclipse.ocl.master includes three non existant features that are not in the runtime zip:

This feature includes the following features which were unavailable in the product

* org.eclipse.ocl.all.sdk version 3.0.0.v201005040140-7J--ABX8KMEmJnUeYaZltZsaOK_b match-rule null
* org.eclipse.ocl.examples version 3.0.0.v201005040140-86--FK_Qj3ikL27oMCi match-rule null
* org.eclipse.ocl.all version 3.0.0.v201005040140-77--7EB1IDFsG9CE9RAIFBH6 match-rule null
eclipse-ocl-bot commented 1 month ago

By Ed Willink on May 06, 2010 13:51

(In reply to comment #9)

The M7 build at http://download.eclipse.org/modeling/mdt/ocl/downloads/drops/3.0.0/S201005040447/

Thanks. This now makes sense. I thought I had leapt to the wrong fix in diagnosing the problem as a missing (pruned) old ZIP. Rather it is a reference that is internally unresolved (because the excludes match in the build is inadequate).

We are spinning an M7a so that the new editor plugins are compatible with Xtext M7's changes, so I'll try to include this one in M7a.

eclipse-ocl-bot commented 1 month ago

By Anthony Hunter on May 18, 2010 13:04

There is no master feature in mdt-ocl-CoreSDK-3.0.0M7a.zip . This is the backwards compatible zip we are using.

eclipse-ocl-bot commented 1 month ago

By Anthony Hunter on May 18, 2010 15:37

(In reply to comment #11)

There is no master feature in mdt-ocl-CoreSDK-3.0.0M7a.zip . This is the backwards compatible zip we are using.

OK, there is no master feature anymore in mdt-ocl-CoreSDK-3.0.0RC1.zip, but the org.eclipse.ocl.core.sdk still has errors:

Feature ID\ org.eclipse.ocl.core.sdk

Feature Name\ n.a

Version 3.0.0.v201005180320-7A--90G46CJQ6ZKYxTCSRCmRq4oL

Feature Patch\ false

Install Location\ /home/ahunter/eclipse-SDK-3.6RC1-linux-gtk/eclipse/features/org.eclipse.ocl.core.sdk_3.0.0.v201005180320-7A--90G46CJQ6ZKYxTCSRCmRq4oL

Errors\

  1. This feature includes the following features which were unavailable in the product
    • org.eclipse.ocl.source version 3.0.0.v201005061704-79-7G9oB5855J7O8P9D match-rule null
    • org.eclipse.ocl.uml.source version 3.0.0.v201005061704-4--7w312116172815 match-rule null
    • org.eclipse.ocl.all version 3.0.0.v201005061704-77--7EB1IDFsG9CE9TCZCXAE match-rule null

Warnings\ None

The CoreSDK Zip itself does not contain all the bundles:\ % unzip -t mdt-ocl-runtime-3.0.0RC1.zip | egrep ecore\ testing: eclipse/plugins/org.eclipse.ocl.ecore.edit_3.0.0.v201005061704.jar OK\ testing: eclipse/plugins/org.eclipse.ocl.ecore_3.0.0.v201005061704.jar OK\ % unzip -t mdt-ocl-CoreSDK-3.0.0RC1.zip | egrep ecore\ testing: eclipse/plugins/org.eclipse.ocl.ecore.source_3.0.0.v201005061704.jar OK\ testing: eclipse/plugins/org.eclipse.ocl.ecore_3.0.0.v201005061704.jar OK

eclipse-ocl-bot commented 1 month ago

By Adolfo Sanchez-Barbudo Herrera on May 19, 2010 05:04

Anthony,

These "missing" features in the Core SDK, has been recently included to fix the following bugzilla: https://bugs.eclipse.org/bugs/show_bug.cgi?id=313124

It seems that something else must be done in the releng area in somewhere, apart from changing the fatures inclusion and tunning the build.properties file. I hope that Alex have more idea that I actually have about this. Meanwhile, I'll look into it by myself.

Cheers,\ Adolfo.

eclipse-ocl-bot commented 1 month ago

By Ed Willink on May 19, 2010 05:24

buildExtra.xml formats the subset ZIPs. That's probably where something went adrift, but if names are unchanged...

eclipse-ocl-bot commented 1 month ago

By Adolfo Sanchez-Barbudo Herrera on May 19, 2010 05:31

(In reply to comment #14)

buildExtra.xml formats the subset ZIPs. That's probably where something went adrift, but if names are unchanged...

Ed, yes.... Alex has pointed me out that via Skype:

\ \ \ \ \ \

I'll reopen the other bug, and create a patch there. I'll also check the rampdown policy before committing.

On the other hand, I'll keep this bug open because I want to review all the generated zips, because I've already detected other problems. I'll post a report here.

Cheers,\ Adolfo.

eclipse-ocl-bot commented 1 month ago

By Anthony Hunter on May 25, 2010 17:02

Looks like the previous issues are resolved in mdt-ocl-CoreSDK-3.0.0RC2.zip.

eclipse-ocl-bot commented 1 month ago

By Ed Willink on May 25, 2010 17:12

(In reply to comment #16)

Looks like the previous issues are resolved in mdt-ocl-CoreSDK-3.0.0RC2.zip.

Good. Sorry for the trouble. Hopefully we've helped sort QVTo out too.

eclipse-ocl-bot commented 1 month ago

By Ed Willink on May 27, 2011 02:54

Closing