CTA merge requestshttps://gitlab.cern.ch/cta/CTA/-/merge_requests2024-02-23T17:33:59+01:00https://gitlab.cern.ch/cta/CTA/-/merge_requests/470Draft: Resolve "taped writing to log file continues to write to rotated log"2024-02-23T17:33:59+01:00Joao AfonsoDraft: Resolve "taped writing to log file continues to write to rotated log"### Summary
<!-- Please describe the merge request here. Optional if title already provides a complete description. -->
### Requires manual tests in pre-production
<!-- YES or NO -->
<!-- If YES, update https://gitlab.cern.ch/cta/CTA/...### Summary
<!-- Please describe the merge request here. Optional if title already provides a complete description. -->
### Requires manual tests in pre-production
<!-- YES or NO -->
<!-- If YES, update https://gitlab.cern.ch/cta/CTA/-/wikis/Manual-tests-on-pre-production and provide link -->
### References
<!-- Please provide a link to all related issues. -->
Closes #570Joao AfonsoPablo Oliver CortesJoao Afonsohttps://gitlab.cern.ch/cta/CTA/-/merge_requests/424Draft: Resolve "Add new 'failureReason' field to 'Tape session finished' mess...2024-02-09T17:16:47+01:00Joao AfonsoDraft: Resolve "Add new 'failureReason' field to 'Tape session finished' message"### Summary
<!-- Please describe the merge request here. Optional if title already provides a complete description. -->
### Requires manual tests in pre-production
<!-- YES or NO -->
<!-- If YES, update https://gitlab.cern.ch/cta/CTA/...### Summary
<!-- Please describe the merge request here. Optional if title already provides a complete description. -->
### Requires manual tests in pre-production
<!-- YES or NO -->
<!-- If YES, update https://gitlab.cern.ch/cta/CTA/-/wikis/Manual-tests-on-pre-production and provide link -->
### References
<!-- Please provide a link to all related issues. -->
Closes #565Joao AfonsoJoao Afonsohttps://gitlab.cern.ch/cta/CTA/-/merge_requests/376Draft: Resolve "CTA cannot archive files on MHVTL ULTRIUM config"2024-03-21T11:05:42+01:00Jorge Camarero VeraDraft: Resolve "CTA cannot archive files on MHVTL ULTRIUM config"### Summary
<!-- Please describe the merge request here. Optional if title already provides a complete description. -->
### Requires manual tests in pre-production
<!-- YES or NO -->
<!-- If YES, update https://gitlab.cern.ch/cta/CTA/...### Summary
<!-- Please describe the merge request here. Optional if title already provides a complete description. -->
### Requires manual tests in pre-production
<!-- YES or NO -->
<!-- If YES, update https://gitlab.cern.ch/cta/CTA/-/wikis/Manual-tests-on-pre-production and provide link -->
### References
<!-- Please provide a link to all related issues. -->
Closes #257Jorge Camarero VeraJorge Camarero Verahttps://gitlab.cern.ch/cta/CTA/-/merge_requests/187Draft: Resolve "Proposal to change EOS disk fid to fxid"2023-09-19T14:28:23+02:00Jorge Camarero VeraDraft: Resolve "Proposal to change EOS disk fid to fxid"### Summary
<!-- Please describe the merge request here. Optional if title already provides a complete description. -->
### Requires manual tests in pre-production
<!-- YES or NO -->
<!-- If YES, update https://gitlab.cern.ch/cta/CTA/...### Summary
<!-- Please describe the merge request here. Optional if title already provides a complete description. -->
### Requires manual tests in pre-production
<!-- YES or NO -->
<!-- If YES, update https://gitlab.cern.ch/cta/CTA/-/wikis/Manual-tests-on-pre-production and provide link -->
### References
<!-- Please provide a link to all related issues. -->
Closes #134Jorge Camarero VeraJorge Camarero Verahttps://gitlab.cern.ch/cta/CTA/-/merge_requests/80Unit test for DriveHandler and CleanerSession2022-11-25T14:35:50+01:00Volodymyr YurchenkoUnit test for DriveHandler and CleanerSession### Summary
Add a class for unit testing of triggering of the cleaner session at the end of failed data transfer session. It's implementation contains some questionable solutions:
- add the feedback in `DriveHandlerProxy`: `reportHeartb...### Summary
Add a class for unit testing of triggering of the cleaner session at the end of failed data transfer session. It's implementation contains some questionable solutions:
- add the feedback in `DriveHandlerProxy`: `reportHeartbeat()` will listen for the client's messages and echo them to the parent process (`DriveHandler`). This is needed by the unit test to be able to send state change messages to the parent process. Normally the client process (`DataTransferSession`) doesn't need it.
- add `reportHeartbeat()` to `DataTransferSession` during down-up transition loop. Data transfer session doesn't go further, because there is no real work. In the unit test I deal only with state change messages without starting any mounts. The reason for this is that it's impossible to instantiate the tape drive because `InMemory` catalogue has a bug that prevents of using the same catalogue instance in the unit test and the drive handler process.
Moreover, there is one more case to cover: I was unable to test triggering the cleaner session when the transfer session was killed. I simply couldn't kill the child process because of lack of control. For this reason `CleanerSession` cannot run. It will only tell that it will start, and this is what is tested.
### References
#61Volodymyr YurchenkoVolodymyr Yurchenko