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

 
 

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

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

Add a New Comment (Rich Markup)
   

Comment Type & Canned Response:
       

 

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>
Project 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>
Project 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.

     

     

     

     

    No changes have been made to this item

    Back to the top


    Powered by Savane 3.9