irods / irods_rule_engine_plugin_audit_amqp

BSD 3-Clause "New" or "Revised" License
2 stars 13 forks source link

Make testing plugin against test_resource_types.Test_Unixfilesystem_Resource more resilient #150

Open korydraughn opened 2 months ago

korydraughn commented 2 months ago

Bug Report

During the run up to 4.3.2.0 (2310a02), it was discovered that the unixfilesystem test suite can hang on a call to iphymv when this plugin is enabled. When this happens, the tests never complete. https://github.com/irods/irods_rule_engine_plugin_audit_amqp/blob/2310a021680aa4142c5bc203e33a0dcce85a4ec6/packaging/test_audit_plugin.py#L109-L112

The logs showing this can be viewed here: https://gist.github.com/korydraughn/e961c02bb950ada90ab13d5afa1f52c5

This could be due to the audit plugin slowing things down, leading to the iRODS server becoming overwhelmed. I did notice a huge number of agents at the time this was observed. Perhaps #107 can help with this.

I saw this happen on one run, so it could be a fluke. Multiple runs should be attempted to determine if this is real or not.

Please investigate.