"go test -v -timeout 1h0m0s -remote TestHuaweiDrive: -list-retries 5 -verbose" - Starting (try 1/5) === RUN TestIntegration fstests.go:464: Using remote "TestHuaweiDrive:" 2026/10/26 02:11:34 DEBUG : Creating backend with remote "TestHuaweiDrive:rclone-test-rizamen4zuto" 2026/10/26 02:11:34 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/10/26 02:11:34 DEBUG : TestHuaweiDrive: Token expired 2026/10/26 02:11:34 DEBUG : TestHuaweiDrive: No updated token found in the config file 2026/10/26 02:11:35 DEBUG : TestHuaweiDrive: got fatal oauth error: oauth2: cannot fetch token: 400 Bad Request Response: {"error":1203,"error_description":"token expire","sub_error":11205} fstests.go:488: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstests/fstests.go:488 /home/rclone/go/src/github.com/rclone/rclone/backend/huaweidrive/huaweidrive_test.go:30 Error: Received unexpected error: failed to detect root folder ID: failed to resolve drive root via /files/root: Get "https://driveapis.cloud.huawei.com.cn/drive/v1/files/root?fields=id%2CfileName%2CmimeType%2CparentFolder": couldn't fetch token: (can't decode error info) - try refreshing token with "rclone config reconnect TestHuaweiDrive:" Test: TestIntegration Messages: unexpected error: failed to detect root folder ID: failed to resolve drive root via /files/root: Get "https://driveapis.cloud.huawei.com.cn/drive/v1/files/root?fields=id%2CfileName%2CmimeType%2CparentFolder": couldn't fetch token: (can't decode error info) - try refreshing token with "rclone config reconnect TestHuaweiDrive:" --- FAIL: TestIntegration (0.69s) === RUN TestNewFs --- PASS: TestNewFs (0.00s) === RUN TestFsName --- PASS: TestFsName (0.00s) === RUN TestFsRoot --- PASS: TestFsRoot (0.00s) === RUN TestFsString --- PASS: TestFsString (0.00s) === RUN TestFsPrecision --- PASS: TestFsPrecision (0.00s) === RUN TestFsHashes --- PASS: TestFsHashes (0.00s) === RUN TestModTimeSupport --- PASS: TestModTimeSupport (0.00s) === RUN TestTimeFormats --- PASS: TestTimeFormats (0.00s) === RUN TestEncoding === RUN TestEncoding/angle_brackets === RUN TestEncoding/quotes === RUN TestEncoding/pipe === RUN TestEncoding/colon === RUN TestEncoding/asterisk === RUN TestEncoding/question === RUN TestEncoding/backslash === RUN TestEncoding/forward_slash === RUN TestEncoding/leading_space === RUN TestEncoding/trailing_space === RUN TestEncoding/leading_dot === RUN TestEncoding/control_chars --- PASS: TestEncoding (0.00s) --- PASS: TestEncoding/angle_brackets (0.00s) --- PASS: TestEncoding/quotes (0.00s) --- PASS: TestEncoding/pipe (0.00s) --- PASS: TestEncoding/colon (0.00s) --- PASS: TestEncoding/asterisk (0.00s) --- PASS: TestEncoding/question (0.00s) --- PASS: TestEncoding/backslash (0.00s) --- PASS: TestEncoding/forward_slash (0.00s) --- PASS: TestEncoding/leading_space (0.00s) --- PASS: TestEncoding/trailing_space (0.00s) --- PASS: TestEncoding/leading_dot (0.00s) --- PASS: TestEncoding/control_chars (0.00s) === RUN TestFileNameEncoding huaweidrive_test.go:273: ✓ angle brackets: "file.txt" → "file<name>.txt" → "file.txt" huaweidrive_test.go:273: ✓ pipe character: "file|name.txt" → "file|name.txt" → "file|name.txt" huaweidrive_test.go:273: ✓ colon: "file:name.txt" → "file:name.txt" → "file:name.txt" huaweidrive_test.go:273: ✓ double quote: "file\"name.txt" → "file"name.txt" → "file\"name.txt" huaweidrive_test.go:273: ✓ asterisk: "file*name.txt" → "file*name.txt" → "file*name.txt" huaweidrive_test.go:273: ✓ question mark: "file?name.txt" → "file?name.txt" → "file?name.txt" huaweidrive_test.go:273: ✓ backslash: "file\\name.txt" → "file\name.txt" → "file\\name.txt" huaweidrive_test.go:273: ✓ leading space: " leading_space.txt" → "␠leading_space.txt" → " leading_space.txt" huaweidrive_test.go:273: ✓ trailing space: "trailing_space.txt " → "trailing_space.txt␠" → "trailing_space.txt " huaweidrive_test.go:273: ✓ leading dot: ".leading_dot.txt" → ".leading_dot.txt" → ".leading_dot.txt" huaweidrive_test.go:273: ✓ trailing dot: "trailing_dot.txt." → "trailing_dot.txt." → "trailing_dot.txt." huaweidrive_test.go:273: ✓ leading tilde: "~leading_tilde.txt" → "~leading_tilde.txt" → "~leading_tilde.txt" huaweidrive_test.go:273: ✓ control character: "file\x00name.txt" → "file␀name.txt" → "file␀name.txt" --- PASS: TestFileNameEncoding (0.00s) === RUN TestQueryFilter === RUN TestQueryFilter/empty_filter === RUN TestQueryFilter/single_condition === RUN TestQueryFilter/multiple_conditions === RUN TestQueryFilter/filename_with_quotes === RUN TestQueryFilter/mime_type_not_equal === RUN TestQueryFilter/filename_contains === RUN TestQueryFilter/recycled_status === RUN TestQueryFilter/edited_time_range --- PASS: TestQueryFilter (0.00s) --- PASS: TestQueryFilter/empty_filter (0.00s) --- PASS: TestQueryFilter/single_condition (0.00s) --- PASS: TestQueryFilter/multiple_conditions (0.00s) --- PASS: TestQueryFilter/filename_with_quotes (0.00s) --- PASS: TestQueryFilter/mime_type_not_equal (0.00s) --- PASS: TestQueryFilter/filename_contains (0.00s) --- PASS: TestQueryFilter/recycled_status (0.00s) --- PASS: TestQueryFilter/edited_time_range (0.00s) === RUN TestAPITypes === RUN TestAPITypes/file_is_dir === RUN TestAPITypes/constants --- PASS: TestAPITypes (0.00s) --- PASS: TestAPITypes/file_is_dir (0.00s) --- PASS: TestAPITypes/constants (0.00s) === RUN TestErrorHandling === RUN TestErrorHandling/missing_param_400 === RUN TestErrorHandling/invalid_param_400 === RUN TestErrorHandling/parent_not_found_400 === RUN TestErrorHandling/insufficient_scope_403 === RUN TestErrorHandling/insufficient_permission_403 === RUN TestErrorHandling/agreement_not_signed_403 === RUN TestErrorHandling/data_migrating_403 === RUN TestErrorHandling/outer_service_error_403 === RUN TestErrorHandling/cursor_expired_410 === RUN TestErrorHandling/temp_data_cleared_410 === RUN TestErrorHandling/server_temp_error_500 === RUN TestErrorHandling/outer_service_unavailable_500 --- PASS: TestErrorHandling (0.00s) --- PASS: TestErrorHandling/missing_param_400 (0.00s) --- PASS: TestErrorHandling/invalid_param_400 (0.00s) --- PASS: TestErrorHandling/parent_not_found_400 (0.00s) --- PASS: TestErrorHandling/insufficient_scope_403 (0.00s) --- PASS: TestErrorHandling/insufficient_permission_403 (0.00s) --- PASS: TestErrorHandling/agreement_not_signed_403 (0.00s) --- PASS: TestErrorHandling/data_migrating_403 (0.00s) --- PASS: TestErrorHandling/outer_service_error_403 (0.00s) --- PASS: TestErrorHandling/cursor_expired_410 (0.00s) --- PASS: TestErrorHandling/temp_data_cleared_410 (0.00s) --- PASS: TestErrorHandling/server_temp_error_500 (0.00s) --- PASS: TestErrorHandling/outer_service_unavailable_500 (0.00s) === RUN TestMimeTypeDetection === RUN TestMimeTypeDetection/document.pdf === RUN TestMimeTypeDetection/image.jpg === RUN TestMimeTypeDetection/image.jpeg === RUN TestMimeTypeDetection/image.png === RUN TestMimeTypeDetection/image.gif === RUN TestMimeTypeDetection/video.mp4 === RUN TestMimeTypeDetection/video.avi === RUN TestMimeTypeDetection/audio.mp3 === RUN TestMimeTypeDetection/text.txt === RUN TestMimeTypeDetection/data.json === RUN TestMimeTypeDetection/archive.zip === RUN TestMimeTypeDetection/noextension === RUN TestMimeTypeDetection/#00 --- PASS: TestMimeTypeDetection (0.00s) --- PASS: TestMimeTypeDetection/document.pdf (0.00s) --- PASS: TestMimeTypeDetection/image.jpg (0.00s) --- PASS: TestMimeTypeDetection/image.jpeg (0.00s) --- PASS: TestMimeTypeDetection/image.png (0.00s) --- PASS: TestMimeTypeDetection/image.gif (0.00s) --- PASS: TestMimeTypeDetection/video.mp4 (0.00s) --- PASS: TestMimeTypeDetection/video.avi (0.00s) --- PASS: TestMimeTypeDetection/audio.mp3 (0.00s) --- PASS: TestMimeTypeDetection/text.txt (0.00s) --- PASS: TestMimeTypeDetection/data.json (0.00s) --- PASS: TestMimeTypeDetection/archive.zip (0.00s) --- PASS: TestMimeTypeDetection/noextension (0.00s) --- PASS: TestMimeTypeDetection/#00 (0.00s) === RUN TestRootFolderID --- PASS: TestRootFolderID (0.00s) === RUN TestOptionsDefaults --- PASS: TestOptionsDefaults (0.00s) === RUN TestParsePath === RUN TestParsePath/input_"" === RUN TestParsePath/input_"/" === RUN TestParsePath/input_"path" === RUN TestParsePath/input_"/path" === RUN TestParsePath/input_"path/" === RUN TestParsePath/input_"/path/" === RUN TestParsePath/input_"path/to/file" === RUN TestParsePath/input_"/path/to/file" === RUN TestParsePath/input_"path/to/file/" === RUN TestParsePath/input_"/path/to/file/" === RUN TestParsePath/input_"//multiple//slashes//" --- PASS: TestParsePath (0.00s) --- PASS: TestParsePath/input_"" (0.00s) --- PASS: TestParsePath/input_"/" (0.00s) --- PASS: TestParsePath/input_"path" (0.00s) --- PASS: TestParsePath/input_"/path" (0.00s) --- PASS: TestParsePath/input_"path/" (0.00s) --- PASS: TestParsePath/input_"/path/" (0.00s) --- PASS: TestParsePath/input_"path/to/file" (0.00s) --- PASS: TestParsePath/input_"/path/to/file" (0.00s) --- PASS: TestParsePath/input_"path/to/file/" (0.00s) --- PASS: TestParsePath/input_"/path/to/file/" (0.00s) --- PASS: TestParsePath/input_"//multiple//slashes//" (0.00s) === RUN TestConstants --- PASS: TestConstants (0.00s) === RUN TestFeatures --- PASS: TestFeatures (0.00s) === RUN TestAPIResponseParsing === RUN TestAPIResponseParsing/about_response === RUN TestAPIResponseParsing/filelist_response --- PASS: TestAPIResponseParsing (0.00s) --- PASS: TestAPIResponseParsing/about_response (0.00s) --- PASS: TestAPIResponseParsing/filelist_response (0.00s) === RUN TestObjectMetadata --- PASS: TestObjectMetadata (0.00s) === RUN TestUploadTypes === RUN TestUploadTypes/small_file_multipart === RUN TestUploadTypes/large_file_resume === RUN TestUploadTypes/exact_cutoff_resume === RUN TestUploadTypes/zero_size_metadata === RUN TestUploadTypes/negative_size_resume --- PASS: TestUploadTypes (0.00s) --- PASS: TestUploadTypes/small_file_multipart (0.00s) --- PASS: TestUploadTypes/large_file_resume (0.00s) --- PASS: TestUploadTypes/exact_cutoff_resume (0.00s) --- PASS: TestUploadTypes/zero_size_metadata (0.00s) --- PASS: TestUploadTypes/negative_size_resume (0.00s) === RUN TestRetryErrorCodes --- PASS: TestRetryErrorCodes (0.00s) === RUN TestEncodingConfiguration --- PASS: TestEncodingConfiguration (0.00s) === RUN TestScopeConfiguration --- PASS: TestScopeConfiguration (0.00s) === RUN TestObjectString --- PASS: TestObjectString (0.00s) === RUN TestSetModTime --- PASS: TestSetModTime (0.00s) === RUN TestCleanUp huaweidrive_test.go:946: CleanUpper interface properly implemented --- PASS: TestCleanUp (0.00s) === RUN TestInterfaceCompliance --- PASS: TestInterfaceCompliance (0.00s) === RUN TestMimeTyper --- PASS: TestMimeTyper (0.00s) === RUN TestRootFolderIDConfig --- PASS: TestRootFolderIDConfig (0.00s) === RUN TestGlobalDomains --- PASS: TestGlobalDomains (0.00s) === RUN TestDomainToRootURL --- PASS: TestDomainToRootURL (0.00s) === RUN TestDetectRootIDAlgorithm === RUN TestDetectRootIDAlgorithm/root_not_in_file_ids === RUN TestDetectRootIDAlgorithm/all_parents_are_file_ids === RUN TestDetectRootIDAlgorithm/empty_file_list --- PASS: TestDetectRootIDAlgorithm (0.00s) --- PASS: TestDetectRootIDAlgorithm/root_not_in_file_ids (0.00s) --- PASS: TestDetectRootIDAlgorithm/all_parents_are_file_ids (0.00s) --- PASS: TestDetectRootIDAlgorithm/empty_file_list (0.00s) FAIL exit status 1 FAIL github.com/rclone/rclone/backend/huaweidrive 0.704s "go test -v -timeout 1h0m0s -remote TestHuaweiDrive: -list-retries 5 -verbose" - Finished ERROR in 1.556907984s (try 1/5): exit status 1: Failed [TestIntegration]