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
protocol/client: Initialize list head to prevent NULL de-reference #2456
Conversation
I will try to get an automated test also to prevent this in future. |
/run regression |
@pranithk do you want to provide the test script in this PR ? if not, feel free to merge it. |
Yeah, sent the patch in a hurry in the morning based on code-reading. It would be better to wait for the user to let us know the results. I will get some time tomorrow to work on the test script. Will send it by end of tomorrow. |
Removing the approval until the script is added to prevent an accidental merge
/run regression |
1 test(s) failed 0 test(s) generated core 5 test(s) needed retry 1 flaky test(s) marked as success even though they failed |
Sent #2465 to fix the regression failure. Will wait for that to be merged before running regression run again cc @nik-redhat |
fixes: gluster#2443 Change-Id: I86ef0270d41d6fb924db97fde3196d7c98c8b564 Signed-off-by: Pranith Kumar K <pranith.karampuri@phonepe.com>
/run regression |
1 test(s) failed 0 test(s) generated core 1 test(s) needed retry |
/run regression |
@Shwetha-Acharya Could you check ./tests/00-geo-rep/01-georep-glusterd-tests.t is spurious failure? |
@pranithk ./tests/00-geo-rep/01-georep-glusterd-tests.t was failing at This is basically checked from the cli output of geo-replication status in the test case. I guess the file sync from primary to secondary was slower than the EXPECT_WITHIN time, only in the above scenario. It is not repeatedly observed. I tried to reproduce this scenario, it was not reproducible anyway on the softserve machines. |
@Shwetha-Acharya Do you want to increase the timeout then? |
@amarts @xhernandez If the changes look okay, could you merge this? I think this should be fixed even in 8.x |
fixes: #2443
Change-Id: I86ef0270d41d6fb924db97fde3196d7c98c8b564
Signed-off-by: Pranith Kumar K pranith.karampuri@phonepe.com