Title: Some CI tests are flaky or real failures · Issue #2824 · lcompilers/lpython · GitHub
Open Graph Title: Some CI tests are flaky or real failures · Issue #2824 · lcompilers/lpython
X Title: Some CI tests are flaky or real failures · Issue #2824 · lcompilers/lpython
Description: There are some CI tests that seem to be flaky and fail. Failure in ctest. Test project /home/runner/work/lpython/lpython Start 1: test_stacktrace 1/2 Test #1: test_stacktrace .................. Passed 0.00 sec Start 2: test_lpython 2/2 T...
Open Graph Description: There are some CI tests that seem to be flaky and fail. Failure in ctest. Test project /home/runner/work/lpython/lpython Start 1: test_stacktrace 1/2 Test #1: test_stacktrace .................. Pas...
X Description: There are some CI tests that seem to be flaky and fail. Failure in ctest. Test project /home/runner/work/lpython/lpython Start 1: test_stacktrace 1/2 Test #1: test_stacktrace .................. Pas...
Opengraph URL: https://github.com/lcompilers/lpython/issues/2824
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Some CI tests are flaky or real failures","articleBody":"There are some CI tests that seem to be flaky and fail. \n\n1. Failure in ctest.\n```console\nTest project /home/runner/work/lpython/lpython\n Start 1: test_stacktrace\n1/2 Test #1: test_stacktrace .................. Passed 0.00 sec\n Start 2: test_lpython\n2/2 Test #2: test_lpython .....................Subprocess aborted***Exception: 0.86 sec\n[doctest] doctest version is \"2.4.8\"\n[doctest] run with \"--help\" for options\n0 0 0 0 0 0 0 0 0 0 \b\ntest_lpython: /home/runner/micromamba/envs/lp/include/llvm/IR/DataLayout.h:656: uint64_t llvm::StructLayout::getElementOffset(unsigned int) const: Assertion `Idx \u003c NumElements \u0026\u0026 \"Invalid element idx!\"' failed.\n===============================================================================\n/home/runner/work/lpython/lpython/src/lpython/tests/test_llvm.cpp:[15](https://github.com/lcompilers/lpython/actions/runs/13378363981/job/37362241953?pr=2823#step:6:16)56:\nTEST CASE: PythonCompiler classes\n\n/home/runner/work/lpython/lpython/src/lpython/tests/test_llvm.cpp:1556: FATAL ERROR: test case CRASHED: SIGABRT - Abort (abnormal termination) signal\n\n===============================================================================\n[doctest] test cases: 55 | 54 passed | 1 failed | [17](https://github.com/lcompilers/lpython/actions/runs/13378363981/job/37362241953?pr=2823#step:6:18) skipped\n[doctest] assertions: 486 | 486 passed | 0 failed |\n[doctest] Status: FAILURE!\n\n\n50% tests passed, 1 tests failed out of 2\n\nTotal Test time (real) = 0.87 sec\n\nThe following tests FAILED:\n\t 2 - test_lpython (Subprocess aborted)\nErrors while running CTest\nError: Process completed with exit code 8.\n```\n\n2. Failure in reference tests\n```console\ncompiler_tester.tester.RunException: Testing with reference output failed.\nruntime_errors/test_assert_01.py * run_dbg\nThe JSON metadata differs against reference results\nReference JSON: tests/reference/run_dbg-test_assert_01-2f34744.json\nOutput JSON: tests/output/run_dbg-test_assert_01-2f34744.json\nOmitting 9 identical items\nDiffering items:\n{'stderr_hash': '32b0a24f111e577fe4fc5b3f4a5994b951e34dde7986b3fb750c5f5e'} != {'stderr_hash': '4811af471c73572b285e9ea01c8689abdd3cb32c717b3cd4876d2669'}\n{'returncode': 134} != {'returncode': 1}\nDiff against: tests/reference/run_dbg-test_assert_01-2f34744.stderr\n1,7c1,2\n\u003c File \"tests/runtime_errors/test_assert_01.py\", line 1\n\u003c def test():\n\u003c File \"tests/runtime_errors/test_assert_01.py\", line 4\n\u003c test()\n\u003c File \"tests/runtime_errors/test_assert_01.py\", line 2\n\u003c assert False\n\u003c AssertionError\n---\n\u003e *** buffer overflow detected ***: terminated\n\u003e Aborted (core dumped)\n\nError: Process completed with exit code 1.\n```","author":{"url":"https://github.com/ubaidsk","@type":"Person","name":"ubaidsk"},"datePublished":"2025-02-17T20:59:03.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/2824/lpython/issues/2824"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:4c68056c-972a-a9bb-0756-0547858b610f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8F92:EB2E7:1C95D76:27CFECF:69778C8C |
| html-safe-nonce | c0d3ba0c0191d3ebeef2b0ffb6207e7c97baabd2429358742b8aed32869f91f7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RjkyOkVCMkU3OjFDOTVENzY6MjdDRkVDRjo2OTc3OEM4QyIsInZpc2l0b3JfaWQiOiI2NjU1ODQ2OTM3MDM3MDgxNzQwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | e63fb578839956bfb0a7f323dbf94617fd1ee2fea04fd822616a634a228869d5 |
| hovercard-subject-tag | issue:2858780856 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/lcompilers/lpython/2824/issue_layout |
| twitter:image | https://opengraph.githubassets.com/8dfd9b95698639616f21ce1b08b3dbb2f73ee1842306a6b8bc04c675de866702/lcompilers/lpython/issues/2824 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8dfd9b95698639616f21ce1b08b3dbb2f73ee1842306a6b8bc04c675de866702/lcompilers/lpython/issues/2824 |
| og:image:alt | There are some CI tests that seem to be flaky and fail. Failure in ctest. Test project /home/runner/work/lpython/lpython Start 1: test_stacktrace 1/2 Test #1: test_stacktrace .................. Pas... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ubaidsk |
| hostname | github.com |
| expected-hostname | github.com |
| None | fd37f8e74ecc49b700617ea694fa6d7b395b6c9a4b79c59b3014da220462ac69 |
| turbo-cache-control | no-preview |
| go-import | github.com/lcompilers/lpython git https://github.com/lcompilers/lpython.git |
| octolytics-dimension-user_id | 96538276 |
| octolytics-dimension-user_login | lcompilers |
| octolytics-dimension-repository_id | 442864346 |
| octolytics-dimension-repository_nwo | lcompilers/lpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 442864346 |
| octolytics-dimension-repository_network_root_nwo | lcompilers/lpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | acb9f387e67b45e2eeb6a57ef561ec67eb21d805 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width