"go test -v -timeout 1h0m0s -remote TestOneDriveCn: -verbose -test.run '^TestIntegration$'" - Starting (try 4/5) === RUN TestIntegration fstests.go:418: Using remote "TestOneDriveCn:" 2022/01/08 06:59:23 DEBUG : Creating backend with remote "TestOneDriveCn:rclone-test-zofifav6hahitos5beworiw5" 2022/01/08 06:59:23 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2022/01/08 06:59:23 DEBUG : TestOneDriveCn: Loaded invalid token from config file - ignoring 2022/01/08 06:59:25 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: 8f095240-bdec-4f27-add8-223275f2e202\r\nCorrelation ID: 53e26753-ba1d-4316-9cd3-1115665c81a6\r\nTimestamp: 2022-01-08 06:59:24Z","error_codes":[50034],"timestamp":"2022-01-08 06:59:24Z","trace_id":"8f095240-bdec-4f27-add8-223275f2e202","correlation_id":"53e26753-ba1d-4316-9cd3-1115665c81a6","error_uri":"https://login.chinacloudapi.cn/error?code=50034"} 2022/01/08 06:59:26 DEBUG : TestOneDriveCn: Loaded invalid token from config file - ignoring 2022/01/08 06:59:26 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: e6e65837-2db7-44db-b12f-db488767b702\r\nCorrelation ID: 86506fa1-8942-4f89-8686-609e2bea19c9\r\nTimestamp: 2022-01-08 06:59:26Z","error_codes":[50034],"timestamp":"2022-01-08 06:59:26Z","trace_id":"e6e65837-2db7-44db-b12f-db488767b702","correlation_id":"86506fa1-8942-4f89-8686-609e2bea19c9","error_uri":"https://login.chinacloudapi.cn/error?code=50034"} 2022/01/08 06:59:27 DEBUG : TestOneDriveCn: Loaded invalid token from config file - ignoring 2022/01/08 06:59:28 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: 4959bc8c-545a-458d-b365-029aa7b7a002\r\nCorrelation ID: fc7ad6d1-cfb1-4e86-ab3e-ae7674ee5ad4\r\nTimestamp: 2022-01-08 06:59:28Z","error_codes":[50034],"timestamp":"2022-01-08 06:59:28Z","trace_id":"4959bc8c-545a-458d-b365-029aa7b7a002","correlation_id":"fc7ad6d1-cfb1-4e86-ab3e-ae7674ee5ad4","error_uri":"https://login.chinacloudapi.cn/error?code=50034"} 2022/01/08 06:59:29 DEBUG : TestOneDriveCn: Loaded invalid token from config file - ignoring 2022/01/08 06:59:30 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: f2502ad2-7f27-4f5e-8094-1d17e705ec02\r\nCorrelation ID: e3195a76-65a6-41e5-9372-47bc47fa945e\r\nTimestamp: 2022-01-08 06:59:30Z","error_codes":[50034],"timestamp":"2022-01-08 06:59:30Z","trace_id":"f2502ad2-7f27-4f5e-8094-1d17e705ec02","correlation_id":"e3195a76-65a6-41e5-9372-47bc47fa945e","error_uri":"https://login.chinacloudapi.cn/error?code=50034"} 2022/01/08 06:59:31 DEBUG : TestOneDriveCn: Loaded invalid token from config file - ignoring 2022/01/08 06:59:31 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: cf90ab19-35f5-4dbf-a27e-61c85447a202\r\nCorrelation ID: 212e1c36-8bf9-42ca-9a4f-18bb9d5588a1\r\nTimestamp: 2022-01-08 06:59:31Z","error_codes":[50034],"timestamp":"2022-01-08 06:59:31Z","trace_id":"cf90ab19-35f5-4dbf-a27e-61c85447a202","correlation_id":"212e1c36-8bf9-42ca-9a4f-18bb9d5588a1","error_uri":"https://login.chinacloudapi.cn/error?code=50034"} 2022/01/08 06:59:32 DEBUG : One drive root 'rclone-test-zofifav6hahitos5beworiw5': Token expired but no uploads in progress - doing nothing 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: cf90ab19-35f5-4dbf-a27e-61c85447a202\r\nCorrelation ID: 212e1c36-8bf9-42ca-9a4f-18bb9d5588a1\r\nTimestamp: 2022-01-08 06:59:31Z","error_codes":[50034],"timestamp":"2022-01-08 06:59:31Z","trace_id":"cf90ab19-35f5-4dbf-a27e-61c85447a202","correlation_id":"212e1c36-8bf9-42ca-9a4f-18bb9d5588a1","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: cf90ab19-35f5-4dbf-a27e-61c85447a202\r\nCorrelation ID: 212e1c36-8bf9-42ca-9a4f-18bb9d5588a1\r\nTimestamp: 2022-01-08 06:59:31Z","error_codes":[50034],"timestamp":"2022-01-08 06:59:31Z","trace_id":"cf90ab19-35f5-4dbf-a27e-61c85447a202","correlation_id":"212e1c36-8bf9-42ca-9a4f-18bb9d5588a1","error_uri":"https://login.chinacloudapi.cn/error?code=50034"} --- FAIL: TestIntegration (9.45s) FAIL exit status 1 FAIL github.com/rclone/rclone/backend/onedrive 9.461s "go test -v -timeout 1h0m0s -remote TestOneDriveCn: -verbose -test.run '^TestIntegration$'" - Finished ERROR in 10.029930743s (try 4/5): exit status 1: Failed [TestIntegration]