Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
The new command line argument
--collection-config-file
is added for the config file name that needs to be passed to debug enable/clean-up stages. It is used to indicate whether the collector is enabled or not. The usage of this argument is at https://wwwin-github.cisco.com/cafy/cafykit/blob/a75ac367550d55e7b2db2430d0b05969a01534eb/test/utils/collectors/collector_test.py#L21Example file:
Tests
The following tests executed in the pipeline utilizes this new argument and generates a file in preprocess stage:
(Debug, LSAN, Yang)
: http://ott-idt-jenk1:8080/view/pushkash/job/pushkash_test_cafyap_pipeline/113/consoleLegacy Submitted Run
: http://ott-idt-jenk1:8080/view/pushkash/job/pushkash_test_cafyap_pipeline/116/console