bugPSPP - Bugs: bug #61785, Regression: Strange unstable...

 
 

bug #61785: Regression: Strange unstable behaviour of perl memory test on debian sid amd64 on buildbot

Submitter:  Friedrich Beckmann <beckmanf>
Submitted:  Mon 10 Jan 2022 09:50:52 AM UTC
   
 
Category:  Output Driver Severity:  3 - Ordinary
Status:  Fixed Assigned to:  None
Open/Closed:  Closed Release:  None
Effort:  0.00
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 19 Jun 2022 02:43:10 PM UTC, comment #2: 
Friedrich Beckmann <beckmanf>
Group Member
Mon 10 Jan 2022 05:55:06 PM UTC, comment #1: 

I don't know much about Perl behavior.  I try to keep the Perl tests passing, but it's a mystery to me, too.

I would guess that this fails due to some extra allocation that Perl does in some cases.  Maybe Perl has literally random behavior based on the clock (for example, to seed hash functions).

I don't know whether the memory test really makes sense.  It is very strict.

John probably knows more.

Ben Pfaff <blp>
Group administrator
Mon 10 Jan 2022 09:50:52 AM UTC, original submission:  

Hi Ben,

i noticed a strange behaviour in the regression with the perl module. I recently added the perl libmemory usage module to the debian sid regression in order to have more perl regression tests not being skipped. Now test 1512 fails but only sometimes

https://caeis.etech.fh-augsburg.de/buildbot/#/builders/6/builds/419


## ---------------------- ##
## Detailed failed tests. ##
## ---------------------- ##

#                             -*- compilation -*-
1512. perl-module.at:675: testing Perl Pspp.t ...
../../pspp/tests/perl-module.at:679: perl -MText::Diff -e '' || exit 77
../../pspp/tests/perl-module.at:681: perl -MMemory::Usage -e '' || exit 77
../../pspp/tests/perl-module.at:685: run_perl_module "$abs_top_builddir/perl-module/t/Pspp.t"
stderr:
#
# @@ -0,0 +1 @@
# +
# @@ -0,0 +1 @@
# +
# @@ -0,0 +1 @@
# +
# @@ -0,0 +1 @@
# +
# @@ -0,0 +1 @@
# +
#   Failed test 'Memory management of append_case'
#   at /home/pspp/build/perl-module/t/Pspp.t line 670.
# Looks like you failed 1 test of 38.
--- -        2022-01-10 03:28:27.515804362 +0000
+++ /home/pspp/build/tests/testsuite.dir/at-groups/1512/stdout        2022-01-10 03:28:27.509927156 +0000
@@ -37,5 +37,5 @@
 ok 35 - Missing Value Positive Num
 ok 36 - Custom Attributes
 ok 37 - Case count
-ok 38 - Memory management of append_case
+not ok 38 - Memory management of append_case

../../pspp/tests/perl-module.at:685: exit code was 1, expected 0
1512. perl-module.at:675: 1512. Perl Pspp.t (perl-module.at:675): FAILED (perl-module.at:685)


Build 406 and build 419 failed, but all the other builds succeeded. Debian sid does nightly builds:

https://caeis.etech.fh-augsburg.de/buildbot/#/console

Do you have any idea how a kind of race condition could happen in this particular test? This could also be a bug in the perl module as this runs in the debian unstable distribution. I have not included that perl module in opensuse so there this test is skipped and wincross does not run a regression.


Friedrich Beckmann <beckmanf>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by blp (Posted a comment)
  • -email is unavailable- added by beckmanf (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-06-19 beckmanf StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code