Tests created in ATF are missing after environment refresh.

Ijaazops
Kilo Expert

Hi 

Currently our test instance has been refreshed and the tests which i developed in ATF are missing.

Is there any way that i could recover back the tests.

Thanks

Ijaazops.

 

 

1 ACCEPTED SOLUTION

Ankur Sharma
Tera Guru

Hi Ijaazops,

Unfortunately you will need to reconfigure the ATF tests or you can request servicenow a rollback of a clone via HI.

If you wish to preserve your ATF Test, suites and results next time:

You can add preservers for the following tables:

  • test_execution
  • sys_rest_message_fn_test
  • sys_atf_variable
  • sys_atf_test_template
  • sys_atf_test_suite_test
  • sys_atf_test_suite_result
  • sys_atf_test_suite
  • sys_atf_test_result_step
  • sys_atf_test_result_item
  • sys_atf_test_result
  • sys_atf_test
  • sys_atf_step_env
  • sys_atf_step_config_category
  • sys_atf_step_config
  • sys_atf_step
  • sys_atf_remembered_values
  • atf_output_variable
  • atf_input_variable
  • sys_variable_value

 

NOTE: Tables may change depending on release and changes to the ATF functionality so if anything is missing please check for any tables referencing and used in ATF and add the preserver accordingly.

 

Let me know if it helps.

View solution in original post

4 REPLIES 4

Ankur Sharma
Tera Guru

Hi Ijaazops,

Unfortunately you will need to reconfigure the ATF tests or you can request servicenow a rollback of a clone via HI.

If you wish to preserve your ATF Test, suites and results next time:

You can add preservers for the following tables:

  • test_execution
  • sys_rest_message_fn_test
  • sys_atf_variable
  • sys_atf_test_template
  • sys_atf_test_suite_test
  • sys_atf_test_suite_result
  • sys_atf_test_suite
  • sys_atf_test_result_step
  • sys_atf_test_result_item
  • sys_atf_test_result
  • sys_atf_test
  • sys_atf_step_env
  • sys_atf_step_config_category
  • sys_atf_step_config
  • sys_atf_step
  • sys_atf_remembered_values
  • atf_output_variable
  • atf_input_variable
  • sys_variable_value

 

NOTE: Tables may change depending on release and changes to the ATF functionality so if anything is missing please check for any tables referencing and used in ATF and add the preserver accordingly.

 

Let me know if it helps.

Hi Ankur,

 

Could you please provide instructions on how to move the tests from source instance to the target instance using Update sets.

 

Thanks

Ijaazops

Viraj Hudlikar
Tera Sage

The reason for your ATF test are missing is in this LINK

To get back result and if you have HI Access you can co-ordinate with them and they can provide you backup of it.

Andy S
Kilo Expert

Hi, doing preserves is not an ideal solution going forward. What we do is promote our ATF tests through our instances in update sets so they eventually are in Production (we do not execute them in Production). Then as the clones from Production come through to our sub prod environments we never lose any of our tests. This means there is never any preservation needed and reduces the massive overhead.