Ticket #503 (closed task: fixed)

Opened 8 years ago

Last modified 7 years ago

Improve Bio-Formats Hudson builds

Reported by: curtis Owned by: curtis
Priority: major Milestone: imagej2-b3-headless
Component: SCIFIO Version:
Severity: non-issue Keywords:
Cc: melissa Blocked By:


Currently, there are several different Bio-Formats Hudson jobs on both the LOCI Dev server and the OME Hudson server. The LOCI Dev server has three Bio-Formats Hudson builds: Bio-Formats, Bio-Formats-daily, and Bio-Formats-maven.

To reduce redundancy between jobs, the (Ant-based) Bio-Formats job should be eliminated, with the Bio-Formats-maven job being renamed to "Bio-Formats" to fulfill its functions. This includes building artifacts and generating Javadocs, as well as running tests.

For this to happen, the following items must be addressed:

  1. Maven tests must work correctly (currently they fail in initialization)
  2. The loci-tools and ome-tools projects must be brought onto the develop branch from the maven branch, so that the Maven build system can produce loci_tools.jar and ome_tools.jar.

Once these issues are sorted, we can update the Hudson as described above.

Change History

comment:1 Changed 8 years ago by curtis

  • Milestone changed from biweekly-2011: Jul-18 to Jul-29 to biweekly-2011: Aug-29 to Sep-09

comment:2 Changed 8 years ago by curtis

  • Milestone changed from biweekly-2011: Aug-29 to Sep-09 to imagej-2.0-beta1

Milestone biweekly-2011: Aug-29 to Sep-09 deleted

comment:3 Changed 8 years ago by curtis

Support for the loci-tools and ome-tools bundles was added in  239cba85, with further fixes in  1eeac3d and  7d0bf5c.

Initial support for TestNG test suites was added in  271c0243, though there are still some problems and limitations when running the tests using Maven's Surefire plugin (see commit message for details).

comment:4 Changed 7 years ago by curtis

  • Milestone changed from imagej-2.0-beta1 to imagej-2.0-beta2

comment:5 Changed 7 years ago by curtis

Regarding the two failing NetCDF-related Bio-Formats unit tests, the discrepancy was due to NetCDF 4.0 being used with Ant, while the Maven build was using 4.2.20. The  netcdf-update branch upgrades NetCDF to 4.2.20 across the board, so those two tests should now pass.

So the remaining issues are now:

  1. For common, there is a @PARALLEL@ token that is nonstandard and throws off the test engine unless it gets replaced.
  2. For metakit, there is a filename system property that is expected to be set ad hoc. As such, the tests are not true unit tests.
  3. For bio-formats and ome-io, the missing dependency tests are not included because they only pass when dependencies are missing.

I am most concerned about the common test, since it would be nice for that to run (presumably with some default value of @PARALLEL@).

Last edited 7 years ago by curtis (previous) (diff)

comment:6 Changed 7 years ago by curtis

  • Status changed from new to closed
  • Resolution set to fixed

The remaining Maven build issues have been migrated to a  separate ticket on the OME Trac.

Note: See TracTickets for help on using tickets.