Skip to content
This repository was archived by the owner on Oct 11, 2024. It is now read-only.
This repository was archived by the owner on Oct 11, 2024. It is now read-only.

[Bug]: 400 Bad Request SafeHandle cannot be null during enumeration #4700

Open
@ashmrtn

Description

@ashmrtn

What happened?

Looks like a CI job flaked while running a groups incremental backup test. The error message details appears to be about internal microsoft implementation stuff. Making a call to the URL in the logs does return a valid response though so it may be wise to add retries for this

Corso Version?

Corso v0.15.0-dev

Where are you running Corso?

N/A

Relevant log output

{                                                                                   
  "request_content_len": "0",                                                       
    "resource_owner_name": "aaaa",                                                  
    "backup_id": "b721d61f-3cc1-4ccd-aba6-ff92dc87389c",                            
    "resource_owner_id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",                    
    "group_name": "aaaa",                                                           
    "resp_status_code": "400",                                                      
    "resp_content_len": "-1",                                                       
    "method": "GET",                                                                
    "url": "https://graph.microsoft.com/v1.0/teams/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee/channels/19:[email protected]/filesFolder",
    "test_name": "TestGroupsBackupIntgSuite/TestBackup_Run_incrementalGroups/rename_a_folder",
    "disable_assist_backup": "false",                                               
    "resp_status": "400 Bad Request",                                               
    "can_use_metadata": "true",                                                     
    "merge_bases": "1",                                                             
    "group_id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",                             
    "channel_id": "19:[email protected]",               
    "clues_trace": "e2574817,e5d09de9,6c199ff4,ec746f2e,e7a30e86,24481c44,88ead73d",
    "test_uuid": "9d8c9223-2b1f-41e9-9440-7a9ac0f22f48",                            
    "categories": "[Libraries]",                                                    
    "tenant_id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",                            
    "assist_bases": "0",                                                            
    "channel_name": "Private Conversation",                                         
    "service": "Groups",                                                            
    "incremental": "true",                                                          
    "response": "HTTP/1.1 400 Bad Request                                           
      Transfer-Encoding: chunked                                                    
      Client-Request-Id: a33d6e4c-7c14-4a01-a293-5cd8feac1839                       
      Content-Type: application/json                                                
      Date: Thu, 16 Nov 2023 17:11:05 GMT                                           
      Request-Id: 92ce4878-742a-4513-a62d-3a6e9f759cad                              
      Strict-Transport-Security: max-age=31536000                                   
      Vary: Accept-Encoding                                                         
      X-Ms-Ags-Diagnostic: {                                                        
        \"ServerInfo\": {                                                           
          \"DataCenter\":\"West US\",                                               
          \"Slice\":\"E\",                                                          
          \"Ring\":\"4\",                                                           
          \"ScaleUnit\":\"004\",                                                    
          \"RoleInstance\":\"BY3PEPF0002E1AE\"                                      
        }                                                                           
      }                                                                             
      {                                                                             
        \"error\":{                                                                 
          \"code\":\"BadRequest\",                                                  
          \"message\":\"SafeHandle cannot be null. (Parameter 'pHandle')\",         
          \"innerError\":{                                                          
            \"message\": \"SafeHandle cannot be null. (Parameter 'pHandle')\",   
            \"code\":\"InvalidRequest\",                                            
            \"innerError\":{},                                                      
            \"date\":\"2023-11-16T17:11:06\",                                       
            \"request-id\":\"92ce4878-742a-4513-a62d-3a6e9f759cad\",                
            \"client-request-id\":\"a33d6e4c-7c14-4a01-a293-5cd8feac1839\"          
          }                                                                         
        }                                                                           
      }"                                                                            
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    backupbugSomething isn't workingteams & groupsTeams and Groups service and API functionality.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions