bugmake - Bugs: bug #63071, Race condition in .WAIT tests.

 
 

bug #63071: Race condition in .WAIT tests.

Submitter:  Dmitry Goncharov <dgoncharov>
Submitted:  Sat 17 Sep 2022 01:31:48 AM UTC
   
 
Severity:  3 - Normal Item Group:  Bug
Status:  Fixed Privacy:  Public
Assigned to:  None Open/Closed:  Closed
Component Version:  4.4 Operating System:  Any
Fixed Release:  4.4 Triage Status:  Small Effort
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 20 Sep 2022 01:01:58 PM UTC, comment #2: 

Fixed; thanks Dmitry.

Paul D. Smith <psmith>
Group administrator
Sat 17 Sep 2022 01:33:10 AM UTC, comment #1: 

Test 11 of targets/WAIT fails due to a race.


$ cat tests/work/targets/WAIT.diff.11
*** work/targets/WAIT.base.11   Wed Sep 14 18:37:08 2022
--- work/targets/WAIT.log.11    Wed Sep 14 18:37:08 2022
***************
*** 1,5 ****
- start-pre1
  pre2
  end-pre1
  start-npre1
  end-npre1
--- 1,5 ----
  pre2
+ start-pre1
  end-pre1
  start-npre1
  end-npre1


This happens, because the test does not impose any orderdering between pre1 and pre2.


Test 7 fails similarly

$ cat tests/work/targets/WAIT.diff.7
*** work/targets/WAIT.base.7    Fri Sep 16 18:53:12 2022
--- work/targets/WAIT.log.7     Fri Sep 16 18:53:12 2022
***************
*** 1,3 ****
- start-pre1
  pre2
  end-pre1
--- 1,3 ----
  pre2
+ start-pre1
  end-pre1


Dmitry Goncharov <dgoncharov>
Sat 17 Sep 2022 01:31:48 AM UTC, original submission:  

.

Dmitry Goncharov <dgoncharov>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #53706:  sv63071_fix.diff added by dgoncharov (2KiB - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by psmith (Posted a comment)
  • -email is unavailable- added by dgoncharov (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 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-09-20 psmith StatusNone Fixed
        Open/ClosedOpen Closed
        Fixed ReleaseNone 4.4
        Triage StatusNone Small Effort
    2022-09-17 dgoncharov Attached File- Added sv63071_fix.diff, #53706

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code