core, editoast, python: stop train on next signal instead of OP #18342
build.yml
on: pull_request
Matrix: Build
Check dockerfiles
10s
Check scripts
6s
Check generated railjson sync
19s
Check railjson generator
1m 52s
Check commits
12s
Check final newline
11s
Check integration tests
1m 24s
Check osrd schema
39s
Check toml
8s
Check infra schema sync
18s
Check reuse compliance
12s
Check front rtk sync
1m 24s
Check core
4m 12s
Check editoast tests
6m 28s
Check editoast lints
9m 12s
Check editoast openapi
53s
Check gateway
3m 38s
Check osrdyne
3m 36s
Check front
3m 20s
Integration tests
1m 21s
End to end tests
1h 0m
Annotations
15 errors, 5 warnings, and 1 notice
Integration tests
Process completed with exit code 1.
|
Check front rtk sync
Process completed with exit code 1.
|
PathfindingV2Test.stopAtNextSignalTest():
core/src/test/kotlin/fr/sncf/osrd/pathfinding/PathfindingV2Test.kt#L401
org.opentest4j.AssertionFailedError: expected: <26517.500m> but was: <26517.490m>
|
Check core
Process completed with exit code 1.
|
Check editoast tests
Process completed with exit code 101.
|
[chromium] › 005-operational-studies.spec.ts:43:7 › Verify simulation configuration in operational studies › Pathfinding with rolling stock and composition code:
tests/pages/common-page-model.ts#L36
1) [chromium] › 005-operational-studies.spec.ts:43:7 › Verify simulation configuration in operational studies › Pathfinding with rolling stock and composition code
Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected)
Locator: getByTestId('toast-SNCF').getByTestId('toast-SNCF-title').last()
Expected string: "Train ajouté"
Received string: "error"
Call log:
- expect.toHaveText with timeout 10000ms
- waiting for getByTestId('toast-SNCF').getByTestId('toast-SNCF-title').last()
- locator resolved to <strong class="mr-auto ml-1" data-testid="toast-SNCF-tit…>error</strong>
- unexpected value "error"
- locator resolved to <strong class="mr-auto ml-1" data-testid="toast-SNCF-tit…>error</strong>
- unexpected value "error"
- locator resolved to <strong class="mr-auto ml-1" data-testid="toast-SNCF-tit…>error</strong>
- unexpected value "error"
- locator resolved to <strong class="mr-auto ml-1" data-testid="toast-SNCF-tit…>error</strong>
- unexpected value "error"
- locator resolved to <strong class="mr-auto ml-1" data-testid="toast-SNCF-tit…>error</strong>
- unexpected value "error"
- locator resolved to <strong class="mr-auto ml-1" data-testid="toast-SNCF-tit…>error</strong>
- unexpected value "error"
- locator resolved to <strong class="mr-auto ml-1" data-testid="toast-SNCF-tit…>error</strong>
- unexpected value "error"
- locator resolved to <strong class="mr-auto ml-1" data-testid="toast-SNCF-tit…>error</strong>
- unexpected value "error"
- locator resolved to <strong class="mr-auto ml-1" data-testid="toast-SNCF-tit…>error</strong>
- unexpected value "error"
at pages/common-page-model.ts:36
34 | // Verify the text of the last toast notification title
35 | async checkLastToastTitle(expectedText: string | RegExp): Promise<void> {
> 36 | await expect(this.toastTitle.last()).toHaveText(expectedText);
| ^
37 | }
38 |
39 | async removeViteOverlay() {
at OperationalStudiesPage.checkLastToastTitle (/app/front/tests/pages/common-page-model.ts:36:42)
at OperationalStudiesPage.checkTrainHasBeenAdded (/app/front/tests/pages/operational-studies-page-model.ts:102:16)
at /app/front/tests/005-operational-studies.spec.ts:106:34
|
[chromium] › 005-operational-studies.spec.ts:43:7 › Verify simulation configuration in operational studies › Pathfinding with rolling stock and composition code:
tests/pages/common-page-model.ts#L36
1) [chromium] › 005-operational-studies.spec.ts:43:7 › Verify simulation configuration in operational studies › Pathfinding with rolling stock and composition code
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected)
Locator: getByTestId('toast-SNCF').getByTestId('toast-SNCF-title').last()
Expected string: "Train ajouté"
Received string: "error"
Call log:
- expect.toHaveText with timeout 10000ms
- waiting for getByTestId('toast-SNCF').getByTestId('toast-SNCF-title').last()
- locator resolved to <strong class="mr-auto ml-1" data-testid="toast-SNCF-tit…>error</strong>
- unexpected value "error"
- locator resolved to <strong class="mr-auto ml-1" data-testid="toast-SNCF-tit…>error</strong>
- unexpected value "error"
- locator resolved to <strong class="mr-auto ml-1" data-testid="toast-SNCF-tit…>error</strong>
- unexpected value "error"
- locator resolved to <strong class="mr-auto ml-1" data-testid="toast-SNCF-tit…>error</strong>
- unexpected value "error"
- locator resolved to <strong class="mr-auto ml-1" data-testid="toast-SNCF-tit…>error</strong>
- unexpected value "error"
- locator resolved to <strong class="mr-auto ml-1" data-testid="toast-SNCF-tit…>error</strong>
- unexpected value "error"
- locator resolved to <strong class="mr-auto ml-1" data-testid="toast-SNCF-tit…>error</strong>
- unexpected value "error"
- locator resolved to <strong class="mr-auto ml-1" data-testid="toast-SNCF-tit…>error</strong>
- unexpected value "error"
- locator resolved to <strong class="mr-auto ml-1" data-testid="toast-SNCF-tit…>error</strong>
- unexpected value "error"
at pages/common-page-model.ts:36
34 | // Verify the text of the last toast notification title
35 | async checkLastToastTitle(expectedText: string | RegExp): Promise<void> {
> 36 | await expect(this.toastTitle.last()).toHaveText(expectedText);
| ^
37 | }
38 |
39 | async removeViteOverlay() {
at OperationalStudiesPage.checkLastToastTitle (/app/front/tests/pages/common-page-model.ts:36:42)
at OperationalStudiesPage.checkTrainHasBeenAdded (/app/front/tests/pages/operational-studies-page-model.ts:102:16)
at /app/front/tests/005-operational-studies.spec.ts:106:34
|
[chromium] › 005-operational-studies.spec.ts:43:7 › Verify simulation configuration in operational studies › Pathfinding with rolling stock and composition code:
tests/pages/common-page-model.ts#L36
1) [chromium] › 005-operational-studies.spec.ts:43:7 › Verify simulation configuration in operational studies › Pathfinding with rolling stock and composition code
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected)
Locator: getByTestId('toast-SNCF').getByTestId('toast-SNCF-title').last()
Expected string: "Train ajouté"
Received string: "error"
Call log:
- expect.toHaveText with timeout 10000ms
- waiting for getByTestId('toast-SNCF').getByTestId('toast-SNCF-title').last()
- locator resolved to <strong class="mr-auto ml-1" data-testid="toast-SNCF-tit…>error</strong>
- unexpected value "error"
- locator resolved to <strong class="mr-auto ml-1" data-testid="toast-SNCF-tit…>error</strong>
- unexpected value "error"
- locator resolved to <strong class="mr-auto ml-1" data-testid="toast-SNCF-tit…>error</strong>
- unexpected value "error"
- locator resolved to <strong class="mr-auto ml-1" data-testid="toast-SNCF-tit…>error</strong>
- unexpected value "error"
- locator resolved to <strong class="mr-auto ml-1" data-testid="toast-SNCF-tit…>error</strong>
- unexpected value "error"
- locator resolved to <strong class="mr-auto ml-1" data-testid="toast-SNCF-tit…>error</strong>
- unexpected value "error"
- locator resolved to <strong class="mr-auto ml-1" data-testid="toast-SNCF-tit…>error</strong>
- unexpected value "error"
- locator resolved to <strong class="mr-auto ml-1" data-testid="toast-SNCF-tit…>error</strong>
- unexpected value "error"
- locator resolved to <strong class="mr-auto ml-1" data-testid="toast-SNCF-tit…>error</strong>
- unexpected value "error"
at pages/common-page-model.ts:36
34 | // Verify the text of the last toast notification title
35 | async checkLastToastTitle(expectedText: string | RegExp): Promise<void> {
> 36 | await expect(this.toastTitle.last()).toHaveText(expectedText);
| ^
37 | }
38 |
39 | async removeViteOverlay() {
at OperationalStudiesPage.checkLastToastTitle (/app/front/tests/pages/common-page-model.ts:36:42)
at OperationalStudiesPage.checkTrainHasBeenAdded (/app/front/tests/pages/operational-studies-page-model.ts:102:16)
at /app/front/tests/005-operational-studies.spec.ts:106:34
|
[chromium] › 006-stdcm.spec.ts:66:7 › Verify stdcm simulation page › Verify empty STDCM page:
tests/pages/stdcm-page-model.ts#L311
2) [chromium] › 006-stdcm.spec.ts:66:7 › Verify stdcm simulation page › Verify empty STDCM page ──
Error: Timed out 10000ms waiting for expect(locator).toBeVisible()
Locator: locator('.stdcm-consist-container .stdcm-card')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 10000ms
- waiting for locator('.stdcm-consist-container .stdcm-card')
at pages/stdcm-page-model.ts:311
309 | ];
310 | for (const element of elements) {
> 311 | await expect(element).toBeVisible();
| ^
312 | }
313 | }
314 |
at STDCMPage.verifyStdcmElementsVisibility (/app/front/tests/pages/stdcm-page-model.ts:311:29)
at /app/front/tests/006-stdcm.spec.ts:69:5
|
[chromium] › 006-stdcm.spec.ts:66:7 › Verify stdcm simulation page › Verify empty STDCM page:
tests/pages/stdcm-page-model.ts#L311
2) [chromium] › 006-stdcm.spec.ts:66:7 › Verify stdcm simulation page › Verify empty STDCM page ──
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 10000ms waiting for expect(locator).toBeVisible()
Locator: locator('.stdcm-consist-container .stdcm-card')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 10000ms
- waiting for locator('.stdcm-consist-container .stdcm-card')
at pages/stdcm-page-model.ts:311
309 | ];
310 | for (const element of elements) {
> 311 | await expect(element).toBeVisible();
| ^
312 | }
313 | }
314 |
at STDCMPage.verifyStdcmElementsVisibility (/app/front/tests/pages/stdcm-page-model.ts:311:29)
at /app/front/tests/006-stdcm.spec.ts:69:5
|
[chromium] › 006-stdcm.spec.ts:66:7 › Verify stdcm simulation page › Verify empty STDCM page:
tests/pages/stdcm-page-model.ts#L311
2) [chromium] › 006-stdcm.spec.ts:66:7 › Verify stdcm simulation page › Verify empty STDCM page ──
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 10000ms waiting for expect(locator).toBeVisible()
Locator: locator('.stdcm-consist-container .stdcm-card')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 10000ms
- waiting for locator('.stdcm-consist-container .stdcm-card')
at pages/stdcm-page-model.ts:311
309 | ];
310 | for (const element of elements) {
> 311 | await expect(element).toBeVisible();
| ^
312 | }
313 | }
314 |
at STDCMPage.verifyStdcmElementsVisibility (/app/front/tests/pages/stdcm-page-model.ts:311:29)
at /app/front/tests/006-stdcm.spec.ts:69:5
|
[chromium] › 006-stdcm.spec.ts:75:7 › Verify stdcm simulation page › Launch STDCM simulation with all stops:
tests/006-stdcm.spec.ts#L1
3) [chromium] › 006-stdcm.spec.ts:75:7 › Verify stdcm simulation page › Launch STDCM simulation with all stops
Test timeout of 270000ms exceeded.
|
[chromium] › 006-stdcm.spec.ts:75:7 › Verify stdcm simulation page › Launch STDCM simulation with all stops:
tests/006-stdcm.spec.ts#L1
3) [chromium] › 006-stdcm.spec.ts:75:7 › Verify stdcm simulation page › Launch STDCM simulation with all stops
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 270000ms exceeded.
|
[chromium] › 006-stdcm.spec.ts:75:7 › Verify stdcm simulation page › Launch STDCM simulation with all stops:
tests/pages/stdcm-page-model.ts#L375
3) [chromium] › 006-stdcm.spec.ts:75:7 › Verify stdcm simulation page › Launch STDCM simulation with all stops
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.fill: Test timeout of 270000ms exceeded.
Call log:
- waiting for locator('#tractionEngine')
at pages/stdcm-page-model.ts:375
373 | if (!selectedValue) return;
374 |
> 375 | await dropdownField.fill(selectedValue);
| ^
376 | await dropdownField.press('ArrowDown');
377 | await dropdownField.press('Enter');
378 | await dropdownField.dispatchEvent('blur');
at handleAndVerifyDropdown (/app/front/tests/pages/stdcm-page-model.ts:375:27)
at STDCMPage.fillAndVerifyConsistDetails (/app/front/tests/pages/stdcm-page-model.ts:411:11)
at /app/front/tests/006-stdcm.spec.ts:79:21
|
[chromium] › 006-stdcm.spec.ts:75:7 › Verify stdcm simulation page › Launch STDCM simulation with all stops:
tests/006-stdcm.spec.ts#L1
3) [chromium] › 006-stdcm.spec.ts:75:7 › Verify stdcm simulation page › Launch STDCM simulation with all stops
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 270000ms exceeded.
|
Check core
No files were found for the provided path: ./output/reports/spotbugs/*.xml. No results will be uploaded.
|
Slow Test:
[firefox] › 009-rollingstock-editor.spec.ts#L1
[firefox] › 009-rollingstock-editor.spec.ts took 32.2s
|
Slow Test:
[chromium] › 009-rollingstock-editor.spec.ts#L1
[chromium] › 009-rollingstock-editor.spec.ts took 28.9s
|
Slow Test:
[firefox] › 010-op-route-tab.spec.ts#L1
[firefox] › 010-op-route-tab.spec.ts took 16.7s
|
Slow Test:
[chromium] › 007-op-rollingstock-tab.spec.ts#L1
[chromium] › 007-op-rollingstock-tab.spec.ts took 16.0s
|
🎭 Playwright Run Summary
24 failed
[chromium] › 005-operational-studies.spec.ts:43:7 › Verify simulation configuration in operational studies › Pathfinding with rolling stock and composition code
[chromium] › 006-stdcm.spec.ts:66:7 › Verify stdcm simulation page › Verify empty STDCM page ───
[chromium] › 006-stdcm.spec.ts:75:7 › Verify stdcm simulation page › Launch STDCM simulation with all stops
[chromium] › 006-stdcm.spec.ts:102:7 › Verify stdcm simulation page › Launch simulation with and without capacity for towed rolling stock
[chromium] › 008-train-schedule.spec.ts:49:7 › Verify train schedule elements and filters › Loading trains and verifying simulation result
[chromium] › 008-train-schedule.spec.ts:61:7 › Verify train schedule elements and filters › Filtering imported trains
[chromium] › 011-op-times-and-stops-tab.spec.ts:115:7 › Times and Stops Tab Verification › should correctly set and display times and stops tables
[chromium] › 012-op-simulation-settings-tab.spec.ts:134:7 › Simulation Settings Tab Verification › Activate electrical profiles
[chromium] › 012-op-simulation-settings-tab.spec.ts:215:7 › Simulation Settings Tab Verification › Activate composition code
[chromium] › 012-op-simulation-settings-tab.spec.ts:295:7 › Simulation Settings Tab Verification › Activate linear and mareco margin
[chromium] › 012-op-simulation-settings-tab.spec.ts:384:7 › Simulation Settings Tab Verification › Add all the simulation settings
[chromium] › 013-stdcm-simulation-sheet.spec.ts:60:7 › Verify stdcm simulation page › Verify STDCM stops and simulation sheet
[firefox] › 005-operational-studies.spec.ts:43:7 › Verify simulation configuration in operational studies › Pathfinding with rolling stock and composition code
[firefox] › 006-stdcm.spec.ts:66:7 › Verify stdcm simulation page › Verify empty STDCM page ────
[firefox] › 006-stdcm.spec.ts:75:7 › Verify stdcm simulation page › Launch STDCM simulation with all stops
[firefox] › 006-stdcm.spec.ts:102:7 › Verify stdcm simulation page › Launch simulation with and without capacity for towed rolling stock
[firefox] › 008-train-schedule.spec.ts:49:7 › Verify train schedule elements and filters › Loading trains and verifying simulation result
[firefox] › 008-train-schedule.spec.ts:61:7 › Verify train schedule elements and filters › Filtering imported trains
[firefox] › 011-op-times-and-stops-tab.spec.ts:115:7 › Times and Stops Tab Verification › should correctly set and display times and stops tables
[firefox] › 012-op-simulation-settings-tab.spec.ts:134:7 › Simulation Settings Tab Verification › Activate electrical profiles
[firefox] › 012-op-simulation-settings-tab.spec.ts:215:7 › Simulation Settings Tab Verification › Activate composition code
[firefox] › 012-op-simulation-settings-tab.spec.ts:295:7 › Simulation Settings Tab Verification › Activate linear and mareco margin
[firefox] › 012-op-simulation-settings-tab.spec.ts:384:7 › Simulation Settings Tab Verification › Add all the simulation settings
[firefox] › 013-stdcm-simulation-sheet.spec.ts:60:7 › Verify stdcm simulation page › Verify STDCM stops and simulation sheet
2 skipped
52 passed (58.7m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
e2e-container-logs
|
367 KB |
|
integration-container-logs
|
26.6 KB |
|
integration-videos
|
110 MB |
|