Skip to content

macOS test suite failing #6719

Closed
Closed

Description

@sophiajt

Describe the bug

commit 4af0a6a3fad806df5af850bbf655042ae47d6369
Author: unrelentingtech <[email protected]>
Date:   Thu Sep 29 21:37:48 2022 +0300

    Foreground process group management, again (#6584)

    * Revert "Revert "Try again: in unix like system, set foreground process while running external command (#6273)" (#6542)"

    This reverts commit 2bb367f570502cd26d6b7a81425d9f3b3b9eb432.

Causes:

failures:

---- tests::test_config_path::test_default_config_path stdout ----
=== stderr

=== stderr
ERROR: failed take control of the terminal, we might be orphaned

thread 'tests::test_config_path::test_default_config_path' panicked at 'assertion failed: `(left == right)`
  left: `""`,
 right: `"/Users/jt/Library/Application Support/nushell/env.nu"`', src/tests/test_config_path.rs:14:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Not sure why CI doesn't pick it up, but it's locally reproducible.

How to reproduce

See above

Expected behavior

Test suite should pass as normal on macOS

Screenshots

No response

Configuration

See above

Additional context

No response

Activity

  1. sophiajt commented on Oct 13, 2022

    @sophiajt
    ContributorAuthor
  2. nibon7 commented on Oct 14, 2022

    @nibon7
    Contributor

    the tests failed on linux too.

    failures:
    
    ---- tests::test_config_path::test_default_config_path stdout ----
    === stderr
    
    === stderr
    ERROR: failed to SIGTTIN ourselves
    
    thread 'tests::test_config_path::test_default_config_path' panicked at 'assertion failed: `(left == right)`
      left: `""`,
     right: `"/home/nibon7/.config/nushell/env.nu"`', src/tests/test_config_path.rs:14:5
    note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
    
    ---- tests::test_custom_commands::override_table_eval_file stdout ----
    === stderr
    ERROR: failed to SIGTTIN ourselves
    
    thread 'tests::test_custom_commands::override_table_eval_file' panicked at 'assertion failed: `(left == right)`
      left: `""`,
     right: `"hi"`', src/tests/test_custom_commands.rs:143:5
    
    
    failures:
        tests::test_config_path::test_default_config_path
        tests::test_custom_commands::override_table_eval_file
    
    test result: FAILED. 326 passed; 2 failed; 5 ignored; 0 measured; 0 filtered out; finished in 3.49s
    
    error: test failed, to rerun pass '-p nu --bin nu'
    
  3. fdncred commented on Oct 14, 2022

    @fdncred
    Contributor

    @WindSoilder weren't you working on some of this stuff too? I wonder if you can help as well.

  4. WindSoilder commented on Oct 14, 2022

    @WindSoilder
    Contributor

    Sorry, I've to admit that it's out of my knowledge currently, I have no idea why we need to call signal::killpg.. And why all things happened in this way.

  5. added
    tests
    category:regression
    on Oct 14, 2022
  6. added a commit that references this issue on Oct 16, 2022
    d65a5fc
  7. added a commit that references this issue on Oct 17, 2022
    46eec5e
  8. added this to the v0.70.0 milestone on Oct 18, 2022
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

    category:regressiontests

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions