Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #9690 (closed)

Opened 7 years ago

Closed 7 years ago

RFE: Automated testing could rsync image data prior to run

Reported by: rleigh Owned by: mlinkert
Priority: minor Milestone: OMERO-4.4.7
Component: Bio-Formats Version: n.a.
Keywords: n.a. Cc:
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: n.a.

Description

This follows testing-related discussion with josh this morning.

It would be nice if the test data could be rsynced prior to running the tests, and use the local data rather than being I/O limited by NFS (for hudson on necromancer, cls-dev-bf, etc.).

This should be able to check the available space locally, and only rsync when sufficient free space is available. It should therefore be able to fall back on using NFS if it's not possible to run using the local cached copy. It would also be useful to be able to cache the data between tests to prevent the need for repeatedly syncing the same data. Maybe just commonly used data like test_images_good etc.?

Change History (4)

comment:1 Changed 7 years ago by jmoore

Referencing ticket #8731 has changed sprint.

comment:2 Changed 7 years ago by jmoore

  • Milestone changed from Unscheduled to OMERO-4.5

comment:3 Changed 7 years ago by mlinkert

  • Summary changed from Bug: Automated testing could rsync image data prior to run to RFE: Automated testing could rsync image data prior to run

comment:4 Changed 7 years ago by mlinkert

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

I just tried this with test_per_commit on necromancer against develop:

$ time rsync -avuPL /ome/data_repo/from_skyking/test_per_commit/ /homes/mlinkert-x/test_per_commit/
...
sent 11804395116 bytes  received 48822 bytes  19431183.44 bytes/sec
total size is 11802804005  speedup is 1.00

real	10m7.273s
user	0m57.592s
sys	0m48.623s

$ cd components/test-suite
$ ant -Dtestng.memory=6144m -Dtestng.directory=/homes/mlinkert-x/test_per_commit/ test-automated
...
BUILD SUCCESSFUL
Total time: 17 minutes 23 seconds

$ ant -Dtestng.memory=6144m -Dtestng.directory=/ome/data_repo/from_skyking/test_per_commit/ test-automated
...

BUILD SUCCESSFUL
Total time: 19 minutes 9 seconds

So as far as I can tell, rsyncing in advance is actually going to make the tests slower, not faster.

Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.82463 sec.)

We're Hiring!