Test Result : Scenario: Stop job with multiple Bundle Start and Package Install steps and one target

2 failures , 28 skipped
37 tests
Took 5 ms.

All Tests

Test nameDurationStatus
And Bundles are requested2 msFailed
And Device is connected0 msPassed
And Device status is "CONNECTED"0 msPassed
And I add target to job0 msSkipped
And I confirm job target has step index 2 and status "PROCESS_OK"0 msSkipped
And I confirm the executed job is finished0 msSkipped
And I confirm the step index is different than 2 and status is "PROCESS_AWAITING"0 msSkipped
And I count 10 msSkipped
And I create a job with the name "TestJob"0 msSkipped
And I create a new step entities from the existing creator0 msSkipped
And I create a regular step creator with the name "TestStep1" and properties0 msSkipped
And I get the KuraMock device0 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 msSkipped
And I search for the job targets in database0 msSkipped
And I search for the last job target in the database0 msSkipped
And I search the database for created job steps and I find 30 msSkipped
And I select account "kapua-sys"0 msPassed
And I start a job0 msSkipped
And I start a job0 msSkipped
And I stop the job0 msSkipped
And I wait 1 second0 msPassed
And I wait for 10 milliseconds for processes to settle down0 msSkipped
And Packages are requested and 1 package is received0 msSkipped
And Packages are requested and 2 packages are received0 msSkipped
And The type of the last event is "DEPLOY"0 msSkipped
Given I start the Kura Mock0 msPassed
Scenario: Stop job with multiple Bundle Start and Package Install steps and one target3 msFailed
Then A bundle named slf4j.api with id 34 and version 1.7.21 is present and ACTIVE0 msSkipped
Then A bundle named slf4j.api with id 34 and version 1.7.21 is present and RESOLVED0 msSkipped
Then I find 3 device events0 msSkipped
Then KuraMock is disconnected0 msSkipped
Then No exception was thrown0 msSkipped
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 "rpione3" in account "kapua-sys"0 msSkipped