Bug#1026330: sundials: autopkgtest regression: output on stderr

Paul Gevers elbrus at debian.org
Sun Dec 18 17:08:06 GMT 2022


Source: sundials
Version: 6.4.1+dfsg1-1
Severity: serious
User: debian-ci at lists.debian.org
Usertags: regression

Dear maintainer(s),

With a recent upload of sundials the autopkgtest of sundials fails in 
testing when that autopkgtest is run with the binary packages of 
sundials from unstable. It passes when run with only packages from 
testing. In tabular form:

                        pass            fail
sundials               from testing    6.4.1+dfsg1-1
all others             from testing    from testing

I copied some of the output at the bottom of this report. The test of 
you package itself passes, but it does print output on stderr. By 
default, without the allow-stderr restriction, autopkgtest treats output 
on stderr as failure.

Currently this regression is blocking the migration to testing [1]. Can 
you please investigate the situation and fix it?

More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[1] https://qa.debian.org/excuses.php?package=sundials

https://ci.debian.net/data/autopkgtest/testing/amd64/s/sundials/29469892/log.gz

../src/ark_heat2D.cpp: In function ‘int main(int, char**)’:
../src/ark_heat2D.cpp:276:40: warning: ‘int 
SUNLinSolSetPrintLevel_PCG(SUNLinearSolver, int)’ is deprecated: Use 
SUNLogger interface instead [-Wdeprecated-declarations]
   276 |       flag = SUNLinSolSetPrintLevel_PCG(LS, 1);
       |              ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
In file included from ../src/ark_heat2D.cpp:58:
/usr/include/sunlinsol/sunlinsol_pcg.h:112:5: note: declared here
   112 | int SUNLinSolSetPrintLevel_PCG(SUNLinearSolver LS, int 
print_level);
       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~
../src/ark_heat2D.cpp:279:38: warning: ‘int 
SUNLinSolSetInfoFile_PCG(SUNLinearSolver, FILE*)’ is deprecated: Use 
SUNLogger_SetInfoFilename instead [-Wdeprecated-declarations]
   279 |       flag = SUNLinSolSetInfoFile_PCG(LS, diagfp);
       |              ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
/usr/include/sunlinsol/sunlinsol_pcg.h:109:5: note: declared here
   109 | int SUNLinSolSetInfoFile_PCG(SUNLinearSolver LS,
       |     ^~~~~~~~~~~~~~~~~~~~~~~~
../src/ark_heat2D.cpp:290:42: warning: ‘int 
SUNLinSolSetPrintLevel_SPGMR(SUNLinearSolver, int)’ is deprecated: Use 
SUNLogger interface instead [-Wdeprecated-declarations]
   290 |       flag = SUNLinSolSetPrintLevel_SPGMR(LS, 1);
       |              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
In file included from ../src/ark_heat2D.cpp:59:
/usr/include/sunlinsol/sunlinsol_spgmr.h:128:5: note: declared here
   128 | int SUNLinSolSetPrintLevel_SPGMR(SUNLinearSolver LS, int 
print_level);
       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/ark_heat2D.cpp:293:40: warning: ‘int 
SUNLinSolSetInfoFile_SPGMR(SUNLinearSolver, FILE*)’ is deprecated: Use 
SUNLogger_SetInfoFilename instead [-Wdeprecated-declarations]
   293 |       flag = SUNLinSolSetInfoFile_SPGMR(LS, diagfp);
       |              ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
/usr/include/sunlinsol/sunlinsol_spgmr.h:125:5: note: declared here
   125 | int SUNLinSolSetInfoFile_SPGMR(SUNLinearSolver LS,
       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~
../src/ark_heat2D.cpp:397:33: warning: ‘int ARKStepSetDiagnostics(void*, 
FILE*)’ is deprecated: use SUNDIALS_LOGGER instead 
[-Wdeprecated-declarations]
   397 |     flag = ARKStepSetDiagnostics(arkode_mem, diagfp);
       |            ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
In file included from ../src/ark_heat2D.cpp:56:
/usr/include/arkode/arkode_arkstep.h:260:5: note: declared here
   260 | int ARKStepSetDiagnostics(void *arkode_mem, FILE *diagfp);
       |     ^~~~~~~~~~~~~~~~~~~~~
build: OK

Analytical ODE test problem:
     lamda = -100
    reltol = 1e-06
    abstol = 1e-10

       t        y0        y1        y2
    --------------------------------------
     0.0050   0.70328   0.70627   0.41005
     0.0100   0.52267   0.52865   0.05232
     0.0150   0.41249   0.42145  -0.16456
     0.0200   0.34504   0.35697  -0.29600
     0.0250   0.30350   0.31838  -0.37562
     0.0300   0.27767   0.29551  -0.42382
     0.0350   0.26138   0.28216  -0.45296
     0.0400   0.25088   0.27460  -0.47053
     0.0450   0.24389   0.27053  -0.48109
     0.0500   0.23903   0.26858  -0.48740
    --------------------------------------

Final Solver Statistics:
    Internal solver steps = 67 (attempted = 69)
    Total RHS evals:  Fe = 0,  Fi = 693
    Total linear solver setups = 22
    Total RHS evals for setting up the linear system = 0
    Total number of Jacobian evaluations = 3
    Total number of Newton iterations = 345
    Total number of linear solver convergence failures = 0
    Total number of error test failures = 2

run: demo1 OK

2D Heat PDE test problem:
  ---------------------------------   kx             = 1
   ky             = 1
   forcing        = 1
   tf             = 1
   xu             = 1
   yu             = 1
   nx             = 32
   ny             = 32
   dx             = 0.0322581
   dy             = 0.0322581
  ---------------------------------   rtol           = 1e-05
   atol           = 1e-10
   order          = 3
   fixed h        = 0
   controller     = 0
   linear         = 1
  ---------------------------------   linear solver  = PCG
   lin iters      = 20
   eps lin        = 0
   prec           = 1
   msbp           = 0
  ---------------------------------   output         = 1
  ---------------------------------
           t                     ||u||_rms                max error 
  -----------------------------------------------------------------------
  0.000000000000000e+00    3.632812500000000e-01    0.000000000000000e+00
  5.000000000000000e-02    3.551986506970737e-01    2.454708334354683e-03
  1.000000000000000e-01    3.296221524496879e-01    2.894333980192343e-03
  1.500000000000000e-01    2.894444182004682e-01    2.832987149069655e-03
  2.000000000000000e-01    2.387098264599945e-01    2.521582136275402e-03
  2.500000000000000e-01    1.824252212041233e-01    2.077346466104524e-03
  3.000000000000000e-01    1.261157381228246e-01    1.577424243514536e-03
  3.500000000000000e-01    7.529904383258686e-02    1.082876471873273e-03
  4.000000000000000e-01    3.495155704793696e-02    6.467376069967667e-04
  4.500000000000000e-01    9.023496207786188e-03    3.131517056738711e-04
  4.999999999999999e-01    5.514768391619671e-05    1.155727387907813e-04
  5.499999999999999e-01    8.918881720564088e-03    7.366564731561831e-05
  6.000000000000000e-01    3.475273617053191e-02    1.914246851503348e-04
  6.500000000000000e-01    7.502601774374533e-02    4.575552130483274e-04
  7.000000000000001e-01    1.257965539449037e-01    8.461498813513435e-04
  7.500000000000001e-01    1.820943737902987e-01    1.318651402538229e-03
  8.000000000000002e-01    2.384088803800669e-01    1.829399134076426e-03
  8.500000000000002e-01    2.892274058812140e-01    2.327831473091457e-03
  9.000000000000002e-01    3.295756067639357e-01    2.765498882389861e-03
  9.500000000000003e-01    3.555039042377847e-01    3.099574826796681e-03
  1.000000000000000e+00    3.644741575642154e-01    3.296971618989897e-03
  -----------------------------------------------------------------------

Final integrator statistics:
   Steps            = 197
   Step attempts    = 212
   Error test fails = 15
   RHS evals        = 1487
   NLS iters        = 636
   NLS fails        = 0
   LS iters         = 12318
   LS fails         = 584
   LS setups        = 62
   LS RHS evals     = 12318
   Jv products      = 12318

   Avg NLS iters per step attempt = 3.000000
   Avg LS iters per NLS iter      = 19.367925

   Preconditioner setups = 17
   Preconditioner solves = 12318

   Max error = 3.296971618989897e-03
run: demo2 OK
autopkgtest [13:15:20]: test arkode

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20221218/99284e81/attachment.sig>


More information about the debian-science-maintainers mailing list