Test Result : Scenario: Stop job with multiple targets and Bundle Stop and Package Uninstall steps

2 failures , 10 skipped
38 tests
Took 3 ms.

All Tests

Test nameDurationStatus
And A bundle named org.eclipse.kura.linux.bluetooth with id 77 and version 1.0.300 is present and ACTIVE0 msPassed
And A bundle named org.eclipse.kura.linux.bluetooth with id 77 and version 1.0.300 is present and RESOLVED0 msSkipped
And Bundles are requested0 msPassed
And Devices are connected0 msPassed
And Devices status is "CONNECTED"0 msPassed
And I add targets to job0 msPassed
And I confirm job target has step index 1 and status "PROCESS_OK"0 msSkipped
And I confirm the executed job is finished0 msSkipped
And I confirm the step index is 0 and status is "PROCESS_AWAITING"1 msFailed
And I count 20 msPassed
And I create a job with the name "TestJob"0 msPassed
And I create a new step entities from the existing creator0 msPassed
And I create a regular step creator with the name "TestStep1" and properties0 msPassed
And I get the KuraMock devices0 msPassed
And I login as user with name "kapua-sys" and password "kapua-password"0 msPassed
And I logout0 msSkipped
And I search for step definition with the name0 msPassed
And I search for the job targets in database0 msPassed
And I search for the last job target in the database0 msPassed
And I search the database for created job steps and I find 20 msPassed
And I select account "kapua-sys"0 msPassed
And I start a job0 msSkipped
And I start a job0 msFixed
And I stop the job0 msPassed
And I wait 1 second0 msPassed
And I wait 10 seconds0 msSkipped
And I wait for 10 milliseconds for processes to settle down0 msPassed
And Packages are requested and 0 packages are received0 msSkipped
And Packages are requested and 1 package is received0 msPassed
And The type of the last event is "DEPLOY"0 msPassed
Given I add 2 devices to Kura Mock0 msPassed
Scenario: Stop job with multiple targets and Bundle Stop and Package Uninstall steps2 msFailed
Then I find 3 device events0 msPassed
Then KuraMock is disconnected0 msSkipped
Then No exception was thrown0 msPassed
When Bundles are requested0 msSkipped
When I query for the execution items for the current job and I count 2 or more0 msSkipped
When I search for events from device "device0" in account "kapua-sys"0 msPassed