[SERVER-76910] Make PyKMIP test harness return errors on version mismatch Created: 08/May/23  Updated: 29/Oct/23  Resolved: 16/May/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.1.0-rc0, 7.0.0-rc6, 6.0.8

Type: Task Priority: Major - P3
Reporter: Spencer Jackson Assignee: Spencer Jackson
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Backwards Compatibility: Fully Compatible
Backport Requested:
v7.0, v6.0
Sprint: Security 2023-05-15, Security 2023-05-29
Participants:
Linked BF Score: 35

 Description   

Out PyKMIP test harness will crash using exit if presented with a version of the KMIP protocol it has been instructed to reject. This might not be sufficient to totally terminate the server, because it uses the multiprocessing framework.

We should be more graceful, and return a KMIP error back to the client and remain active. This will allow our JSTest harness to terminate the KMIP server using our usual infrastructure.



 Comments   
Comment by Githook User [ 21/Jun/23 ]

Author:

{'name': 'Spencer Jackson', 'email': 'spencer.jackson@mongodb.com', 'username': 'spencerjackson'}

Message: SERVER-76910 Make PyKMIP test harness return errors

(cherry picked from commit f1ac91d1e2db63009bd9f41d068f09f009c024cf)
Branch: v6.0
https://github.com/mongodb/mongo/commit/1d64e87d8353a46fda41c34ba699f883e677bf8d

Comment by Githook User [ 21/Jun/23 ]

Author:

{'name': 'Spencer Jackson', 'email': 'spencer.jackson@mongodb.com', 'username': 'spencerjackson'}

Message: SERVER-76910 Make PyKMIP test harness return errors
Branch: v7.0
https://github.com/mongodb/mongo/commit/d60b734876434443e0adbf08a1f18087f06a0d95

Comment by Githook User [ 15/May/23 ]

Author:

{'name': 'Spencer Jackson', 'email': 'spencer.jackson@mongodb.com', 'username': 'spencerjackson'}

Message: SERVER-76910 Make PyKMIP test harness return errors
Branch: master
https://github.com/mongodb/mongo/commit/f1ac91d1e2db63009bd9f41d068f09f009c024cf

Generated at Thu Feb 08 06:33:58 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.