[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [papyrus-rt-dev] Fwd: [cross-project-issues-dev] Disk usage report for HIPP/JIPPs
|
FYI, the disk usage of /home/hudson/genie.papyrus-rt/.m2/ is about 93 GB. We should be able to delete the entirety of that now that all of the build jobs use a private repo. There is an unbelievable number of Papyrus and other bundle JARs in there.
On Jun 15, 2017, 16:03 -0400, Christian Damus <give.a.damus@xxxxxxxxx>, wrote:
Indeed, several of our builds are configured to use the shared maven repository, including the Master-Product build. This build, in particular, has been subject to frequent apparently random failures. Perhaps this is the cause?
In any case, I’m ensuring that all builds use a private repository. Then, I need to figure out how to destroy the Papyrus-RT genie’s (shared) maven repository. And then we can look into how best to periodically (hopefully automatically) trim each build’s private maven repository, following up Ernesto’s comments.
On Jun 15, 2017, 03:14 -0400, Camille Letavernier <cletavernier@xxxxxxxxxxxxxxxxx>, wrote:
Hi,
Maven repos are not thread safe, so whenever 2 builds may run in parallel (and download new artifacts, e.g. Papyrus Nightly), a shared repo is not an option. On top of that, Eclipse plug-ins use a qualifier, whereas Maven works with "-SNAPSHOT". Since qualifiers change at every build, they keep stacking in the repository (until the repository is deleted). That's not an issue for plain-Maven, because Snapshots have the same name, so they just overwrite each other.
Then you have to multiply this by the number of builds, and there's a tradeoff between build time and workspace size. In general, I like to preserve repos for stable builds, and wipe them for Gerrit (Which is much more likely to introduce incorrect bundle versions in the repo, thus potentially causing all later builds to fail). But at least every once in a while, Maven repos should be deleted.
HTH,
Camille
_______________________________________________
papyrus-rt-dev mailing list
papyrus-rt-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/papyrus-rt-dev