Test execution stuck for beats v6.4.1

Hello guys,

We are working on 6.4.1 version of ELK stack and there is a requirement for testing. While executing the test suite for beat v6.4.1, it gets stuck after "test_fileset_file_0_auditd (test_modules.Test)" without throwing any error, exception or warning. However, the test suite on beat v7.1.0 is executing successfully and generates a test summary in the end.

Please find below details for 6.4.1 :

Run command:
make testuite

Test Execution Result:

> Checks if it is correctly detected if a closed file is truncated ... ok (1.6767s)
> Checks if it is correctly detected if an open file is truncated ... ok (0.9024s)
> Should raise an error if line filtering and JSON are defined, ... ok (0.1340s)
> Should raise an error if line filtering and JSON are defined, ... ok (0.1165s)
> Should be able to interpret docker logs. ... ok (0.3575s)
> Should be able to do line filtering on docker logs. ... ok (0.3229s)
> Should be able to do multiline on docker logs. ... ok (1.3286s)
> It should work to drop JSON event based on an integer ... ok (0.3099s)
> test_json_add_tags (test_json.Test) ... ok (0.3252s)
> Test if json_decoding_error is set to false, that an errors is logged. ... ok (0.3369s)
> Test if json_decoding_error is set to true, that no errors are logged. ... ok (0.3940s)
> Should be able to overwrite keys when requested. ... ok (0.3084s)
> Should be able to make use of a `@timestamp` field if it exists in the ... ok (0.3779s)
> If overwrite_keys is true and type is in the message, we have to ... ok (0.3013s)
> It should work fine to combine JSON decoding with ... ok (0.7758s)
> It should work fine to combine JSON decoding with ... ok (0.3111s)
> Test ML are installed in all possible ways [with setup_flag=True, modules_flag=False] ... ok (27.9783s)
> Test ML are installed in all possible ways [with setup_flag=True, modules_flag=True] ... ok (28.4855s)
> Test ML are installed in all possible ways [with setup_flag=False, modules_flag=False] ... ok (0.2311s)
> Test ML are installed in all possible ways [with setup_flag=False, modules_flag=True] ... ok (0.2325s)
> test_fileset_file_0_auditd (test_modules.Test) ... 

Could anyone please help me understand this behavior and if i am missing any point?

Regards,
Harsh Bajaj

Hi,

Could anyone response on this??

Regards,
Harsh Bajaj

This is weird, the test should normally timeout and print out what they have received so far. IIRC after 5 minutes it should bail out and display the logs / events of the tests.

Hi

Thank you for your response!

Could you please help me with the name of the timeout parameter for further investigation?

Regards,
Harsh Bajaj

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.