"go test -v -timeout 1h0m0s -remote TestOneDriveCn: -verbose" - Starting (try 1/5) === RUN TestIntegration fstests.go:418: Using remote "TestOneDriveCn:" 2021/12/01 06:37:50 DEBUG : Creating backend with remote "TestOneDriveCn:rclone-test-novoweg0vidipuw4royozit8" 2021/12/01 06:37:50 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2021/12/01 06:37:50 DEBUG : One drive root 'rclone-test-novoweg0vidipuw4royozit8': Token expired but no uploads in progress - doing nothing 2021/12/01 06:37:50 DEBUG : TestOneDriveCn: Loaded invalid token from config file - ignoring 2021/12/01 06:37:52 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: 03c5a9a2-912b-4d56-acd9-b0e56570d201\r\nCorrelation ID: 14308b09-adec-49a7-85bf-7a68731d4afb\r\nTimestamp: 2021-12-01 06:37:52Z","error_codes":[50034],"timestamp":"2021-12-01 06:37:52Z","trace_id":"03c5a9a2-912b-4d56-acd9-b0e56570d201","correlation_id":"14308b09-adec-49a7-85bf-7a68731d4afb","error_uri":"https://login.chinacloudapi.cn/error?code=50034"} 2021/12/01 06:37:53 DEBUG : TestOneDriveCn: Loaded invalid token from config file - ignoring 2021/12/01 06:37:54 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: 953f6417-617a-4e50-820b-11bebe22b901\r\nCorrelation ID: 08d5846e-95e9-4af1-9411-2e2743fdaf8c\r\nTimestamp: 2021-12-01 06:37:54Z","error_codes":[50034],"timestamp":"2021-12-01 06:37:54Z","trace_id":"953f6417-617a-4e50-820b-11bebe22b901","correlation_id":"08d5846e-95e9-4af1-9411-2e2743fdaf8c","error_uri":"https://login.chinacloudapi.cn/error?code=50034"} 2021/12/01 06:37:55 DEBUG : TestOneDriveCn: Loaded invalid token from config file - ignoring 2021/12/01 06:37:55 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: 5cc4e514-4bf5-4c8d-bd64-43bf98adcf01\r\nCorrelation ID: d910f41a-607c-45b5-80fe-ac84f98adfec\r\nTimestamp: 2021-12-01 06:37:55Z","error_codes":[50034],"timestamp":"2021-12-01 06:37:55Z","trace_id":"5cc4e514-4bf5-4c8d-bd64-43bf98adcf01","correlation_id":"d910f41a-607c-45b5-80fe-ac84f98adfec","error_uri":"https://login.chinacloudapi.cn/error?code=50034"} 2021/12/01 06:37:56 DEBUG : TestOneDriveCn: Loaded invalid token from config file - ignoring 2021/12/01 06:37:57 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: 9c9962cf-bbb8-41d1-b17c-b964b27ec001\r\nCorrelation ID: ded05b70-7d78-4dec-add1-abaac12a1e0f\r\nTimestamp: 2021-12-01 06:37:57Z","error_codes":[50034],"timestamp":"2021-12-01 06:37:57Z","trace_id":"9c9962cf-bbb8-41d1-b17c-b964b27ec001","correlation_id":"ded05b70-7d78-4dec-add1-abaac12a1e0f","error_uri":"https://login.chinacloudapi.cn/error?code=50034"} 2021/12/01 06:37:58 DEBUG : TestOneDriveCn: Loaded invalid token from config file - ignoring 2021/12/01 06:37:59 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: d6d02665-59bb-461b-8257-1791271b0e02\r\nCorrelation ID: 9fbb054c-b93a-41b7-abb6-970b370cccb6\r\nTimestamp: 2021-12-01 06:37:59Z","error_codes":[50034],"timestamp":"2021-12-01 06:37:59Z","trace_id":"d6d02665-59bb-461b-8257-1791271b0e02","correlation_id":"9fbb054c-b93a-41b7-abb6-970b370cccb6","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: d6d02665-59bb-461b-8257-1791271b0e02\r\nCorrelation ID: 9fbb054c-b93a-41b7-abb6-970b370cccb6\r\nTimestamp: 2021-12-01 06:37:59Z","error_codes":[50034],"timestamp":"2021-12-01 06:37:59Z","trace_id":"d6d02665-59bb-461b-8257-1791271b0e02","correlation_id":"9fbb054c-b93a-41b7-abb6-970b370cccb6","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: d6d02665-59bb-461b-8257-1791271b0e02\r\nCorrelation ID: 9fbb054c-b93a-41b7-abb6-970b370cccb6\r\nTimestamp: 2021-12-01 06:37:59Z","error_codes":[50034],"timestamp":"2021-12-01 06:37:59Z","trace_id":"d6d02665-59bb-461b-8257-1791271b0e02","correlation_id":"9fbb054c-b93a-41b7-abb6-970b370cccb6","error_uri":"https://login.chinacloudapi.cn/error?code=50034"} --- FAIL: TestIntegration (10.05s) === RUN TestIntegrationCn onedrive_test.go:26: skipping as -remote is set --- SKIP: TestIntegrationCn (0.00s) FAIL exit status 1 FAIL github.com/rclone/rclone/backend/onedrive 10.065s "go test -v -timeout 1h0m0s -remote TestOneDriveCn: -verbose" - Finished ERROR in 11.615355658s (try 1/5): exit status 1: Failed [TestIntegration]