← 输入框|github.com|刷新
Skip to content

CI: The Job LPython CI / Check Release build (pull_request) seems flaky #2162

Closed

Activity

  1. Smit-create commented on Jul 17, 2023

    @Smit-create
    Collaborator

    Can you describe the exact issue? or point to failure? Rarely, it fails because of some issues on the GH actions side.

  2. ubaidsk commented on Jul 17, 2023

    @ubaidsk
    CollaboratorAuthor

    Can you describe the exact issue? or point to failure? Rarely, it fails because of some issues on the GH actions side.

    I updated the description of this issue.

  3. ubaidsk commented on Jul 20, 2023

    @ubaidsk
    CollaboratorAuthor

    The job Check Release build passed in the third run attempt. Something does not seem right. I will explore more about this.

  4. certik commented on Jul 21, 2023

    @certik
    Contributor

    The failure seems different though:

    make[2]: *** [CMakeFiles/modules_02_FAST.dir/build.make:74: modules_02_FAST.o] Illegal instruction (core dumped)
    make[1]: *** [CMakeFiles/Makefile2:2838: CMakeFiles/modules_02_FAST.dir/all] Error 2
    make[1]: *** Waiting for unfinished jobs....
    

    and

    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 Test #2: test_lpython .....................***Exception: Illegal  0.13 sec
    

    and (3x):

    make[2]: *** [CMakeFiles/array_03_decl_FAST.dir/build.make:74: array_03_decl_FAST.o] Illegal instruction (core dumped)
    make[1]: *** [CMakeFiles/Makefile2:568: CMakeFiles/array_03_decl_FAST.dir/all] Error 2
    make[1]: *** Waiting for unfinished jobs....
    

    But all three failures seem to be caused by the lpython compiler executing some illegal instruction. That typically happens with the Release mode is compiled to a newer architecture than it runs, quite common at a CI. I think we just need to lower the optimization options, perhaps keep -O3, but remove -march=native or something like that.

  5. ubaidsk commented on Jul 25, 2023

    @ubaidsk
    CollaboratorAuthor

    I think the original failure is

    2/2 Test #2: test_lpython .....................***Exception: Illegal  0.13 sec
    

    This was previously not being caught because bash would not fail even if there was a failure. Therefore, the CI was failing at a later point when running reference tests.

    Since #2194, the above 2/2 Test #2: test_lpython .....................***Exception: Illegal 0.13 sec is always caught now and appropriately fails.

  6. ubaidsk commented on Jul 26, 2023

    @ubaidsk
    CollaboratorAuthor

    The release build seems to fail too often. I request review of #2212 at the earliest convenience. If in case it does not fix the issue, we can try/find other approaches.

  7. ubaidsk commented on Sep 27, 2023

    @ubaidsk
    CollaboratorAuthor

    This issues seems to be fixed. It does not seem to be flaky now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions