Test Result : Scenario: Restarting job with valid Bundle Start and Bundle Stop steps and multiple devices two times

2 failures , 32 skipped
41 tests
Took 5 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 msSkipped
And A bundle named org.eclipse.kura.linux.bluetooth with id 77 and version 1.0.300 is present and RESOLVED0 msSkipped
And A regular step creator with the name "TestStep" and the following properties0 msSkipped
And A regular step creator with the name "TestStep2" and the following properties0 msSkipped
And Bundles are requested2 msFailed
And Bundles are requested0 msSkipped
And Devices are connected0 msPassed
And I add targets to job0 msSkipped
And I confirm job target has step index 1 and status "PROCESS_OK"0 msSkipped
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 executed job is finished0 msSkipped
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 restart a job0 msSkipped
And I search the database for created job steps and I find 20 msSkipped
And I select account "kapua-sys"0 msPassed
And I wait 1 second0 msSkipped
And I wait 1 second0 msPassed
And I wait 1 second0 msSkipped
And KuraMock is disconnected0 msSkipped
And Search for step definition with the name "Bundle Start"0 msSkipped
And Search for step definition with the name "Bundle Stop"0 msSkipped
And The type of the last event is "BUNDLE"0 msSkipped
Given I add 2 devices to Kura Mock0 msPassed
Given I create a job with the name "TestJob"0 msSkipped
Given I query for the job with the name "TestJob" and I find it0 msSkipped
Given I query for the job with the name "TestJob" and I find it0 msSkipped
Scenario: Restarting job with valid Bundle Start and Bundle Stop steps and multiple devices two times3 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 Devices status is "CONNECTED"0 msPassed
Then I restart a job0 msSkipped
Then No exception was thrown0 msSkipped
When I create a new step entity from the existing creator0 msSkipped
When I create a new step entity from the existing creator0 msSkipped
When I query for the execution items for the current job and I count 10 msSkipped
When I query for the execution items for the current job and I count 20 msSkipped
When I search events from devices in account "kapua-sys" and 2 events are found0 msSkipped
When I search events from devices in account "kapua-sys" and 4 or more events are found0 msSkipped