Update from terminal and everything got deleted

Bug #1650344 reported by Sheng
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MadGraph5_aMC@NLO
Invalid
Undecided
Unassigned

Bug Description

I was running MG5 v2.3.3 and when I tried to run a process, I was prompted to update to a newer version and it was a big mistake to choose yes. After the update, I got the following message

*****

...
Ran 604 tests in 453.608s

FAILED ( errors=177)
test_replace_make_opt_f_compiler testIO_MyCustomNameIOTestWithPathRegExpr testIO_MyCustomNameIOTestWrapped testIO_MyCustomNameIOTestWrappedWithReturnPath testIO_MySimpleIOTestWrapped test_pass_in_standard_name test_change_to_complex_mass_scheme test_diagram_tag_gg_ggg test_diagram_tag_to_diagram_uux_nglue test_diagram_tag_uu_uug test_reorder_permutation test_creation_from_cmd test_dealing_with_last_line test_define_level test_diagram_equality test_fermion_flow test_find_initial_vertex_position test_find_t_channel_vertex test_find_vertex_at_level test_horizontal_mode test_line_ordering_in_load test_load_diagram test_no_cutting_line test_non_integer_external test_notion_of_egality test_one_initial_state_particle test_part_antipart_after_output test_phi4_vertex test_identify_me_tag_qq_qqg test_non_identify_me_tag_qq_qqg test_identify_me_tag_qq_qg testIO_modification_to_cuts test_get_aloha_input test_get_analytic_info test_helas_diagrams_gd_ggd test_helas_diagrams_gg_ggg test_loadingLoopToyModel test_fuse_line test_LO_draw_with_NLO_generation test_NLO_draw test_NLO_draw_all_gg_gg test_NLO_draw_all_reconstructed_dd_eemm test_NLO_draw_all_reconstructed_gg_gg test_NLO_draw_gg_ggg test_NLO_draw_uux_guux test_NLO_draw_uux_uuxddx test_flipping test_level_with_flipping_triangle test_loop_convert_diagram test_histograms_operations test_output_reload test_model_name test_use_as_benchmark test_coupling_hierarchy test_expansion_order test_ImportUFONoSideEffectLO test_ImportUFONoSideEffectNLO test_ImportUFOcheckgoldstone test_get_nflav_sm test_get_nflav_sm_nobmass test_get_nflav_sm_nomasses test_detect_identical_parameters test_detect_special_parameters test_detect_zero_iden_couplings test_locate_couplings test_merge_iden_couplings test_merge_identical_parameters test_put_parameters_to_zero test_remove_couplings test_remove_interactions test_restrict_from_a_param_card test_find_symmetry_uu_tt test_find_symmetry_uu_tt_with_subprocess_group test_uu_to_tt_sch test_uu_to_ttg_sch test_find_symmetry_decay_chain_with_subprocess_group test_find_symmetry_epem_aaa test_find_symmetry_gg_tt_fullylept test_find_symmetry_qq_qqg_with_subprocess_group test_rotate_momenta test_write_model test_write_orders test_write_particles test_write_vertices test_add_external_parameters test_add_particle test_couplings test_identify_particle test_interaction test_convert_to_mg5 test_mod_card test_mod_param test_paramcard_scan test_check_param test_load_with_restrict_model test_make_valid test_read test_read_write_param_card test_create_param_dict test_define_not_dep_param test_order_param test_write_block test_write_param test_write_qnumber test_define_not_dep_param test_full_write test_set_parameters_and_couplings test_comparison_for_multiprocess test_get_momenta test_install_update test_banner test_initMadLoopParam test_sum_object test_writeMLparam test_PY8Card_basic test_PY8Card_with_subruns test_basic test_default test_add_ab_interaction test_add_ab_particle test_generate_ab_amplitudes test_get_interactions_type test_get_particles_type test_help_generate_ab_amplitude test_help_generate_ab_amplitude_2 test_setup_interactions test_setup_particles test_apx_decaywidth test_colormultiplicity test_get_initialfinal test_get_onshell test_helper_find_channels test_initial_setups test_add_std_diagram test_decaytable_string test_get_amplitude_givenfinal test_group_channels2amplitudes test_init_setget test_particles_type test_read_param_card test_find_vertexlist test_get_max_level test_getsetvertexlist_correct test_getsetvertexlist_exceptions test_reset_decaywidth test_setget_channel test_setgetinit_correct test_setgetinit_exceptions test_values_for_prop test_collect_helascalls test_helas_comparison test_helas_helpers test_check_u_u_six_g test_sextet_color_flow_output test_uu_to_six_g test_check_u_t_antitrip_g test_triplet_color_flow_output test_ut_to_antitrip_g test_extract_info test_get_final_state_particle test_madspin_event test_autocompletion test_modif_ML_card test_modif_madweight_card test_modif_param_card test_modif_run_card test_modif_shower_card test_card_type_recognition test_the_exit_from_child_cmd test_the_exit_from_child_cmd2 test_get_final_part test_InvalidCmd test_check_generate test_cleaning_history test_help_category test_output_default test_shell_and_continuation_line
Bypassed 57:
testIO_DJR_histograms testIO_sqso_uux_uuxuuxx test_find_process_classes_and_mapping_diagrams test_den_factor_lines_EW test_is_uptodate test_generate_virtuals_helas_matrix_element test_generate_virtuals_single_process test_find_pert_particles_interactionsi_mssm test_link_ddxwpduxgg_gdxwpuxgg test_link_duxhuduxux_guxhuuxux test_link_dxuhuuuxdx_guhuuux test_fks_helas_multi_process_pptt test_fks_helas_multi_process_ppwj test_fks_helas_multi_process_ppz test_fks_helas_process_init test_fks_ppzz_in_RS test_set_color_links test_helas_diagrams_ddx_uux test_helas_diagrams_dxd_gz test_helas_diagrams_gd_gd test_helas_diagrams_gg_gg test_helas_diagrams_gg_wpwmttx test_helas_diagrams_ud_ggdu testIO_ProcOutputIOTests testIO_Loop_sqso_uux_ddx test_CT_vertices_generation_gg_gg test_diagram_generation_ddx_ddx test_diagram_generation_ddxuux_split_orders test_diagram_generation_gg_ng test_diagram_generation_uux_ddx test_diagram_generation_uux_ga test_diagram_generation_aa_ttx_EW test_diagram_generation_aa_wpwm_EW test_diagram_generation_epem_ttxa_EW test_diagram_generation_epem_ttxg_EW test_diagram_generation_gg_ggg_EW test_diagram_generation_gg_ttxg_EW test_diagram_generation_gg_ttxh_EW test_diagram_generation_hh_hh_EW test_diagram_generation_hh_hhh_EW test_diagram_generation_ttx_wpwm_EW test_diagram_generation_uux_epem_EW test_diagram_generation_uux_ga_EW test_boost_momenta test_boost_momenta_gluino test_comparison_for_process test_failed_process test_findchannels test_find_full_sm_decay_groups test_find_full_sm_decay_groups_advance test_find_mssm_decay_groups test_find_mssm_decay_groups_general test_find_mssm_decay_groups_modified_mssm test_find_mssm_decay_groups_modified_mssm_general test_find_vertexlist test_running_couplings test_setget
new version installed, please relaunch mg5

*****

But this is the worse part: my whole madgraph folder was deleted from my system (including all my work up to last year)! There is no single trace to be found. Unfortunately, I did not make any backup at all. Please look into this seriously!

Revision history for this message
Olivier Mattelaer (olivier-mattelaer) wrote : Re: [Bug 1650344] [NEW] Update from terminal and everything got deleted
Download full text (14.0 KiB)

Hi,

I’m very sorry for that.

Can you give me a little bit more details such that I can investigate.
for example can you give me
1) the full path of your MG5 v2.3.3 directory
2) the full path from which you call the mg5_aMC executable
3) the full path of the directory which was removed

Cheers,

Olivier

> On Dec 16, 2016, at 03:09, Sheng <email address hidden> wrote:
>
> Public bug reported:
>
> I was running MG5 v2.3.3 and when I tried to run a process, I was
> prompted to update to a newer version and it was a big mistake to choose
> yes. After the update, I got the following message
>
> *****
>
> ...
> Ran 604 tests in 453.608s
>
> FAILED ( errors=177)
> test_replace_make_opt_f_compiler testIO_MyCustomNameIOTestWithPathRegExpr testIO_MyCustomNameIOTestWrapped testIO_MyCustomNameIOTestWrappedWithReturnPath testIO_MySimpleIOTestWrapped test_pass_in_standard_name test_change_to_complex_mass_scheme test_diagram_tag_gg_ggg test_diagram_tag_to_diagram_uux_nglue test_diagram_tag_uu_uug test_reorder_permutation test_creation_from_cmd test_dealing_with_last_line test_define_level test_diagram_equality test_fermion_flow test_find_initial_vertex_position test_find_t_channel_vertex test_find_vertex_at_level test_horizontal_mode test_line_ordering_in_load test_load_diagram test_no_cutting_line test_non_integer_external test_notion_of_egality test_one_initial_state_particle test_part_antipart_after_output test_phi4_vertex test_identify_me_tag_qq_qqg test_non_identify_me_tag_qq_qqg test_identify_me_tag_qq_qg testIO_modification_to_cuts test_get_aloha_input test_get_analytic_info test_helas_diagrams_gd_ggd test_helas_diagrams_gg_ggg test_loadingLoopToyModel test_fuse_line test_LO_draw_with_NLO_generation test_NLO_draw test_NLO_draw_all_gg_gg test_NLO_draw_all_reconstructed_dd_eemm test_NLO_draw_all_reconstructed_gg_gg test_NLO_draw_gg_ggg test_NLO_draw_uux_guux test_NLO_draw_uux_uuxddx test_flipping test_level_with_flipping_triangle test_loop_convert_diagram test_histograms_operations test_output_reload test_model_name test_use_as_benchmark test_coupling_hierarchy test_expansion_order test_ImportUFONoSideEffectLO test_ImportUFONoSideEffectNLO test_ImportUFOcheckgoldstone test_get_nflav_sm test_get_nflav_sm_nobmass test_get_nflav_sm_nomasses test_detect_identical_parameters test_detect_special_parameters test_detect_zero_iden_couplings test_locate_couplings test_merge_iden_couplings test_merge_identical_parameters test_put_parameters_to_zero test_remove_couplings test_remove_interactions test_restrict_from_a_param_card test_find_symmetry_uu_tt test_find_symmetry_uu_tt_with_subprocess_group test_uu_to_tt_sch test_uu_to_ttg_sch test_find_symmetry_decay_chain_with_subprocess_group test_find_symmetry_epem_aaa test_find_symmetry_gg_tt_fullylept test_find_symmetry_qq_qqg_with_subprocess_group test_rotate_momenta test_write_model test_write_orders test_write_particles test_write_vertices test_add_external_parameters test_add_particle test_couplings test_identify_particle test_interaction test_convert_to_mg5 test_mod_card test_mod_param test_paramcard_scan test_check_param test_load_with_restrict_model test_make_valid test_read ...

Revision history for this message
Sheng (elopura0000) wrote :
Download full text (21.9 KiB)

Hi Olivier,

The folder (now nonexistent) I was working in is this

/home/sheng/MG5_aMC_v2_3_3

Since my terminal is still open, here I copied all that happened in the
attached text file (from the time I started running, being prompted to
update, and then end when I realized everything was gone).

Thanks for looking into this.

best,
Sheng

On Fri, Dec 16, 2016 at 2:00 AM, Olivier Mattelaer <
<email address hidden>> wrote:

> Hi,
>
> I’m very sorry for that.
>
> Can you give me a little bit more details such that I can investigate.
> for example can you give me
> 1) the full path of your MG5 v2.3.3 directory
> 2) the full path from which you call the mg5_aMC executable
> 3) the full path of the directory which was removed
>
> Cheers,
>
> Olivier
>
> > On Dec 16, 2016, at 03:09, Sheng <email address hidden> wrote:
> >
> > Public bug reported:
> >
> > I was running MG5 v2.3.3 and when I tried to run a process, I was
> > prompted to update to a newer version and it was a big mistake to choose
> > yes. After the update, I got the following message
> >
> > *****
> >
> > ...
> > Ran 604 tests in 453.608s
> >
> > FAILED ( errors=177)
> > test_replace_make_opt_f_compiler testIO_MyCustomNameIOTestWithPathRegExpr
> testIO_MyCustomNameIOTestWrapped testIO_MyCustomNameIOTestWrappedWithReturnPath
> testIO_MySimpleIOTestWrapped test_pass_in_standard_name
> test_change_to_complex_mass_scheme test_diagram_tag_gg_ggg
> test_diagram_tag_to_diagram_uux_nglue test_diagram_tag_uu_uug
> test_reorder_permutation test_creation_from_cmd test_dealing_with_last_line
> test_define_level test_diagram_equality test_fermion_flow
> test_find_initial_vertex_position test_find_t_channel_vertex
> test_find_vertex_at_level test_horizontal_mode test_line_ordering_in_load
> test_load_diagram test_no_cutting_line test_non_integer_external
> test_notion_of_egality test_one_initial_state_particle
> test_part_antipart_after_output test_phi4_vertex
> test_identify_me_tag_qq_qqg test_non_identify_me_tag_qq_qqg
> test_identify_me_tag_qq_qg testIO_modification_to_cuts test_get_aloha_input
> test_get_analytic_info test_helas_diagrams_gd_ggd
> test_helas_diagrams_gg_ggg test_loadingLoopToyModel test_fuse_line
> test_LO_draw_with_NLO_generation test_NLO_draw test_NLO_draw_all_gg_gg
> test_NLO_draw_all_reconstructed_dd_eemm test_NLO_draw_all_reconstructed_gg_gg
> test_NLO_draw_gg_ggg test_NLO_draw_uux_guux test_NLO_draw_uux_uuxddx
> test_flipping test_level_with_flipping_triangle test_loop_convert_diagram
> test_histograms_operations test_output_reload test_model_name
> test_use_as_benchmark test_coupling_hierarchy test_expansion_order
> test_ImportUFONoSideEffectLO test_ImportUFONoSideEffectNLO
> test_ImportUFOcheckgoldstone test_get_nflav_sm test_get_nflav_sm_nobmass
> test_get_nflav_sm_nomasses test_detect_identical_parameters
> test_detect_special_parameters test_detect_zero_iden_couplings
> test_locate_couplings test_merge_iden_couplings test_merge_identical_parameters
> test_put_parameters_to_zero test_remove_couplings test_remove_interactions
> test_restrict_from_a_param_card test_find_symmetry_uu_tt
> test_find_symmetry_uu_tt_with_subprocess_group test_uu_to_tt_sch
> test_u...

Revision history for this message
Olivier Mattelaer (olivier-mattelaer) wrote :
Download full text (30.2 KiB)

Hi,

You did not attach your file.
From what I see is that when you see the message:
“Checking current version. (type ctrl-c to bypass the check)”
then the following directory should still exists:
> /home/sheng/MG5_aMC_v2_3_3/tests

The step after that is to run ./tests/test_manager.py
which is probably the script that remove your directory.
I’m running this script 10 times a day and never face such problem.
So I’m really puzzled

Cheers,

Olivier

> On Dec 16, 2016, at 19:51, Sheng <email address hidden> wrote:
>
> Hi Olivier,
>
> The folder (now nonexistent) I was working in is this
>
> /home/sheng/MG5_aMC_v2_3_3
>
> Since my terminal is still open, here I copied all that happened in the
> attached text file (from the time I started running, being prompted to
> update, and then end when I realized everything was gone).
>
> Thanks for looking into this.
>
> best,
> Sheng
>
>
> On Fri, Dec 16, 2016 at 2:00 AM, Olivier Mattelaer <
> <email address hidden>> wrote:
>
>> Hi,
>>
>> I’m very sorry for that.
>>
>> Can you give me a little bit more details such that I can investigate.
>> for example can you give me
>> 1) the full path of your MG5 v2.3.3 directory
>> 2) the full path from which you call the mg5_aMC executable
>> 3) the full path of the directory which was removed
>>
>> Cheers,
>>
>> Olivier
>>
>>> On Dec 16, 2016, at 03:09, Sheng <email address hidden> wrote:
>>>
>>> Public bug reported:
>>>
>>> I was running MG5 v2.3.3 and when I tried to run a process, I was
>>> prompted to update to a newer version and it was a big mistake to choose
>>> yes. After the update, I got the following message
>>>
>>> *****
>>>
>>> ...
>>> Ran 604 tests in 453.608s
>>>
>>> FAILED ( errors=177)
>>> test_replace_make_opt_f_compiler testIO_MyCustomNameIOTestWithPathRegExpr
>> testIO_MyCustomNameIOTestWrapped testIO_MyCustomNameIOTestWrappedWithReturnPath
>> testIO_MySimpleIOTestWrapped test_pass_in_standard_name
>> test_change_to_complex_mass_scheme test_diagram_tag_gg_ggg
>> test_diagram_tag_to_diagram_uux_nglue test_diagram_tag_uu_uug
>> test_reorder_permutation test_creation_from_cmd test_dealing_with_last_line
>> test_define_level test_diagram_equality test_fermion_flow
>> test_find_initial_vertex_position test_find_t_channel_vertex
>> test_find_vertex_at_level test_horizontal_mode test_line_ordering_in_load
>> test_load_diagram test_no_cutting_line test_non_integer_external
>> test_notion_of_egality test_one_initial_state_particle
>> test_part_antipart_after_output test_phi4_vertex
>> test_identify_me_tag_qq_qqg test_non_identify_me_tag_qq_qqg
>> test_identify_me_tag_qq_qg testIO_modification_to_cuts test_get_aloha_input
>> test_get_analytic_info test_helas_diagrams_gd_ggd
>> test_helas_diagrams_gg_ggg test_loadingLoopToyModel test_fuse_line
>> test_LO_draw_with_NLO_generation test_NLO_draw test_NLO_draw_all_gg_gg
>> test_NLO_draw_all_reconstructed_dd_eemm test_NLO_draw_all_reconstructed_gg_gg
>> test_NLO_draw_gg_ggg test_NLO_draw_uux_guux test_NLO_draw_uux_uuxddx
>> test_flipping test_level_with_flipping_triangle test_loop_convert_diagram...

Revision history for this message
Olivier Mattelaer (olivier-mattelaer) wrote :

HI,

I close this bug report for the moment (the only way is to set it to unvalid.)

Cheers,

Olivier

Changed in mg5amcnlo:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.