"go test -v -timeout 1h0m0s -remote TestProtonDrive: -verbose" - Starting (try 1/5) === RUN TestProtonDriveAppVersionFromRcloneVersion === RUN TestProtonDriveAppVersionFromRcloneVersion/release === RUN TestProtonDriveAppVersionFromRcloneVersion/dev_build === RUN TestProtonDriveAppVersionFromRcloneVersion/beta_build_with_extra_metadata === RUN TestProtonDriveAppVersionFromRcloneVersion/beta_build_with_unsanitized_branch_name === RUN TestProtonDriveAppVersionFromRcloneVersion/invalid_version_falls_back_to_stable --- PASS: TestProtonDriveAppVersionFromRcloneVersion (0.00s) --- PASS: TestProtonDriveAppVersionFromRcloneVersion/release (0.00s) --- PASS: TestProtonDriveAppVersionFromRcloneVersion/dev_build (0.00s) --- PASS: TestProtonDriveAppVersionFromRcloneVersion/beta_build_with_extra_metadata (0.00s) --- PASS: TestProtonDriveAppVersionFromRcloneVersion/beta_build_with_unsanitized_branch_name (0.00s) --- PASS: TestProtonDriveAppVersionFromRcloneVersion/invalid_version_falls_back_to_stable (0.00s) === RUN TestIntegration fstests.go:438: Using remote "TestProtonDrive:" 2026/05/02 03:05:32 DEBUG : Creating backend with remote "TestProtonDrive:rclone-test-wedigam5qoha" 2026/05/02 03:05:32 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/05/02 03:05:32 DEBUG : proton drive root link ID 'rclone-test-wedigam5qoha': Has cached credentials 2026/05/02 03:05:32.187110 WARN RESTY 401 GET https://drive-api.proton.me/core/v4/users: Invalid access token (Code=401, Status=401), Attempt 1 2026/05/02 03:05:32.187134 ERROR RESTY 401 GET https://drive-api.proton.me/core/v4/users: Invalid access token (Code=401, Status=401) 2026/05/02 03:05:32 DEBUG : Saving config "client_uid" in section "TestProtonDrive" of the config file 2026/05/02 03:05:32 DEBUG : Saving config "client_access_token" in section "TestProtonDrive" of the config file 2026/05/02 03:05:32 DEBUG : Saving config "client_refresh_token" in section "TestProtonDrive" of the config file 2026/05/02 03:05:32 DEBUG : Saving config "client_salted_key_pass" in section "TestProtonDrive" of the config file 2026/05/02 03:05:32 DEBUG : proton drive root link ID 'rclone-test-wedigam5qoha': Used cached credential to initialize the ProtonDrive API === RUN TestIntegration/FsCheckWrap fstests.go:479: Not a wrapping Fs === RUN TestIntegration/FsCommand fstests.go:507: No commands in this remote === RUN TestIntegration/FsRmdirNotFound === RUN TestIntegration/FsString === RUN TestIntegration/FsName === RUN TestIntegration/FsRoot === RUN TestIntegration/FsRmdirEmpty === RUN TestIntegration/FsMkdir === RUN TestIntegration/FsMkdir/FsMkdirRmdirSubdir 2026/05/02 03:05:34 INFO : dir/subdir: Making directory 2026/05/02 03:05:34 INFO : dir/subdir: Removing directory 2026/05/02 03:05:35 INFO : dir: Removing directory === RUN TestIntegration/FsMkdir/FsListEmpty === RUN TestIntegration/FsMkdir/FsListDirEmpty === RUN TestIntegration/FsMkdir/FsListRDirEmpty fstests.go:399: FS has no ListR interface === RUN TestIntegration/FsMkdir/FsListDirNotFound 2026/05/02 03:05:35 ERROR : does not exist: error listing: directory not found === RUN TestIntegration/FsMkdir/FsListRDirNotFound fstests.go:399: FS has no ListR interface === RUN TestIntegration/FsMkdir/FsEncoding === RUN TestIntegration/FsMkdir/FsEncoding/control_chars fstests.go:708: testing "␀␁␂␃␄␅␆␇␈␉␊␋␌␍␎␏␐␑␒␓␔␕␖␗␘␙␚␛␜␝␞␟␡" === RUN TestIntegration/FsMkdir/FsEncoding/dot fstests.go:708: testing "." === RUN TestIntegration/FsMkdir/FsEncoding/dot_dot fstests.go:708: testing ".." === RUN TestIntegration/FsMkdir/FsEncoding/punctuation fstests.go:708: testing "!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~" === RUN TestIntegration/FsMkdir/FsEncoding/leading_space fstests.go:708: testing " leading space" === RUN TestIntegration/FsMkdir/FsEncoding/leading_tilde fstests.go:708: testing "~leading tilde" === RUN TestIntegration/FsMkdir/FsEncoding/leading_CR fstests.go:708: testing "␍leading CR" === RUN TestIntegration/FsMkdir/FsEncoding/leading_LF fstests.go:708: testing "␊leading LF" === RUN TestIntegration/FsMkdir/FsEncoding/leading_HT fstests.go:708: testing "␉leading HT" === RUN TestIntegration/FsMkdir/FsEncoding/leading_VT fstests.go:708: testing "␋leading VT" === RUN TestIntegration/FsMkdir/FsEncoding/leading_dot fstests.go:708: testing ".leading dot" === RUN TestIntegration/FsMkdir/FsEncoding/trailing_space fstests.go:708: testing "trailing space " === RUN TestIntegration/FsMkdir/FsEncoding/trailing_CR fstests.go:708: testing "trailing CR␍" === RUN TestIntegration/FsMkdir/FsEncoding/trailing_LF fstests.go:708: testing "trailing LF␊" === RUN TestIntegration/FsMkdir/FsEncoding/trailing_HT fstests.go:708: testing "trailing HT␉" === RUN TestIntegration/FsMkdir/FsEncoding/trailing_VT fstests.go:708: testing "trailing VT␋" === RUN TestIntegration/FsMkdir/FsEncoding/trailing_dot fstests.go:708: testing "trailing dot." === RUN TestIntegration/FsMkdir/FsEncoding/invalid_UTF-8 fstests.go:708: testing "invalid utf-8\xfe" === RUN TestIntegration/FsMkdir/FsEncoding/URL_encoding fstests.go:708: testing "test%46.txt" === RUN TestIntegration/FsMkdir/FsNewObjectNotFound === RUN TestIntegration/FsMkdir/FsPutError === RUN TestIntegration/FsMkdir/FsPutZeroLength === RUN TestIntegration/FsMkdir/FsOpenWriterAt fstests.go:787: FS has no OpenWriterAt interface === RUN TestIntegration/FsMkdir/FsOpenChunkWriter fstests.go:820: FS has no OpenChunkWriter interface === RUN TestIntegration/FsMkdir/FsChangeNotify fstests.go:873: FS has no ChangeNotify interface === RUN TestIntegration/FsMkdir/FsPutFiles 2026/05/02 03:06:12.508726 WARN RESTY 422 POST https://drive-api.proton.me/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2026/05/02 03:06:12.508748 ERROR RESTY 422 POST https://drive-api.proton.me/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2026/05/02 03:06:12.860325 WARN RESTY 422 GET https://drive-api.proton.me/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files/JvDoCd14bNOtMQ6C8VHq-vVRDL-apIhud4JGswGSOCXou7ncCphklTsZ-AYeW_zdU4ri4CP_IYrOnG_NWAU3JQ==/revisions: File or folder not found (Code=2501, Status=422), Attempt 1 2026/05/02 03:06:12.860360 ERROR RESTY 422 GET https://drive-api.proton.me/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files/JvDoCd14bNOtMQ6C8VHq-vVRDL-apIhud4JGswGSOCXou7ncCphklTsZ-AYeW_zdU4ri4CP_IYrOnG_NWAU3JQ==/revisions: File or folder not found (Code=2501, Status=422) fstests.go:146: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstests/fstests.go:146 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstests/fstests.go:162 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstests/fstests.go:224 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstests/fstests.go:214 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstests/fstests.go:959 /usr/local/go/src/runtime/asm_amd64.s:1771 Error: Received unexpected error: 422 GET https://drive-api.proton.me/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files/JvDoCd14bNOtMQ6C8VHq-vVRDL-apIhud4JGswGSOCXou7ncCphklTsZ-AYeW_zdU4ri4CP_IYrOnG_NWAU3JQ==/revisions: File or folder not found (Code=2501, Status=422) Test: TestIntegration/FsMkdir/FsPutFiles Messages: Put === RUN TestIntegration/FsMkdir/FsPutChunked fstests.go:2376: *protondrive.Fs does not implement SetUploadChunkSizer === RUN TestIntegration/FsMkdir/FsCopyChunked fstests.go:2488: FS has no Copier interface === RUN TestIntegration/FsMkdir/FsUploadUnknownSize === RUN TestIntegration/FsMkdir/FsUploadUnknownSize/FsPutUnknownSize === RUN TestIntegration/FsMkdir/FsUploadUnknownSize/FsUpdateUnknownSize === RUN TestIntegration/FsMkdir/FsRootCollapse 2026/05/02 03:06:13 DEBUG : Creating backend with remote "TestProtonDrive:rclone-test-wedigam5qoha/deeper/nonexisting/directory" 2026/05/02 03:06:13 DEBUG : Config file has changed externally - reloading 2026/05/02 03:06:13 DEBUG : proton drive root link ID 'rclone-test-wedigam5qoha/deeper/nonexisting/directory': Has cached credentials 2026/05/02 03:06:14 DEBUG : proton drive root link ID 'rclone-test-wedigam5qoha/deeper/nonexisting/directory': Used cached credential to initialize the ProtonDrive API === RUN TestIntegration/FsMkdir/FsDirSetModTime fstests.go:2637: FS has no DirSetModTime interface === RUN TestIntegration/FsMkdir/FsMkdirMetadata fstests.go:2680: FS has no MkdirMetadata interface === RUN TestIntegration/FsMkdir/FsDirectory fstests.go:2737: FS has no Directory methods and doesn't Wrap 2026/05/02 03:06:23 ERROR : error listing: directory not found === RUN TestIntegration/FsShutdown fstests.go:2843: Shutdown method not supported --- FAIL: TestIntegration (51.20s) --- SKIP: TestIntegration/FsCheckWrap (0.00s) --- SKIP: TestIntegration/FsCommand (0.00s) --- PASS: TestIntegration/FsRmdirNotFound (0.06s) --- PASS: TestIntegration/FsString (0.00s) --- PASS: TestIntegration/FsName (0.00s) --- PASS: TestIntegration/FsRoot (0.00s) --- PASS: TestIntegration/FsRmdirEmpty (0.17s) --- FAIL: TestIntegration/FsMkdir (49.54s) --- PASS: TestIntegration/FsMkdir/FsMkdirRmdirSubdir (1.56s) --- PASS: TestIntegration/FsMkdir/FsListEmpty (0.11s) --- PASS: TestIntegration/FsMkdir/FsListDirEmpty (0.10s) --- SKIP: TestIntegration/FsMkdir/FsListRDirEmpty (0.00s) --- PASS: TestIntegration/FsMkdir/FsListDirNotFound (0.06s) --- SKIP: TestIntegration/FsMkdir/FsListRDirNotFound (0.00s) --- PASS: TestIntegration/FsMkdir/FsEncoding (33.30s) --- PASS: TestIntegration/FsMkdir/FsEncoding/control_chars (1.85s) --- PASS: TestIntegration/FsMkdir/FsEncoding/dot (1.73s) --- PASS: TestIntegration/FsMkdir/FsEncoding/dot_dot (1.75s) --- PASS: TestIntegration/FsMkdir/FsEncoding/punctuation (1.75s) --- PASS: TestIntegration/FsMkdir/FsEncoding/leading_space (1.75s) --- PASS: TestIntegration/FsMkdir/FsEncoding/leading_tilde (1.69s) --- PASS: TestIntegration/FsMkdir/FsEncoding/leading_CR (1.62s) --- PASS: TestIntegration/FsMkdir/FsEncoding/leading_LF (1.69s) --- PASS: TestIntegration/FsMkdir/FsEncoding/leading_HT (1.68s) --- PASS: TestIntegration/FsMkdir/FsEncoding/leading_VT (1.64s) --- PASS: TestIntegration/FsMkdir/FsEncoding/leading_dot (1.73s) --- PASS: TestIntegration/FsMkdir/FsEncoding/trailing_space (1.73s) --- PASS: TestIntegration/FsMkdir/FsEncoding/trailing_CR (1.74s) --- PASS: TestIntegration/FsMkdir/FsEncoding/trailing_LF (1.63s) --- PASS: TestIntegration/FsMkdir/FsEncoding/trailing_HT (1.74s) --- PASS: TestIntegration/FsMkdir/FsEncoding/trailing_VT (2.34s) --- PASS: TestIntegration/FsMkdir/FsEncoding/trailing_dot (1.69s) --- PASS: TestIntegration/FsMkdir/FsEncoding/invalid_UTF-8 (1.69s) --- PASS: TestIntegration/FsMkdir/FsEncoding/URL_encoding (1.70s) --- PASS: TestIntegration/FsMkdir/FsNewObjectNotFound (0.10s) --- PASS: TestIntegration/FsMkdir/FsPutError (1.44s) --- PASS: TestIntegration/FsMkdir/FsPutZeroLength (0.78s) --- SKIP: TestIntegration/FsMkdir/FsOpenWriterAt (0.00s) --- SKIP: TestIntegration/FsMkdir/FsOpenChunkWriter (0.00s) --- SKIP: TestIntegration/FsMkdir/FsChangeNotify (0.00s) --- FAIL: TestIntegration/FsMkdir/FsPutFiles (1.37s) --- SKIP: TestIntegration/FsMkdir/FsPutChunked (0.00s) --- SKIP: TestIntegration/FsMkdir/FsCopyChunked (0.00s) --- PASS: TestIntegration/FsMkdir/FsUploadUnknownSize (1.07s) --- PASS: TestIntegration/FsMkdir/FsUploadUnknownSize/FsPutUnknownSize (0.00s) --- PASS: TestIntegration/FsMkdir/FsUploadUnknownSize/FsUpdateUnknownSize (1.07s) --- PASS: TestIntegration/FsMkdir/FsRootCollapse (8.98s) --- SKIP: TestIntegration/FsMkdir/FsDirSetModTime (0.00s) --- SKIP: TestIntegration/FsMkdir/FsMkdirMetadata (0.00s) --- SKIP: TestIntegration/FsMkdir/FsDirectory (0.00s) --- SKIP: TestIntegration/FsShutdown (0.00s) FAIL exit status 1 FAIL github.com/rclone/rclone/backend/protondrive 51.211s "go test -v -timeout 1h0m0s -remote TestProtonDrive: -verbose" - Finished ERROR in 52.144271582s (try 1/5): exit status 1: Failed [TestIntegration/FsMkdir/FsPutFiles]