ome / omero-install

OMERO installation scripts
https://www.openmicroscopy.org/omero
4 stars 24 forks source link

import an image #247

Closed jburel closed 3 years ago

jburel commented 4 years ago

As suggested by @mtbc while reviewing https://github.com/ome/omero-py/pull/251 I have added an "import" step to the test. I have tested in the context of https://github.com/ome/omero-install/pull/245

2020-09-11 12:03:47,707 5815       [2-thread-1] INFO   ormats.importer.cli.LoggingImportMonitor - FILESET_UPLOAD_PREPARATION
2020-09-11 12:03:48,835 6943       [2-thread-1] INFO   ormats.importer.cli.LoggingImportMonitor - FILESET_UPLOAD_START
2020-09-11 12:03:48,915 7023       [3-thread-1] INFO   ts.importer.transfers.UploadFileTransfer - Transferring /home/omero-server/image.png...
2020-09-11 12:03:49,013 7121       [3-thread-1] INFO   ormats.importer.cli.LoggingImportMonitor - FILE_UPLOAD_STARTED: /home/omero-server/image.png
2020-09-11 12:03:49,075 7183       [3-thread-1] INFO   ormats.importer.cli.LoggingImportMonitor - FILE_UPLOAD_COMPLETE: /home/omero-server/image.png
2020-09-11 12:03:49,310 7418       [2-thread-1] INFO   ormats.importer.cli.LoggingImportMonitor - FILESET_UPLOAD_END
2020-09-11 12:03:49,828 7936       [2-thread-1] INFO   ormats.importer.cli.LoggingImportMonitor - IMPORT_STARTED Logfile: 77
2020-09-11 12:03:50,696 8804       [l.Client-1] INFO   ormats.importer.cli.LoggingImportMonitor - METADATA_IMPORTED Step: 1 of 5  Logfile: 77
2020-09-11 12:03:51,272 9380       [l.Client-0] INFO   ormats.importer.cli.LoggingImportMonitor - PIXELDATA_PROCESSED Step: 2 of 5  Logfile: 77
2020-09-11 12:03:52,411 10519      [l.Client-1] INFO   ormats.importer.cli.LoggingImportMonitor - THUMBNAILS_GENERATED Step: 3 of 5  Logfile: 77
2020-09-11 12:03:52,449 10557      [l.Client-0] INFO   ormats.importer.cli.LoggingImportMonitor - METADATA_PROCESSED Step: 4 of 5  Logfile: 77
2020-09-11 12:03:52,482 10590      [l.Client-0] INFO   ormats.importer.cli.LoggingImportMonitor - OBJECTS_RETURNED Step: 5 of 5  Logfile: 77
2020-09-11 12:03:52,744 10852      [l.Client-1] INFO   ormats.importer.cli.LoggingImportMonitor - IMPORT_DONE Imported file: /home/omero-server/image.png
Image:1
Other imported objects:
Fileset:1

==> Summary
1 file uploaded, 1 fileset created, 1 image imported, 0 errors in 0:00:05.068
+ docker stop omeroinstall_debian10
omeroinstall_debian10
+ docker rm omeroinstall_debian10
omeroinstall_debian10
joshmoore commented 4 years ago

I'd suggest either (preferably) using a fake or at least setting the agent on the download to differentiate testing.

jburel commented 4 years ago

Actually creating a fake will be simpler.