whizard is hosted by Hepforge, IPPP Durham

Opened 12 years ago

Closed 12 years ago

#492 closed defect (fixed)

O'Mega testsuite suffering from file creation race conditions

Reported by: Juergen Reuter Owned by: Juergen Reuter
Priority: P1 Milestone: v2.2.0
Component: omega Version: 2.1.1
Severity: critical Keywords:
Cc:

Description

This jeopardizes the reliability and usability of our testsuites. It has to be tackled.

Change History (3)

comment:1 Changed 12 years ago by Juergen Reuter

Here is more info:

make[7]: Nothing to be done for `check-am'.
make  check-TESTS
ocamlc.opt  -I ../src -c -o oUnit.cmi ../../../../src/omega/tests/oUnit.mli
ocamlc.opt  -I ../src -c -o oUnitDiff.cmi 
../../../../src/omega/tests/oUnitDiff.mli
gfortran -I../src  -g -O2 -c -o omega_testtools.o 
../../../../src/omega/tests/omega_testtools.f90
../bin/omega_QED.opt -target:split_function 10 -target:parameter_module 
parameters_QED -target:module amplitude_qed_eemm \
       -scatter "e+ e- -> m+ m-" > amplitude_qed_eemm.f90
gfortran -I../src  -g -O2 -c -o parameters_QED.o 
../../../../src/omega/tests/parameters_QED.f90
gfortran -I../src  -g -O2 -c -o color_test_lib.o 
../../../../src/omega/tests/color_test_lib.f90
gfortran -I../src  -g -O2 -c -o parameters_SM.o 
../../../../src/omega/tests/parameters_SM.f90
gfortran -I../src  -g -O2 -c -o parameters_QCD.o 
../../../../src/omega/tests/parameters_QCD.f90
gfortran -I../src  -g -O2 -c -o parameters_SYM.o 
../../../../src/omega/tests/parameters_SYM.f90
/bin/sh ../../../../src/omega/tests/ects_driver.sh ../bin/omega_%%%.opt 
../../../../src/omega/tests/ects_driver.sh 
../../../../src/omega/tests/fc_s.ects 
../../../../src/omega/tests/fc_a.ects 
../../../../src/omega/tests/cf_a.ects 
../../../../src/omega/tests/fa_f.ects 
../../../../src/omega/tests/ca_c.ects 
../../../../src/omega/tests/af_f.ects 
../../../../src/omega/tests/ac_c.ects 
../../../../src/omega/tests/aa_a.ects 
../../../../src/omega/tests/fc_fc.ects 
../../../../src/omega/tests/aa_s.ects 
../../../../src/omega/tests/as_a.ects 
../../../../src/omega/tests/sa_a.ects > ects.f90
gfortran -I../src  -g -O2 -c -o omega_interface.o 
../../../../src/omega/tests/omega_interface.f90
gfortran -I../src  -g -O2 -c -o tao_random_numbers.o 
../../../../src/omega/tests/tao_random_numbers.f90
gfortran -I../src  -g -O2 -c -o parameters_SM_top_anom.o 
../../../../src/omega/tests/parameters_SM_top_anom.f90
/bin/sh ../../../../src/omega/tests/ward_driver.sh ../bin/omega_%%%.opt 
-target:split_function 10 < 
../../../../src/omega/tests/ward_identities.list > ward.f90
/bin/sh ../../../../src/omega/tests/compare_driver.sh SF \
       "../bin/omega_%%%.opt -target:single_function" \
       "../bin/omega_%%%.opt -target:split_function 10" < 
../../../../src/omega/tests/comparisons.list > compare_split_function.f90
/bin/sh ../../../../src/omega/tests/compare_driver.sh SM \
       "../bin/omega_%%%.opt -target:single_function" \
        "../bin/omega_%%%.opt -target:split_module 10" < 
../../../../src/omega/tests/comparisons.list > compare_split_module.f90
ocamlopt.opt -I ../src -inline 64  -c -o oUnit.cmx 
../../../../src/omega/tests/oUnit.ml
  >>> Initializing vertex table for model Modellib.QED. This may take 
some time ... done. <<<
SUMMARY: 3 fusions, 1 propagators, 1 diagrams
gfortran -I../src  -g -O2 -c -o amplitude_qed_eemm.o amplitude_qed_eemm.f90
ocamlopt.opt -I ../src -inline 64  -c -o oUnitDiff.cmx 
../../../../src/omega/tests/oUnitDiff.ml
ocamlopt.opt -I ../src -inline 64  -c -o omega_unit.cmx 
../../../../src/omega/tests/omega_unit.ml
ocamlopt.opt -I ../src -inline 64  -o omega_unit \
         unix.cmxa ../src/omega_core.cmxa \
         oUnit.cmx oUnitDiff.cmx omega_unit.cmx
gfortran -I../src  -g -O2 -c -o test_qed_eemm.o 
../../../../src/omega/tests/test_qed_eemm.f90
gfortran -I../src  -g -O2 -c -o test_omega95.o 
../../../../src/omega/tests/test_omega95.f90
gfortran -I../src  -g -O2 -c -o test_omega95_bispinors.o 
../../../../src/omega/tests/test_omega95_bispinors.f90
/bin/sh ../libtool  --tag=FC   --mode=link gfortran -I../src  -g -O2   
-o test_qed_eemm test_qed_eemm.o parameters_QED.o amplitude_qed_eemm.o 
../src/libomega_core.la
PASS: omega_unit
libtool: link: gfortran -I../src -g -O2 -o .libs/test_qed_eemm 
test_qed_eemm.o parameters_QED.o amplitude_qed_eemm.o 
../src/.libs/libomega_core.dylib
PASS: test_qed_eemm
gfortran -I../src  -g -O2 -c -o ects.o  ects.f90
gfortran -I../src  -g -O2 -c -o ward_lib.o 
../../../../src/omega/tests/ward_lib.f90
gfortran -I../src  -g -O2 -c -o compare_lib.o 
../../../../src/omega/tests/compare_lib.f90
gfortran -I../src  -g -O2 -c -o compare_split_function.o 
compare_split_function.f90
gfortran -I../src  -g -O2 -c -o compare_split_module.o 
compare_split_module.f90
compare_split_module.f90:83.65:

   integer, save, dimension(n_hel) :: hel_map = (/(i, i = 1, n_hel)/)
                                                                  1
Warning: DO loop at (1) will be executed zero times
compare_split_module.f90:188.32:

     hel_map = (/(i, i = 1, n_hel)/)
                                 1
Warning: DO loop at (1) will be executed zero times
compare_split_module.f90:168.25:

         do hel = 1, n_hel
                          1
Warning: DO loop at (1) will be executed zero times
/bin/sh ../libtool  --tag=FC   --mode=link gfortran -I../src  -g -O2   
-o test_omega95 test_omega95.o omega_testtools.o ../src/libomega_core.la
gfortran -I../src  -g -O2 -c -o ward.o  ward.f90
libtool: link: gfortran -I../src -g -O2 -o .libs/test_omega95 
test_omega95.o omega_testtools.o  ../src/.libs/libomega_core.dylib
PASS: test_omega95
/bin/sh ../libtool  --tag=FC   --mode=link gfortran -I../src  -g -O2   
-o test_omega95_bispinors test_omega95_bispinors.o omega_testtools.o 
../src/libomega_core.la
libtool: link: gfortran -I../src -g -O2 -o .libs/test_omega95_bispinors 
test_omega95_bispinors.o omega_testtools.o  ../src/.libs/libomega_core.dylib
PASS: test_omega95_bispinors
/bin/sh ../libtool  --tag=FC   --mode=link gfortran -I../src  -g -O2   
-o ects color_test_lib.o parameters_SM.o parameters_QED.o 
parameters_QCD.o parameters_SYM.o ects.o ../src/libomega_core.la
libtool: link: gfortran -I../src -g -O2 -o .libs/ects color_test_lib.o 
parameters_SM.o parameters_QED.o parameters_QCD.o parameters_SYM.o 
ects.o  ../src/.libs/libomega_core.dylib
PASS: ects
/bin/sh ../libtool  --tag=FC   --mode=link gfortran -I../src  -g -O2   
-o compare_split_function compare_lib.o omega_interface.o 
omega_testtools.o tao_random_numbers.o parameters_QED.o parameters_QCD.o 
parameters_SYM.o parameters_SM.o parameters_SM_top_anom.o 
compare_split_function.o ../src/libomega_core.la
libtool: link: gfortran -I../src -g -O2 -o .libs/compare_split_function 
compare_lib.o omega_interface.o omega_testtools.o tao_random_numbers.o 
parameters_QED.o parameters_QCD.o parameters_SYM.o parameters_SM.o 
parameters_SM_top_anom.o compare_split_function.o 
../src/.libs/libomega_core.dylib
/bin/sh ../libtool  --tag=FC   --mode=link gfortran -I../src  -g -O2   
-o compare_split_module compare_lib.o omega_interface.o 
omega_testtools.o tao_random_numbers.o parameters_QED.o parameters_QCD.o 
parameters_SYM.o parameters_SM.o parameters_SM_top_anom.o 
compare_split_module.o ../src/libomega_core.la
libtool: link: gfortran -I../src -g -O2 -o .libs/compare_split_module 
compare_lib.o omega_interface.o omega_testtools.o tao_random_numbers.o 
parameters_QED.o parameters_QCD.o parameters_SYM.o parameters_SM.o 
parameters_SM_top_anom.o compare_split_module.o 
../src/.libs/libomega_core.dylib
PASS: compare_split_function
FAIL: compare_split_module
/bin/sh ../libtool  --tag=FC   --mode=link gfortran -I../src  -g -O2   
-o ward ward_lib.o omega_interface.o omega_testtools.o 
tao_random_numbers.o parameters_QED.o parameters_QCD.o parameters_SYM.o 
parameters_SM.o parameters_SM_top_anom.o ward.o ../src/libomega_core.la
libtool: link: gfortran -I../src -g -O2 -o .libs/ward ward_lib.o 
omega_interface.o omega_testtools.o tao_random_numbers.o 
parameters_QED.o parameters_QCD.o parameters_SYM.o parameters_SM.o 
parameters_SM_top_anom.o ward.o  ../src/.libs/libomega_core.dylib
PASS: ward
Making all in MSSM
make[10]: Nothing to be done for `all'.
Making all in SM
make[10]: Nothing to be done for `all'.
Making all in people
Making all in jr
make[11]: Nothing to be done for `all'.
Making all in tho
make[11]: Nothing to be done for `all'.
make[11]: Nothing to be done for `all-am'.
make[10]: Nothing to be done for `all-am'.
============================================================================
Testsuite summary for omega 2.2.0
============================================================================
# TOTAL: 8
# PASS:  7
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0
============================================================================
See tests/test-suite.log
============================================================================
make[8]: *** [test-suite.log] Error 1
make[7]: *** [check-TESTS] Error 2
make[6]: *** [check-am] Error 2
make[5]: *** [check-recursive] Error 1
make[4]: *** [check-recursive] Error 1
make[3]: *** [check-recursive] Error 1
make[2]: *** [check-recursive] Error 1
make[1]: *** [distcheck] Error 1
make: *** [extra-distcheck] Error 1

I guess the culprit are the cache files. They seem not to be there in time.

comment:2 Changed 12 years ago by Juergen Reuter

Owner: changed from ohl to Juergen Reuter
Status: newassigned

I will do that.... grmbl scheiss

comment:3 Changed 12 years ago by Juergen Reuter

Resolution: fixed
Status: assignedclosed

Whatever that was ... it killed my f*ing permissions to add this ticket! WTF WTF WTF

Anyhow, writing that f*ing thing again: it was a violation of the autotools philosophy: vertex caches via install hook part of the install cycle, while the check cycle did not have any caches. Accidentally it worked most of the time, depending on the speed of the shell scripts that wrote the Fortran code. Hopefully solved in r4342, closing for now.

Note: See TracTickets for help on using tickets.