Skip to content

feat: download处理403错误 & upload最大分片限制 #152

feat: download处理403错误 & upload最大分片限制

feat: download处理403错误 & upload最大分片限制 #152

Triggered via push October 15, 2024 10:04
Status Failure
Total duration 9m 43s
Artifacts

ci.yml

on: push
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

15 errors and 16 warnings
build (macOS): Tests/AliyunpanSDKTests/DownloaderTests.swift#L52
testChunk, XCTAssertEqual failed: ("[chunk-0]: 0-4000000") is not equal to ("[chunk--1]: 0-4000000")
build (macOS): Tests/AliyunpanSDKTests/DownloaderTests.swift#L53
testChunk, XCTAssertEqual failed: ("[chunk-1]: 4000000-8000000") is not equal to ("[chunk--1]: 4000000-8000000")
build (macOS): Tests/AliyunpanSDKTests/DownloaderTests.swift#L54
testChunk, XCTAssertEqual failed: ("[chunk-2]: 8000000-12000000") is not equal to ("[chunk--1]: 8000000-12000000")
build (macOS): Tests/AliyunpanSDKTests/DownloaderTests.swift#L55
testChunk, XCTAssertEqual failed: ("[chunk-3]: 12000000-12345678") is not equal to ("[chunk--1]: 12000000-12345678")
build (macOS)
Process completed with exit code 1.
build (tvOS Simulator,name=Apple TV): Tests/AliyunpanSDKTests/DownloaderTests.swift#L52
testChunk, XCTAssertEqual failed: ("[chunk-0]: 0-4000000") is not equal to ("[chunk--1]: 0-4000000")
build (tvOS Simulator,name=Apple TV): Tests/AliyunpanSDKTests/DownloaderTests.swift#L53
testChunk, XCTAssertEqual failed: ("[chunk-1]: 4000000-8000000") is not equal to ("[chunk--1]: 4000000-8000000")
build (tvOS Simulator,name=Apple TV): Tests/AliyunpanSDKTests/DownloaderTests.swift#L54
testChunk, XCTAssertEqual failed: ("[chunk-2]: 8000000-12000000") is not equal to ("[chunk--1]: 8000000-12000000")
build (tvOS Simulator,name=Apple TV): Tests/AliyunpanSDKTests/DownloaderTests.swift#L55
testChunk, XCTAssertEqual failed: ("[chunk-3]: 12000000-12345678") is not equal to ("[chunk--1]: 12000000-12345678")
build (tvOS Simulator,name=Apple TV)
Process completed with exit code 1.
build (iOS Simulator,name=iPhone 14): Tests/AliyunpanSDKTests/DownloaderTests.swift#L52
testChunk, XCTAssertEqual failed: ("[chunk-0]: 0-4000000") is not equal to ("[chunk--1]: 0-4000000")
build (iOS Simulator,name=iPhone 14): Tests/AliyunpanSDKTests/DownloaderTests.swift#L53
testChunk, XCTAssertEqual failed: ("[chunk-1]: 4000000-8000000") is not equal to ("[chunk--1]: 4000000-8000000")
build (iOS Simulator,name=iPhone 14): Tests/AliyunpanSDKTests/DownloaderTests.swift#L54
testChunk, XCTAssertEqual failed: ("[chunk-2]: 8000000-12000000") is not equal to ("[chunk--1]: 8000000-12000000")
build (iOS Simulator,name=iPhone 14): Tests/AliyunpanSDKTests/DownloaderTests.swift#L55
testChunk, XCTAssertEqual failed: ("[chunk-3]: 12000000-12345678") is not equal to ("[chunk--1]: 12000000-12345678")
build (iOS Simulator,name=iPhone 14)
Process completed with exit code 1.
build (macOS): Sources/AliyunpanSDK/AliyunpanCredentials/AliyunpanAuthenticator.swift#L70
Todo Violation: TODOs should be resolved (- auto_login 服务修复后需要去除主动 auto_...) (todo)
build (macOS): Sources/AliyunpanSDK/HTTPRequest/Download/DownloadChunkOperation.swift#L175
Opening Brace Spacing Violation: Opening braces should be preceded by a single space and on the same line as the declaration (opening_brace)
build (macOS): Sources/AliyunpanSDK/AliyunpanCredentials/AliyunpanAuthenticator.swift#L70
Todo Violation: TODOs should be resolved (- auto_login 服务修复后需要去除主动 auto_...) (todo)
build (macOS): Sources/AliyunpanSDK/HTTPRequest/Download/DownloadChunkOperation.swift#L175
Opening Brace Spacing Violation: Opening braces should be preceded by a single space and on the same line as the declaration (opening_brace)
build (macOS): Sources/AliyunpanSDK/HTTPRequest/DebugDescription.swift#L60
Optional Data -> String Conversion Violation: Prefer failable `String(data:encoding:)` initializer when converting `Data` to `String` (optional_data_string_conversion)
build (tvOS Simulator,name=Apple TV): Sources/AliyunpanSDK/AliyunpanCredentials/AliyunpanAuthenticator.swift#L70
Todo Violation: TODOs should be resolved (- auto_login 服务修复后需要去除主动 auto_...) (todo)
build (tvOS Simulator,name=Apple TV): Sources/AliyunpanSDK/HTTPRequest/Download/DownloadChunkOperation.swift#L175
Opening Brace Spacing Violation: Opening braces should be preceded by a single space and on the same line as the declaration (opening_brace)
build (tvOS Simulator,name=Apple TV): Sources/AliyunpanSDK/AliyunpanCredentials/AliyunpanAuthenticator.swift#L70
Todo Violation: TODOs should be resolved (- auto_login 服务修复后需要去除主动 auto_...) (todo)
build (tvOS Simulator,name=Apple TV): Sources/AliyunpanSDK/HTTPRequest/Download/DownloadChunkOperation.swift#L175
Opening Brace Spacing Violation: Opening braces should be preceded by a single space and on the same line as the declaration (opening_brace)
build (tvOS Simulator,name=Apple TV): Sources/AliyunpanSDK/HTTPRequest/DebugDescription.swift#L60
Optional Data -> String Conversion Violation: Prefer failable `String(data:encoding:)` initializer when converting `Data` to `String` (optional_data_string_conversion)
build (tvOS Simulator,name=Apple TV)
TARGETED_DEVICE_FAMILY value (1) does not contain any device family values compatible with the tvOS platform. Please add the value '3' to the TARGETED_DEVICE_FAMILY build setting to indicate that this target supports the 'Apple TV' device family. (in target 'AliyunpanSDKTests' from project 'AliyunpanSDK')
build (iOS Simulator,name=iPhone 14): Sources/AliyunpanSDK/AliyunpanCredentials/AliyunpanAuthenticator.swift#L70
Todo Violation: TODOs should be resolved (- auto_login 服务修复后需要去除主动 auto_...) (todo)
build (iOS Simulator,name=iPhone 14): Sources/AliyunpanSDK/HTTPRequest/DebugDescription.swift#L60
Optional Data -> String Conversion Violation: Prefer failable `String(data:encoding:)` initializer when converting `Data` to `String` (optional_data_string_conversion)
build (iOS Simulator,name=iPhone 14): Sources/AliyunpanSDK/AliyunpanCredentials/AliyunpanAuthenticator.swift#L70
Todo Violation: TODOs should be resolved (- auto_login 服务修复后需要去除主动 auto_...) (todo)
build (iOS Simulator,name=iPhone 14): Sources/AliyunpanSDK/HTTPRequest/Download/DownloadChunkOperation.swift#L175
Opening Brace Spacing Violation: Opening braces should be preceded by a single space and on the same line as the declaration (opening_brace)
build (iOS Simulator,name=iPhone 14): Sources/AliyunpanSDK/HTTPRequest/DebugDescription.swift#L60
Optional Data -> String Conversion Violation: Prefer failable `String(data:encoding:)` initializer when converting `Data` to `String` (optional_data_string_conversion)