"go test -v -timeout 1h0m0s -remote TestOneDriveCn: -verbose -test.run '^TestIntegration$'" - Starting (try 4/5) === RUN TestIntegration fstests.go:418: Using remote "TestOneDriveCn:" 2021/07/25 05:05:30 DEBUG : Creating backend with remote "TestOneDriveCn:rclone-test-wepeber3zoyolol5secagab5" 2021/07/25 05:05:30 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2021/07/25 05:05:30 DEBUG : TestOneDriveCn: Loaded invalid token from config file - ignoring 2021/07/25 05:05:32 DEBUG : TestOneDriveCn: Token refresh failed try 1/5: oauth2: cannot fetch token: 400 Bad Request Response: {"error":"unauthorized_client","error_description":"AADSTS700016: Application with identifier '91256d94-7bd2-46d4-a6e2-8dd998c4d2bb' was not found in the directory 'aa67d3ef-3ed9-4221-bb97-cbdf7b639b69'. This can happen if the application has not been installed by the administrator of the tenant or consented to by any user in the tenant. You may have sent your authentication request to the wrong tenant.\r\nTrace ID: 58e0c523-b243-49c2-9f38-6c8a44286800\r\nCorrelation ID: 4478a166-9a90-4f9f-9a30-d4f96915f7c8\r\nTimestamp: 2021-07-25 05:05:32Z","error_codes":[700016],"timestamp":"2021-07-25 05:05:32Z","trace_id":"58e0c523-b243-49c2-9f38-6c8a44286800","correlation_id":"4478a166-9a90-4f9f-9a30-d4f96915f7c8","error_uri":"https://login.chinacloudapi.cn/error?code=700016"} 2021/07/25 05:05:33 DEBUG : TestOneDriveCn: Loaded invalid token from config file - ignoring 2021/07/25 05:05:33 DEBUG : TestOneDriveCn: Token refresh failed try 2/5: oauth2: cannot fetch token: 400 Bad Request Response: {"error":"unauthorized_client","error_description":"AADSTS700016: Application with identifier '91256d94-7bd2-46d4-a6e2-8dd998c4d2bb' was not found in the directory 'aa67d3ef-3ed9-4221-bb97-cbdf7b639b69'. This can happen if the application has not been installed by the administrator of the tenant or consented to by any user in the tenant. You may have sent your authentication request to the wrong tenant.\r\nTrace ID: 0b2d7f6b-47ae-470a-8d00-dad307865400\r\nCorrelation ID: d892ee30-4b03-4537-8c1e-52cd6c322567\r\nTimestamp: 2021-07-25 05:05:33Z","error_codes":[700016],"timestamp":"2021-07-25 05:05:33Z","trace_id":"0b2d7f6b-47ae-470a-8d00-dad307865400","correlation_id":"d892ee30-4b03-4537-8c1e-52cd6c322567","error_uri":"https://login.chinacloudapi.cn/error?code=700016"} 2021/07/25 05:05:34 DEBUG : TestOneDriveCn: Loaded invalid token from config file - ignoring 2021/07/25 05:05:35 DEBUG : TestOneDriveCn: Token refresh failed try 3/5: oauth2: cannot fetch token: 400 Bad Request Response: {"error":"unauthorized_client","error_description":"AADSTS700016: Application with identifier '91256d94-7bd2-46d4-a6e2-8dd998c4d2bb' was not found in the directory 'aa67d3ef-3ed9-4221-bb97-cbdf7b639b69'. This can happen if the application has not been installed by the administrator of the tenant or consented to by any user in the tenant. You may have sent your authentication request to the wrong tenant.\r\nTrace ID: 4b171819-e5a0-43af-9483-d58062107600\r\nCorrelation ID: be0abbfe-1f21-4fe1-bd16-065da0e27a09\r\nTimestamp: 2021-07-25 05:05:35Z","error_codes":[700016],"timestamp":"2021-07-25 05:05:35Z","trace_id":"4b171819-e5a0-43af-9483-d58062107600","correlation_id":"be0abbfe-1f21-4fe1-bd16-065da0e27a09","error_uri":"https://login.chinacloudapi.cn/error?code=700016"} 2021/07/25 05:05:36 DEBUG : TestOneDriveCn: Loaded invalid token from config file - ignoring 2021/07/25 05:05:37 DEBUG : TestOneDriveCn: Token refresh failed try 4/5: oauth2: cannot fetch token: 400 Bad Request Response: {"error":"unauthorized_client","error_description":"AADSTS700016: Application with identifier '91256d94-7bd2-46d4-a6e2-8dd998c4d2bb' was not found in the directory 'aa67d3ef-3ed9-4221-bb97-cbdf7b639b69'. This can happen if the application has not been installed by the administrator of the tenant or consented to by any user in the tenant. You may have sent your authentication request to the wrong tenant.\r\nTrace ID: 58e0c523-b243-49c2-9f38-6c8ac6286800\r\nCorrelation ID: fef40ae9-f118-4742-a00c-00321e1b0559\r\nTimestamp: 2021-07-25 05:05:37Z","error_codes":[700016],"timestamp":"2021-07-25 05:05:37Z","trace_id":"58e0c523-b243-49c2-9f38-6c8ac6286800","correlation_id":"fef40ae9-f118-4742-a00c-00321e1b0559","error_uri":"https://login.chinacloudapi.cn/error?code=700016"} 2021/07/25 05:05:38 DEBUG : TestOneDriveCn: Loaded invalid token from config file - ignoring 2021/07/25 05:05:39 DEBUG : TestOneDriveCn: Token refresh failed try 5/5: oauth2: cannot fetch token: 400 Bad Request Response: {"error":"unauthorized_client","error_description":"AADSTS700016: Application with identifier '91256d94-7bd2-46d4-a6e2-8dd998c4d2bb' was not found in the directory 'aa67d3ef-3ed9-4221-bb97-cbdf7b639b69'. This can happen if the application has not been installed by the administrator of the tenant or consented to by any user in the tenant. You may have sent your authentication request to the wrong tenant.\r\nTrace ID: 0a819339-5760-4380-93a0-87dee3bf5b00\r\nCorrelation ID: 0c1ecbcb-4a42-457d-b0b9-ad7274c12871\r\nTimestamp: 2021-07-25 05:05:38Z","error_codes":[700016],"timestamp":"2021-07-25 05:05:38Z","trace_id":"0a819339-5760-4380-93a0-87dee3bf5b00","correlation_id":"0c1ecbcb-4a42-457d-b0b9-ad7274c12871","error_uri":"https://login.chinacloudapi.cn/error?code=700016"} fstests.go:442: Error Trace: fstests.go:442 onedrive_test.go:14 Error: Received unexpected error: 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":"unauthorized_client","error_description":"AADSTS700016: Application with identifier '91256d94-7bd2-46d4-a6e2-8dd998c4d2bb' was not found in the directory 'aa67d3ef-3ed9-4221-bb97-cbdf7b639b69'. This can happen if the application has not been installed by the administrator of the tenant or consented to by any user in the tenant. You may have sent your authentication request to the wrong tenant.\r\nTrace ID: 0a819339-5760-4380-93a0-87dee3bf5b00\r\nCorrelation ID: 0c1ecbcb-4a42-457d-b0b9-ad7274c12871\r\nTimestamp: 2021-07-25 05:05:38Z","error_codes":[700016],"timestamp":"2021-07-25 05:05:38Z","trace_id":"0a819339-5760-4380-93a0-87dee3bf5b00","correlation_id":"0c1ecbcb-4a42-457d-b0b9-ad7274c12871","error_uri":"https://login.chinacloudapi.cn/error?code=700016"} failed to get root github.com/rclone/rclone/backend/onedrive.NewFs /home/rclone/go/src/github.com/rclone/rclone/backend/onedrive/onedrive.go:831 github.com/rclone/rclone/fs.NewFs /home/rclone/go/src/github.com/rclone/rclone/fs/newfs.go:51 github.com/rclone/rclone/fstest/fstests.Run /home/rclone/go/src/github.com/rclone/rclone/fstest/fstests/fstests.go:437 github.com/rclone/rclone/backend/onedrive.TestIntegration /home/rclone/go/src/github.com/rclone/rclone/backend/onedrive/onedrive_test.go:14 testing.tRunner /usr/local/go/src/testing/testing.go:1123 runtime.goexit /usr/local/go/src/runtime/asm_amd64.s:1374 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":"unauthorized_client","error_description":"AADSTS700016: Application with identifier '91256d94-7bd2-46d4-a6e2-8dd998c4d2bb' was not found in the directory 'aa67d3ef-3ed9-4221-bb97-cbdf7b639b69'. This can happen if the application has not been installed by the administrator of the tenant or consented to by any user in the tenant. You may have sent your authentication request to the wrong tenant.\r\nTrace ID: 0a819339-5760-4380-93a0-87dee3bf5b00\r\nCorrelation ID: 0c1ecbcb-4a42-457d-b0b9-ad7274c12871\r\nTimestamp: 2021-07-25 05:05:38Z","error_codes":[700016],"timestamp":"2021-07-25 05:05:38Z","trace_id":"0a819339-5760-4380-93a0-87dee3bf5b00","correlation_id":"0c1ecbcb-4a42-457d-b0b9-ad7274c12871","error_uri":"https://login.chinacloudapi.cn/error?code=700016"} --- FAIL: TestIntegration (9.42s) FAIL exit status 1 FAIL github.com/rclone/rclone/backend/onedrive 9.431s "go test -v -timeout 1h0m0s -remote TestOneDriveCn: -verbose -test.run '^TestIntegration$'" - Finished ERROR in 14.274881481s (try 4/5): exit status 1: Failed [TestIntegration]