Coverage report: 14%

Files Functions Classes

coverage.py v7.5.0, created at 2024-04-25 17:53 +0000

File function statements missing excluded branches partial coverage
python/lsst/ctrl/bps/htcondor/__init__.py (no function) 3 0 0 0 0 100%
python/lsst/ctrl/bps/htcondor/handlers.py Handler.handle 0 0 0 0 0 100%
python/lsst/ctrl/bps/htcondor/handlers.py Chain.__init__ 4 0 0 4 1 88%
python/lsst/ctrl/bps/htcondor/handlers.py Chain.__getitem__ 1 1 0 0 0 0%
python/lsst/ctrl/bps/htcondor/handlers.py Chain.__len__ 1 1 0 0 0 0%
python/lsst/ctrl/bps/htcondor/handlers.py Chain.append 3 1 0 2 1 60%
python/lsst/ctrl/bps/htcondor/handlers.py Chain.handle 9 9 0 4 0 0%
python/lsst/ctrl/bps/htcondor/handlers.py JobCompletedWithExecTicketHandler.handle 12 12 0 6 0 0%
python/lsst/ctrl/bps/htcondor/handlers.py JobCompletedWithoutExecTicketHandler.handle 11 11 0 6 0 0%
python/lsst/ctrl/bps/htcondor/handlers.py JobHeldByOtherHandler.handle 9 9 0 4 0 0%
python/lsst/ctrl/bps/htcondor/handlers.py JobHeldBySignalHandler.handle 13 13 0 6 0 0%
python/lsst/ctrl/bps/htcondor/handlers.py JobHeldByUserHandler.handle 9 9 0 4 0 0%
python/lsst/ctrl/bps/htcondor/handlers.py (no function) 29 0 0 2 0 100%
python/lsst/ctrl/bps/htcondor/htcondor_service.py HTCondorService.prepare 6 6 0 4 0 0%
python/lsst/ctrl/bps/htcondor/htcondor_service.py HTCondorService.submit 15 15 0 6 0 0%
python/lsst/ctrl/bps/htcondor/htcondor_service.py HTCondorService.restart 49 49 0 22 0 0%
python/lsst/ctrl/bps/htcondor/htcondor_service.py HTCondorService.list_submitted_jobs 38 38 0 28 0 0%
python/lsst/ctrl/bps/htcondor/htcondor_service.py HTCondorService.report 15 15 0 8 0 0%
python/lsst/ctrl/bps/htcondor/htcondor_service.py HTCondorService.cancel 28 28 0 12 0 0%
python/lsst/ctrl/bps/htcondor/htcondor_service.py HTCondorWorkflow.__init__ 2 2 0 0 0 0%
python/lsst/ctrl/bps/htcondor/htcondor_service.py HTCondorWorkflow.from_generic_workflow 31 31 0 20 0 0%
python/lsst/ctrl/bps/htcondor/htcondor_service.py HTCondorWorkflow.write 3 3 0 0 0 0%
python/lsst/ctrl/bps/htcondor/htcondor_service.py _create_job 21 21 0 4 0 0%
python/lsst/ctrl/bps/htcondor/htcondor_service.py _translate_job_cmds 44 44 0 32 0 0%
python/lsst/ctrl/bps/htcondor/htcondor_service.py _translate_dag_cmds 5 5 0 2 0 0%
python/lsst/ctrl/bps/htcondor/htcondor_service.py _fix_env_var_syntax 4 4 0 2 0 0%
python/lsst/ctrl/bps/htcondor/htcondor_service.py _replace_file_vars 21 21 0 18 0 0%
python/lsst/ctrl/bps/htcondor/htcondor_service.py _replace_cmd_vars 6 6 0 0 0 0%
python/lsst/ctrl/bps/htcondor/htcondor_service.py _handle_job_inputs 20 20 0 14 0 0%
python/lsst/ctrl/bps/htcondor/htcondor_service.py _report_from_path 5 5 0 2 0 0%
python/lsst/ctrl/bps/htcondor/htcondor_service.py _report_from_id 36 36 0 14 0 0%
python/lsst/ctrl/bps/htcondor/htcondor_service.py _get_info_from_schedd 8 8 0 0 0 0%
python/lsst/ctrl/bps/htcondor/htcondor_service.py _get_info_from_path 31 31 0 6 0 0%
python/lsst/ctrl/bps/htcondor/htcondor_service.py _create_detailed_report_from_jobs 16 16 0 4 0 0%
python/lsst/ctrl/bps/htcondor/htcondor_service.py _summary_report 21 21 0 12 0 0%
python/lsst/ctrl/bps/htcondor/htcondor_service.py _add_run_info 18 18 0 8 0 0%
python/lsst/ctrl/bps/htcondor/htcondor_service.py _get_owner 7 7 0 4 0 0%
python/lsst/ctrl/bps/htcondor/htcondor_service.py _get_run_summary 10 10 0 6 0 0%
python/lsst/ctrl/bps/htcondor/htcondor_service.py _get_exit_code_summary 19 19 0 8 0 0%
python/lsst/ctrl/bps/htcondor/htcondor_service.py _get_state_counts_from_jobs 10 10 0 6 0 0%
python/lsst/ctrl/bps/htcondor/htcondor_service.py _get_state_counts_from_dag_job 18 18 0 4 0 0%
python/lsst/ctrl/bps/htcondor/htcondor_service.py _htc_status_to_wms_state 6 6 0 4 0 0%
python/lsst/ctrl/bps/htcondor/htcondor_service.py _htc_job_status_to_wms_state 17 17 0 12 0 0%
python/lsst/ctrl/bps/htcondor/htcondor_service.py _htc_node_status_to_wms_state 26 26 0 24 0 0%
python/lsst/ctrl/bps/htcondor/htcondor_service.py _update_jobs 4 4 0 4 0 0%
python/lsst/ctrl/bps/htcondor/htcondor_service.py _wms_id_type 11 11 0 4 0 0%
python/lsst/ctrl/bps/htcondor/htcondor_service.py _wms_id_to_cluster 28 28 0 12 0 0%
python/lsst/ctrl/bps/htcondor/htcondor_service.py _wms_id_to_dir 24 24 0 14 0 0%
python/lsst/ctrl/bps/htcondor/htcondor_service.py _create_periodic_release_expr 5 5 0 0 0 0%
python/lsst/ctrl/bps/htcondor/htcondor_service.py _create_periodic_remove_expr 5 5 0 0 0 0%
python/lsst/ctrl/bps/htcondor/htcondor_service.py _create_request_memory_expr 3 3 0 0 0 0%
python/lsst/ctrl/bps/htcondor/htcondor_service.py _locate_schedds 6 6 0 4 0 0%
python/lsst/ctrl/bps/htcondor/htcondor_service.py _gather_site_values 32 32 0 18 0 0%
python/lsst/ctrl/bps/htcondor/htcondor_service.py (no function) 69 0 0 2 0 100%
python/lsst/ctrl/bps/htcondor/lssthtc.py RestrictedDict.__init__ 3 3 0 0 0 0%
python/lsst/ctrl/bps/htcondor/lssthtc.py RestrictedDict.__getitem__ 1 1 0 0 0 0%
python/lsst/ctrl/bps/htcondor/lssthtc.py RestrictedDict.__delitem__ 1 1 0 0 0 0%
python/lsst/ctrl/bps/htcondor/lssthtc.py RestrictedDict.__setitem__ 3 3 0 2 0 0%
python/lsst/ctrl/bps/htcondor/lssthtc.py RestrictedDict.__iter__ 1 1 0 0 0 0%
python/lsst/ctrl/bps/htcondor/lssthtc.py RestrictedDict.__len__ 1 1 0 0 0 0%
python/lsst/ctrl/bps/htcondor/lssthtc.py RestrictedDict.__str__ 1 1 0 0 0 0%
python/lsst/ctrl/bps/htcondor/lssthtc.py htc_backup_files 28 28 0 14 0 0%
python/lsst/ctrl/bps/htcondor/lssthtc.py htc_escape 4 4 0 2 0 0%
python/lsst/ctrl/bps/htcondor/lssthtc.py htc_write_attribs 5 5 0 4 0 0%
python/lsst/ctrl/bps/htcondor/lssthtc.py htc_write_condor_file 14 14 0 14 0 0%
python/lsst/ctrl/bps/htcondor/lssthtc.py htc_tune_schedd_args 7 7 0 2 0 0%
python/lsst/ctrl/bps/htcondor/lssthtc.py htc_tune_schedd_args 1 1 0 0 0 0%
python/lsst/ctrl/bps/htcondor/lssthtc.py htc_query_history 6 6 0 4 0 0%
python/lsst/ctrl/bps/htcondor/lssthtc.py htc_query_present 4 4 0 4 0 0%
python/lsst/ctrl/bps/htcondor/lssthtc.py htc_version 1 1 0 0 0 0%
python/lsst/ctrl/bps/htcondor/lssthtc.py htc_submit_dag 7 7 0 0 0 0%
python/lsst/ctrl/bps/htcondor/lssthtc.py htc_create_submit_from_dag 1 1 0 0 0 0%
python/lsst/ctrl/bps/htcondor/lssthtc.py htc_create_submit_from_cmd 12 12 0 6 0 0%
python/lsst/ctrl/bps/htcondor/lssthtc.py htc_create_submit_from_file 12 12 0 6 0 0%
python/lsst/ctrl/bps/htcondor/lssthtc.py _htc_write_job_commands 16 16 0 16 0 0%
python/lsst/ctrl/bps/htcondor/lssthtc.py HTCJob.__init__ 6 6 0 0 0 0%
python/lsst/ctrl/bps/htcondor/lssthtc.py HTCJob.__str__ 1 1 0 0 0 0%
python/lsst/ctrl/bps/htcondor/lssthtc.py HTCJob.add_job_cmds 1 1 0 0 0 0%
python/lsst/ctrl/bps/htcondor/lssthtc.py HTCJob.add_dag_cmds 1 1 0 0 0 0%
python/lsst/ctrl/bps/htcondor/lssthtc.py HTCJob.add_job_attrs 4 4 0 4 0 0%
python/lsst/ctrl/bps/htcondor/lssthtc.py HTCJob.write_submit_file 6 6 0 4 0 0%
python/lsst/ctrl/bps/htcondor/lssthtc.py HTCJob.write_dag_commands 2 2 0 0 0 0%
python/lsst/ctrl/bps/htcondor/lssthtc.py HTCJob.dump 4 4 0 0 0 0%
python/lsst/ctrl/bps/htcondor/lssthtc.py HTCDag.__init__ 5 5 0 0 0 0%
python/lsst/ctrl/bps/htcondor/lssthtc.py HTCDag.__str__ 1 1 0 0 0 0%
python/lsst/ctrl/bps/htcondor/lssthtc.py HTCDag.add_attribs 2 2 0 2 0 0%
python/lsst/ctrl/bps/htcondor/lssthtc.py HTCDag.add_job 7 7 0 4 0 0%
python/lsst/ctrl/bps/htcondor/lssthtc.py HTCDag.add_job_relationships 1 1 0 0 0 0%
python/lsst/ctrl/bps/htcondor/lssthtc.py HTCDag.add_final_job 2 2 0 0 0 0%
python/lsst/ctrl/bps/htcondor/lssthtc.py HTCDag.del_job 4 4 0 0 0 0%
python/lsst/ctrl/bps/htcondor/lssthtc.py HTCDag.write 22 22 0 14 0 0%
python/lsst/ctrl/bps/htcondor/lssthtc.py HTCDag.dump 10 10 0 8 0 0%
python/lsst/ctrl/bps/htcondor/lssthtc.py HTCDag.write_dot 3 3 0 0 0 0%
python/lsst/ctrl/bps/htcondor/lssthtc.py condor_q 1 1 0 0 0 0%
python/lsst/ctrl/bps/htcondor/lssthtc.py condor_history 1 1 0 0 0 0%
python/lsst/ctrl/bps/htcondor/lssthtc.py condor_query 23 23 0 18 0 0%
python/lsst/ctrl/bps/htcondor/lssthtc.py condor_search 11 11 0 4 0 0%
python/lsst/ctrl/bps/htcondor/lssthtc.py condor_status 11 11 0 4 0 0%
python/lsst/ctrl/bps/htcondor/lssthtc.py update_job_info 8 8 0 4 0 0%
python/lsst/ctrl/bps/htcondor/lssthtc.py summary_from_dag 31 31 0 18 0 0%
python/lsst/ctrl/bps/htcondor/lssthtc.py pegasus_name_to_label 9 9 0 6 0 0%
python/lsst/ctrl/bps/htcondor/lssthtc.py read_dag_status 31 31 0 8 0 0%
python/lsst/ctrl/bps/htcondor/lssthtc.py read_node_status 53 53 0 22 0 0%
python/lsst/ctrl/bps/htcondor/lssthtc.py read_dag_log 22 22 0 8 0 0%
python/lsst/ctrl/bps/htcondor/lssthtc.py read_dag_nodes_log 16 16 0 6 0 0%
python/lsst/ctrl/bps/htcondor/lssthtc.py read_dag_info 12 12 0 2 0 0%
python/lsst/ctrl/bps/htcondor/lssthtc.py write_dag_info 9 9 0 2 0 0%
python/lsst/ctrl/bps/htcondor/lssthtc.py _tweak_log_info 28 28 0 14 0 0%
python/lsst/ctrl/bps/htcondor/lssthtc.py htc_check_dagman_output 18 18 0 8 0 0%
python/lsst/ctrl/bps/htcondor/lssthtc.py (no function) 110 1 0 2 1 98%
python/lsst/ctrl/bps/htcondor/version.py (no function) 5 0 0 0 0 100%
tests/test_handlers.py DummyHandler.handle 1 1 0 0 0 0%
tests/test_handlers.py RaisingHandler.handle 1 1 0 0 0 0%
tests/test_handlers.py ChainTestCase.setUp 1 1 0 0 0 0%
tests/test_handlers.py ChainTestCase.tearDown 1 1 0 0 0 0%
tests/test_handlers.py ChainTestCase.testDefaultInitialization 2 2 0 0 0 0%
tests/test_handlers.py ChainTestCase.testCustomInitialization 4 4 0 0 0 0%
tests/test_handlers.py ChainTestCase.testAppendingHandler 7 7 0 0 0 0%
tests/test_handlers.py ChainTestCase.testAppendingNonHandler 4 4 0 2 0 0%
tests/test_handlers.py JobCompletedWithExecTicketHandlerTestCase.setUp 2 2 0 0 0 0%
tests/test_handlers.py JobCompletedWithExecTicketHandlerTestCase.tearDown 1 1 0 0 0 0%
tests/test_handlers.py JobCompletedWithExecTicketHandlerTestCase.testNormalTermination 7 7 0 0 0 0%
tests/test_handlers.py JobCompletedWithExecTicketHandlerTestCase.testAbnormalTermination 7 7 0 0 0 0%
tests/test_handlers.py JobCompletedWithExecTicketHandlerTestCase.testNotHandlingMissingExecTicket 5 5 0 2 0 0%
tests/test_handlers.py JobCompletedWithExecTicketHandlerTestCase.testNotHandlingJobNotCompleted 5 5 0 2 0 0%
tests/test_handlers.py JobCompletedWithoutExecTicketHandlerTestCase.setUp 2 2 0 0 0 0%
tests/test_handlers.py JobCompletedWithoutExecTicketHandlerTestCase.tearDown 1 1 0 0 0 0%
tests/test_handlers.py JobCompletedWithoutExecTicketHandlerTestCase.testNormalTermination 7 7 0 0 0 0%
tests/test_handlers.py JobCompletedWithoutExecTicketHandlerTestCase.testAbnormalTermination 7 7 0 0 0 0%
tests/test_handlers.py JobCompletedWithoutExecTicketHandlerTestCase.testNotHandlingExecTicketExists 6 6 0 2 0 0%
tests/test_handlers.py JobCompletedWithoutExecTicketHandlerTestCase.testNotHandlingJobNotCompleted 5 5 0 2 0 0%
tests/test_handlers.py JobHeldOtherTestCase.setUp 2 2 0 0 0 0%
tests/test_handlers.py JobHeldOtherTestCase.tearDown 1 1 0 0 0 0%
tests/test_handlers.py JobHeldOtherTestCase.testHeld 7 7 0 0 0 0%
tests/test_handlers.py JobHeldOtherTestCase.testHeldBySignal 6 6 0 2 0 0%
tests/test_handlers.py JobHeldOtherTestCase.testHeldByUser 6 6 0 2 0 0%
tests/test_handlers.py JobHeldOtherTestCase.testNotHandlingJobNotHeld 5 5 0 2 0 0%
tests/test_handlers.py JobHeldBySignalHandlerTestCase.setUp 2 2 0 0 0 0%
tests/test_handlers.py JobHeldBySignalHandlerTestCase.tearDown 1 1 0 0 0 0%
tests/test_handlers.py JobHeldBySignalHandlerTestCase.testSignalAvailable 7 7 0 0 0 0%
tests/test_handlers.py JobHeldBySignalHandlerTestCase.testSignalNotAvailable 5 5 0 2 0 0%
tests/test_handlers.py JobHeldBySignalHandlerTestCase.testNotHandlingInvalidHoldReasonCode 5 5 0 2 0 0%
tests/test_handlers.py JobHeldBySignalHandlerTestCase.testNotHandlingJobNotHeld 5 5 0 2 0 0%
tests/test_handlers.py JobHeldByUserHandlerTestCase.setUp 2 2 0 0 0 0%
tests/test_handlers.py JobHeldByUserHandlerTestCase.tearDown 1 1 0 0 0 0%
tests/test_handlers.py JobHeldByUserHandlerTestCase.testHandling 7 7 0 0 0 0%
tests/test_handlers.py JobHeldByUserHandlerTestCase.testNotHandlingInvalidHoldReaconCode 5 5 0 2 0 0%
tests/test_handlers.py JobHeldByUserHandlerTestCase.testNotHandlingJobNotHeld 5 5 0 2 0 0%
tests/test_handlers.py (no function) 51 0 0 0 0 100%
tests/test_htcondor_service.py GetExitCodeSummaryTestCase.setUp 1 1 0 0 0 0%
tests/test_htcondor_service.py GetExitCodeSummaryTestCase.tearDown 1 1 0 0 0 0%
tests/test_htcondor_service.py GetExitCodeSummaryTestCase.testMainScenario 3 3 0 0 0 0%
tests/test_htcondor_service.py GetExitCodeSummaryTestCase.testUnknownStatus 6 6 0 2 0 0%
tests/test_htcondor_service.py GetExitCodeSummaryTestCase.testUnknownKey 6 6 0 2 0 0%
tests/test_htcondor_service.py HtcNodeStatusToWmsStateTestCase.setUp 1 1 0 0 0 0%
tests/test_htcondor_service.py HtcNodeStatusToWmsStateTestCase.tearDown 1 1 0 0 0 0%
tests/test_htcondor_service.py HtcNodeStatusToWmsStateTestCase.testNotReady 3 3 0 0 0 0%
tests/test_htcondor_service.py HtcNodeStatusToWmsStateTestCase.testReady 3 3 0 0 0 0%
tests/test_htcondor_service.py HtcNodeStatusToWmsStateTestCase.testPrerun 3 3 0 0 0 0%
tests/test_htcondor_service.py HtcNodeStatusToWmsStateTestCase.testSubmittedHeld 3 3 0 0 0 0%
tests/test_htcondor_service.py HtcNodeStatusToWmsStateTestCase.testSubmittedRunning 3 3 0 0 0 0%
tests/test_htcondor_service.py HtcNodeStatusToWmsStateTestCase.testSubmittedPending 3 3 0 0 0 0%
tests/test_htcondor_service.py HtcNodeStatusToWmsStateTestCase.testPostrun 3 3 0 0 0 0%
tests/test_htcondor_service.py HtcNodeStatusToWmsStateTestCase.testDone 3 3 0 0 0 0%
tests/test_htcondor_service.py HtcNodeStatusToWmsStateTestCase.testErrorDagmanSuccess 3 3 0 0 0 0%
tests/test_htcondor_service.py HtcNodeStatusToWmsStateTestCase.testErrorDagmanFailure 3 3 0 0 0 0%
tests/test_htcondor_service.py HtcNodeStatusToWmsStateTestCase.testFutile 3 3 0 0 0 0%
tests/test_htcondor_service.py TweakJobInfoTestCase.setUp 3 3 0 0 0 0%
tests/test_htcondor_service.py TweakJobInfoTestCase.tearDown 1 1 0 0 0 0%
tests/test_htcondor_service.py TweakJobInfoTestCase.testDirectAssignments 5 5 0 0 0 0%
tests/test_htcondor_service.py TweakJobInfoTestCase.testJobStatusAssignmentJobAbortedEvent 4 4 0 0 0 0%
tests/test_htcondor_service.py TweakJobInfoTestCase.testJobStatusAssignmentExecuteEvent 4 4 0 0 0 0%
tests/test_htcondor_service.py TweakJobInfoTestCase.testJobStatusAssignmentSubmitEvent 4 4 0 0 0 0%
tests/test_htcondor_service.py TweakJobInfoTestCase.testJobStatusAssignmentJobHeldEvent 4 4 0 0 0 0%
tests/test_htcondor_service.py TweakJobInfoTestCase.testJobStatusAssignmentJobTerminatedEvent 4 4 0 0 0 0%
tests/test_htcondor_service.py TweakJobInfoTestCase.testJobStatusAssignmentPostScriptTerminatedEvent 4 4 0 0 0 0%
tests/test_htcondor_service.py TweakJobInfoTestCase.testAddingExitStatusSuccess 6 6 0 0 0 0%
tests/test_htcondor_service.py TweakJobInfoTestCase.testAddingExitStatusFailure 4 4 0 2 0 0%
tests/test_htcondor_service.py TweakJobInfoTestCase.testLoggingUnknownLogEvent 4 4 0 2 0 0%
tests/test_htcondor_service.py TweakJobInfoTestCase.testMissingKey 5 5 0 2 0 0%
tests/test_htcondor_service.py (no function) 44 0 0 0 0 100%
tests/test_lssthtc.py SimpleTestCase.test_version 1 1 0 0 0 0%
tests/test_lssthtc.py TestLsstHtc.testHtcEscapeInt 1 1 0 0 0 0%
tests/test_lssthtc.py TestLsstHtc.testHtcEscapeDouble 1 1 0 0 0 0%
tests/test_lssthtc.py TestLsstHtc.testHtcEscapeSingle 1 1 0 0 0 0%
tests/test_lssthtc.py TestLsstHtc.testHtcEscapeNoSideEffect 3 3 0 0 0 0%
tests/test_lssthtc.py TestLsstHtc.testHtcEscapeQuot 1 1 0 0 0 0%
tests/test_lssthtc.py TestLsstHtc.testHtcVersion 2 2 0 0 0 0%
tests/test_lssthtc.py (no function) 19 3 0 4 1 83%
Total   1833 1501 0 658 4 14%

No items found using the specified filter.