whizard is hosted by Hepforge, IPPP Durham

Opened 12 years ago

Closed 11 years ago

#493 closed defect (fixed)

Handling of single_channel_generator test

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

Description

This happens from time to time ... vamp test take ages without any particular reason. This again jeopardizes usability and reliability of our test suites.

Change History (6)

comment:1 Changed 12 years ago by Juergen Reuter

Actually sometimes, it is vamp_test, sometimes it is vamp_test0.... My suggestion is to switch off ALL vamp and Omega selftests at the moment, as they are ONLY generating noise!!!!!!

comment:2 Changed 12 years ago by Juergen Reuter

First survey on that, it seems that the sys time stays almost the same, while the real and user time can go up by a factor of 8 or so:

 real        user        sys
0m19.904s  0m19.676s   0m0.120s
0m18.549s  0m18.317s   0m0.135s
2m17.475s  2m16.828s   0m0.141s

And it is the vamp0 test which takes that long.

comment:3 Changed 12 years ago by Juergen Reuter

Next info: as the duration of the test ist driven by vamp_test0, the vamp_test0 duration is completely driven by the call to single_channel_generator.

comment:4 Changed 12 years ago by Juergen Reuter

It is the generation of the unweighted events in the single channel generator which takes that long. Let's discuss what we gonna change here....

comment:5 Changed 12 years ago by Juergen Reuter

Summary: vamp test stalledHandling of single_channel_generator test

The single_channel_generator test could for an unpleasant random seed take several minutes, as it is run in a do loop over 100 iterations in the unweighted mode. We could either do this only for very few iterations, leave the test out or run for a favourable random seed to be found where it is rather fast. Will resolve at the Wuerzburg meeting at latest.

comment:6 Changed 11 years ago by Juergen Reuter

Resolution: fixed
Status: newclosed

We are using a fixed seed now, having the option for changing the seed for testing. This is an acceptable seed, time-wise. Closing.

Note: See TracTickets for help on using tickets.