Advertisement
jermeel

Untitled

Sep 6th, 2018
16
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. FancyBook-Pro:~ drew$ mkdir rclone-master
  2. FancyBook-Pro:~ drew$ cd rclone-master/
  3. FancyBook-Pro:rclone-master drew$ git clone https://github.com/ncw/rclone.git
  4. Cloning into 'rclone'...
  5. remote: Counting objects: 59668, done.
  6. remote: Compressing objects: 100% (14/14), done.
  7. remote: Total 59668 (delta 5), reused 9 (delta 2), pack-reused 59652
  8. Receiving objects: 100% (59668/59668), 115.97 MiB | 3.96 MiB/s, done.
  9. Resolving deltas: 100% (32036/32036), done.
  10. FancyBook-Pro:rclone-master drew$ cd rclone/
  11.  
  12. FancyBook-Pro:rclone drew$ make
  13. touch fs/version.go
  14. go install -v --ldflags "-s -X github.com/ncw/rclone/fs.Version=v1.43-041-g57b9fff9-beta"
  15. github.com/ncw/rclone/cmd/ls/lshelp
  16. github.com/ncw/rclone/cmd/cmount
  17. github.com/ncw/rclone/backend/onedrive/api
  18. github.com/ncw/rclone/backend/box/api
  19. github.com/ncw/rclone/backend/crypt/pkcs7
  20. github.com/ncw/rclone/backend/pcloud/api
  21. github.com/ncw/rclone/backend/jottacloud/api
  22. github.com/ncw/rclone/backend/webdav/api
  23. github.com/ncw/rclone/backend/alias
  24. github.com/ncw/rclone/lib/dircache
  25. github.com/ncw/rclone/lib/atexit
  26. github.com/ncw/rclone/backend/b2
  27. github.com/ncw/rclone/backend/crypt
  28. github.com/ncw/rclone/backend/ftp
  29. github.com/ncw/rclone/backend/http
  30. github.com/ncw/rclone/lib/oauthutil
  31. github.com/ncw/rclone/backend/swift
  32. github.com/ncw/rclone/backend/jottacloud
  33. github.com/ncw/rclone/backend/local
  34. github.com/ncw/rclone/backend/azureblob
  35. github.com/ncw/rclone/backend/mega
  36. github.com/ncw/rclone/backend/opendrive
  37. github.com/ncw/rclone/backend/qingstor
  38. github.com/ncw/rclone/backend/s3
  39. github.com/ncw/rclone/backend/sftp
  40. github.com/ncw/rclone/backend/amazonclouddrive
  41. github.com/ncw/rclone/backend/box
  42. github.com/ncw/rclone/backend/dropbox
  43. github.com/ncw/rclone/backend/drive
  44. github.com/ncw/rclone/backend/googlecloudstorage
  45. github.com/ncw/rclone/backend/hubic
  46. github.com/ncw/rclone/backend/onedrive
  47. github.com/ncw/rclone/backend/pcloud
  48. github.com/ncw/rclone/backend/yandex/api
  49. github.com/ncw/rclone/fs/config/flags
  50. github.com/ncw/rclone/backend/webdav/odrvcookie
  51. github.com/ncw/rclone/backend/cache
  52. github.com/ncw/rclone/fs/sync
  53. github.com/ncw/rclone/fs/config/configflags
  54. github.com/ncw/rclone/fs/filter/filterflags
  55. github.com/ncw/rclone/backend/webdav
  56. github.com/ncw/rclone/cmd/serve/httplib/httpflags
  57. github.com/ncw/rclone/fs/log
  58. github.com/ncw/rclone/fs/chunkedreader
  59. github.com/ncw/rclone/cmd/ncdu/scan
  60. github.com/ncw/rclone/fs/rc/rcflags
  61. github.com/ncw/rclone/cmd
  62. github.com/ncw/rclone/backend/yandex
  63. github.com/ncw/rclone/vfs
  64. github.com/ncw/rclone/cmd/authorize
  65. github.com/ncw/rclone/cmd/check
  66. github.com/ncw/rclone/cmd/cat
  67. github.com/ncw/rclone/cmd/cleanup
  68. github.com/ncw/rclone/cmd/about
  69. github.com/ncw/rclone/cmd/config
  70. github.com/ncw/rclone/cmd/copy
  71. github.com/ncw/rclone/cmd/copyto
  72. github.com/ncw/rclone/cmd/cryptcheck
  73. github.com/ncw/rclone/cmd/copyurl
  74. github.com/ncw/rclone/cmd/cryptdecode
  75. github.com/ncw/rclone/cmd/dbhashsum
  76. github.com/ncw/rclone/cmd/dedupe
  77. github.com/ncw/rclone/cmd/delete
  78. github.com/ncw/rclone/cmd/deletefile
  79. github.com/ncw/rclone/cmd/genautocomplete
  80. github.com/ncw/rclone/cmd/gendocs
  81. github.com/ncw/rclone/cmd/info
  82. github.com/ncw/rclone/cmd/hashsum
  83. github.com/ncw/rclone/cmd/link
  84. github.com/ncw/rclone/cmd/listremotes
  85. github.com/ncw/rclone/cmd/ls
  86. github.com/ncw/rclone/cmd/lsd
  87. github.com/ncw/rclone/cmd/lsf
  88. github.com/ncw/rclone/cmd/lsjson
  89. github.com/ncw/rclone/cmd/md5sum
  90. github.com/ncw/rclone/cmd/lsl
  91. github.com/ncw/rclone/cmd/memtest
  92. github.com/ncw/rclone/cmd/mkdir
  93. github.com/ncw/rclone/cmd/move
  94. github.com/ncw/rclone/cmd/moveto
  95. github.com/ncw/rclone/cmd/ncdu
  96. github.com/ncw/rclone/cmd/obscure
  97. github.com/ncw/rclone/cmd/purge
  98. github.com/ncw/rclone/cmd/rc
  99. github.com/ncw/rclone/cmd/rcat
  100. github.com/ncw/rclone/cmd/reveal
  101. github.com/ncw/rclone/cmd/rmdir
  102. github.com/ncw/rclone/cmd/serve/restic
  103. github.com/ncw/rclone/cmd/sha1sum
  104. github.com/ncw/rclone/cmd/size
  105. github.com/ncw/rclone/cmd/rmdirs
  106. github.com/ncw/rclone/cmd/touch
  107. github.com/ncw/rclone/cmd/tree
  108. github.com/ncw/rclone/cmd/sync
  109. github.com/ncw/rclone/cmd/version
  110. github.com/ncw/rclone/vfs/vfsflags
  111. github.com/ncw/rclone/backend/all
  112. github.com/ncw/rclone/cmd/cachestats
  113. github.com/ncw/rclone/cmd/mountlib
  114. github.com/ncw/rclone/cmd/serve/http
  115. github.com/ncw/rclone/cmd/serve/webdav
  116. github.com/ncw/rclone/cmd/mount
  117. github.com/ncw/rclone/cmd/serve
  118. github.com/ncw/rclone/cmd/all
  119. github.com/ncw/rclone
  120. cp -av `go env GOPATH`/bin/rclone .
  121. /Users/drew/go/bin/rclone -> ./rclone
  122. FancyBook-Pro:rclone drew$ b2 create-key b2master-for-rclone-tests listKeys,writeKeys,deleteKeys,listBuckets,writeBuckets,deleteBuckets,listFiles,readFiles,shareFiles,writeFiles,deleteFiles
  123. <keyID> <key>
  124. FancyBook-Pro:rclone drew$ ./rclone config
  125. Current remotes:
  126.  
  127. Name Type
  128. ==== ====
  129. TestB2 b2
  130. b2 b2
  131.  
  132. e) Edit existing remote
  133. n) New remote
  134. d) Delete remote
  135. r) Rename remote
  136. c) Copy remote
  137. s) Set configuration password
  138. q) Quit config
  139. e/n/d/r/c/s/q> e
  140. Choose a number from below, or type in an existing value
  141. 1 > TestB2
  142. 2 > b2
  143. remote> 1
  144. --------------------
  145. [TestB2]
  146. type = b2
  147. account = <redacted>
  148. key = <redacted>
  149. hard_delete = true
  150. --------------------
  151. Edit remote
  152. Value "account" = "<redacted>"
  153. Edit? (y/n)>
  154. y) Yes
  155. n) No
  156. y/n> y
  157. Account ID or Application Key ID
  158. Enter a string value. Press Enter for the default ("").
  159. account> <keyID>
  160. Value "key" = "<redacted>"
  161. Edit? (y/n)>
  162. y) Yes
  163. n) No
  164. y/n> y
  165. Application Key
  166. Enter a string value. Press Enter for the default ("").
  167. key> <key>
  168. Value "hard_delete" = "true"
  169. Edit? (y/n)>
  170. y) Yes
  171. n) No
  172. y/n> n
  173. Edit advanced config? (y/n)
  174. y) Yes
  175. n) No
  176. y/n> n
  177. --------------------
  178. [TestB2]
  179. type = b2
  180. account = <keyID>
  181. key = <key>
  182. hard_delete = true
  183. --------------------
  184. y) Yes this is OK
  185. e) Edit this remote
  186. d) Delete this remote
  187. y/e/d> y
  188. Remote config
  189. Current remotes:
  190.  
  191. Name Type
  192. ==== ====
  193. TestB2 b2
  194. b2 b2
  195.  
  196. e) Edit existing remote
  197. n) New remote
  198. d) Delete remote
  199. r) Rename remote
  200. c) Copy remote
  201. s) Set configuration password
  202. q) Quit config
  203. e/n/d/r/c/s/q> q
  204.  
  205.  
  206.  
  207.  
  208. FancyBook-Pro:rclone drew$ cd backend/b2/
  209. FancyBook-Pro:b2 drew$ go test -v
  210. === RUN TestUrlEncode
  211. --- PASS: TestUrlEncode (0.00s)
  212. === RUN TestTimeString
  213. --- PASS: TestTimeString (0.00s)
  214. === RUN TestParseTimeString
  215. --- PASS: TestParseTimeString (0.00s)
  216. === RUN TestIntegration
  217. === RUN TestIntegration/TestInit
  218. === RUN TestIntegration/TestFsString
  219. === RUN TestIntegration/TestFsName
  220. === RUN TestIntegration/TestFsRoot
  221. === RUN TestIntegration/TestFsRmdirEmpty
  222. === RUN TestIntegration/TestFsRmdirNotFound
  223. === RUN TestIntegration/TestFsMkdir
  224. === RUN TestIntegration/TestFsMkdirRmdirSubdir
  225. === RUN TestIntegration/TestFsListEmpty
  226. === RUN TestIntegration/TestFsListDirEmpty
  227. === RUN TestIntegration/TestFsListRDirEmpty
  228. === RUN TestIntegration/TestFsListDirNotFound
  229. === RUN TestIntegration/TestFsListRDirNotFound
  230. === RUN TestIntegration/TestFsNewObjectNotFound
  231. === RUN TestIntegration/TestFsPutFile1
  232. === RUN TestIntegration/TestFsPutError
  233. === RUN TestIntegration/TestFsPutFile2
  234. === RUN TestIntegration/TestFsUpdateFile1
  235. === RUN TestIntegration/TestFsListDirFile2
  236. === RUN TestIntegration/TestFsListRDirFile2
  237. === RUN TestIntegration/TestFsListDirRoot
  238. === RUN TestIntegration/TestFsListRDirRoot
  239. === RUN TestIntegration/TestFsListSubdir
  240. === RUN TestIntegration/TestFsListRSubdir
  241. === RUN TestIntegration/TestFsListLevel2
  242. === RUN TestIntegration/TestFsListRLevel2
  243. === RUN TestIntegration/TestFsListFile1
  244. === RUN TestIntegration/TestFsNewObject
  245. === RUN TestIntegration/TestFsListFile1and2
  246. === RUN TestIntegration/TestFsNewObjectDir
  247. === RUN TestIntegration/TestFsCopy
  248. === RUN TestIntegration/TestFsMove
  249. === RUN TestIntegration/TestFsDirMove
  250. === RUN TestIntegration/TestFsRmdirFull
  251. === RUN TestIntegration/TestFsPrecision
  252. === RUN TestIntegration/TestFsChangeNotify
  253. === RUN TestIntegration/TestObjectString
  254. === RUN TestIntegration/TestObjectFs
  255. === RUN TestIntegration/TestObjectRemote
  256. === RUN TestIntegration/TestObjectHashes
  257. === RUN TestIntegration/TestObjectModTime
  258. === RUN TestIntegration/TestObjectMimeType
  259. === RUN TestIntegration/TestObjectSetModTime
  260. === RUN TestIntegration/TestObjectSize
  261. === RUN TestIntegration/TestObjectOpen
  262. === RUN TestIntegration/TestObjectOpenSeek
  263. === RUN TestIntegration/TestObjectOpenRange
  264. === RUN TestIntegration/TestObjectPartialRead
  265. === RUN TestIntegration/TestObjectUpdate
  266. === RUN TestIntegration/TestObjectStorable
  267. === RUN TestIntegration/TestFsIsFile
  268. === RUN TestIntegration/TestFsIsFileNotFound
  269. === RUN TestIntegration/TestPublicLink
  270. === RUN TestIntegration/TestObjectRemove
  271. === RUN TestIntegration/TestFsPutStream
  272. === RUN TestIntegration/TestObjectAbout
  273. === RUN TestIntegration/TestObjectPurge
  274. 2018/09/06 19:33:40 ERROR : : error listing: directory not found
  275. === RUN TestIntegration/TestInternal
  276. === RUN TestIntegration/TestFinalise
  277. --- FAIL: TestIntegration (94.93s)
  278. --- PASS: TestIntegration/TestInit (15.74s)
  279. fstests.go:221: Using remote "TestB2:"
  280. --- PASS: TestIntegration/TestFsString (0.00s)
  281. --- PASS: TestIntegration/TestFsName (0.00s)
  282. --- PASS: TestIntegration/TestFsRoot (0.00s)
  283. --- PASS: TestIntegration/TestFsRmdirEmpty (0.36s)
  284. --- PASS: TestIntegration/TestFsRmdirNotFound (0.12s)
  285. --- PASS: TestIntegration/TestFsMkdir (0.65s)
  286. --- PASS: TestIntegration/TestFsMkdirRmdirSubdir (0.11s)
  287. fstest.go:259: Filtering empty directory "dir"
  288. fstest.go:259: Filtering empty directory "dir/subdir"
  289. fstest.go:259: Filtering empty directory "dir"
  290. --- PASS: TestIntegration/TestFsListEmpty (0.04s)
  291. --- PASS: TestIntegration/TestFsListDirEmpty (0.04s)
  292. --- PASS: TestIntegration/TestFsListRDirEmpty (0.03s)
  293. --- PASS: TestIntegration/TestFsListDirNotFound (0.03s)
  294. --- PASS: TestIntegration/TestFsListRDirNotFound (0.05s)
  295. --- PASS: TestIntegration/TestFsNewObjectNotFound (0.07s)
  296. --- PASS: TestIntegration/TestFsPutFile1 (5.60s)
  297. --- PASS: TestIntegration/TestFsPutError (0.05s)
  298. --- PASS: TestIntegration/TestFsPutFile2 (0.33s)
  299. --- PASS: TestIntegration/TestFsUpdateFile1 (0.19s)
  300. --- PASS: TestIntegration/TestFsListDirFile2 (0.25s)
  301. --- PASS: TestIntegration/TestFsListRDirFile2 (0.21s)
  302. --- PASS: TestIntegration/TestFsListDirRoot (0.20s)
  303. --- PASS: TestIntegration/TestFsListRDirRoot (0.08s)
  304. --- PASS: TestIntegration/TestFsListSubdir (0.06s)
  305. --- PASS: TestIntegration/TestFsListRSubdir (0.04s)
  306. --- PASS: TestIntegration/TestFsListLevel2 (0.14s)
  307. --- PASS: TestIntegration/TestFsListRLevel2 (0.04s)
  308. --- PASS: TestIntegration/TestFsListFile1 (0.30s)
  309. --- PASS: TestIntegration/TestFsNewObject (0.05s)
  310. --- PASS: TestIntegration/TestFsListFile1and2 (0.20s)
  311. --- PASS: TestIntegration/TestFsNewObjectDir (0.04s)
  312. --- SKIP: TestIntegration/TestFsCopy (0.00s)
  313. fstests.go:569: FS has no Copier interface
  314. --- SKIP: TestIntegration/TestFsMove (0.00s)
  315. fstests.go:603: FS has no Mover interface
  316. --- SKIP: TestIntegration/TestFsDirMove (0.00s)
  317. fstests.go:675: FS has no DirMover interface
  318. --- PASS: TestIntegration/TestFsRmdirFull (0.05s)
  319. --- PASS: TestIntegration/TestFsPrecision (0.00s)
  320. --- SKIP: TestIntegration/TestFsChangeNotify (0.00s)
  321. fstests.go:757: FS has no ChangeNotify interface
  322. --- PASS: TestIntegration/TestObjectString (0.14s)
  323. --- PASS: TestIntegration/TestObjectFs (0.03s)
  324. --- PASS: TestIntegration/TestObjectRemote (0.04s)
  325. --- PASS: TestIntegration/TestObjectHashes (0.04s)
  326. --- PASS: TestIntegration/TestObjectModTime (0.04s)
  327. --- PASS: TestIntegration/TestObjectMimeType (0.03s)
  328. --- PASS: TestIntegration/TestObjectSetModTime (0.03s)
  329. fstests.go:880: can't set modified time
  330. --- PASS: TestIntegration/TestObjectSize (0.04s)
  331. --- PASS: TestIntegration/TestObjectOpen (0.24s)
  332. --- PASS: TestIntegration/TestObjectOpenSeek (0.08s)
  333. --- PASS: TestIntegration/TestObjectOpenRange (0.32s)
  334. --- PASS: TestIntegration/TestObjectPartialRead (0.10s)
  335. --- PASS: TestIntegration/TestObjectUpdate (2.18s)
  336. --- PASS: TestIntegration/TestObjectStorable (0.11s)
  337. --- PASS: TestIntegration/TestFsIsFile (0.26s)
  338. --- PASS: TestIntegration/TestFsIsFileNotFound (0.16s)
  339. --- SKIP: TestIntegration/TestPublicLink (0.00s)
  340. fstests.go:1004: FS has no PublicLinker interface
  341. --- FAIL: TestIntegration/TestObjectRemove (64.81s)
  342. fstest.go:304: Sleeping for 1s for list eventual consistency: 1/6
  343. fstest.go:304: Sleeping for 2s for list eventual consistency: 2/6
  344. fstest.go:304: Sleeping for 4s for list eventual consistency: 3/6
  345. fstest.go:304: Sleeping for 8s for list eventual consistency: 4/6
  346. fstest.go:304: Sleeping for 16s for list eventual consistency: 5/6
  347. fstest.go:304: Sleeping for 32s for list eventual consistency: 6/6
  348. fstest.go:311:
  349. Error Trace: fstest.go:311
  350. fstests.go:1061
  351. Error: Should be true
  352. Test: TestIntegration/TestObjectRemove
  353. Messages: listing wrong, want
  354. hello? sausage/êé/Hello, 世界/ " ' @ < > & ? + ≠/z.txt (100) or
  355. hello_ sausage/êé/Hello, 世界/ _ ' @ _ _ & _ + ≠/z.txt (100) got
  356. file name.txt (100), hello? sausage/êé/Hello, 世界/ " ' @ < > & ? + ≠/z.txt (100)
  357. fstest.go:192:
  358. Error Trace: fstest.go:192
  359. fstest.go:314
  360. fstests.go:1061
  361. Error: Should be true
  362. Test: TestIntegration/TestObjectRemove
  363. Messages: Unexpected file "file name.txt"
  364. --- PASS: TestIntegration/TestFsPutStream (0.51s)
  365. --- SKIP: TestIntegration/TestObjectAbout (0.00s)
  366. fstests.go:1115: FS does not support About
  367. --- PASS: TestIntegration/TestObjectPurge (0.67s)
  368. --- SKIP: TestIntegration/TestInternal (0.00s)
  369. fstests.go:1143: *b2.Fs does not implement InternalTester
  370. --- PASS: TestIntegration/TestFinalise (0.00s)
  371. FAIL
  372. exit status 1
  373. FAIL github.com/ncw/rclone/backend/b2 94.950s
  374. FancyBook-Pro:b2 drew$
Advertisement
RAW Paste Data Copied
Advertisement