"go test -v -timeout 1h0m0s -remote TestChunkerChunk50bBox: -verbose -size-limit 1024 -test.run '^TestIntegration$'" - Starting (try 3/5) === RUN TestIntegration fstests.go:418: Using remote "TestChunkerChunk50bBox:" 2022/01/08 05:19:31 DEBUG : Creating backend with remote "TestChunkerChunk50bBox:rclone-test-kesarax7ravexih1midubec5" 2022/01/08 05:19:31 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2022/01/08 05:19:31 DEBUG : Creating backend with remote "TestBox:rclone-test-kesarax7ravexih1midubec5" 2022/01/08 05:19:31 DEBUG : TestBox: Loaded invalid token from config file - ignoring 2022/01/08 05:19:31 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/08 05:19:32 DEBUG : TestBox: Loaded invalid token from config file - ignoring 2022/01/08 05:19:33 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/08 05:19:34 DEBUG : TestBox: Loaded invalid token from config file - ignoring 2022/01/08 05:19:34 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/08 05:19:35 DEBUG : TestBox: Loaded invalid token from config file - ignoring 2022/01/08 05:19:36 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/08 05:19:37 DEBUG : TestBox: Loaded invalid token from config file - ignoring 2022/01/08 05:19:37 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/08 05:19:38 DEBUG : TestBox: Loaded invalid token from config file - ignoring 2022/01/08 05:19:39 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/08 05:19:40 DEBUG : TestBox: Loaded invalid token from config file - ignoring 2022/01/08 05:19:40 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/08 05:19:41 DEBUG : TestBox: Loaded invalid token from config file - ignoring 2022/01/08 05:19:42 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/08 05:19:43 DEBUG : TestBox: Loaded invalid token from config file - ignoring 2022/01/08 05:19:43 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/08 05:19:44 DEBUG : TestBox: Loaded invalid token from config file - ignoring 2022/01/08 05:19:45 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/08 05:19:46 DEBUG : box root 'rclone-test-kesarax7ravexih1midubec5': Token expired but no uploads in progress - doing nothing fstests.go:442: Error Trace: fstests.go:442 chunker_test.go:57 Error: Received unexpected error: failed to make remote "TestBox:rclone-test-kesarax7ravexih1midubec5" to wrap: 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: failed to make remote "TestBox:rclone-test-kesarax7ravexih1midubec5" to wrap: 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.00s) FAIL exit status 1 FAIL github.com/rclone/rclone/backend/chunker 15.032s "go test -v -timeout 1h0m0s -remote TestChunkerChunk50bBox: -verbose -size-limit 1024 -test.run '^TestIntegration$'" - Finished ERROR in 18.713937106s (try 3/5): exit status 1: Failed [TestIntegration]