"go test -v -timeout 1h0m0s -remote TestOneDriveCn: -verbose -test.run '^TestIntegration$'" - Starting (try 2/5) === RUN TestIntegration fstests.go:418: Using remote "TestOneDriveCn:" 2022/03/03 05:17:45 DEBUG : Creating backend with remote "TestOneDriveCn:rclone-test-cikoder6cinelic7yuzotob7" 2022/03/03 05:17:45 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2022/03/03 05:17:45 DEBUG : One drive root 'rclone-test-cikoder6cinelic7yuzotob7': Token expired but no uploads in progress - doing nothing 2022/03/03 05:17:45 DEBUG : TestOneDriveCn: Loaded invalid token from config file - ignoring 2022/03/03 05:17:47 DEBUG : TestOneDriveCn: Token refresh failed try 1/5: oauth2: cannot fetch token: 400 Bad Request Response: {"error":"invalid_grant","error_description":"AADSTS50034: The user account f9cc212f-9127-4696-9146-6c13209fb49d does not exist in the aa67d3ef-3ed9-4221-bb97-cbdf7b639b69 directory. To sign into this application, the account must be added to the directory.\r\nTrace ID: de5b9a05-6ceb-4782-8bfd-2c0d78542501\r\nCorrelation ID: 4f0b4e4e-ac7d-4f08-b9d1-951a3869977b\r\nTimestamp: 2022-03-03 05:17:47Z","error_codes":[50034],"timestamp":"2022-03-03 05:17:47Z","trace_id":"de5b9a05-6ceb-4782-8bfd-2c0d78542501","correlation_id":"4f0b4e4e-ac7d-4f08-b9d1-951a3869977b","error_uri":"https://login.chinacloudapi.cn/error?code=50034"} 2022/03/03 05:17:48 DEBUG : TestOneDriveCn: Loaded invalid token from config file - ignoring 2022/03/03 05:17:48 DEBUG : TestOneDriveCn: Token refresh failed try 2/5: oauth2: cannot fetch token: 400 Bad Request Response: {"error":"invalid_grant","error_description":"AADSTS50034: The user account f9cc212f-9127-4696-9146-6c13209fb49d does not exist in the aa67d3ef-3ed9-4221-bb97-cbdf7b639b69 directory. To sign into this application, the account must be added to the directory.\r\nTrace ID: a54a1aa0-ab73-47e2-a304-be027c040d01\r\nCorrelation ID: ec3023dc-3d6a-40fb-9754-92f2a216a5b5\r\nTimestamp: 2022-03-03 05:17:48Z","error_codes":[50034],"timestamp":"2022-03-03 05:17:48Z","trace_id":"a54a1aa0-ab73-47e2-a304-be027c040d01","correlation_id":"ec3023dc-3d6a-40fb-9754-92f2a216a5b5","error_uri":"https://login.chinacloudapi.cn/error?code=50034"} 2022/03/03 05:17:49 DEBUG : TestOneDriveCn: Loaded invalid token from config file - ignoring 2022/03/03 05:17:50 DEBUG : TestOneDriveCn: Token refresh failed try 3/5: oauth2: cannot fetch token: 400 Bad Request Response: {"error":"invalid_grant","error_description":"AADSTS50034: The user account f9cc212f-9127-4696-9146-6c13209fb49d does not exist in the aa67d3ef-3ed9-4221-bb97-cbdf7b639b69 directory. To sign into this application, the account must be added to the directory.\r\nTrace ID: 42d93896-7d26-46d1-8cb8-aae278882401\r\nCorrelation ID: 918b42cb-0293-4d59-9bf2-bbd24512aec2\r\nTimestamp: 2022-03-03 05:17:50Z","error_codes":[50034],"timestamp":"2022-03-03 05:17:50Z","trace_id":"42d93896-7d26-46d1-8cb8-aae278882401","correlation_id":"918b42cb-0293-4d59-9bf2-bbd24512aec2","error_uri":"https://login.chinacloudapi.cn/error?code=50034"} 2022/03/03 05:17:51 DEBUG : TestOneDriveCn: Loaded invalid token from config file - ignoring 2022/03/03 05:17:52 DEBUG : TestOneDriveCn: Token refresh failed try 4/5: oauth2: cannot fetch token: 400 Bad Request Response: {"error":"invalid_grant","error_description":"AADSTS50034: The user account f9cc212f-9127-4696-9146-6c13209fb49d does not exist in the aa67d3ef-3ed9-4221-bb97-cbdf7b639b69 directory. To sign into this application, the account must be added to the directory.\r\nTrace ID: f42fa8bc-f149-4559-84d0-511c7df70d01\r\nCorrelation ID: d420f26c-d04b-480d-93ac-bb9647d04a7f\r\nTimestamp: 2022-03-03 05:17:52Z","error_codes":[50034],"timestamp":"2022-03-03 05:17:52Z","trace_id":"f42fa8bc-f149-4559-84d0-511c7df70d01","correlation_id":"d420f26c-d04b-480d-93ac-bb9647d04a7f","error_uri":"https://login.chinacloudapi.cn/error?code=50034"} 2022/03/03 05:17:53 DEBUG : TestOneDriveCn: Loaded invalid token from config file - ignoring 2022/03/03 05:17:54 DEBUG : TestOneDriveCn: Token refresh failed try 5/5: oauth2: cannot fetch token: 400 Bad Request Response: {"error":"invalid_grant","error_description":"AADSTS50034: The user account f9cc212f-9127-4696-9146-6c13209fb49d does not exist in the aa67d3ef-3ed9-4221-bb97-cbdf7b639b69 directory. To sign into this application, the account must be added to the directory.\r\nTrace ID: de5b9a05-6ceb-4782-8bfd-2c0dec552501\r\nCorrelation ID: 307d2637-fb74-4680-9d6f-2bf99a3c04b3\r\nTimestamp: 2022-03-03 05:17:54Z","error_codes":[50034],"timestamp":"2022-03-03 05:17:54Z","trace_id":"de5b9a05-6ceb-4782-8bfd-2c0dec552501","correlation_id":"307d2637-fb74-4680-9d6f-2bf99a3c04b3","error_uri":"https://login.chinacloudapi.cn/error?code=50034"} fstests.go:442: Error Trace: fstests.go:442 onedrive_test.go:14 Error: Received unexpected error: failed to get root: Get "https://microsoftgraph.chinacloudapi.cn/v1.0/drives/b!XOZdYZQGFUCPVL6Ys6295g5WdxYZ9iRPjbPSR6qbe-g6K9Mk7h3OTZCAJ5SXaILs/root": couldn't fetch token - maybe it has expired? - refresh with "rclone config reconnect TestOneDriveCn:": oauth2: cannot fetch token: 400 Bad Request Response: {"error":"invalid_grant","error_description":"AADSTS50034: The user account f9cc212f-9127-4696-9146-6c13209fb49d does not exist in the aa67d3ef-3ed9-4221-bb97-cbdf7b639b69 directory. To sign into this application, the account must be added to the directory.\r\nTrace ID: de5b9a05-6ceb-4782-8bfd-2c0dec552501\r\nCorrelation ID: 307d2637-fb74-4680-9d6f-2bf99a3c04b3\r\nTimestamp: 2022-03-03 05:17:54Z","error_codes":[50034],"timestamp":"2022-03-03 05:17:54Z","trace_id":"de5b9a05-6ceb-4782-8bfd-2c0dec552501","correlation_id":"307d2637-fb74-4680-9d6f-2bf99a3c04b3","error_uri":"https://login.chinacloudapi.cn/error?code=50034"} Test: TestIntegration Messages: unexpected error: failed to get root: Get "https://microsoftgraph.chinacloudapi.cn/v1.0/drives/b!XOZdYZQGFUCPVL6Ys6295g5WdxYZ9iRPjbPSR6qbe-g6K9Mk7h3OTZCAJ5SXaILs/root": couldn't fetch token - maybe it has expired? - refresh with "rclone config reconnect TestOneDriveCn:": oauth2: cannot fetch token: 400 Bad Request Response: {"error":"invalid_grant","error_description":"AADSTS50034: The user account f9cc212f-9127-4696-9146-6c13209fb49d does not exist in the aa67d3ef-3ed9-4221-bb97-cbdf7b639b69 directory. To sign into this application, the account must be added to the directory.\r\nTrace ID: de5b9a05-6ceb-4782-8bfd-2c0dec552501\r\nCorrelation ID: 307d2637-fb74-4680-9d6f-2bf99a3c04b3\r\nTimestamp: 2022-03-03 05:17:54Z","error_codes":[50034],"timestamp":"2022-03-03 05:17:54Z","trace_id":"de5b9a05-6ceb-4782-8bfd-2c0dec552501","correlation_id":"307d2637-fb74-4680-9d6f-2bf99a3c04b3","error_uri":"https://login.chinacloudapi.cn/error?code=50034"} --- FAIL: TestIntegration (9.91s) FAIL exit status 1 FAIL github.com/rclone/rclone/backend/onedrive 9.921s "go test -v -timeout 1h0m0s -remote TestOneDriveCn: -verbose -test.run '^TestIntegration$'" - Finished ERROR in 10.708127847s (try 2/5): exit status 1: Failed [TestIntegration]