-
Notifications
You must be signed in to change notification settings - Fork 4
Description
i was able to follow all instructions up to the point when executing a.out script.
i believe i was able to execute and got the following
sudo ./a.out config.conf api-tests
downloadcacapi tests..
logging in: 2.709s done! cookies: download.cloudatcost.com FALSE / FALSE 0 PHPSESSID pp7bvo2fs965prrfkfvb60rk86 -
uploading test.txt: 0.27s done! upload id: 54stljtuwezyr4jjdpbbri3p8
downloading what we just uploaded, using the single download api.. 0.174s done! contents: Hello world! (content is intact.)
downloading what we just uploaded, using the single download api.. 0.193s done! contents: Hello world! (content is intact.)
downloading what we just uploaded, 20 times simultaneously using the download_multi api .. 3.714s download complete! checking contents.. correct.. correct.. correct.. correct.. correct.. correct.. correct.. correct.. correct.. correct.. correct.. correct.. correct.. correct.. correct.. correct.. correct.. correct.. correct.. correct..
deleting upload using synchronous api: 0.18s done!
uploading test.txt (again): 0.248s done!
deleting upload using async api: 0.193s done! returned value: true (as expected)
deleting a bogus upload id using async api: 0.199s done! returned value: false (as expected)
uploading 20 times using multi_upload api..5.059s done! ids: 0pr7tbhqgen9uevmrkvwprvle - 5hdny7wmyg8ulvy0g9miowbae - n3k1bdlmft5u841jm7akjdxd1 - 9sazg9if4r6jltitnax0ip37e - 6feksvqqdzms2eybej4p0e09a - c75g4wc54oif5niaomiibvull - scsq5dwrf10zacxwm3cdsx6m8 - gbe9132tlq1zvbdph1q3tqbw2 - dfoas0rpfbg1lha6z5roxsxew - 7vvjdmu0okwvaip0pgkq9elwm - jrcawzcj1iwb7phei60dzu19h - dds0pglmns3j5vv8ybifcuasd - 50z28oh6wackrundtox6jslbo - lgsggel0ip3eboa7v37l9o2jv - yr6zqt7016wupe1wxazyl8twe - uyrke72lst3slid21byt5caso - g09leecf9xnm7ib1jqq2l4c8h - 1lq6o0xhl98a9a9g4a9uid4a7 - w74k0bfgd2vhbvmectz12z1c8 - 13joe7rlj06so6hxubonmuaom -
will now delete them all using the async api..deleted..deleted..deleted..deleted..deleted..deleted..deleted..deleted..deleted..deleted..deleted..deleted..deleted..deleted..deleted..deleted..deleted..deleted..deleted..deleted..
3.599s done!
logging out: 0.288s done!
shutting down, cleaning up.. thread doing the cleanup: 140274030356352
when i execute the following this is the output
sudo ./a.out config.conf
./a.out(+0x770a)[0x5626a3d1070a]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x76db)[0x7fdec99ab6db]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x3f)[0x7fdec913388f]
./a.out:src/main.cpp:1759: failed to ioctl(kernelIPC.nbd_fd, NBD_SET_SOCK, kernelIPC.global_remoterequestsocket) !
: Inappropriate ioctl for device
shutting down, cleaning up.. thread doing the cleanup: 140594848769792
im hoping i can get some guidance as to what am i doing wrong. whats next