oppia: [CI Failure]: FileNotFoundError: [Errno 2] No such file or directory: '/home/runner/work/oppia/oppia/node_modules/.yarn-integrity'

CI Test Type

Backend

Which CI step failed?

backend test shard 5

Stacktrace

======================================================================
FAIL: test_incomplete_overall_backend_coverage_throws_error (scripts.run_backend_tests_test.RunBackendTestsTests)
----------------------------------------------------------------------
FileNotFoundError: [Errno 2] No such file or directory: '/home/runner/work/oppia/oppia/node_modules/.yarn-integrity'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/runner/work/oppia/oppia/scripts/run_backend_tests_test.py", line 592, in test_incomplete_overall_backend_coverage_throws_error
    run_backend_tests.main(
AssertionError: "Backend test coverage is not 100%" does not match "[Errno 2] No such file or directory: '/home/runner/work/oppia/oppia/node_modules/.yarn-integrity'"

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

Screenshots (if e2e tests)

No response

Occurrences

Occurred : https://github.com/oppia/oppia/actions/runs/14113474249/job/39537883685?pr=22115

Additional Information

This test passed in local server:

Image

Debugging document link

No response

About this issue

  • Original URL
  • State: open
  • Created 2 years ago
  • Comments: 21 (15 by maintainers)

Most upvoted comments

Hey @Ashu463, everyone has mentioned their PRs in this thread. Please go through the issue carefully.