Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test_executable_without_cwd fails on appx test run in Azure pipelines #85557

Open
tirkarthi opened this issue Jul 24, 2020 · 4 comments
Open

test_executable_without_cwd fails on appx test run in Azure pipelines #85557

tirkarthi opened this issue Jul 24, 2020 · 4 comments
Labels
3.10 OS-windows tests type-bug

Comments

@tirkarthi
Copy link
Member

@tirkarthi tirkarthi commented Jul 24, 2020

BPO 41385
Nosy @pfmoore, @tjguk, @zware, @serhiy-storchaka, @zooba, @miss-islington, @tirkarthi
PRs
  • #21608
  • #21625
  • #21626
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = None
    created_at = <Date 2020-07-24.14:50:50.285>
    labels = ['type-bug', 'tests', '3.10', 'OS-windows']
    title = 'test_executable_without_cwd fails on appx test run in Azure pipelines'
    updated_at = <Date 2020-07-26.07:38:55.955>
    user = 'https://github.com/tirkarthi'

    bugs.python.org fields:

    activity = <Date 2020-07-26.07:38:55.955>
    actor = 'miss-islington'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Tests', 'Windows']
    creation = <Date 2020-07-24.14:50:50.285>
    creator = 'xtreak'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 41385
    keywords = ['patch']
    message_count = 4.0
    messages = ['374189', '374303', '374304', '374305']
    nosy_count = 7.0
    nosy_names = ['paul.moore', 'tim.golden', 'zach.ware', 'serhiy.storchaka', 'steve.dower', 'miss-islington', 'xtreak']
    pr_nums = ['21608', '21625', '21626']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue41385'
    versions = ['Python 3.10']

    @tirkarthi
    Copy link
    Member Author

    @tirkarthi tirkarthi commented Jul 24, 2020

    https://dev.azure.com/Python/cpython/_build/results?buildId=66688&view=logs&j=0fcf9c9b-89fc-526f-8708-363e467e119e&t=fa5ef4ee-3911-591e-4444-19482ab189b7&l=740

    ======================================================================
    ERROR: test_executable_without_cwd (test.test_subprocess.ProcessTestCase)
    ----------------------------------------------------------------------

    Traceback (most recent call last):
      File "D:\a\1\b\layout-appx-win32\lib\test\test_subprocess.py", line 470, in test_executable_without_cwd
        self._assert_cwd(os.getcwd(), "somethingyoudonthave",
      File "D:\a\1\b\layout-appx-win32\lib\test\test_subprocess.py", line 388, in _assert_cwd
        normcase(p.stdout.read().decode("utf-8")))
    UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe6 in position 40: unexpected end of data

    https://dev.azure.com/Python/cpython/_pipeline/analytics/stageawareoutcome?definitionId=4 for 30 days.

    99.16% of pipeline failures are due to failures in task - appx Tests

    @tirkarthi tirkarthi added 3.10 tests OS-windows type-bug labels Jul 24, 2020
    @serhiy-storchaka
    Copy link
    Member

    @serhiy-storchaka serhiy-storchaka commented Jul 26, 2020

    New changeset b1a8730 by Serhiy Storchaka in branch 'master':
    bpo-41385: Fix test_executable_without_cwd on Windows (GH-21608)
    b1a8730

    @miss-islington
    Copy link
    Contributor

    @miss-islington miss-islington commented Jul 26, 2020

    New changeset 33cebe0 by Miss Islington (bot) in branch '3.8':
    bpo-41385: Fix test_executable_without_cwd on Windows (GH-21608)
    33cebe0

    @miss-islington
    Copy link
    Contributor

    @miss-islington miss-islington commented Jul 26, 2020

    New changeset 8b7544c by Miss Islington (bot) in branch '3.9':
    bpo-41385: Fix test_executable_without_cwd on Windows (GH-21608)
    8b7544c

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    3.10 OS-windows tests type-bug
    Projects
    None yet
    Development

    No branches or pull requests

    3 participants