[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #53242] tests: 'test subspace.m' fails randoml
From: |
Mike Miller |
Subject: |
[Octave-bug-tracker] [bug #53242] tests: 'test subspace.m' fails randomly |
Date: |
Thu, 1 Mar 2018 14:28:44 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:58.0) Gecko/20100101 Firefox/58.0 |
Update of bug #53242 (project octave):
Status: Confirmed => In Progress
_______________________________________________________
Follow-up Comment #12:
RE: comment #10 - If you look at several of the buildbot log files on that
system, you will see that the subspace.m test is failing on the exact same
value each time. Doesn't that suggest that maybe a prior test is resetting the
random number generator to a particular fixed state (several tests do) and not
resetting it to its original state? So I don't think the test is failing on
that system because of the build configuration necessarily. But maybe exposing
a logic bug in a separate unit test that is invalidating the randomness of all
following tests.
For example, I see that scripts/sparse/eigs.m sets the random state but does
not restore it. That should be fixed. But that can't be the culprit because it
is tested after scripts/linear-algebra/subspace.m.
RE: comment #4 - Yes, Dan's test rewrite fixes the error for me, running
locally on a fully built Octave with 1000 iterations of the test. It also
drastically increases the test elapsed time from an average of about 4.5 ms to
about 36.5 ms.
Dan - can you look at vectorizing the loops in your proposed test rewrite?
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?53242>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #53242] tests: 'test subspace.m' fails randomly, Michael Leitner, 2018/03/01
- [Octave-bug-tracker] [bug #53242] tests: 'test subspace.m' fails randomly, Dan Sebald, 2018/03/01
- [Octave-bug-tracker] [bug #53242] tests: 'test subspace.m' fails randomly, Michael Leitner, 2018/03/01
- [Octave-bug-tracker] [bug #53242] tests: 'test subspace.m' fails randomly, John W. Eaton, 2018/03/01
- [Octave-bug-tracker] [bug #53242] tests: 'test subspace.m' fails randomly, John W. Eaton, 2018/03/01
- [Octave-bug-tracker] [bug #53242] tests: 'test subspace.m' fails randomly,
Mike Miller <=
- [Octave-bug-tracker] [bug #53242] tests: 'test subspace.m' fails randomly, Dan Sebald, 2018/03/01
- [Octave-bug-tracker] [bug #53242] tests: 'test subspace.m' fails randomly, Mike Miller, 2018/03/01
- [Octave-bug-tracker] [bug #53242] tests: 'test subspace.m' fails randomly, Mike Miller, 2018/03/01
- [Octave-bug-tracker] [bug #53242] tests: 'test subspace.m' fails randomly, Dan Sebald, 2018/03/01
- [Octave-bug-tracker] [bug #53242] tests: 'test subspace.m' fails randomly, Dan Sebald, 2018/03/01
- [Octave-bug-tracker] [bug #53242] tests: 'test subspace.m' fails randomly, Dan Sebald, 2018/03/01
- [Octave-bug-tracker] [bug #53242] tests: 'test subspace.m' fails randomly, Rik, 2018/03/05
- [Octave-bug-tracker] [bug #53242] tests: 'test subspace.m' fails randomly, Dan Sebald, 2018/03/05
- [Octave-bug-tracker] [bug #53242] tests: 'test subspace.m' fails randomly, Rik, 2018/03/06