From ef4145dc1a6b408245163087f5ae7e22e9ce7a53 Mon Sep 17 00:00:00 2001 From: Rob Bovill Date: Wed, 1 Feb 2023 13:45:00 -0700 Subject: [PATCH 01/13] Corrected the m3State value in AuxTel/Verify_AT_Prepare_Flat.robot and added the associated test list. --- AuxTel/Verify_AT_Prepare_Flat.robot | 2 +- Test_Report_AuxTel_Prep_Flat.list | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 Test_Report_AuxTel_Prep_Flat.list diff --git a/AuxTel/Verify_AT_Prepare_Flat.robot b/AuxTel/Verify_AT_Prepare_Flat.robot index 6fd8548..f278554 100644 --- a/AuxTel/Verify_AT_Prepare_Flat.robot +++ b/AuxTel/Verify_AT_Prepare_Flat.robot @@ -65,7 +65,7 @@ Verify ATMCS Tracking Disabled Verify ATMCS m3State [Tags] ${dataframe}= Get Recent Samples ATMCS logevent_m3State ["*",] 1 None - Should Be Equal As Integers ${dataframe.state.values}[0] 6 #NASMYTH1 + Should Be Equal As Integers ${dataframe.state.values}[0] 7 #NASMYTH2 Verify ATPneumatics m1CoverState [Tags] diff --git a/Test_Report_AuxTel_Prep_Flat.list b/Test_Report_AuxTel_Prep_Flat.list new file mode 100644 index 0000000..0a92f65 --- /dev/null +++ b/Test_Report_AuxTel_Prep_Flat.list @@ -0,0 +1,8 @@ +### Test Suite list ### +# Change the title of the test results +--name AT_Prep_Flat +--output at_prep_flat +--skiponfailure skipped + +# List of test suites +AuxTel/Verify_AT_Prepare_Flat.robot From 4487eb3592c3a8655dcc05e4f8cfa37402467ada Mon Sep 17 00:00:00 2001 From: Rob Bovill Date: Wed, 1 Feb 2023 14:07:46 -0700 Subject: [PATCH 02/13] Fixed a typo in QueryEfd.py. --- QueryEfd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/QueryEfd.py b/QueryEfd.py index aca6ad8..734de5f 100644 --- a/QueryEfd.py +++ b/QueryEfd.py @@ -485,7 +485,7 @@ def verify_software_versions(self, csc: str, index: int = None) -> None: if sal_ver != self.sal_version: error_list.append(f"Bad SAL Version: {sal_ver}") if xml_ver != self.xml_version: - error_list.append(f"Bad XML Version: {sml_ver}") + error_list.append(f"Bad XML Version: {xml_ver}") if ospl_ver != self.ospl_version: error_list.append(f"Bad OSPL Version: {ospl_ver}") if not csc_ver: From 01e064145447d635e0d36be87fc649800e6907b0 Mon Sep 17 00:00:00 2001 From: Rob Bovill Date: Wed, 1 Feb 2023 14:08:39 -0700 Subject: [PATCH 03/13] Corrected the index setting in Standby/Verify_MTCS_Standby.robot and Disabled/Verify_MTCS_Disabled.robot. --- Disabled/Verify_MTCS_Disabled.robot | 20 ++++++++++---------- Standby/Verify_MTCS_Standby.robot | 14 +++++++------- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/Disabled/Verify_MTCS_Disabled.robot b/Disabled/Verify_MTCS_Disabled.robot index 69d386a..e3cb9cf 100644 --- a/Disabled/Verify_MTCS_Disabled.robot +++ b/Disabled/Verify_MTCS_Disabled.robot @@ -17,11 +17,11 @@ Verify LaserTracker:1 Disabled Verify LaserTracker:1 ConfigurationApplied Event [Tags] config_applied - Verify ConfigurationApplied LaserTracker:1 + Verify ConfigurationApplied LaserTracker index=1 Verify LaserTracker:1 ConfigurationApplied timing [Tags] config_applied timing - Verify Time Delta LaserTracker:1 logevent_summaryState logevent_configurationApplied ${time_window} + Verify Time Delta LaserTracker logevent_summaryState logevent_configurationApplied ${time_window} index=1 #MTAirCompressor:1 Verify MTAirCompressor:1 Disabled @@ -30,11 +30,11 @@ Verify MTAirCompressor:1 Disabled Verify MTAirCompressor:1 ConfigurationApplied Event [Tags] config_applied - Verify ConfigurationApplied MTAirCompressor:1 + Verify ConfigurationApplied MTAirCompressor index=1 Verify MTAirCompressor:1 ConfigurationApplied timing [Tags] config_applied timing - Verify Time Delta MTAirCompressor:1 logevent_summaryState logevent_configurationApplied ${time_window} + Verify Time Delta MTAirCompressor logevent_summaryState logevent_configurationApplied ${time_window} index=1 #MTAirCompressor:2 Verify MTAirCompressor:2 Disabled @@ -43,11 +43,11 @@ Verify MTAirCompressor:2 Disabled Verify MTAirCompressor:2 ConfigurationApplied Event [Tags] config_applied - Verify ConfigurationApplied MTAirCompressor:2 + Verify ConfigurationApplied MTAirCompressor index=2 Verify MTAirCompressor:2 ConfigurationApplied timing [Tags] config_applied timing - Verify Time Delta MTAirCompressor:2 logevent_summaryState logevent_configurationApplied ${time_window} + Verify Time Delta MTAirCompressor logevent_summaryState logevent_configurationApplied ${time_window} index=1 #MTMount Verify MTMount Disabled @@ -117,11 +117,11 @@ Verify MTHexapod:1 Disabled Verify MTHexapod:1 ConfigurationApplied Event [Tags] config_applied - Verify ConfigurationApplied MTHexapod 1 + Verify ConfigurationApplied MTHexapod index=1 Verify MTHexapod:1 ConfigurationApplied timing [Tags] config_applied timing - Verify Time Delta MTHexapod logevent_summaryState logevent_configurationApplied ${time_window} 1 + Verify Time Delta MTHexapod logevent_summaryState logevent_configurationApplied ${time_window} index=1 #MTHexapod:2 Verify MTHexapod:2 Disabled @@ -130,11 +130,11 @@ Verify MTHexapod:2 Disabled Verify MTHexapod:2 ConfigurationApplied Event [Tags] config_applied - Verify ConfigurationApplied MTHexapod 2 + Verify ConfigurationApplied MTHexapod index=2 Verify MTHexapod:2 ConfigurationApplied timing [Tags] config_applied timing - Verify Time Delta MTHexapod logevent_summaryState logevent_configurationApplied ${time_window} 2 + Verify Time Delta MTHexapod logevent_summaryState logevent_configurationApplied ${time_window} index=2 #MTRotator Verify MTRotator Disabled diff --git a/Standby/Verify_MTCS_Standby.robot b/Standby/Verify_MTCS_Standby.robot index 6c3384e..da0e073 100644 --- a/Standby/Verify_MTCS_Standby.robot +++ b/Standby/Verify_MTCS_Standby.robot @@ -27,11 +27,11 @@ Verify LaserTracker:1 SoftwareVersions timing Verify LaserTracker:1 ConfigurationsAvailable Event [Tags] config_available - Verify ConfigurationsAvailable LaserTracker:1 + Verify ConfigurationsAvailable LaserTracker index=1 Verify LaserTracker:1 ConfigurationsAvailable timing [Tags] config_available timing - Verify Time Delta LaserTracker:1 logevent_summaryState logevent_configurationsAvailable ${time_window} + Verify Time Delta LaserTracker logevent_summaryState logevent_configurationsAvailable ${time_window} index=1 #MTAirCompressor:1 Verify MTAirCompressor:1 Standby @@ -48,11 +48,11 @@ Verify MTAirCompressor:1 SoftwareVersions timing Verify MTAirCompressor:1 ConfigurationsAvailable Event [Tags] config_available - Verify ConfigurationsAvailable MTAirCompressor:1 + Verify ConfigurationsAvailable MTAirCompressor index=1 Verify MTAirCompressor:1 ConfigurationsAvailable timing [Tags] config_available timing - Verify Time Delta MTAirCompressor:1 logevent_summaryState logevent_configurationsAvailable ${time_window} + Verify Time Delta MTAirCompressor logevent_summaryState logevent_configurationsAvailable ${time_window} index=1 #MTAirCompressor:2 Verify MTAirCompressor:2 Standby @@ -69,11 +69,11 @@ Verify MTAirCompressor:2 SoftwareVersions timing Verify MTAirCompressor:2 ConfigurationsAvailable Event [Tags] config_available - Verify ConfigurationsAvailable MTAirCompressor:2 + Verify ConfigurationsAvailable MTAirCompressor index=2 Verify MTAirCompressor:2 ConfigurationsAvailable timing [Tags] config_available timing - Verify Time Delta MTAirCompressor:2 logevent_summaryState logevent_configurationsAvailable ${time_window} + Verify Time Delta MTAirCompressor logevent_summaryState logevent_configurationsAvailable ${time_window} index=2 #MTMount Verify MTMount Standby @@ -183,7 +183,7 @@ Verify MTHexapod:1 Standby Verify MTHexapod:1 SoftwareVersions [Tags] software_versions - Verify SoftwareVersions MTHexapod 1 + Verify SoftwareVersions MTHexapod index=1 Verify MTHexapod:1 SoftwareVersions timing [Tags] software_versions timing From 1279db0f732695560a1ba49e260fe95cad4eb8fd Mon Sep 17 00:00:00 2001 From: Rob Bovill Date: Wed, 1 Feb 2023 14:16:21 -0700 Subject: [PATCH 04/13] Increased CCCamera setFilter and Dome homeAzimuth timeouts in Verify_Housekeeping_Tasks.robot. Removed Jira tag from Verify_Housekeeping_Tasks.robot. --- Verify_Housekeeping_Tasks.robot | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Verify_Housekeeping_Tasks.robot b/Verify_Housekeeping_Tasks.robot index 723b1c3..58c697e 100644 --- a/Verify_Housekeeping_Tasks.robot +++ b/Verify_Housekeeping_Tasks.robot @@ -8,6 +8,7 @@ Force Tags housekeeping *** Variables *** @{homed_field} homed +@{homed} True @{port_field} selected @{instrument_port} 2 @{position_field} name @@ -21,8 +22,8 @@ ${time_window} 10 *** Test Cases *** Verify ATDome Azimuth Homed [Tags] - Verify Topic Attribute ATDome logevent_azimuthState ${homed_field} True - Verify Time Delta ATDome command_homeAzimuth logevent_azimuthState ${time_window} + Verify Topic Attribute ATDome logevent_azimuthState ${homed_field} ${homed} + Verify Time Delta ATDome command_homeAzimuth logevent_azimuthState 20 Verify ATMCS logevent_m3PortSelected [Tags] @@ -37,10 +38,10 @@ Verify ATSpectrograph logevent_reportedDisperserPosition Verify CCCamera logevent_endSetFilter [Tags] Verify Topic Attribute CCCamera logevent_endSetFilter ${filter_field} ${filter_name} - Verify Time Delta CCCamera command_setFilter logevent_endSetFilter ${time_window} + Verify Time Delta CCCamera command_setFilter logevent_endSetFilter 45 Verify MTMount Axes InPosition - [Tags] robot:continue-on-failure DM-36886 + [Tags] robot:continue-on-failure Verify Topic Attribute MTMount logevent_elevationInPosition ${in_position_field} ${in_position} Verify Time Delta MTMount command_homeBothAxes logevent_elevationInPosition ${time_window} None Verify Topic Attribute MTMount logevent_azimuthInPosition ${in_position_field} ${in_position} From cd4c02ae127a3c97fff105c8a0e4040a48bc1cc9 Mon Sep 17 00:00:00 2001 From: Rob Bovill Date: Wed, 1 Feb 2023 14:18:04 -0700 Subject: [PATCH 05/13] Corrected the ComCam/Verify_ComCam_Calibrations.robot reporting suite. --- ComCam/Verify_ComCam_Calibrations.robot | 46 ++++++++++++++----------- 1 file changed, 25 insertions(+), 21 deletions(-) diff --git a/ComCam/Verify_ComCam_Calibrations.robot b/ComCam/Verify_ComCam_Calibrations.robot index c13bf79..12d30bf 100644 --- a/ComCam/Verify_ComCam_Calibrations.robot +++ b/ComCam/Verify_ComCam_Calibrations.robot @@ -48,10 +48,6 @@ Verify CCCamera Filter Should Be Equal ${evt_df.filterName.values}[0] ${filter_name} Should Be Equal ${evt_df.filterType.values}[0] ${filter_type} -# OCPS command_execute and logevent_job_result ? - - - Verify CCCamera Image Sequence [Documentation] Verify the CCCamera images are the correct type, with the correct exposure time. [Tags] robot:continue-on-failure @@ -59,8 +55,8 @@ Verify CCCamera Image Sequence ${evt_df}= Get Recent Samples CCCamera logevent_startIntegration ["additionalValues", "exposureTime", "imageName"] ${num_images} None Set Suite Variable @{image_names} ${evt_df.imageName.values} Log Many ${image_names} - Verify Sequence CCCamera command_takeImages expTime ${seq_length} ${exp_time} - Verify Sequence CCCamera logevent_startIntegration exposureTime ${seq_length} ${exp_time} + Verify Sequence CCCamera command_takeImages expTime ${num_images} ${exp_time} + Verify Sequence CCCamera logevent_startIntegration exposureTime ${num_images} ${exp_time} FOR ${i} IN RANGE ${num_images} ${evt_image_type}= Fetch From Left ${evt_df.additionalValues.values}[${i}] : Should Be Equal As Strings ${evt_image_type} ${img_type_seq}[${i}] @@ -69,46 +65,54 @@ Verify CCCamera Image Sequence Should Be Equal As Strings ${cmd_image_type} ${img_type_seq}[${i}] Should Be Equal As Numbers ${cmd_df.numImages.values}[${i}] 1 END - #imageType (BIAS x10, DARK x10 and FLAT x10) Verify CCOODS ImageInOODS [Tags] robot:continue-on-failure ${total_images}= Evaluate ${num_images} * 9 # ComCam has 9 CCDs, so there are 9 times the images. Set Suite Variable ${total_images} ${dataframe}= Get Recent Samples CCOODS logevent_imageInOODS ["camera", "description", "obsid",] ${total_images} None + Log ${image_names} + Log ${dataframe.obsid.values} FOR ${i} IN RANGE ${num_images} FOR ${j} IN RANGE ${9} # ComCam has 9 CCDs, so there are 9 times the images. ${k}= Evaluate ${i} * 9 + ${j} Should Be Equal As Strings ${dataframe.camera.values}[${k}] LSSTComCam Should Be Equal As Strings ${dataframe.description.values}[${k}] file ingested - Should Be Equal As Strings ${dataframe.obsid.values}[${k}] ${image_names}[0][${j}] + Should Be Equal As Strings ${dataframe.obsid.values}[${k}] ${image_names}[0][${i}] END END Verify CCHeaderService LargeFileObjectAvailable [Tags] robot:continue-on-failure ${dataframe}= Get Recent Samples CCHeaderService logevent_largeFileObjectAvailable ["id", "url",] ${total_images} None + Log ${image_names} + Log ${dataframe.id.values} FOR ${i} IN RANGE ${num_images} - FOR ${j} IN RANGE ${9} # ComCam has 9 CCDs, so there are 9 times the images. - ${k}= Evaluate ${i} * 9 + ${j} - Should Be Equal As Strings ${dataframe.id.values}[${k}] ${image_names}[0][${j}] - ${file_name}= Catenate SEPARATOR= CCHeaderService_header_ ${image_names}[0][${j}] .yaml - Should Be Equal As Strings ${dataframe.url[${k}].split("/")[-1]} ${file_name} - END + Should Be Equal As Strings ${dataframe.id.values}[${i}] ${image_names}[0][${i}] + ${file_name}= Catenate SEPARATOR= CCHeaderService_header_ ${image_names}[0][${i}] .yaml + Should Be Equal As Strings ${dataframe.url[${i}].split("/")[-1]} ${file_name} END *** Keywords *** Set Variables - [Documentation] The seq_length is defined by the number of exposures. - ... The num_images is the sum of the sequence and some number of do_acquire iterations. + [Documentation] The sequence length is defined by the number of exposures, num_images. ... The img_type_seq is defined by the sequence of image types, in reverse order (dataframes are in time-descending order). Set Suite Variable ${playlist_full_name} bias_dark_flat.playlist - Set Suite Variable ${num_images} 10 # 10 Bias + 10 Dark + 10 Flat - Set Suite Variable ${seq_length} 10 - # BIAS images have 0 for the exposure time. - Set Suite Variable @{exp_time} ${0} ${0} ${0} ${0} ${0} ${0} ${0} ${0} ${0} ${0} + # Image type. + Set Suite Variable ${num_images} 30 # 10 Bias + 10 Dark + 10 Flat + @{n_flat}= Evaluate ["FLAT"] * 10 + @{n_dark}= Evaluate ["DARK"] * 10 + @{n_bias}= Evaluate ["BIAS"] * 10 + @{img_type_seq}= Create List @{n_flat} @{n_dark} @{n_bias} + Set Suite Variable @{img_type_seq} + # Exposure time; BIAS images have 0 for the exposure time. + @{bias_exp_time}= Evaluate [${0}] * 10 + @{dark_exp_time}= Evaluate [${20}] * 10 + @{flat_exp_time}= Evaluate [${5}] * 10 + @{exp_time}= Create List @{bias_exp_time} @{dark_exp_time} @{flat_exp_time} + Set Suite Variable @{exp_time} + # Filter and band. Set Suite Variable ${filter_type} r Set Suite Variable ${filter_name} r_03 Set Suite Variable @{disperser_band} EMPTY Set Suite Variable @{disperser_name} EMPTY - Set Suite Variable @{img_type_seq} BIAS BIAS BIAS BIAS BIAS BIAS BIAS BIAS BIAS BIAS From 056dea022cbde8d2833ed1076f8e9c8c38ff8e63 Mon Sep 17 00:00:00 2001 From: Rob Bovill Date: Wed, 1 Feb 2023 16:03:22 -0700 Subject: [PATCH 06/13] Corrected the filter_band values in AuxTel/NightOps/Verify_LATISS_Acq_Take_Sequence.robot. --- AuxTel/NightOps/Verify_LATISS_Acq_Take_Sequence.robot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AuxTel/NightOps/Verify_LATISS_Acq_Take_Sequence.robot b/AuxTel/NightOps/Verify_LATISS_Acq_Take_Sequence.robot index 5e676a7..087df66 100644 --- a/AuxTel/NightOps/Verify_LATISS_Acq_Take_Sequence.robot +++ b/AuxTel/NightOps/Verify_LATISS_Acq_Take_Sequence.robot @@ -163,7 +163,7 @@ Set Variables Set Suite Variable ${seq_length} 3 Set Suite Variable ${num_images} 3 Set Suite Variable @{exp_time} ${5.0} ${5.0} ${5.0} - Set Suite Variable @{filter_band} i r r + Set Suite Variable @{filter_band} r r r Set Suite Variable ${filter_name} "SDSSr" Set Suite Variable @{disperser_band} R90 R90 R90 Set Suite Variable @{disperser_name} ronchi90lpmm ronchi90lpmm ronchi90lpmm From e05c5eeeea742157d921decf012ddee2b05ba751 Mon Sep 17 00:00:00 2001 From: Rob Bovill Date: Wed, 1 Feb 2023 14:18:57 -0700 Subject: [PATCH 07/13] Added the AuxTel/Verify_AT_Flat_Calibrations.robot reporting suite and associated test list. --- AuxTel/Verify_AT_Flat_Calibrations.robot | 110 ++++++++++++++++++++++ Test_Report_AuxTel_Flat_Calibrations.list | 8 ++ 2 files changed, 118 insertions(+) create mode 100644 AuxTel/Verify_AT_Flat_Calibrations.robot create mode 100644 Test_Report_AuxTel_Flat_Calibrations.list diff --git a/AuxTel/Verify_AT_Flat_Calibrations.robot b/AuxTel/Verify_AT_Flat_Calibrations.robot new file mode 100644 index 0000000..200ea3e --- /dev/null +++ b/AuxTel/Verify_AT_Flat_Calibrations.robot @@ -0,0 +1,110 @@ +*** Settings *** +Resource ../Global_Vars.resource +Resource ../CSC_Lists.resource +Resource ../Common_Keywords.resource +Library QueryEfd ${SALVersion} ${XMLVersion} ${OSPLVersion} +Library Collections +Force Tags cc_calibrations +Suite Setup Set Variables + +*** Variables *** +${time_window} 10 + +*** Test Cases *** +Get Script Metadata + [Tags] + Common_Keywords.Get Script Metadata + +Verify Runtime + [Tags] runtime DM-37818 + Verify Script Runtime ${script_start} ${script_end} + +Verify ATCamera Playlist Loaded + [Tags] + Log ${playlist_full_name} + ${dataframe}= Get Recent Samples ATCamera command_play ["*",] 1 None + Should Be Equal ${dataframe.playlist.values}[0] ${playlist_full_name} + +Verify ATPtg Target + [Documentation] Ensure the telescope is pointed at the correct target, in this case at the Az/El of the flat-field screen. + ... This command is sent prior to the start of the script. + [Tags] robot:continue-on-failure + ${cmd_dataframe}= Get Recent Samples ATPtg command_raDecTarget ["targetName", "ra", "declination",] 1 None + Should Be Equal ${cmd_dataframe.targetName.values}[0] Flatfield position + ${evt_dataframe}= Get Recent Samples ATPtg logevent_currentTarget ["targetName", "azDegs", "elDegs",] 1 None + Should Be Equal ${evt_dataframe.targetName.values}[0] FlatField position + Should Be Equal ${evt_dataframe.azDegs.values.round(6)}[0] ${0} + Should Be Equal ${evt_dataframe.elDegs.values.round(6)}[0] ${0} + +Verify ATPtg Tracking is Off + [Tags] + ${evt_df}= Get Recent Samples ATPtg logevent_trackPosting ["status"] 1 None + Should Not Be True ${evt_df.status.values}[0] + Verify Time Delta ATPtg command_stopTracking logevent_trackPosting ${time_window} + +Verify ATSpectrograph Filter + Verify Topic Attribute ATSpectrograph logevent_reportedFilterPosition ["name",] ${filter_name} output=json + ${evt_df}= Get Recent Samples ATSpectrograph logevent_reportedFilterPosition ["*",] 1 None + Should Be Equal ${evt_df.name.values}[0] ${filter_name} + +Verify ATCamera Image Sequence + [Documentation] Verify the ATCamera images are the correct type, with the correct exposure time. + [Tags] robot:continue-on-failure + ${cmd_df}= Get Recent Samples ATCamera command_takeImages ["expTime", "keyValueMap", "numImages", "shutter",] ${num_images} None + ${evt_df}= Get Recent Samples ATCamera logevent_startIntegration ["additionalValues", "exposureTime", "imageName"] ${num_images} None + Set Suite Variable @{image_names} ${evt_df.imageName.values} + Log Many ${image_names} + Verify Sequence ATCamera command_takeImages expTime ${num_images} ${exp_time} + Verify Sequence ATCamera logevent_startIntegration exposureTime ${num_images} ${exp_time} + FOR ${i} IN RANGE ${num_images} + ${evt_image_type}= Fetch From Left ${evt_df.additionalValues.values}[${i}] : + Should Be Equal As Strings ${evt_image_type} ${img_type_seq}[${i}] + ${image_type_str}= Fetch From Left ${cmd_df.keyValueMap.values}[${i}] , + ${cmd_image_type}= Fetch From Right ${image_type_str} :${SPACE} + Should Be Equal As Strings ${cmd_image_type} ${img_type_seq}[${i}] + Should Be Equal As Numbers ${cmd_df.numImages.values}[${i}] 1 + END + +Verify ATOODS ImageInOODS + [Tags] robot:continue-on-failure + ${total_images}= Evaluate ${num_images} * 1 + Set Suite Variable ${total_images} + ${dataframe}= Get Recent Samples ATOODS logevent_imageInOODS ["camera", "description", "obsid",] ${total_images} None + FOR ${i} IN RANGE ${num_images} + Should Be Equal As Strings ${dataframe.camera.values}[${i}] LATISS + Should Be Equal As Strings ${dataframe.description.values}[${i}] file ingested + Should Be Equal As Strings ${dataframe.obsid.values}[${i}] ${image_names}[0][${i}] + END + +Verify ATHeaderService LargeFileObjectAvailable + [Tags] robot:continue-on-failure + ${dataframe}= Get Recent Samples ATHeaderService logevent_largeFileObjectAvailable ["id", "url",] ${total_images} None + FOR ${i} IN RANGE ${num_images} + Should Be Equal As Strings ${dataframe.id.values}[${i}] ${image_names}[0][${i}] + ${file_name}= Catenate SEPARATOR= ATHeaderService_header_ ${image_names}[0][${i}] .yaml + Should Be Equal As Strings ${dataframe.url[${i}].split("/")[-1]} ${file_name} + END + +*** Keywords *** +Set Variables + [Documentation] The sequence length is defined by the number of exposures, num_images. + ... The img_type_seq is defined by the sequence of image types, in reverse order (dataframes are in time-descending order). + Set Suite Variable ${playlist_full_name} bias_dark_flat.playlist + # Image type. + Set Suite Variable ${num_images} 30 # 10 Bias + 10 Dark + 10 Flat + @{n_flat}= Evaluate ["FLAT"] * 10 + @{n_dark}= Evaluate ["DARK"] * 10 + @{n_bias}= Evaluate ["BIAS"] * 10 + @{img_type_seq}= Create List @{n_flat} @{n_dark} @{n_bias} + Set Suite Variable @{img_type_seq} + # Exposure time: BIAS images have 0 for the exposure time. + @{bias_exp_time}= Evaluate [${0}] * 10 + @{dark_exp_time}= Evaluate [${10}] * 10 + @{flat_exp_time}= Evaluate [${2}] * 10 + @{exp_time}= Create List @{bias_exp_time} @{dark_exp_time} @{flat_exp_time} + Set Suite Variable @{exp_time} + # Filter and band. + Set Suite Variable ${filter_type} r + Set Suite Variable @{filter_name} SDSSr_65mm + Set Suite Variable @{disperser_band} EMPTY + Set Suite Variable @{disperser_name} EMPTY diff --git a/Test_Report_AuxTel_Flat_Calibrations.list b/Test_Report_AuxTel_Flat_Calibrations.list new file mode 100644 index 0000000..7e1d862 --- /dev/null +++ b/Test_Report_AuxTel_Flat_Calibrations.list @@ -0,0 +1,8 @@ +### Test Suite list ### +# Change the title of the test results +--name AT_Flat_Calibrations +--output at_flat_calib +--skiponfailure skipped + +# List of test suites +AuxTel/Verify_AT_Flat_Calibrations.robot From c57227839203f5087040dcb4f2e221568c42f3ed Mon Sep 17 00:00:00 2001 From: Rob Bovill Date: Wed, 1 Feb 2023 16:47:12 -0700 Subject: [PATCH 08/13] Added the Verify_AT_PTC_Calibrations.robot reporting suite. --- AuxTel/Verify_AT_Flat_Calibrations.robot | 2 +- AuxTel/Verify_AT_PTC_Calibrations.robot | 109 +++++++++++++++++++++++ Test_Report_AuxTel_PTC_Calibrations.list | 8 ++ 3 files changed, 118 insertions(+), 1 deletion(-) create mode 100644 AuxTel/Verify_AT_PTC_Calibrations.robot create mode 100644 Test_Report_AuxTel_PTC_Calibrations.list diff --git a/AuxTel/Verify_AT_Flat_Calibrations.robot b/AuxTel/Verify_AT_Flat_Calibrations.robot index 200ea3e..ff73fb2 100644 --- a/AuxTel/Verify_AT_Flat_Calibrations.robot +++ b/AuxTel/Verify_AT_Flat_Calibrations.robot @@ -4,7 +4,7 @@ Resource ../CSC_Lists.resource Resource ../Common_Keywords.resource Library QueryEfd ${SALVersion} ${XMLVersion} ${OSPLVersion} Library Collections -Force Tags cc_calibrations +Force Tags at_calibrations Suite Setup Set Variables *** Variables *** diff --git a/AuxTel/Verify_AT_PTC_Calibrations.robot b/AuxTel/Verify_AT_PTC_Calibrations.robot new file mode 100644 index 0000000..1617795 --- /dev/null +++ b/AuxTel/Verify_AT_PTC_Calibrations.robot @@ -0,0 +1,109 @@ +*** Settings *** +Resource ../Global_Vars.resource +Resource ../CSC_Lists.resource +Resource ../Common_Keywords.resource +Library QueryEfd ${SALVersion} ${XMLVersion} ${OSPLVersion} +Library Collections +Force Tags at_calibrations +Suite Setup Set Variables + +*** Variables *** +${time_window} 10 + +*** Test Cases *** +Get Script Metadata + [Tags] + Common_Keywords.Get Script Metadata + +Verify Runtime + [Tags] runtime DM-37818 + Verify Script Runtime ${script_start} ${script_end} + +Verify ATCamera Playlist Loaded + [Tags] + Log ${playlist_full_name} + ${dataframe}= Get Recent Samples ATCamera command_play ["*",] 1 None + Should Be Equal ${dataframe.playlist.values}[0] ${playlist_full_name} + +Verify ATPtg Target + [Documentation] Ensure the telescope is pointed at the correct target, in this case at the Az/El of the flat-field screen. + ... This command is sent prior to the start of the script. + [Tags] robot:continue-on-failure + #${cmd_dataframe}= Get Recent Samples ATPtg command_raDecTarget ["targetName", "ra", "declination",] 1 None + #Should Be Equal ${cmd_dataframe.targetName.values}[0] Flatfield position + ${evt_dataframe}= Get Recent Samples ATPtg logevent_currentTarget ["targetName", "azDegs", "elDegs",] 1 None + Should Be Equal ${evt_dataframe.targetName.values}[0] FlatField position + #Should Be Equal ${evt_dataframe.azDegs.values.round(6)}[0] ${0} + #Should Be Equal ${evt_dataframe.elDegs.values.round(6)}[0] ${0} + +Verify ATPtg Tracking is Off + [Tags] + ${evt_df}= Get Recent Samples ATPtg logevent_trackPosting ["status"] 1 None + Should Not Be True ${evt_df.status.values}[0] + Verify Time Delta ATPtg command_stopTracking logevent_trackPosting ${time_window} + +Verify ATSpectrograph Filter + Verify Topic Attribute ATSpectrograph logevent_reportedFilterPosition ["name",] ${filter_name} output=json + #${evt_df}= Get Recent Samples ATSpectrograph logevent_reportedFilterPosition ["*",] 1 None + #Should Be Equal ${evt_df.name.values}[0] ${filter_name} + +Verify ATCamera Image Sequence + [Documentation] Verify the ATCamera images are the correct type, with the correct exposure time. + [Tags] robot:continue-on-failure + ${cmd_df}= Get Recent Samples ATCamera command_takeImages ["expTime", "keyValueMap", "numImages", "shutter",] ${num_images} None + ${evt_df}= Get Recent Samples ATCamera logevent_startIntegration ["additionalValues", "exposureTime", "imageName"] ${num_images} None + Set Suite Variable @{image_names} ${evt_df.imageName.values} + Log Many ${image_names} + Verify Sequence ATCamera command_takeImages expTime ${num_images} ${exp_time} + Verify Sequence ATCamera logevent_startIntegration exposureTime ${num_images} ${exp_time} + FOR ${i} IN RANGE ${num_images} + ${evt_image_type}= Fetch From Left ${evt_df.additionalValues.values}[${i}] : + Should Be Equal As Strings ${evt_image_type} ${img_type_seq}[${i}] + ${image_type_str}= Fetch From Left ${cmd_df.keyValueMap.values}[${i}] , + ${cmd_image_type}= Fetch From Right ${image_type_str} :${SPACE} + Should Be Equal As Strings ${cmd_image_type} ${img_type_seq}[${i}] + Should Be Equal As Numbers ${cmd_df.numImages.values}[${i}] 1 + END + +Verify ATOODS ImageInOODS + [Tags] robot:continue-on-failure + ${total_images}= Evaluate ${num_images} * 1 + Set Suite Variable ${total_images} + ${dataframe}= Get Recent Samples ATOODS logevent_imageInOODS ["camera", "description", "obsid",] ${total_images} None + FOR ${i} IN RANGE ${num_images} + Should Be Equal As Strings ${dataframe.camera.values}[${i}] LATISS + Should Be Equal As Strings ${dataframe.description.values}[${i}] file ingested + Should Be Equal As Strings ${dataframe.obsid.values}[${i}] ${image_names}[0][${i}] + END + +Verify ATHeaderService LargeFileObjectAvailable + [Tags] robot:continue-on-failure + ${dataframe}= Get Recent Samples ATHeaderService logevent_largeFileObjectAvailable ["id", "url",] ${total_images} None + FOR ${i} IN RANGE ${num_images} + Should Be Equal As Strings ${dataframe.id.values}[${i}] ${image_names}[0][${i}] + ${file_name}= Catenate SEPARATOR= ATHeaderService_header_ ${image_names}[0][${i}] .yaml + Should Be Equal As Strings ${dataframe.url[${i}].split("/")[-1]} ${file_name} + END + +*** Keywords *** +Set Variables + [Documentation] The sequence length is defined by the number of exposures, num_images. + ... The img_type_seq is defined by the sequence of image types, in reverse order (dataframes are in time-descending order). + Set Suite Variable ${playlist_full_name} bias_dark_ptc.playlist + # Image type. + Set Suite Variable ${num_images} 60 # 10 Bias + 10 Dark + 40 Flat + @{n_flat}= Evaluate ["FLAT"] * 10 + @{n_dark}= Evaluate ["DARK"] * 10 + @{n_bias}= Evaluate ["BIAS"] * 40 + @{img_type_seq}= Create List @{n_flat} @{n_dark} @{n_bias} + Set Suite Variable @{img_type_seq} + # Exposure time; BIAS images have 0 for the exposure time. + @{bias_exp_time}= Evaluate [${0}] * 10 + @{dark_exp_time}= Evaluate [${10}] * 10 + @{exp_time}= Create List @{bias_exp_time} @{dark_exp_time} ${0.2} ${0.2} ${0.4} ${0.4} ${0.6} ${0.6} ${0.8} ${0.8} ${1.0} ${1.0} ${1.2} ${1.2} ${1.4} ${1.4} ${1.6} ${1.6} ${1.8} ${1.8} ${2.0} ${2.0} ${2.2} ${2.2} ${2.4} ${2.4} ${2.6} ${2.6} ${2.8} ${2.8} ${3.0} ${3.0} ${3.2} ${3.2} ${3.4} ${3.4} ${3.6} ${3.6} ${3.8} ${3.8} ${4.0} ${4.0} + Set Suite Variable @{exp_time} + # Filter and band. + Set Suite Variable ${filter_type} r + Set Suite Variable @{filter_name} SDSSr_65mm + Set Suite Variable @{disperser_band} EMPTY + Set Suite Variable @{disperser_name} EMPTY diff --git a/Test_Report_AuxTel_PTC_Calibrations.list b/Test_Report_AuxTel_PTC_Calibrations.list new file mode 100644 index 0000000..e3d84b7 --- /dev/null +++ b/Test_Report_AuxTel_PTC_Calibrations.list @@ -0,0 +1,8 @@ +### Test Suite list ### +# Change the title of the test results +--name AT_PTC_Calibrations +--output at_ptc_calib +--skiponfailure skipped + +# List of test suites +AuxTel/Verify_AT_PTC_Calibrations.robot From f0f056d6c824e36ce9971cf260e4801cda487ef0 Mon Sep 17 00:00:00 2001 From: Rob Bovill Date: Thu, 2 Feb 2023 10:49:47 -0700 Subject: [PATCH 09/13] Added new reporting suites to Reports/generate_report.sh. Now generatoing both the full and streamlined reports. --- Reports/generate_report.sh | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/Reports/generate_report.sh b/Reports/generate_report.sh index 0375f2c..aa65392 100755 --- a/Reports/generate_report.sh +++ b/Reports/generate_report.sh @@ -7,5 +7,27 @@ # author: Rob Bovill # email: rbovill@lsst.org -robot_outputs=(offline.xml standby.xml disabled.xml enabled.xml housekeeping.xml at_shutdown.xml at_image_verify.xml cc_image_verify.xml at_prep_onsky.xml at_cwfs_align.xml at_acq_take_seq_pointing.xml at_acq_take_seq_verify.xml at_acq_take_seq_test.xml at_acq_take_seq_nominal.xml at_stop.xml shutdown.xml) -rebot --name IntegrationTests -r streamlined_report.html -l streamlined_log.html --reportbackground "#61C4CD:#61C4CD" --loglevel FAIL --flattenkeywords TAG:custom --tagstatexclude DM* -e at_light_cal ${robot_outputs[@]} +robot_outputs=( +offline.xml +standby.xml +disabled.xml +enabled.xml +housekeeping.xml +at_shutdown.xml +at_image_verify.xml +cc_image_verify.xml +at_calib.xml +at_prep_onsky.xml +at_cwfs_align.xml +at_acq_take_seq_pointing.xml +at_acq_take_seq_verify.xml +at_acq_take_seq_test.xml +at_acq_take_seq_nominal.xml +at_stop.xml +at_prep_flat.xml +at_flat_calib.xml +at_ptc_calib.xml +cc_calib.xml +) +rebot --name IntegrationTests -r full_report.html -l full_log.html --reportbackground "#61C4CD:#61C4CD" --loglevel TRACE:INFO --flattenkeywords TAG:custom -e at_light_cal ${robot_outputs[@]} +rebot --name IntegrationTests -r streamlined_report.html -l streamlined_log.html --reportbackground "#61C4CD:#61C4CD" --loglevel FAIL --flattenkeywords TAG:custom --tagstatexclude DM* -e runtime -e at_light_cal ${robot_outputs[@]} From 83235bc450a61bb10c6cd627ea66f38de78121cd Mon Sep 17 00:00:00 2001 From: Rob Bovill Date: Thu, 2 Feb 2023 10:50:10 -0700 Subject: [PATCH 10/13] Bumped the XMLVersion value in Vars.txt. --- Vars.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Vars.txt b/Vars.txt index 73e49cc..4c7abd7 100644 --- a/Vars.txt +++ b/Vars.txt @@ -16,5 +16,5 @@ --reportbackground #61C4CD:#61C4CD # Redefine default variables ---variable XMLVersion:14.0.0 +--variable XMLVersion:15.0.0 --variable SALVersion:7.2.0 From 5cf558185a5cd70846ab93ec3d0acb0483bfa320 Mon Sep 17 00:00:00 2001 From: Rob Bovill Date: Fri, 3 Feb 2023 16:31:50 -0700 Subject: [PATCH 11/13] Corrected the index notation in the Shutdown reporting suites. --- Shutdown/Verify_AT_Light_Cal_Shutdown.robot | 2 +- Shutdown/Verify_EAS_AE_Shutdown.robot | 4 ++-- Shutdown/Verify_EAS_Shutdown.robot | 4 ++-- Shutdown/Verify_GC_Shutdown.robot | 4 ++-- Shutdown/Verify_MTCS_Shutdown.robot | 10 +++++----- Shutdown/Verify_ObsSys1_Shutdown.robot | 2 +- Shutdown/Verify_ObsSys2_Shutdown.robot | 8 ++++---- 7 files changed, 17 insertions(+), 17 deletions(-) diff --git a/Shutdown/Verify_AT_Light_Cal_Shutdown.robot b/Shutdown/Verify_AT_Light_Cal_Shutdown.robot index ad20549..aabdf05 100644 --- a/Shutdown/Verify_AT_Light_Cal_Shutdown.robot +++ b/Shutdown/Verify_AT_Light_Cal_Shutdown.robot @@ -19,5 +19,5 @@ Verify ATMonochromator Shutdown Verify FiberSpectrograph:3 Shutdown [Tags] at_light_cal - Verify Shutdown Process FiberSpectrograph 3 + Verify Shutdown Process FiberSpectrograph index=3 Verify Time Delta FiberSpectrograph ${topic_1} ${topic_2} ${time_window} index=3 diff --git a/Shutdown/Verify_EAS_AE_Shutdown.robot b/Shutdown/Verify_EAS_AE_Shutdown.robot index 051b4d5..a8f7eef 100644 --- a/Shutdown/Verify_EAS_AE_Shutdown.robot +++ b/Shutdown/Verify_EAS_AE_Shutdown.robot @@ -14,10 +14,10 @@ ${time_window} 600 *** Test Cases *** Verify DSM:1 Shutdown [Tags] eas_ae - Verify Shutdown Process DSM 1 + Verify Shutdown Process DSM index=1 Verify Time Delta DSM ${topic_1} ${topic_2} ${time_window} index=1 Verify DSM:2 Shutdown [Tags] eas_ae - Verify Shutdown Process DSM 2 + Verify Shutdown Process DSM index=2 Verify Time Delta DSM ${topic_1} ${topic_2} ${time_window} index=2 diff --git a/Shutdown/Verify_EAS_Shutdown.robot b/Shutdown/Verify_EAS_Shutdown.robot index 3bbfed3..afbb570 100644 --- a/Shutdown/Verify_EAS_Shutdown.robot +++ b/Shutdown/Verify_EAS_Shutdown.robot @@ -14,7 +14,7 @@ ${time_window} 600 *** Test Cases *** Verify DIMM:1 Shutdown [Tags] eas - Verify Shutdown Process DIMM 1 + Verify Shutdown Process DIMM index=1 Verify Time Delta DIMM ${topic_1} ${topic_2} ${time_window} index=1 Verify WeatherForecast Shutdown @@ -24,5 +24,5 @@ Verify WeatherForecast Shutdown Verify WeatherStation:1 Shutdown [Tags] eas - Verify Shutdown Process WeatherStation 1 + Verify Shutdown Process WeatherStation index=1 Verify Time Delta WeatherStation ${topic_1} ${topic_2} ${time_window} index=1 diff --git a/Shutdown/Verify_GC_Shutdown.robot b/Shutdown/Verify_GC_Shutdown.robot index f51c017..be96fae 100644 --- a/Shutdown/Verify_GC_Shutdown.robot +++ b/Shutdown/Verify_GC_Shutdown.robot @@ -14,10 +14,10 @@ ${time_window} 600 *** Test Cases *** Verify GenericCamera:1 Shutdown [Tags] gc - Verify Shutdown Process GenericCamera 1 + Verify Shutdown Process GenericCamera index=1 Verify Time Delta GenericCamera ${topic_1} ${topic_2} ${time_window} index=1 Verify GCHeaderService:1 Shutdown [Tags] gc - Verify Shutdown Process GCHeaderService 1 + Verify Shutdown Process GCHeaderService index=1 Verify Time Delta GCHeaderService ${topic_1} ${topic_2} ${time_window} index=1 diff --git a/Shutdown/Verify_MTCS_Shutdown.robot b/Shutdown/Verify_MTCS_Shutdown.robot index bd9abf7..b33c927 100644 --- a/Shutdown/Verify_MTCS_Shutdown.robot +++ b/Shutdown/Verify_MTCS_Shutdown.robot @@ -14,17 +14,17 @@ ${time_window} 600 *** Test Cases *** Verify LaserTracker:1 Shutdown [Tags] mtcs - Verify Shutdown Process LaserTracker:1 + Verify Shutdown Process LaserTracker index=1 Verify Time Delta LaserTracker ${topic_1} ${topic_2} ${time_window} index=1 Verify MTAirCompressor:1 Shutdown [Tags] mtcs - Verify Shutdown Process MTAirCompressor 1 + Verify Shutdown Process MTAirCompressor index=1 Verify Time Delta MTAirCompressor ${topic_1} ${topic_2} ${time_window} index=1 Verify MTAirCompressor:2 Shutdown [Tags] mtcs - Verify Shutdown Process MTAirCompressor 2 + Verify Shutdown Process MTAirCompressor index=2 Verify Time Delta MTAirCompressor ${topic_1} ${topic_2} ${time_window} index=2 Verify MTMount Shutdown @@ -54,12 +54,12 @@ Verify MTAOS Shutdown Verify MTHexapod:1 Shutdown [Tags] mtcs - Verify Shutdown Process MTHexapod 1 + Verify Shutdown Process MTHexapod index=1 Verify Time Delta MTHexapod ${topic_1} ${topic_2} ${time_window} index=1 Verify MTHexapod:2 Shutdown [Tags] mtcs - Verify Shutdown Process MTHexapod 2 + Verify Shutdown Process MTHexapod index=2 Verify Time Delta MTHexapod ${topic_1} ${topic_2} ${time_window} index=2 Verify MTRotator Shutdown diff --git a/Shutdown/Verify_ObsSys1_Shutdown.robot b/Shutdown/Verify_ObsSys1_Shutdown.robot index 49b4a23..6e3b7b5 100644 --- a/Shutdown/Verify_ObsSys1_Shutdown.robot +++ b/Shutdown/Verify_ObsSys1_Shutdown.robot @@ -24,7 +24,7 @@ Verify ScriptQueue:1 Shutdown Verify ScriptQueue:2 Shutdown [Tags] obsys1 - Verify Shutdown Process ScriptQueue 2 + Verify Shutdown Process ScriptQueue index=2 Verify Time Delta ScriptQueue ${topic_1} ${topic_2} ${time_window} index=2 Verify Watcher Shutdown diff --git a/Shutdown/Verify_ObsSys2_Shutdown.robot b/Shutdown/Verify_ObsSys2_Shutdown.robot index e031b12..168f114 100644 --- a/Shutdown/Verify_ObsSys2_Shutdown.robot +++ b/Shutdown/Verify_ObsSys2_Shutdown.robot @@ -14,20 +14,20 @@ ${time_window} 600 *** Test Cases *** Verify Scheduler:1 Shutdown [Tags] obsys2 - Verify Shutdown Process Scheduler 1 + Verify Shutdown Process Scheduler index=1 Verify Time Delta Scheduler ${topic_1} ${topic_2} ${time_window} index=1 Verify Scheduler:2 Shutdown [Tags] obsys2 - Verify Shutdown Process Scheduler 2 + Verify Shutdown Process Scheduler index=2 Verify Time Delta Scheduler ${topic_1} ${topic_2} ${time_window} index=2 Verify OCPS:1 Shutdown [Tags] obsys2 - Verify Shutdown Process OCPS 1 + Verify Shutdown Process OCPS index=1 Verify Time Delta OCPS ${topic_1} ${topic_2} ${time_window} index=1 Verify OCPS:2 Shutdown [Tags] obsys2 - Verify Shutdown Process OCPS 2 + Verify Shutdown Process OCPS index=2 Verify Time Delta OCPS ${topic_1} ${topic_2} ${time_window} index=2 From 174bd94010e689ab0a6a13411d38ec959d69229b Mon Sep 17 00:00:00 2001 From: Rob Bovill Date: Fri, 3 Feb 2023 16:31:17 -0700 Subject: [PATCH 12/13] Added the shutdown.xml data file to Reports/generate_report.sh. --- Reports/generate_report.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/Reports/generate_report.sh b/Reports/generate_report.sh index aa65392..5d17cdd 100755 --- a/Reports/generate_report.sh +++ b/Reports/generate_report.sh @@ -28,6 +28,7 @@ at_prep_flat.xml at_flat_calib.xml at_ptc_calib.xml cc_calib.xml +shutdown.xml ) rebot --name IntegrationTests -r full_report.html -l full_log.html --reportbackground "#61C4CD:#61C4CD" --loglevel TRACE:INFO --flattenkeywords TAG:custom -e at_light_cal ${robot_outputs[@]} rebot --name IntegrationTests -r streamlined_report.html -l streamlined_log.html --reportbackground "#61C4CD:#61C4CD" --loglevel FAIL --flattenkeywords TAG:custom --tagstatexclude DM* -e runtime -e at_light_cal ${robot_outputs[@]} From 8749a4acd55b7614ab8a4a56653d79644eea83be Mon Sep 17 00:00:00 2001 From: Rob Bovill Date: Fri, 3 Feb 2023 16:40:12 -0700 Subject: [PATCH 13/13] Removed the command_raDecTarget checks from Verify_AT_PTC_Calibrations.robot. Re-enalbed the Az/El position checks. --- AuxTel/Verify_AT_PTC_Calibrations.robot | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/AuxTel/Verify_AT_PTC_Calibrations.robot b/AuxTel/Verify_AT_PTC_Calibrations.robot index 1617795..29ed74d 100644 --- a/AuxTel/Verify_AT_PTC_Calibrations.robot +++ b/AuxTel/Verify_AT_PTC_Calibrations.robot @@ -29,12 +29,10 @@ Verify ATPtg Target [Documentation] Ensure the telescope is pointed at the correct target, in this case at the Az/El of the flat-field screen. ... This command is sent prior to the start of the script. [Tags] robot:continue-on-failure - #${cmd_dataframe}= Get Recent Samples ATPtg command_raDecTarget ["targetName", "ra", "declination",] 1 None - #Should Be Equal ${cmd_dataframe.targetName.values}[0] Flatfield position ${evt_dataframe}= Get Recent Samples ATPtg logevent_currentTarget ["targetName", "azDegs", "elDegs",] 1 None Should Be Equal ${evt_dataframe.targetName.values}[0] FlatField position - #Should Be Equal ${evt_dataframe.azDegs.values.round(6)}[0] ${0} - #Should Be Equal ${evt_dataframe.elDegs.values.round(6)}[0] ${0} + Should Be Equal ${evt_dataframe.azDegs.values.round(6)}[0] ${0} + Should Be Equal ${evt_dataframe.elDegs.values.round(6)}[0] ${0} Verify ATPtg Tracking is Off [Tags]