[BETA] bug: error info lost with parallel (option -j) #133
Labels
No labels
bugfix
cleanup
discussion
documentation
doing
done
feature
improvement
packaging
Stale
testing
TODO
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
ungleich-public/cdist#133
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When running with
-b -j$whateverand cdist fails, the stderr from types (NOT from the initial manifest) is not shown, which makes debugging types very hard.What I expect
if a type fails, its stderr should be displayed, just like when running without parallelization
What happens
stderr not shown
Steps to reproduce
type/__test_type/manifest:manifest/init:Output without parallelization /
$ cdist config localhost:Output with parallelization /
$ cdist config -b -j4 localhost:Note that no error information is shown in this case.
Created by: darko-poljak
My cdist clone at branch https://github.com/darko-poljak/cdist/tree/bugfix/error_info_lost_with_jobs_%23632
Created by: darko-poljak
@AnotherKamila Can you test?
darko-poljak/cdist@cf36aece7dWhen running
cdist config -b -j4 -S localhost, the stderr indeed is on stdout:Note that in the above, not only the stderr, but also the other info about the error is missing -- the whole section "Error processing object '__test_type/whatever'" with path info is not there.
Created by: tom-ee
Might help with narrowing this down: Does the stderr make it (to stdout sic) if the output-stream-capture is disabled with
-S?