Skip to content

[Flake]: FAIL: test_get_acceptance_test_suites_from_acceptance_directory (scripts.check_tests_are_captured_in_ci_test.CheckTestsAreCapturedInCiTest) #20947

Closed
@mon4our

Description

CI Test Type

Backend

Stacktrace

======================================================================
FAIL: test_get_acceptance_test_suites_from_acceptance_directory (scripts.check_tests_are_captured_in_ci_test.CheckTestsAreCapturedInCiTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/runner/work/oppia/oppia/scripts/check_tests_are_captured_in_ci_test.py", line 271, in test_get_acceptance_test_suites_from_acceptance_directory
    self.assertEqual(
AssertionError: Lists differ: [{'name': 'test2/acceptance_suite2', 'module': 'acceptan[135 chars]ts'}] != [{'name': 'test/acceptance_suite1', 'module': 'acceptanc[135 chars]ts'}]

First differing element 0:
{'name': 'test2/acceptance_suite2', 'module': 'acceptan[37 chars].ts'}
{'name': 'test/acceptance_suite1', 'module': 'acceptanc[35 chars].ts'}

+ [{'module': 'acceptance/specs/test/acceptance_suite1.spec.ts',
+   'name': 'test/acceptance_suite1'},
- [{'module': 'acceptance/specs/test2/acceptance_suite2.spec.ts',
? ^

+  {'module': 'acceptance/specs/test2/acceptance_suite2.spec.ts',
? ^

-   'name': 'test2/acceptance_suite2'},
?                                     ^

+   'name': 'test2/acceptance_suite2'}]
?                                     ^

-  {'module': 'acceptance/specs/test/acceptance_suite1.spec.ts',
-   'name': 'test/acceptance_suite1'}]

---------------------------------------------------------------------
FAILED    scripts.check_tests_are_captured_in_ci_test: 0 errors, 1 failures

Additional Information

No response

Occurrences

Occurred on 6/9/24: https://github.com/oppia/oppia/actions/runs/10740153853/job/29787565645?pr=20544

Debugging document link

No response

Metadata

Assignees

Labels

CI breakageThis bug breaks CI workflows.bugLabel to indicate an issue is a regressiontriage needed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions