Skip to content

BrokenPipeError when robot file is called by process library #4347

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

Closed
UliSei opened this issue May 25, 2022 · 1 comment
Closed

BrokenPipeError when robot file is called by process library #4347

UliSei opened this issue May 25, 2022 · 1 comment

Comments

@UliSei
Copy link
Contributor

UliSei commented May 25, 2022

Script BrokenPipeWorker.robot ...

*** Settings ***
Library    Browser


*** Test Cases ***
TC BrokenPipeWorker
    ${result}    Evaluate    1 * 1
    Log    \nMessage from TC BrokenPipeWorker, result is ${result}.    console=yes

... works fine when it is called on CLI by
robot -d tmp BrokenPipeWorker.robot

Console output:

==============================================================================
BrokenPipeWorker
==============================================================================
TC BrokenPipeWorker                                                   .
Message from TC BrokenPipeWorker, result is 1.
TC BrokenPipeWorker                                                   | PASS |
------------------------------------------------------------------------------
BrokenPipeWorker                                                      | PASS |
1 test, 1 passed, 0 failed
==============================================================================

However when it's called by another script BrokenPipeProcess.robot ...

*** Settings ***
Library    Process


*** Test Cases ***
TC BrokenPipeProcess
    Start Process   robot    -d    tmp    BrokenPipeWorker.robot

... the log of BrokenPipeWorker contains "BrokenPipeError: [Errno 32] Broken pipe".

grafik

The message does not occur either

  • by commenting the Log line in BrokenPipeWorker or
  • by commenting the line where the Browser lib is imported.

Tested with Browser Lib 12.3.0 but seems not to be solvable there.
I did not get such an issue before RF 5.0

@pekkaklarck
Copy link
Member

Is this still a problem?

@pekkaklarck pekkaklarck closed this as not planned Won't fix, can't repro, duplicate, stale May 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants