[BETA] bug: error info lost with parallel (option -j) #133
Labels
No Label
bugfix
cleanup
discussion
documentation
doing
done
feature
improvement
packaging
Stale
testing
TODO
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: ungleich-public/cdist#133
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
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$whatever
and 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?
cf36aece7d
When 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
?