"go test -v -timeout 1h0m0s -remote TestBox: -verbose" - Starting (try 1/5) === RUN TestIntegration fstests.go:418: Using remote "TestBox:" 2022/01/12 05:10:55 DEBUG : Creating backend with remote "TestBox:rclone-test-pejobew0wojisoy5joxaboy3" 2022/01/12 05:10:55 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2022/01/12 05:10:55 DEBUG : TestBox: Loaded invalid token from config file - ignoring 2022/01/12 05:10:55 DEBUG : TestBox: Token refresh failed try 1/5: oauth2: cannot fetch token: 400 Bad Request Response: {"error":"invalid_grant","error_description":"Refresh token has expired"} 2022/01/12 05:10:56 DEBUG : TestBox: Loaded invalid token from config file - ignoring 2022/01/12 05:10:57 DEBUG : TestBox: Token refresh failed try 2/5: oauth2: cannot fetch token: 400 Bad Request Response: {"error":"invalid_grant","error_description":"Refresh token has expired"} 2022/01/12 05:10:58 DEBUG : TestBox: Loaded invalid token from config file - ignoring 2022/01/12 05:10:58 DEBUG : TestBox: Token refresh failed try 3/5: oauth2: cannot fetch token: 400 Bad Request Response: {"error":"invalid_grant","error_description":"Refresh token has expired"} 2022/01/12 05:10:59 DEBUG : TestBox: Loaded invalid token from config file - ignoring 2022/01/12 05:11:00 DEBUG : TestBox: Token refresh failed try 4/5: oauth2: cannot fetch token: 400 Bad Request Response: {"error":"invalid_grant","error_description":"Refresh token has expired"} 2022/01/12 05:11:01 DEBUG : TestBox: Loaded invalid token from config file - ignoring 2022/01/12 05:11:02 DEBUG : TestBox: Token refresh failed try 5/5: oauth2: cannot fetch token: 400 Bad Request Response: {"error":"invalid_grant","error_description":"Refresh token has expired"} 2022/01/12 05:11:03 DEBUG : TestBox: Loaded invalid token from config file - ignoring 2022/01/12 05:11:03 DEBUG : TestBox: Token refresh failed try 1/5: oauth2: cannot fetch token: 400 Bad Request Response: {"error":"invalid_grant","error_description":"Refresh token has expired"} 2022/01/12 05:11:04 DEBUG : TestBox: Loaded invalid token from config file - ignoring 2022/01/12 05:11:05 DEBUG : TestBox: Token refresh failed try 2/5: oauth2: cannot fetch token: 400 Bad Request Response: {"error":"invalid_grant","error_description":"Refresh token has expired"} 2022/01/12 05:11:06 DEBUG : TestBox: Loaded invalid token from config file - ignoring 2022/01/12 05:11:06 DEBUG : TestBox: Token refresh failed try 3/5: oauth2: cannot fetch token: 400 Bad Request Response: {"error":"invalid_grant","error_description":"Refresh token has expired"} 2022/01/12 05:11:07 DEBUG : TestBox: Loaded invalid token from config file - ignoring 2022/01/12 05:11:08 DEBUG : TestBox: Token refresh failed try 4/5: oauth2: cannot fetch token: 400 Bad Request Response: {"error":"invalid_grant","error_description":"Refresh token has expired"} 2022/01/12 05:11:09 DEBUG : TestBox: Loaded invalid token from config file - ignoring 2022/01/12 05:11:10 DEBUG : TestBox: Token refresh failed try 5/5: oauth2: cannot fetch token: 400 Bad Request Response: {"error":"invalid_grant","error_description":"Refresh token has expired"} 2022/01/12 05:11:11 DEBUG : box root 'rclone-test-pejobew0wojisoy5joxaboy3': Token expired but no uploads in progress - doing nothing fstests.go:442: Error Trace: fstests.go:442 box_test.go:13 Error: Received unexpected error: couldn't list files: Get "https://api.box.com/2.0/folders/0/items?fields=type%2Cid%2Csequence_id%2Cetag%2Csha1%2Cname%2Csize%2Ccreated_at%2Cmodified_at%2Ccontent_created_at%2Ccontent_modified_at%2Citem_status%2Cshared_link%2Cowned_by&limit=1000&usemarker=true": couldn't fetch token - maybe it has expired? - refresh with "rclone config reconnect TestBox:": oauth2: cannot fetch token: 400 Bad Request Response: {"error":"invalid_grant","error_description":"Refresh token has expired"} Test: TestIntegration Messages: unexpected error: couldn't list files: Get "https://api.box.com/2.0/folders/0/items?fields=type%2Cid%2Csequence_id%2Cetag%2Csha1%2Cname%2Csize%2Ccreated_at%2Cmodified_at%2Ccontent_created_at%2Ccontent_modified_at%2Citem_status%2Cshared_link%2Cowned_by&limit=1000&usemarker=true": couldn't fetch token - maybe it has expired? - refresh with "rclone config reconnect TestBox:": oauth2: cannot fetch token: 400 Bad Request Response: {"error":"invalid_grant","error_description":"Refresh token has expired"} --- FAIL: TestIntegration (15.88s) FAIL exit status 1 FAIL github.com/rclone/rclone/backend/box 15.890s "go test -v -timeout 1h0m0s -remote TestBox: -verbose" - Finished ERROR in 16.78152174s (try 1/5): exit status 1: Failed [TestIntegration]