"go test -v -timeout 1h0m0s -remote TestOneDriveCn: -verbose -test.run '^TestIntegration$'" - Starting (try 5/5) === RUN TestIntegration fstests.go:418: Using remote "TestOneDriveCn:" 2021/12/01 06:38:32 DEBUG : Creating backend with remote "TestOneDriveCn:rclone-test-mecibus9xaluqij3tavayip0" 2021/12/01 06:38:32 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2021/12/01 06:38:32 DEBUG : TestOneDriveCn: Loaded invalid token from config file - ignoring 2021/12/01 06:38:34 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: 1b8e6b9c-7200-4a25-9abb-2780f005c201\r\nCorrelation ID: 715b31e8-110d-4eb8-8706-660261a2e956\r\nTimestamp: 2021-12-01 06:38:34Z","error_codes":[50034],"timestamp":"2021-12-01 06:38:34Z","trace_id":"1b8e6b9c-7200-4a25-9abb-2780f005c201","correlation_id":"715b31e8-110d-4eb8-8706-660261a2e956","error_uri":"https://login.chinacloudapi.cn/error?code=50034"} 2021/12/01 06:38:35 DEBUG : TestOneDriveCn: Loaded invalid token from config file - ignoring 2021/12/01 06:38:36 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: 1b43a544-f890-488a-9929-d56e8cabe601\r\nCorrelation ID: 9bd6fbcb-bbe8-4b7c-83bc-5de63c0b3260\r\nTimestamp: 2021-12-01 06:38:36Z","error_codes":[50034],"timestamp":"2021-12-01 06:38:36Z","trace_id":"1b43a544-f890-488a-9929-d56e8cabe601","correlation_id":"9bd6fbcb-bbe8-4b7c-83bc-5de63c0b3260","error_uri":"https://login.chinacloudapi.cn/error?code=50034"} 2021/12/01 06:38:37 DEBUG : TestOneDriveCn: Loaded invalid token from config file - ignoring 2021/12/01 06:38:38 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: e40bdb96-7248-4e56-a98f-6d1afa19cc01\r\nCorrelation ID: 8ea058c0-08ab-4aac-b03d-4c04480b5c6d\r\nTimestamp: 2021-12-01 06:38:37Z","error_codes":[50034],"timestamp":"2021-12-01 06:38:37Z","trace_id":"e40bdb96-7248-4e56-a98f-6d1afa19cc01","correlation_id":"8ea058c0-08ab-4aac-b03d-4c04480b5c6d","error_uri":"https://login.chinacloudapi.cn/error?code=50034"} 2021/12/01 06:38:39 DEBUG : TestOneDriveCn: Loaded invalid token from config file - ignoring 2021/12/01 06:38:39 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: 6366b20a-c314-4529-88d6-0ff5e4569c01\r\nCorrelation ID: 769fe8b3-c49a-4266-b12a-68e51bd28270\r\nTimestamp: 2021-12-01 06:38:39Z","error_codes":[50034],"timestamp":"2021-12-01 06:38:39Z","trace_id":"6366b20a-c314-4529-88d6-0ff5e4569c01","correlation_id":"769fe8b3-c49a-4266-b12a-68e51bd28270","error_uri":"https://login.chinacloudapi.cn/error?code=50034"} 2021/12/01 06:38:40 DEBUG : TestOneDriveCn: Loaded invalid token from config file - ignoring 2021/12/01 06:38:41 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: 6a0e8f1f-8192-4913-9d94-b561322ab501\r\nCorrelation ID: cf2ea323-eb16-43bd-9e7c-04cb6ce94b93\r\nTimestamp: 2021-12-01 06:38:41Z","error_codes":[50034],"timestamp":"2021-12-01 06:38:41Z","trace_id":"6a0e8f1f-8192-4913-9d94-b561322ab501","correlation_id":"cf2ea323-eb16-43bd-9e7c-04cb6ce94b93","error_uri":"https://login.chinacloudapi.cn/error?code=50034"} 2021/12/01 06:38:42 DEBUG : One drive root 'rclone-test-mecibus9xaluqij3tavayip0': 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: 6a0e8f1f-8192-4913-9d94-b561322ab501\r\nCorrelation ID: cf2ea323-eb16-43bd-9e7c-04cb6ce94b93\r\nTimestamp: 2021-12-01 06:38:41Z","error_codes":[50034],"timestamp":"2021-12-01 06:38:41Z","trace_id":"6a0e8f1f-8192-4913-9d94-b561322ab501","correlation_id":"cf2ea323-eb16-43bd-9e7c-04cb6ce94b93","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: 6a0e8f1f-8192-4913-9d94-b561322ab501\r\nCorrelation ID: cf2ea323-eb16-43bd-9e7c-04cb6ce94b93\r\nTimestamp: 2021-12-01 06:38:41Z","error_codes":[50034],"timestamp":"2021-12-01 06:38:41Z","trace_id":"6a0e8f1f-8192-4913-9d94-b561322ab501","correlation_id":"cf2ea323-eb16-43bd-9e7c-04cb6ce94b93","error_uri":"https://login.chinacloudapi.cn/error?code=50034"} --- FAIL: TestIntegration (9.89s) FAIL exit status 1 FAIL github.com/rclone/rclone/backend/onedrive 9.904s "go test -v -timeout 1h0m0s -remote TestOneDriveCn: -verbose -test.run '^TestIntegration$'" - Finished ERROR in 10.614727586s (try 5/5): exit status 1: Failed [TestIntegration]