"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/15 06:56:10 DEBUG : Creating backend with remote "TestOneDriveCn:rclone-test-yaxacoz7liserur6nahired9" 2022/03/15 06:56:10 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2022/03/15 06:56:10 DEBUG : One drive root 'rclone-test-yaxacoz7liserur6nahired9': Token expired but no uploads in progress - doing nothing 2022/03/15 06:56:10 DEBUG : TestOneDriveCn: Loaded invalid token from config file - ignoring 2022/03/15 06:56:12 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: 12751f9b-297e-47af-8dab-643e4c815c00\r\nCorrelation ID: 9cae2e74-fa3e-48c8-a682-a2662c62fb55\r\nTimestamp: 2022-03-15 06:56:12Z","error_codes":[50034],"timestamp":"2022-03-15 06:56:12Z","trace_id":"12751f9b-297e-47af-8dab-643e4c815c00","correlation_id":"9cae2e74-fa3e-48c8-a682-a2662c62fb55","error_uri":"https://login.chinacloudapi.cn/error?code=50034"} 2022/03/15 06:56:13 DEBUG : TestOneDriveCn: Loaded invalid token from config file - ignoring 2022/03/15 06:56:14 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: 41449105-96bc-4899-9fd1-5e288632b900\r\nCorrelation ID: 9c33c2f6-a2ae-4b4d-9141-2f1633a77d08\r\nTimestamp: 2022-03-15 06:56:14Z","error_codes":[50034],"timestamp":"2022-03-15 06:56:14Z","trace_id":"41449105-96bc-4899-9fd1-5e288632b900","correlation_id":"9c33c2f6-a2ae-4b4d-9141-2f1633a77d08","error_uri":"https://login.chinacloudapi.cn/error?code=50034"} 2022/03/15 06:56:15 DEBUG : TestOneDriveCn: Loaded invalid token from config file - ignoring 2022/03/15 06:56:16 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: 0f8c1c88-1c4f-4060-a6d6-cd9dfe8e8800\r\nCorrelation ID: c5761961-0ec8-45ff-8fe3-05ec7783eb6f\r\nTimestamp: 2022-03-15 06:56:16Z","error_codes":[50034],"timestamp":"2022-03-15 06:56:16Z","trace_id":"0f8c1c88-1c4f-4060-a6d6-cd9dfe8e8800","correlation_id":"c5761961-0ec8-45ff-8fe3-05ec7783eb6f","error_uri":"https://login.chinacloudapi.cn/error?code=50034"} 2022/03/15 06:56:17 DEBUG : TestOneDriveCn: Loaded invalid token from config file - ignoring 2022/03/15 06:56:18 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: 58f82f2c-16d6-449f-818e-a5107fbb6600\r\nCorrelation ID: cb423873-bf9c-4011-892e-4dbc643e4dca\r\nTimestamp: 2022-03-15 06:56:17Z","error_codes":[50034],"timestamp":"2022-03-15 06:56:17Z","trace_id":"58f82f2c-16d6-449f-818e-a5107fbb6600","correlation_id":"cb423873-bf9c-4011-892e-4dbc643e4dca","error_uri":"https://login.chinacloudapi.cn/error?code=50034"} 2022/03/15 06:56:19 DEBUG : TestOneDriveCn: Loaded invalid token from config file - ignoring 2022/03/15 06:56:20 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: bd068e41-aec3-46bb-a311-d4ec09bd5f00\r\nCorrelation ID: 3672ad91-2faa-4e46-b7a8-a4ac7f950db0\r\nTimestamp: 2022-03-15 06:56:19Z","error_codes":[50034],"timestamp":"2022-03-15 06:56:19Z","trace_id":"bd068e41-aec3-46bb-a311-d4ec09bd5f00","correlation_id":"3672ad91-2faa-4e46-b7a8-a4ac7f950db0","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: bd068e41-aec3-46bb-a311-d4ec09bd5f00\r\nCorrelation ID: 3672ad91-2faa-4e46-b7a8-a4ac7f950db0\r\nTimestamp: 2022-03-15 06:56:19Z","error_codes":[50034],"timestamp":"2022-03-15 06:56:19Z","trace_id":"bd068e41-aec3-46bb-a311-d4ec09bd5f00","correlation_id":"3672ad91-2faa-4e46-b7a8-a4ac7f950db0","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: bd068e41-aec3-46bb-a311-d4ec09bd5f00\r\nCorrelation ID: 3672ad91-2faa-4e46-b7a8-a4ac7f950db0\r\nTimestamp: 2022-03-15 06:56:19Z","error_codes":[50034],"timestamp":"2022-03-15 06:56:19Z","trace_id":"bd068e41-aec3-46bb-a311-d4ec09bd5f00","correlation_id":"3672ad91-2faa-4e46-b7a8-a4ac7f950db0","error_uri":"https://login.chinacloudapi.cn/error?code=50034"} --- FAIL: TestIntegration (10.35s) FAIL exit status 1 FAIL github.com/rclone/rclone/backend/onedrive 10.367s "go test -v -timeout 1h0m0s -remote TestOneDriveCn: -verbose -test.run '^TestIntegration$'" - Finished ERROR in 11.068191254s (try 2/5): exit status 1: Failed [TestIntegration]