octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #60357] Failing tests on Windows


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #60357] Failing tests on Windows
Date: Wed, 7 Apr 2021 15:41:40 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.114 Safari/537.36 Edg/89.0.774.68

URL:
  <https://savannah.gnu.org/bugs/?60357>

                 Summary: Failing tests on Windows
                 Project: GNU Octave
            Submitted by: mmuetzel
            Submitted on: Wed 07 Apr 2021 09:41:38 PM CEST
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
                 Release: dev
         Discussion Lock: Any
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

Since roughly one day ago some BISTs are failing on Windows for me:

>>>>> processing D:\SVN\Octave\test\octave-2021-04-07-19-01-w64
non-ASCII\octave-2021-04-07-19-01-w64\mingw64\share\octave\7.0.0\etc\tests\libinterp\corefcn\qz.cc-tst
***** test
 a = [ 10  1  2;
        1  2 -1;
        1  1  2];
 b = reshape (1:9,3,3);
 [aa, bb, q, z, v, w, lambda] = qz (a, b);
 sz = length (lambda);
 observed = (b * v * diag ([lambda;0])) (:, 1:sz);
 assert ((a*v)(:, 1:sz), observed, norm (observed) * 1e-14);
 observed = (diag ([lambda;0]) * w' * b) (1:sz, :);
 assert ((w'*a)(1:sz, :) , observed, norm (observed) * 1e-13);
 assert (q * a * z, aa, norm (aa) * 1e-14);
 assert (q * b * z, bb, norm (bb) * 1e-14);
!!!!! test failed
operator *: nonconformant arguments (op1 is 3x3, op2 is 4x4)
shared variables   scalar structure containing the fields:

    a =

       1   2
       0   3

    b =

       1   0
       0   0

    c =

       0   1
       0   0


>>>>> processing D:\SVN\Octave\test\octave-2021-04-07-19-01-w64
non-ASCII\octave-2021-04-07-19-01-w64\mingw64\share\octave\7.0.0\m\miscellaneous\zip.m
***** test
 ## test zip together with unzip
 unwind_protect
   filename = tempname ();
   tmp_var  = pi;
   save (filename, "tmp_var");
   dirname = tempname ();
   mkdir (dirname);
   zipfile = tempname ();
   [~, basename, ext] = fileparts (filename);
   filelist = zip (zipfile, [basename ext], tempdir);
   filelist = filelist{1};
   if (! strcmp (filelist, [basename ext]))
     error ("zip archive does not contain expected name!");
   endif
   if (! exist ([zipfile ".zip"], "file"))
     error ("zip file cannot be found!");
   endif
   unzip ([zipfile ".zip"], dirname);
   fid = fopen (filename, "rb");
   assert (fid >= 0);
   orig_data = fread (fid);
   fclose (fid);
   fid = fopen ([dirname filesep basename ext], "rb");
   assert (fid >= 0);
   new_data = fread (fid);
   fclose (fid);
   if (orig_data != new_data)
     error ("unzipped file not equal to original file!");
   endif
 unwind_protect_cleanup
   sts = unlink (filename);
   sts = unlink ([dirname, filesep, basename, ext]);
   sts = unlink (zipfile);
   sts = unlink ([zipfile ".zip"]);
   sts = rmdir (dirname);
 end_unwind_protect
!!!!! test failed
zip: zip failed with exit status = 15


The two tests don't look related. But they started failing with the same
build. (That might be incidental.)

I was building with local changes that are stripped now. So, I can only give a
rough range.
Last good: build from 5th of April (MXE hg id 05703685a4a8, Octave hg id
unknown)
First bad: build from 6th of April

I built from the default MXE branch. IIRC, the update of lapack, lua and curl
falls into that range.
I don't remember which revisions my local changes in Octave were based on.

I did incremental builds. I'll check if the errors disappear with a clean
build.





    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?60357>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]