"go test -v -timeout 1h0m0s -remote TestOneDriveCn: -verbose -test.run '^TestIntegration$'" - Starting (try 5/5) === RUN TestIntegration fstests.go:418: Using remote "TestOneDriveCn:" 2021/11/13 05:29:15 DEBUG : Creating backend with remote "TestOneDriveCn:rclone-test-cuyewav2pagikec6wilewab9" 2021/11/13 05:29:15 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2021/11/13 05:29:15 DEBUG : One drive root 'rclone-test-cuyewav2pagikec6wilewab9': Token expired but no uploads in progress - doing nothing 2021/11/13 05:29:15 DEBUG : TestOneDriveCn: Loaded invalid token from config file - ignoring 2021/11/13 05:29:17 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: 21236689-f5b7-4c52-b7dd-07f6a65b3201\r\nCorrelation ID: 33aae244-2f04-457b-bd21-87b8eef165ae\r\nTimestamp: 2021-11-13 05:29:17Z","error_codes":[50034],"timestamp":"2021-11-13 05:29:17Z","trace_id":"21236689-f5b7-4c52-b7dd-07f6a65b3201","correlation_id":"33aae244-2f04-457b-bd21-87b8eef165ae","error_uri":"https://login.chinacloudapi.cn/error?code=50034"} 2021/11/13 05:29:18 DEBUG : TestOneDriveCn: Loaded invalid token from config file - ignoring 2021/11/13 05:29:18 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: 5e449a4e-8a20-4d3e-9ac4-c65682cdb300\r\nCorrelation ID: c7f7db74-29ce-4017-8dde-56e398257ce1\r\nTimestamp: 2021-11-13 05:29:18Z","error_codes":[50034],"timestamp":"2021-11-13 05:29:18Z","trace_id":"5e449a4e-8a20-4d3e-9ac4-c65682cdb300","correlation_id":"c7f7db74-29ce-4017-8dde-56e398257ce1","error_uri":"https://login.chinacloudapi.cn/error?code=50034"} 2021/11/13 05:29:19 DEBUG : TestOneDriveCn: Loaded invalid token from config file - ignoring 2021/11/13 05:29:20 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: db902767-e0bc-497f-b4f4-4bba7773b900\r\nCorrelation ID: 9669cf3e-321c-4bbf-8150-935193a8ca42\r\nTimestamp: 2021-11-13 05:29:20Z","error_codes":[50034],"timestamp":"2021-11-13 05:29:20Z","trace_id":"db902767-e0bc-497f-b4f4-4bba7773b900","correlation_id":"9669cf3e-321c-4bbf-8150-935193a8ca42","error_uri":"https://login.chinacloudapi.cn/error?code=50034"} 2021/11/13 05:29:21 DEBUG : TestOneDriveCn: Loaded invalid token from config file - ignoring 2021/11/13 05:29:22 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: d0f9eebe-14c8-418e-b98c-fe84e85bac00\r\nCorrelation ID: f56b1dba-b9b8-4c3d-9471-cb08c76ece71\r\nTimestamp: 2021-11-13 05:29:22Z","error_codes":[50034],"timestamp":"2021-11-13 05:29:22Z","trace_id":"d0f9eebe-14c8-418e-b98c-fe84e85bac00","correlation_id":"f56b1dba-b9b8-4c3d-9471-cb08c76ece71","error_uri":"https://login.chinacloudapi.cn/error?code=50034"} 2021/11/13 05:29:23 DEBUG : TestOneDriveCn: Loaded invalid token from config file - ignoring 2021/11/13 05:29:24 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: 2d9bb688-4ae1-4dcb-a3b3-6d7f6307b200\r\nCorrelation ID: 72d489ef-75e2-47d9-a3dc-8b75c19f596b\r\nTimestamp: 2021-11-13 05:29:23Z","error_codes":[50034],"timestamp":"2021-11-13 05:29:23Z","trace_id":"2d9bb688-4ae1-4dcb-a3b3-6d7f6307b200","correlation_id":"72d489ef-75e2-47d9-a3dc-8b75c19f596b","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: 2d9bb688-4ae1-4dcb-a3b3-6d7f6307b200\r\nCorrelation ID: 72d489ef-75e2-47d9-a3dc-8b75c19f596b\r\nTimestamp: 2021-11-13 05:29:23Z","error_codes":[50034],"timestamp":"2021-11-13 05:29:23Z","trace_id":"2d9bb688-4ae1-4dcb-a3b3-6d7f6307b200","correlation_id":"72d489ef-75e2-47d9-a3dc-8b75c19f596b","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: 2d9bb688-4ae1-4dcb-a3b3-6d7f6307b200\r\nCorrelation ID: 72d489ef-75e2-47d9-a3dc-8b75c19f596b\r\nTimestamp: 2021-11-13 05:29:23Z","error_codes":[50034],"timestamp":"2021-11-13 05:29:23Z","trace_id":"2d9bb688-4ae1-4dcb-a3b3-6d7f6307b200","correlation_id":"72d489ef-75e2-47d9-a3dc-8b75c19f596b","error_uri":"https://login.chinacloudapi.cn/error?code=50034"} --- FAIL: TestIntegration (9.49s) FAIL exit status 1 FAIL github.com/rclone/rclone/backend/onedrive 9.503s "go test -v -timeout 1h0m0s -remote TestOneDriveCn: -verbose -test.run '^TestIntegration$'" - Finished ERROR in 10.32309348s (try 5/5): exit status 1: Failed [TestIntegration]