Megatest

View Ticket
Login
Ticket Hash: b535d2274fcc6fdb4183b9045734954ac606e344
Title: items not applied across multiple waitons
Status: Open Type: Code_Defect
Severity: Severe Priority: Immediate
Subsystem: Resolution: Open
Last Modified: 2015-09-08 09:28:49
Version Found In: 1.6023
Description:
With multiple waiton dependencies, the items are applied only to the last waiton dep.
User Comments:
tyardeni added on 2015-09-08 15:28:49: (text/x-fossil-wiki)
I have the following sequence of tests, all configured with items: item.0 item.1

<verbatim>
test0 
test1
test2
test3
test4
test4a
seq4
</verbatim>

Each has the following requirements:

<verbatim>
[requirements]
mode itemwait
waiton test[n-1]
</verbatim

Except for seq4 which has the following requirements:

<verbatim>
[requirements]
mode itemwait
waiton test4 test4a
</verbatim>

And test4a depends on test3.

If I run with testpatt: seq4/item.1

I expect to see the following run:

<verbatim>
test0/item.1 
test1/item.1
test2/item.1
test3/item.1
test4/item.1
test4a/item.1
seq4/item.1
</verbatim>

Instead I see:

<verbatim>
test0/item.1 
test0/item.0
test1/item.1 
test1/item.0
test2/item.1 
test2/item.0
test3/item.1 
test3/item.0
test4/item.1 
test4/item.0
test4a/item.1
seq4/item.1
</verbatim>

There is a test in megatest_qa (chained-waiton) that catches this condition.