"go test -v -timeout 1h0m0s -remote TestGooglePhotos: -verbose" - Starting (try 1/5) === RUN TestNewAlbums --- PASS: TestNewAlbums (0.00s) === RUN TestAlbumsAdd --- PASS: TestAlbumsAdd (0.00s) === RUN TestAlbumsDel --- PASS: TestAlbumsDel (0.00s) === RUN TestAlbumsGet --- PASS: TestAlbumsGet (0.00s) === RUN TestAlbumsGetDirs --- PASS: TestAlbumsGetDirs (0.00s) === RUN TestIntegration 2024/04/11 01:06:40 DEBUG : Creating backend with remote "TestGooglePhotos:" 2024/04/11 01:06:40 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2024/04/11 01:06:40 DEBUG : Creating backend with remote "testfiles" === RUN TestIntegration/CreateAlbum 2024/04/11 01:06:40 DEBUG : Google Photos path "": Mkdir: dir="album/rclone-test-dipudig2vewexog7cowuqum1" 2024/04/11 01:06:40 DEBUG : TestGooglePhotos: Loaded invalid token from config file - ignoring 2024/04/11 01:06:40 DEBUG : Saving config "token" in section "TestGooglePhotos" of the config file 2024/04/11 01:06:40 DEBUG : TestGooglePhotos: Saved new token in config file 2024/04/11 01:07:17 DEBUG : Google Photos path "": >Mkdir: err= === RUN TestIntegration/CreateAlbum/PutFile 2024/04/11 01:07:17 DEBUG : Google Photos path "": Put: src=album/rclone-test-dipudig2vewexog7cowuqum1/rclone-test-image1.jpg 2024/04/11 01:07:17 DEBUG : album/rclone-test-dipudig2vewexog7cowuqum1/rclone-test-image1.jpg: Update: src=album/rclone-test-dipudig2vewexog7cowuqum1/rclone-test-image1.jpg 2024/04/11 01:07:18 DEBUG : Google Photos path "": Adding "album/rclone-test-dipudig2vewexog7cowuqum1/rclone-test-image1.jpg" to batch 2024/04/11 01:07:19 DEBUG : Google Photos path "": Batch idle for 1s so committing 2024/04/11 01:07:19 DEBUG : Google Photos path "": Committing sync batch length 1 starting with: album/rclone-test-dipudig2vewexog7cowuqum1/rclone-test-image1.jpg 2024/04/11 01:07:20 DEBUG : Google Photos path "": Committed sync batch length 1 starting with: album/rclone-test-dipudig2vewexog7cowuqum1/rclone-test-image1.jpg 2024/04/11 01:07:20 DEBUG : album/rclone-test-dipudig2vewexog7cowuqum1/rclone-test-image1.jpg: >Update: err= 2024/04/11 01:07:20 DEBUG : Google Photos path "": >Put: === RUN TestIntegration/CreateAlbum/PutFile/ObjectFs === RUN TestIntegration/CreateAlbum/PutFile/ObjectString === RUN TestIntegration/CreateAlbum/PutFile/ObjectHash === RUN TestIntegration/CreateAlbum/PutFile/ObjectSize 2024/04/11 01:07:20 DEBUG : album/rclone-test-dipudig2vewexog7cowuqum1/rclone-test-image1.jpg: Size: 2024/04/11 01:07:20 DEBUG : album/rclone-test-dipudig2vewexog7cowuqum1/rclone-test-image1.jpg: >Size: 2024/04/11 01:07:20 DEBUG : album/rclone-test-dipudig2vewexog7cowuqum1/rclone-test-image1.jpg: Size: 2024/04/11 01:07:20 DEBUG : Google Photos path "": List: dir="album/rclone-test-dipudig2vewexog7cowuqum1" 2024/04/11 01:07:21 DEBUG : Google Photos path "": >List: err= 2024/04/11 01:07:21 DEBUG : album/rclone-test-dipudig2vewexog7cowuqum1/rclone-test-image1.jpg: >Size: === RUN TestIntegration/CreateAlbum/PutFile/ObjectSetModTime === RUN TestIntegration/CreateAlbum/PutFile/ObjectStorable === RUN TestIntegration/CreateAlbum/PutFile/ObjectOpen 2024/04/11 01:07:21 DEBUG : album/rclone-test-dipudig2vewexog7cowuqum1/rclone-test-image1.jpg: Open: 2024/04/11 01:07:21 DEBUG : album/rclone-test-dipudig2vewexog7cowuqum1/rclone-test-image1.jpg: >Open: === RUN TestIntegration/CreateAlbum/PutFile/CheckFileInAlbum 2024/04/11 01:07:21 DEBUG : Google Photos path "": List: dir="album/rclone-test-dipudig2vewexog7cowuqum1" 2024/04/11 01:07:22 DEBUG : Google Photos path "": >List: err= 2024/04/11 01:07:22 DEBUG : album/rclone-test-dipudig2vewexog7cowuqum1/rclone-test-image1.jpg: ModTime: 2024/04/11 01:07:22 DEBUG : album/rclone-test-dipudig2vewexog7cowuqum1/rclone-test-image1.jpg: >ModTime: === RUN TestIntegration/CreateAlbum/PutFile/CheckInByYear 2024/04/11 01:07:22 DEBUG : Google Photos path "": List: dir="media/by-year/2013" 2024/04/11 01:07:22 DEBUG : Google Photos path "": >List: err= === RUN TestIntegration/CreateAlbum/PutFile/CheckInByMonth 2024/04/11 01:07:22 DEBUG : Google Photos path "": List: dir="media/by-month/2013/2013-07" 2024/04/11 01:07:23 DEBUG : Google Photos path "": >List: err= === RUN TestIntegration/CreateAlbum/PutFile/CheckInByDay 2024/04/11 01:07:23 DEBUG : Google Photos path "": List: dir="media/by-day/2013/2013-07-26" 2024/04/11 01:07:23 DEBUG : Google Photos path "": >List: err= === RUN TestIntegration/CreateAlbum/PutFile/NewObject 2024/04/11 01:07:23 DEBUG : Google Photos path "": NewObject: remote="album/rclone-test-dipudig2vewexog7cowuqum1/rclone-test-image1.jpg" 2024/04/11 01:07:23 DEBUG : Google Photos path "": List: dir="album/rclone-test-dipudig2vewexog7cowuqum1" 2024/04/11 01:07:24 DEBUG : Google Photos path "": >List: err= 2024/04/11 01:07:24 DEBUG : Google Photos path "": >NewObject: === RUN TestIntegration/CreateAlbum/PutFile/NewObjectWithID 2024/04/11 01:07:24 DEBUG : Google Photos path "": NewObject: remote="album/rclone-test-dipudig2vewexog7cowuqum1/rclone-test-image1 {ALOKJiij1W7NqR8m4fVOFogqyQjeUEMc14c2GWrK6P8tHiQttTrTvBblBfG2LUsKRCml_8syA24ZupQSng98A1G0agXejH5DSw}.jpg" 2024/04/11 01:07:24 DEBUG : Google Photos path "": >NewObject: === RUN TestIntegration/CreateAlbum/PutFile/NewFsIsFile 2024/04/11 01:07:24 DEBUG : Creating backend with remote "TestGooglePhotos:album/rclone-test-dipudig2vewexog7cowuqum1/rclone-test-image1.jpg" 2024/04/11 01:07:24 DEBUG : Google Photos path "album/rclone-test-dipudig2vewexog7cowuqum1": NewObject: remote="rclone-test-image1.jpg" 2024/04/11 01:07:24 DEBUG : Google Photos path "album/rclone-test-dipudig2vewexog7cowuqum1": List: dir="" 2024/04/11 01:07:51 DEBUG : Google Photos path "album/rclone-test-dipudig2vewexog7cowuqum1": >List: err= 2024/04/11 01:07:51 DEBUG : Google Photos path "album/rclone-test-dipudig2vewexog7cowuqum1": >NewObject: 2024/04/11 01:07:51 DEBUG : Google Photos path "album/rclone-test-dipudig2vewexog7cowuqum1": NewObject: remote="rclone-test-image1.jpg" 2024/04/11 01:07:51 DEBUG : Google Photos path "album/rclone-test-dipudig2vewexog7cowuqum1": List: dir="" 2024/04/11 01:07:51 DEBUG : Google Photos path "album/rclone-test-dipudig2vewexog7cowuqum1": >List: err= 2024/04/11 01:07:51 DEBUG : Google Photos path "album/rclone-test-dipudig2vewexog7cowuqum1": >NewObject: === RUN TestIntegration/CreateAlbum/PutFile/RemoveFileFromAlbum 2024/04/11 01:07:54 DEBUG : Google Photos path "": List: dir="album/rclone-test-dipudig2vewexog7cowuqum1" 2024/04/11 01:07:54 DEBUG : Google Photos path "": >List: err= 2024/04/11 01:07:54 DEBUG : Google Photos path "": Rmdir: dir=%!q(MISSING) 2024/04/11 01:07:54 DEBUG : Google Photos path "": >Rmdir: err=google photos API does not implement deleting albums === RUN TestIntegration/UploadMkdir 2024/04/11 01:07:54 DEBUG : Google Photos path "": Mkdir: dir="upload/dir" 2024/04/11 01:07:54 DEBUG : Google Photos path "": >Mkdir: err= 2024/04/11 01:07:54 DEBUG : Google Photos path "": Mkdir: dir="upload/dir/subdir" 2024/04/11 01:07:54 DEBUG : Google Photos path "": >Mkdir: err= === RUN TestIntegration/UploadMkdir/List 2024/04/11 01:07:54 DEBUG : Google Photos path "": List: dir="upload" 2024/04/11 01:07:54 DEBUG : Google Photos path "": >List: err= 2024/04/11 01:07:54 DEBUG : Google Photos path "": List: dir="upload/dir" 2024/04/11 01:07:54 DEBUG : Google Photos path "": >List: err= === RUN TestIntegration/UploadMkdir/Rmdir 2024/04/11 01:07:54 DEBUG : Google Photos path "": Rmdir: dir=%!q(MISSING) 2024/04/11 01:07:54 DEBUG : Google Photos path "": >Rmdir: err= 2024/04/11 01:07:54 DEBUG : Google Photos path "": Rmdir: dir=%!q(MISSING) 2024/04/11 01:07:54 DEBUG : Google Photos path "": >Rmdir: err= === RUN TestIntegration/UploadMkdir/ListEmpty 2024/04/11 01:07:54 DEBUG : Google Photos path "": List: dir="upload" 2024/04/11 01:07:54 DEBUG : Google Photos path "": >List: err= 2024/04/11 01:07:54 DEBUG : Google Photos path "": List: dir="upload/dir" 2024/04/11 01:07:54 DEBUG : Google Photos path "": >List: err=directory not found === RUN TestIntegration/Upload 2024/04/11 01:07:54 DEBUG : Google Photos path "": Put: src=upload/dir/subdir/rclone-test-image2.jpg 2024/04/11 01:07:54 DEBUG : upload/dir/subdir/rclone-test-image2.jpg: Update: src=upload/dir/subdir/rclone-test-image2.jpg 2024/04/11 01:07:54 DEBUG : pacer: low level retry 1/1 (error { "code": 8, "message": "Quota exceeded for quota metric \u0027Size of uploads\u0027 and limit \u0027Size of uploads per day\u0027 of service \u0027photoslibrary.googleapis.com\u0027 for consumer \u0027project_number:202264815644\u0027." } (429 429 Too Many Requests)) 2024/04/11 01:07:54 DEBUG : pacer: Rate limited, increasing sleep to 1.117891749s 2024/04/11 01:07:54 DEBUG : upload/dir/subdir/rclone-test-image2.jpg: >Update: err=couldn't upload file: { "code": 8, "message": "Quota exceeded for quota metric \u0027Size of uploads\u0027 and limit \u0027Size of uploads per day\u0027 of service \u0027photoslibrary.googleapis.com\u0027 for consumer \u0027project_number:202264815644\u0027." } (429 429 Too Many Requests) 2024/04/11 01:07:54 DEBUG : Google Photos path "": >Put: googlephotos_test.go:224: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/backend/googlephotos/googlephotos_test.go:224 Error: Received unexpected error: couldn't upload file: { "code": 8, "message": "Quota exceeded for quota metric \u0027Size of uploads\u0027 and limit \u0027Size of uploads per day\u0027 of service \u0027photoslibrary.googleapis.com\u0027 for consumer \u0027project_number:202264815644\u0027." } (429 429 Too Many Requests) Test: TestIntegration/Upload === RUN TestIntegration/Name === RUN TestIntegration/Root === RUN TestIntegration/String === RUN TestIntegration/Features === RUN TestIntegration/Precision === RUN TestIntegration/Hashes --- FAIL: TestIntegration (74.73s) --- PASS: TestIntegration/CreateAlbum (74.67s) --- PASS: TestIntegration/CreateAlbum/PutFile (37.19s) --- PASS: TestIntegration/CreateAlbum/PutFile/ObjectFs (0.00s) --- PASS: TestIntegration/CreateAlbum/PutFile/ObjectString (0.00s) --- PASS: TestIntegration/CreateAlbum/PutFile/ObjectHash (0.00s) --- PASS: TestIntegration/CreateAlbum/PutFile/ObjectSize (1.05s) --- PASS: TestIntegration/CreateAlbum/PutFile/ObjectSetModTime (0.00s) --- PASS: TestIntegration/CreateAlbum/PutFile/ObjectStorable (0.00s) --- PASS: TestIntegration/CreateAlbum/PutFile/ObjectOpen (0.21s) --- PASS: TestIntegration/CreateAlbum/PutFile/CheckFileInAlbum (0.46s) --- PASS: TestIntegration/CreateAlbum/PutFile/CheckInByYear (0.47s) --- PASS: TestIntegration/CreateAlbum/PutFile/CheckInByMonth (0.34s) --- PASS: TestIntegration/CreateAlbum/PutFile/CheckInByDay (0.39s) --- PASS: TestIntegration/CreateAlbum/PutFile/NewObject (0.49s) --- PASS: TestIntegration/CreateAlbum/PutFile/NewObjectWithID (0.44s) --- PASS: TestIntegration/CreateAlbum/PutFile/NewFsIsFile (27.05s) --- PASS: TestIntegration/CreateAlbum/PutFile/RemoveFileFromAlbum (3.19s) --- PASS: TestIntegration/UploadMkdir (0.00s) --- PASS: TestIntegration/UploadMkdir/List (0.00s) --- PASS: TestIntegration/UploadMkdir/Rmdir (0.00s) --- PASS: TestIntegration/UploadMkdir/ListEmpty (0.00s) --- FAIL: TestIntegration/Upload (0.05s) --- PASS: TestIntegration/Name (0.00s) --- PASS: TestIntegration/Root (0.00s) --- PASS: TestIntegration/String (0.00s) --- PASS: TestIntegration/Features (0.00s) --- PASS: TestIntegration/Precision (0.00s) --- PASS: TestIntegration/Hashes (0.00s) === RUN TestAddID --- PASS: TestAddID (0.00s) === RUN TestFileAddID --- PASS: TestFileAddID (0.00s) === RUN TestFindID --- PASS: TestFindID (0.00s) === RUN TestPatternMatch === RUN TestPatternMatch/#0,root="",itemPath="",isFile=false === RUN TestPatternMatch/#1,root="",itemPath="",isFile=true === RUN TestPatternMatch/#2,root="upload",itemPath="",isFile=false === RUN TestPatternMatch/#3,root="upload/dir",itemPath="",isFile=false === RUN TestPatternMatch/#4,root="upload/file.jpg",itemPath="",isFile=true === RUN TestPatternMatch/#5,root="media",itemPath="",isFile=false === RUN TestPatternMatch/#6,root="",itemPath="media",isFile=false === RUN TestPatternMatch/#7,root="media/all",itemPath="",isFile=false === RUN TestPatternMatch/#8,root="media",itemPath="all",isFile=false === RUN TestPatternMatch/#9,root="media/all",itemPath="file.jpg",isFile=true === RUN TestPatternMatch/#10,root="",itemPath="feature",isFile=false === RUN TestPatternMatch/#11,root="feature/favorites",itemPath="",isFile=false === RUN TestPatternMatch/#12,root="feature",itemPath="favorites",isFile=false === RUN TestPatternMatch/#13,root="feature/favorites",itemPath="file.jpg",isFile=true --- PASS: TestPatternMatch (0.00s) --- PASS: TestPatternMatch/#0,root="",itemPath="",isFile=false (0.00s) --- PASS: TestPatternMatch/#1,root="",itemPath="",isFile=true (0.00s) --- PASS: TestPatternMatch/#2,root="upload",itemPath="",isFile=false (0.00s) --- PASS: TestPatternMatch/#3,root="upload/dir",itemPath="",isFile=false (0.00s) --- PASS: TestPatternMatch/#4,root="upload/file.jpg",itemPath="",isFile=true (0.00s) --- PASS: TestPatternMatch/#5,root="media",itemPath="",isFile=false (0.00s) --- PASS: TestPatternMatch/#6,root="",itemPath="media",isFile=false (0.00s) --- PASS: TestPatternMatch/#7,root="media/all",itemPath="",isFile=false (0.00s) --- PASS: TestPatternMatch/#8,root="media",itemPath="all",isFile=false (0.00s) --- PASS: TestPatternMatch/#9,root="media/all",itemPath="file.jpg",isFile=true (0.00s) --- PASS: TestPatternMatch/#10,root="",itemPath="feature",isFile=false (0.00s) --- PASS: TestPatternMatch/#11,root="feature/favorites",itemPath="",isFile=false (0.00s) --- PASS: TestPatternMatch/#12,root="feature",itemPath="favorites",isFile=false (0.00s) --- PASS: TestPatternMatch/#13,root="feature/favorites",itemPath="file.jpg",isFile=true (0.00s) === RUN TestPatternMatchToEntries === RUN TestPatternMatchToEntries/#0,root="",itemPath="" === RUN TestPatternMatchToEntries/#1,root="upload",itemPath="" === RUN TestPatternMatchToEntries/#2,root="upload",itemPath="dir" === RUN TestPatternMatchToEntries/#3,root="media",itemPath="" === RUN TestPatternMatchToEntries/#4,root="media/all",itemPath="" === RUN TestPatternMatchToEntries/#5,root="media",itemPath="all" === RUN TestPatternMatchToEntries/#6,root="media/by-year",itemPath="" === RUN TestPatternMatchToEntries/#7,root="media/by-year/2000",itemPath="" === RUN TestPatternMatchToEntries/#8,root="media/by-month",itemPath="" === RUN TestPatternMatchToEntries/#9,root="media/by-month/2001",itemPath="" === RUN TestPatternMatchToEntries/#10,root="media/by-month/2001/2001-01",itemPath="" === RUN TestPatternMatchToEntries/#11,root="media/by-day",itemPath="" === RUN TestPatternMatchToEntries/#12,root="media/by-day/2001",itemPath="" === RUN TestPatternMatchToEntries/#13,root="media/by-day/2001/2001-01-02",itemPath="" === RUN TestPatternMatchToEntries/#14,root="album",itemPath="" 2024/04/11 01:07:54 DEBUG : &{0xc001590000 0xc000394060 [file.jpg] map[:[0xc0015960e0] upload:[upload/file1.jpg 0xc001596150] upload/dir:[upload/dir/file2.jpg]]}: Error reading media count: strconv.ParseInt: parsing "": invalid syntax === RUN TestPatternMatchToEntries/#15,root="album/sub",itemPath="" 2024/04/11 01:07:54 DEBUG : &{0xc001590000 0xc000394060 [file.jpg] map[:[0xc0015960e0] upload:[upload/file1.jpg 0xc001596150] upload/dir:[upload/dir/file2.jpg]]}: Error reading media count: strconv.ParseInt: parsing "": invalid syntax === RUN TestPatternMatchToEntries/#16,root="album/sub/one",itemPath="" === RUN TestPatternMatchToEntries/#17,root="shared-album",itemPath="" 2024/04/11 01:07:54 DEBUG : &{0xc001590000 0xc000394060 [file.jpg] map[:[0xc0015960e0] upload:[upload/file1.jpg 0xc001596150] upload/dir:[upload/dir/file2.jpg]]}: Error reading media count: strconv.ParseInt: parsing "": invalid syntax === RUN TestPatternMatchToEntries/#18,root="shared-album/sub",itemPath="" 2024/04/11 01:07:54 DEBUG : &{0xc001590000 0xc000394060 [file.jpg] map[:[0xc0015960e0] upload:[upload/file1.jpg 0xc001596150] upload/dir:[upload/dir/file2.jpg]]}: Error reading media count: strconv.ParseInt: parsing "": invalid syntax === RUN TestPatternMatchToEntries/#19,root="shared-album/sub/one",itemPath="" --- PASS: TestPatternMatchToEntries (0.00s) --- PASS: TestPatternMatchToEntries/#0,root="",itemPath="" (0.00s) --- PASS: TestPatternMatchToEntries/#1,root="upload",itemPath="" (0.00s) --- PASS: TestPatternMatchToEntries/#2,root="upload",itemPath="dir" (0.00s) --- PASS: TestPatternMatchToEntries/#3,root="media",itemPath="" (0.00s) --- PASS: TestPatternMatchToEntries/#4,root="media/all",itemPath="" (0.00s) --- PASS: TestPatternMatchToEntries/#5,root="media",itemPath="all" (0.00s) --- PASS: TestPatternMatchToEntries/#6,root="media/by-year",itemPath="" (0.00s) --- PASS: TestPatternMatchToEntries/#7,root="media/by-year/2000",itemPath="" (0.00s) --- PASS: TestPatternMatchToEntries/#8,root="media/by-month",itemPath="" (0.00s) --- PASS: TestPatternMatchToEntries/#9,root="media/by-month/2001",itemPath="" (0.00s) --- PASS: TestPatternMatchToEntries/#10,root="media/by-month/2001/2001-01",itemPath="" (0.00s) --- PASS: TestPatternMatchToEntries/#11,root="media/by-day",itemPath="" (0.00s) --- PASS: TestPatternMatchToEntries/#12,root="media/by-day/2001",itemPath="" (0.00s) --- PASS: TestPatternMatchToEntries/#13,root="media/by-day/2001/2001-01-02",itemPath="" (0.00s) --- PASS: TestPatternMatchToEntries/#14,root="album",itemPath="" (0.00s) --- PASS: TestPatternMatchToEntries/#15,root="album/sub",itemPath="" (0.00s) --- PASS: TestPatternMatchToEntries/#16,root="album/sub/one",itemPath="" (0.00s) --- PASS: TestPatternMatchToEntries/#17,root="shared-album",itemPath="" (0.00s) --- PASS: TestPatternMatchToEntries/#18,root="shared-album/sub",itemPath="" (0.00s) --- PASS: TestPatternMatchToEntries/#19,root="shared-album/sub/one",itemPath="" (0.00s) === RUN TestPatternYears --- PASS: TestPatternYears (0.00s) === RUN TestPatternMonths --- PASS: TestPatternMonths (0.00s) === RUN TestPatternDays --- PASS: TestPatternDays (0.00s) === RUN TestPatternYearMonthDayFilter --- PASS: TestPatternYearMonthDayFilter (0.00s) === RUN TestPatternAlbumsToEntries 2024/04/11 01:07:54 DEBUG : &{0xc0015c09c0 0xc00009ce10 [] map[]}: Error reading media count: strconv.ParseInt: parsing "": invalid syntax 2024/04/11 01:07:54 DEBUG : &{0xc0015c09c0 0xc00009ce10 [file.jpg] map[]}: Error reading media count: strconv.ParseInt: parsing "": invalid syntax --- PASS: TestPatternAlbumsToEntries (0.00s) FAIL exit status 1 FAIL github.com/rclone/rclone/backend/googlephotos 74.752s "go test -v -timeout 1h0m0s -remote TestGooglePhotos: -verbose" - Finished ERROR in 1m15.625790901s (try 1/5): exit status 1: Failed [TestIntegration/Upload]