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

No new line between call with RetryTask #1830

Open
rconstant opened this issue May 16, 2024 · 0 comments
Open

No new line between call with RetryTask #1830

rconstant opened this issue May 16, 2024 · 0 comments

Comments

@rconstant
Copy link

Describe the bug
Since v3.0, Retry task isn't working as expected, no new line is added between calls. Which result on consecutive calls on same line i.e:bin/failbin/failbin/failbin/fail.

In v2.17.4, RetryTask and ExecTask with command was working as expected.

Steps To Reproduce

<retry retryCount="3">
    <exec executable="bin/fail" passthru="true" checkreturn="true" />
</retry>

Expected behavior
Each retry should be on a new line

Screenshots / terminal output

sh: 1: bin/fail: not found
    [retry] Attempt [0]: error occurred; retrying...
sh: 1: bin/failbin/fail: not found
    [retry] Attempt [1]: error occurred; retrying...
sh: 1: bin/failbin/failbin/fail: not found
    [retry] Attempt [2]: error occurred; retrying...
sh: 1: bin/failbin/failbin/failbin/fail: not found

BUILD FAILED
/var/www/uzege-ortho/app/build.xml:71:30 Task [exec] failed after [3] attempts; giving up
Error messages:
exec returned: 127
exec returned: 127
exec returned: 127
exec returned: 127

Additional context
PHP 8.2.12
phing/phing 3.0.0

@rconstant rconstant changed the title RetryTasl No new line between call with RetryTask May 16, 2024
@mrook mrook added this to the 3.1.0 milestone May 16, 2024
@mrook mrook modified the milestones: 3.1.0, 3.0.1 Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants