#jv8: Cannot get it to work when running tests in codecrafters

Hi,

it seems that most of the times it works locally when downloading the “sample.torrent” file. There were a few times when it worked with some of your other torrent files. Quite often I cannot re-handshake on the second piece (this also happens when running locally). Last run’s outcome was this:

in case you could have a look at the actual code it can be found here.

Submitting changes (commit: 69c3953)...

⚡ This is a turbo test run. https://codecrafters.io/turbo

Running tests. Logs should appear shortly...

[compile]   Determining projects to restore...
[compile]   Restored /app/codecrafters-bittorrent.csproj (in 83 ms).
[compile]   codecrafters-bittorrent -> /app/bin/Release/net8.0/codecrafters-bittorrent.dll
[compile] 
[compile] Build succeeded.
[compile]     0 Warning(s)
[compile]     0 Error(s)
[compile] 
[compile] Time Elapsed 00:00:04.60
[compile] Compilation successful.

Debug = true

[tester::#JV8] Running tests for Stage #JV8 (Download the whole file)
[tester::#JV8] Running ./your_bittorrent.sh download -o /tmp/torrents3904703960/itsworking.gif /tmp/torrents3904703960/itsworking.gif.torrent
[your_program] Total pieces: 10
[your_program] Handshake completed
[your_program] Peer ID: 2d524e302e302e302d78c2b5f03bcfff7178dc6c
[your_program] Downloading piece index: 0.
[your_program] Piece Length: 262144
[your_program] 	[0] Block Offset: 0, Block Size: 16384
[your_program] 	[1] Block Offset: 16384, Block Size: 16384
[your_program] 	[2] Block Offset: 32768, Block Size: 16384
[your_program] 	[3] Block Offset: 49152, Block Size: 16384
[your_program] 	[4] Block Offset: 65536, Block Size: 16384
[your_program] 	[5] Block Offset: 81920, Block Size: 16384
[your_program] 	[6] Block Offset: 98304, Block Size: 16384
[your_program] 	[7] Block Offset: 114688, Block Size: 16384
[your_program] 	[8] Block Offset: 131072, Block Size: 16384
[your_program] 	[9] Block Offset: 147456, Block Size: 16384
[your_program] 	[10] Block Offset: 163840, Block Size: 16384
[your_program] 	[11] Block Offset: 180224, Block Size: 16384
[your_program] 	[12] Block Offset: 196608, Block Size: 16384
[your_program] 	[13] Block Offset: 212992, Block Size: 16384
[your_program] 	[14] Block Offset: 229376, Block Size: 16384
[your_program] 	[15] Block Offset: 245760, Block Size: 16384
[your_program] Downloaded piece index: 0.
[your_program] Handshake completed
[your_program] Peer ID: 2d524e302e302e302d78c2b5f03bcfff7178dc6c
[your_program] Downloading piece index: 1.
[your_program] Piece Length: 262144
[your_program] 	[0] Block Offset: 0, Block Size: 16384
[your_program] 	[1] Block Offset: 16384, Block Size: 16384
[your_program] 	[2] Block Offset: 32768, Block Size: 16384
[your_program] 	[3] Block Offset: 49152, Block Size: 16384
[your_program] 	[4] Block Offset: 65536, Block Size: 16384
[your_program] 	[5] Block Offset: 81920, Block Size: 16384
[your_program] 	[6] Block Offset: 98304, Block Size: 16384
[your_program] 	[7] Block Offset: 114688, Block Size: 16384
[your_program] 	[8] Block Offset: 131072, Block Size: 16384
[your_program] 	[9] Block Offset: 147456, Block Size: 16384
[your_program] 	[10] Block Offset: 163840, Block Size: 16384
[your_program] 	[11] Block Offset: 180224, Block Size: 16384
[your_program] 	[12] Block Offset: 196608, Block Size: 16384
[your_program] 	[13] Block Offset: 212992, Block Size: 16384
[your_program] 	[14] Block Offset: 229376, Block Size: 16384
[your_program] 	[15] Block Offset: 245760, Block Size: 16384
[your_program] Downloaded piece index: 1.
[your_program] Handshake completed
[your_program] Peer ID: 2d524e302e302e302d3441e2dbe70ed747a7c51c
[your_program] Downloading piece index: 2.
[your_program] Piece Length: 262144
[your_program] 	[0] Block Offset: 0, Block Size: 16384
[your_program] 	[1] Block Offset: 16384, Block Size: 16384
[your_program] 	[2] Block Offset: 32768, Block Size: 16384
[your_program] 	[3] Block Offset: 49152, Block Size: 16384
[your_program] 	[4] Block Offset: 65536, Block Size: 16384
[your_program] 	[5] Block Offset: 81920, Block Size: 16384
[your_program] 	[6] Block Offset: 98304, Block Size: 16384
[your_program] 	[7] Block Offset: 114688, Block Size: 16384
[your_program] 	[8] Block Offset: 131072, Block Size: 16384
[your_program] 	[9] Block Offset: 147456, Block Size: 16384
[your_program] 	[10] Block Offset: 163840, Block Size: 16384
[your_program] 	[11] Block Offset: 180224, Block Size: 16384
[your_program] 	[12] Block Offset: 196608, Block Size: 16384
[your_program] 	[13] Block Offset: 212992, Block Size: 16384
[your_program] 	[14] Block Offset: 229376, Block Size: 16384
[your_program] 	[15] Block Offset: 245760, Block Size: 16384
[your_program] Downloaded piece index: 2.
[your_program] Handshake completed
[your_program] Peer ID: 2d524e302e302e302d3441e2dbe70ed747a7c51c
[your_program] Downloading piece index: 3.
[your_program] Piece Length: 262144
[your_program] 	[0] Block Offset: 0, Block Size: 16384
[your_program] 	[1] Block Offset: 16384, Block Size: 16384
[your_program] 	[2] Block Offset: 32768, Block Size: 16384
[your_program] 	[3] Block Offset: 49152, Block Size: 16384
[your_program] 	[4] Block Offset: 65536, Block Size: 16384
[your_program] 	[5] Block Offset: 81920, Block Size: 16384
[your_program] 	[6] Block Offset: 98304, Block Size: 16384
[your_program] 	[7] Block Offset: 114688, Block Size: 16384
[your_program] 	[8] Block Offset: 131072, Block Size: 16384
[your_program] 	[9] Block Offset: 147456, Block Size: 16384
[your_program] 	[10] Block Offset: 163840, Block Size: 16384
[your_program] 	[11] Block Offset: 180224, Block Size: 16384
[your_program] 	[12] Block Offset: 196608, Block Size: 16384
[your_program] 	[13] Block Offset: 212992, Block Size: 16384
[your_program] 	[14] Block Offset: 229376, Block Size: 16384
[your_program] 	[15] Block Offset: 245760, Block Size: 16384
[your_program] Downloaded piece index: 3.
[your_program] System.IO.IOException: Unable to read data from the transport connection: Connection reset by peer.
[your_program]  ---> System.Net.Sockets.SocketException (104): Connection reset by peer
[your_program]    --- End of inner exception stack trace ---
[your_program]    at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
[your_program]    at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource<System.Int32>.GetResult(Int16 token)
[your_program]    at codecrafters_bittorrent.Connection.PeerConnection.Handshake() in /app/src/Connection/PeerConnection.cs:line 75
[your_program]    at codecrafters_bittorrent.Connection.PeerConnection.DownloadPiece(Int32 pieceIndex) in /app/src/Connection/PeerConnection.cs:line 16
[your_program] Unhandled exception. System.IO.IOException: Unable to read data from the transport connection: Connection reset by peer.
[your_program]  ---> System.Net.Sockets.SocketException (104): Connection reset by peer
[your_program]    --- End of inner exception stack trace ---
[your_program]    at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
[your_program]    at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource<System.Int32>.GetResult(Int16 token)
[your_program]    at codecrafters_bittorrent.Connection.PeerConnection.Handshake() in /app/src/Connection/PeerConnection.cs:line 75
[your_program]    at codecrafters_bittorrent.Connection.PeerConnection.DownloadPiece(Int32 pieceIndex) in /app/src/Connection/PeerConnection.cs:line 16
[your_program]    at codecrafters_bittorrent.Commands.Download.Execute(String[] args) in /app/src/Commands/Download.cs:line 25
[your_program]    at Program.<Main>$(String[] args) in /app/src/Program.cs:line 31
[your_program]    at Program.<Main>(String[] args)
[tester::#JV8] execution timed out
[tester::#JV8] Test failed

and here’s the outcome when it works successfully with “sample.torrent” file:

/home/inner/projects/codecrafters-bittorrent-csharp/bin/Debug/net8.0/codecrafters-bittorrent download -o /tmp/test.txt sample.torrent
Total pieces: 3
Handshake completed
Peer ID: 2d524e302e302e302d8fbb7dcf1a18fee7307c14
Downloading piece index: 0.
Piece Length: 32768
        [0] Block Offset: 0, Block Size: 16384
        [1] Block Offset: 16384, Block Size: 16384
Downloaded piece index: 0.
Handshake completed
Peer ID: 2d524e302e302e302dc3381e92ac5122cdeb08db
Downloading piece index: 1.
Piece Length: 32768
        [0] Block Offset: 0, Block Size: 16384
        [1] Block Offset: 16384, Block Size: 16384
Downloaded piece index: 1.
Handshake completed
Peer ID: 2d524e302e302e302d4141fc487f6f62fec50b19
Downloading piece index: 2.
Piece Length: 26527
        [0] Block Offset: 0, Block Size: 16384
        [1] Block Offset: 16384, Block Size: 10143
Downloaded piece index: 2.
Download completed

The contents of the file is a nice read:

What Is a Hacker?

There is a community, a shared culture, of expert programmers and networking wizards that traces its history back through decades to the first time-sharing minicomputers and the earliest ARPAnet experiments. The members of this culture originated the term ‘hacker’. Hackers built the Internet. Hackers made the Unix operating system what it is today. Hackers make the World Wide Web work. If you are part of this culture, if you have contributed to it and other people in it know who you are and call you a hacker, you’re a hacker.

The hacker mind-set is not confined to this software-hacker culture. There are people who apply the hacker attitude to other things, like electronics or music — actually, you can find it at the highest levels of any science or art. Software hackers recognize these kindred spirits elsewhere and may call them ‘hackers’ too — and some claim that the hacker nature is really independent of the particular medium the hacker works in. But in the rest of this document we will focus on the skills and attitudes of software hackers, and the traditions of the shared culture that originated the term ‘hacker’.

I have been having a lot of issues with this course aswell. I am at the magnet link step (so my code has passed the “download piece” test at least twice before and “download file” at least once) and I keep getting the error:

[tester::#JV8] execution timed out
[tester::#JV8] Test failed

Sometimes even handshakes to all the peers fail. Rerunning the tests usually fixes that but the error above then occurs again. It is odd that it always happens after the same amount of time. Maybe there is a time limit on their servers for how long a test can run?

I have been debugging for hours and looked at similar problems on this forum but no success so far. The only feedback to these issues is “multiple open connections to peers can cause issues”, but I refactored and rechecked my code multiple times, traced network connections when running the code locally and everything points towards only 1 connection per peer at a time on my end.

I think these errors might be a bug in the test runner or problems with the peers.

1 Like

I am able to download all torrents from the repo (bittorrent-tester/torrents at main · codecrafters-io/bittorrent-tester · GitHub) just fine on my local machine, at all times without ever having failing handshakes. I think their test machines might be having connection issues or a time limit. :frowning:

We’re going to take a closer look at this early this week! If you haven’t shared your code already, please do: here’s a doc on how to do it: Publish to GitHub - CodeCrafters.

Hi Paul, I have published my repo here. Thanks!

I know what was the problem, after some changes I was able to pass this “Download whole file” section. The problem was that I was resending “bitfield” and “unchoke” messages on every piece that I tried to download. You only need to send that once per file. Also, I am now re-using the same peer connection for downloading the whole file, previously I was re-creating connections with different peers for every piece (I thought this may solve the handshake issue but it didn’t). This was also re-creating connections with previously used peers (disposed), maybe that had some negative impact too.

However, peer handshake process still doesn’t work from the first time quite often, I ran the tests for like 10 times to make it work.

The problem with the execution timeout also exists:

[tester::#JV8] Running tests for Stage #JV8 (Download the whole file)
[tester::#JV8] Running ./your_bittorrent.sh download -o /tmp/torrents1357950403/codercat.gif /tmp/torrents1357950403/codercat.gif.torrent
[your_program] Handshake completed
[your_program] Peer ID: 2d524e302e302e302d8a01bbd80e6a7ac624d39a
[your_program] Total pieces: 12
[your_program] Downloading piece index: 0.
[your_program] Piece Length: 262144
[your_program] 	[0] Block Offset: 0, Block Size: 16384
[your_program] 	[1] Block Offset: 16384, Block Size: 16384
[your_program] 	[2] Block Offset: 32768, Block Size: 16384
[your_program] 	[3] Block Offset: 49152, Block Size: 16384
[your_program] 	[4] Block Offset: 65536, Block Size: 16384
[your_program] 	[5] Block Offset: 81920, Block Size: 16384
[your_program] 	[6] Block Offset: 98304, Block Size: 16384
[your_program] 	[7] Block Offset: 114688, Block Size: 16384
[your_program] 	[8] Block Offset: 131072, Block Size: 16384
[your_program] 	[9] Block Offset: 147456, Block Size: 16384
[your_program] 	[10] Block Offset: 163840, Block Size: 16384
[your_program] 	[11] Block Offset: 180224, Block Size: 16384
[your_program] 	[12] Block Offset: 196608, Block Size: 16384
[your_program] 	[13] Block Offset: 212992, Block Size: 16384
[your_program] 	[14] Block Offset: 229376, Block Size: 16384
[your_program] 	[15] Block Offset: 245760, Block Size: 16384
[your_program] Downloaded piece index: 0.
[your_program] Downloading piece index: 1.
[your_program] Piece Length: 262144
[your_program] 	[0] Block Offset: 0, Block Size: 16384
[your_program] 	[1] Block Offset: 16384, Block Size: 16384
[your_program] 	[2] Block Offset: 32768, Block Size: 16384
[your_program] 	[3] Block Offset: 49152, Block Size: 16384
[your_program] 	[4] Block Offset: 65536, Block Size: 16384
[your_program] 	[5] Block Offset: 81920, Block Size: 16384
[your_program] 	[6] Block Offset: 98304, Block Size: 16384
[your_program] 	[7] Block Offset: 114688, Block Size: 16384
[your_program] 	[8] Block Offset: 131072, Block Size: 16384
[your_program] 	[9] Block Offset: 147456, Block Size: 16384
[your_program] 	[10] Block Offset: 163840, Block Size: 16384
[your_program] 	[11] Block Offset: 180224, Block Size: 16384
[your_program] 	[12] Block Offset: 196608, Block Size: 16384
[your_program] 	[13] Block Offset: 212992, Block Size: 16384
[your_program] 	[14] Block Offset: 229376, Block Size: 16384
[your_program] 	[15] Block Offset: 245760, Block Size: 16384
[your_program] Downloaded piece index: 1.
...
...
[your_program] Downloading piece index: 10.
[your_program] Piece Length: 262144
[your_program] 	[0] Block Offset: 0, Block Size: 16384
[your_program] 	[1] Block Offset: 16384, Block Size: 16384
[your_program] 	[2] Block Offset: 32768, Block Size: 16384
[your_program] 	[3] Block Offset: 49152, Block Size: 16384
[your_program] 	[4] Block Offset: 65536, Block Size: 16384
[your_program] 	[5] Block Offset: 81920, Block Size: 16384
[your_program] 	[6] Block Offset: 98304, Block Size: 16384
[your_program] 	[7] Block Offset: 114688, Block Size: 16384
[your_program] 	[8] Block Offset: 131072, Block Size: 16384
[your_program] 	[9] Block Offset: 147456, Block Size: 16384
[your_program] 	[10] Block Offset: 163840, Block Size: 16384
[your_program] 	[11] Block Offset: 180224, Block Size: 16384
[your_program] 	[12] Block Offset: 196608, Block Size: 16384
[your_program] 	[13] Block Offset: 212992, Block Size: 16384
[your_program] 	[14] Block Offset: 229376, Block Size: 16384
[your_program] 	[15] Block Offset: 245760, Block Size: 16384
[your_program] Downloaded piece index: 10.
[your_program] Downloading piece index: 11.
[your_program] Piece Length: 110536
[your_program] 	[0] Block Offset: 0, Block Size: 16384
[your_program] 	[1] Block Offset: 16384, Block Size: 16384
[your_program] 	[2] Block Offset: 32768, Block Size: 16384
[your_program] 	[3] Block Offset: 49152, Block Size: 16384
[your_program] 	[4] Block Offset: 65536, Block Size: 16384
[your_program] 	[5] Block Offset: 81920, Block Size: 16384
[your_program] 	[6] Block Offset: 98304, Block Size: 12232
[your_program] Downloaded piece index: 11.
[your_program] Download completed
[tester::#JV8] execution timed out
[tester::#JV8] Test failed

@inner The repository link you posted appears to be broken. Feel free to share another link if you’d like me to take a look at it.

We’re currently investigating the handshake issue. While it might take some time, I’ll keep you updated once we have a resolution. @seppedelanghe @inner

1 Like

Hi @andy1li

sorry, I had made it private. Now it’s publicly accessible again.
Thanks!

1 Like

@inner I ran your code and could confirm the timeout occurrences. Once we fix the handshake issue, you can avoid timeouts by implementing downloads from multiple peers simultaneously.

@andy1li thanks for the update! I will make my repo private again and I will be waiting for the handshake fix.

1 Like

Now I’m able to download pieces across peers in parallel locally but only for smaller torrent like this one. For the bigger one I’m having the handshake issue, so I’ll wait for your update.

/home/inner/projects/codecrafters-bittorrent-csharp/bin/Debug/net8.0/codecrafters-bittorrent download -o /tmp/congratulations.gif congratulations.gif.torrent
Handshake with peer '159.65.84.183:51561' completed.
Handshake with peer '167.172.57.188:51448' completed.
Peer ID: 2d524e302e302e302d898edb7f30e4178bd38383
Peer ID: 2d524e302e302e302db7fcab93f1372e4a8ec397
Handshake with peer '161.35.46.221:51486' completed.
Peer ID: 2d524e302e302e302d6dd846a0dec9dfd6fa69f6
Downloading piece index: 1.
Downloading piece index: 0.
Piece Length: 262144
Piece Length: 262144
        [0] Block Offset: 0, Block Size: 16384
        [0] Block Offset: 0, Block Size: 16384
Downloading piece index: 2.
Piece Length: 262144
        [0] Block Offset: 0, Block Size: 16384
        [1] Block Offset: 16384, Block Size: 16384
        [1] Block Offset: 16384, Block Size: 16384
        [1] Block Offset: 16384, Block Size: 16384
        [2] Block Offset: 32768, Block Size: 16384
        [2] Block Offset: 32768, Block Size: 16384
        [2] Block Offset: 32768, Block Size: 16384
        [3] Block Offset: 49152, Block Size: 16384
        [3] Block Offset: 49152, Block Size: 16384
        [3] Block Offset: 49152, Block Size: 16384
        [4] Block Offset: 65536, Block Size: 16384
        [4] Block Offset: 65536, Block Size: 16384
        [4] Block Offset: 65536, Block Size: 16384
        [5] Block Offset: 81920, Block Size: 16384
        [5] Block Offset: 81920, Block Size: 16384
        [5] Block Offset: 81920, Block Size: 16384
        [6] Block Offset: 98304, Block Size: 16384
        [6] Block Offset: 98304, Block Size: 16384
        [6] Block Offset: 98304, Block Size: 16384
        [7] Block Offset: 114688, Block Size: 16384
        [7] Block Offset: 114688, Block Size: 16384
        [7] Block Offset: 114688, Block Size: 16384
        [8] Block Offset: 131072, Block Size: 16384
        [8] Block Offset: 131072, Block Size: 16384
        [8] Block Offset: 131072, Block Size: 16384
        [9] Block Offset: 147456, Block Size: 16384
        [9] Block Offset: 147456, Block Size: 16384
        [9] Block Offset: 147456, Block Size: 16384
        [10] Block Offset: 163840, Block Size: 16384
        [10] Block Offset: 163840, Block Size: 16384
        [10] Block Offset: 163840, Block Size: 16384
        [11] Block Offset: 180224, Block Size: 16384
        [11] Block Offset: 180224, Block Size: 16384
        [11] Block Offset: 180224, Block Size: 16384
        [12] Block Offset: 196608, Block Size: 16384
        [12] Block Offset: 196608, Block Size: 16384
        [12] Block Offset: 196608, Block Size: 16384
        [13] Block Offset: 212992, Block Size: 16384
        [13] Block Offset: 212992, Block Size: 16384
        [14] Block Offset: 229376, Block Size: 16384
        [13] Block Offset: 212992, Block Size: 16384
        [14] Block Offset: 229376, Block Size: 16384
        [15] Block Offset: 245760, Block Size: 16384
        [14] Block Offset: 229376, Block Size: 16384
        [15] Block Offset: 245760, Block Size: 16384
Piece 0 integrity verified
Downloaded piece index: 0.
Downloaded piece 0 from peer '159.65.84.183:51561'
Downloading piece index: 3.
Piece Length: 34460
        [0] Block Offset: 0, Block Size: 16384
        [15] Block Offset: 245760, Block Size: 16384
Piece 1 integrity verified
Downloaded piece index: 1.
Downloaded piece 1 from peer '167.172.57.188:51448'
        [1] Block Offset: 16384, Block Size: 16384
Piece 2 integrity verified
Downloaded piece index: 2.
Downloaded piece 2 from peer '161.35.46.221:51486'
        [2] Block Offset: 32768, Block Size: 1692
Piece 3 integrity verified
Downloaded piece index: 3.
Downloaded piece 3 from peer '159.65.84.183:51561'
Download completed: '/tmp/congratulations.gif'.

Process finished with exit code 0.


1 Like

@inner Could you give it another try and please let me know how it goes?

@andy1li thanks for the update! I will try it asap. Yesterday I was able to progress farther, so I will need to complete my current stage before I can retest the previous stages

1 Like

@inner BTW, you can use our CLI to run tests against previous stages like this:

codecrafters test --previous
1 Like

Nice! I didn’t know that you could do that with CLI.

Ran tests real quick and everything seems to be working fine!

Thanks @andy1li

[tester::#JV8] Running tests for Stage #JV8 (Download the whole file)
[tester::#JV8] Running ./your_bittorrent.sh download -o /tmp/torrents840798424/itsworking.gif /tmp/torrents840798424/itsworking.gif.torrent
[your_program] Handshake with peer '165.232.41.73:51416' completed.
[your_program] Handshake with peer '165.232.38.164:51427' completed.
[your_program] Peer ID: 2d524e302e302e302de5692031450ad3cad6ddaf
[your_program] Handshake with peer '165.232.35.114:51434' completed.
[your_program] Peer ID: 2d524e302e302e302dd2eb6b9e74b440e94ab586
[your_program] Peer ID: 2d524e302e302e302d54f8b519f27936e71c2d9d
[your_program] Downloading piece index: 0.
[your_program] Downloading piece index: 1.
[your_program] Downloading piece index: 2.
[your_program] Piece Length: 262144
[your_program] Piece Length: 262144
[your_program] 	[0] Block Offset: 0, Block Size: 16384
[your_program] 	[0] Block Offset: 0, Block Size: 16384
[your_program] Piece Length: 262144
[your_program] 	[0] Block Offset: 0, Block Size: 16384
[your_program] 	[1] Block Offset: 16384, Block Size: 16384
[your_program] 	[1] Block Offset: 16384, Block Size: 16384
[your_program] 	[1] Block Offset: 16384, Block Size: 16384
[your_program] 	[2] Block Offset: 32768, Block Size: 16384
[your_program] 	[2] Block Offset: 32768, Block Size: 16384
[your_program] 	[2] Block Offset: 32768, Block Size: 16384
[your_program] 	[3] Block Offset: 49152, Block Size: 16384
[your_program] 	[3] Block Offset: 49152, Block Size: 16384
[your_program] 	[3] Block Offset: 49152, Block Size: 16384
[your_program] 	[4] Block Offset: 65536, Block Size: 16384
[your_program] 	[4] Block Offset: 65536, Block Size: 16384
[your_program] 	[4] Block Offset: 65536, Block Size: 16384
[your_program] 	[5] Block Offset: 81920, Block Size: 16384
[your_program] 	[5] Block Offset: 81920, Block Size: 16384
[your_program] 	[5] Block Offset: 81920, Block Size: 16384
[your_program] 	[6] Block Offset: 98304, Block Size: 16384
[your_program] 	[6] Block Offset: 98304, Block Size: 16384
[your_program] 	[6] Block Offset: 98304, Block Size: 16384
[your_program] 	[7] Block Offset: 114688, Block Size: 16384
[your_program] 	[7] Block Offset: 114688, Block Size: 16384
[your_program] 	[7] Block Offset: 114688, Block Size: 16384
[your_program] 	[8] Block Offset: 131072, Block Size: 16384
[your_program] 	[8] Block Offset: 131072, Block Size: 16384
[your_program] 	[8] Block Offset: 131072, Block Size: 16384
[your_program] 	[9] Block Offset: 147456, Block Size: 16384
[your_program] 	[9] Block Offset: 147456, Block Size: 16384
[your_program] 	[9] Block Offset: 147456, Block Size: 16384
[your_program] 	[10] Block Offset: 163840, Block Size: 16384
[your_program] 	[10] Block Offset: 163840, Block Size: 16384
[your_program] 	[10] Block Offset: 163840, Block Size: 16384
[your_program] 	[11] Block Offset: 180224, Block Size: 16384
[your_program] 	[11] Block Offset: 180224, Block Size: 16384
[your_program] 	[11] Block Offset: 180224, Block Size: 16384
[your_program] 	[12] Block Offset: 196608, Block Size: 16384
[your_program] 	[12] Block Offset: 196608, Block Size: 16384
[your_program] 	[12] Block Offset: 196608, Block Size: 16384
[your_program] 	[13] Block Offset: 212992, Block Size: 16384
[your_program] 	[13] Block Offset: 212992, Block Size: 16384
[your_program] 	[13] Block Offset: 212992, Block Size: 16384
[your_program] 	[14] Block Offset: 229376, Block Size: 16384
[your_program] 	[14] Block Offset: 229376, Block Size: 16384
[your_program] 	[14] Block Offset: 229376, Block Size: 16384
[your_program] 	[15] Block Offset: 245760, Block Size: 16384
[your_program] 	[15] Block Offset: 245760, Block Size: 16384
[your_program] 	[15] Block Offset: 245760, Block Size: 16384
[your_program] Piece 2 integrity verified
[your_program] Downloaded piece index: 2.
[your_program] Downloaded piece 2 from peer '165.232.41.73:51416'
[your_program] Downloading piece index: 3.
[your_program] Piece Length: 262144
[your_program] 	[0] Block Offset: 0, Block Size: 16384
[your_program] Piece 1 integrity verified
[your_program] Downloaded piece index: 1.
[your_program] Piece 0 integrity verified
[your_program] Downloaded piece index: 0.
[your_program] Downloaded piece 1 from peer '165.232.38.164:51427'
[your_program] Downloading piece index: 4.
[your_program] Piece Length: 262144
[your_program] 	[0] Block Offset: 0, Block Size: 16384
[your_program] Downloaded piece 0 from peer '165.232.35.114:51434'
[your_program] Downloading piece index: 5.
[your_program] Piece Length: 262144
[your_program] 	[0] Block Offset: 0, Block Size: 16384
[your_program] 	[1] Block Offset: 16384, Block Size: 16384
[your_program] 	[1] Block Offset: 16384, Block Size: 16384
[your_program] 	[1] Block Offset: 16384, Block Size: 16384
[your_program] 	[2] Block Offset: 32768, Block Size: 16384
[your_program] 	[2] Block Offset: 32768, Block Size: 16384
[your_program] 	[2] Block Offset: 32768, Block Size: 16384
[your_program] 	[3] Block Offset: 49152, Block Size: 16384
[your_program] 	[3] Block Offset: 49152, Block Size: 16384
[your_program] 	[3] Block Offset: 49152, Block Size: 16384
[your_program] 	[4] Block Offset: 65536, Block Size: 16384
[your_program] 	[4] Block Offset: 65536, Block Size: 16384
[your_program] 	[4] Block Offset: 65536, Block Size: 16384
[your_program] 	[5] Block Offset: 81920, Block Size: 16384
[your_program] 	[5] Block Offset: 81920, Block Size: 16384
[your_program] 	[5] Block Offset: 81920, Block Size: 16384
[your_program] 	[6] Block Offset: 98304, Block Size: 16384
[your_program] 	[6] Block Offset: 98304, Block Size: 16384
[your_program] 	[6] Block Offset: 98304, Block Size: 16384
[your_program] 	[7] Block Offset: 114688, Block Size: 16384
[your_program] 	[7] Block Offset: 114688, Block Size: 16384
[your_program] 	[7] Block Offset: 114688, Block Size: 16384
[your_program] 	[8] Block Offset: 131072, Block Size: 16384
[your_program] 	[8] Block Offset: 131072, Block Size: 16384
[your_program] 	[8] Block Offset: 131072, Block Size: 16384
[your_program] 	[9] Block Offset: 147456, Block Size: 16384
[your_program] 	[9] Block Offset: 147456, Block Size: 16384
[your_program] 	[9] Block Offset: 147456, Block Size: 16384
[your_program] 	[10] Block Offset: 163840, Block Size: 16384
[your_program] 	[10] Block Offset: 163840, Block Size: 16384
[your_program] 	[10] Block Offset: 163840, Block Size: 16384
[your_program] 	[11] Block Offset: 180224, Block Size: 16384
[your_program] 	[11] Block Offset: 180224, Block Size: 16384
[your_program] 	[11] Block Offset: 180224, Block Size: 16384
[your_program] 	[12] Block Offset: 196608, Block Size: 16384
[your_program] 	[12] Block Offset: 196608, Block Size: 16384
[your_program] 	[12] Block Offset: 196608, Block Size: 16384
[your_program] 	[13] Block Offset: 212992, Block Size: 16384
[your_program] 	[13] Block Offset: 212992, Block Size: 16384
[your_program] 	[13] Block Offset: 212992, Block Size: 16384
[your_program] 	[14] Block Offset: 229376, Block Size: 16384
[your_program] 	[14] Block Offset: 229376, Block Size: 16384
[your_program] 	[14] Block Offset: 229376, Block Size: 16384
[your_program] 	[15] Block Offset: 245760, Block Size: 16384
[your_program] 	[15] Block Offset: 245760, Block Size: 16384
[your_program] 	[15] Block Offset: 245760, Block Size: 16384
[your_program] Piece 3 integrity verified
[your_program] Downloaded piece index: 3.
[your_program] Downloaded piece 3 from peer '165.232.41.73:51416'
[your_program] Downloading piece index: 6.
[your_program] Piece Length: 262144
[your_program] 	[0] Block Offset: 0, Block Size: 16384
[your_program] Piece 5 integrity verified
[your_program] Downloaded piece index: 5.
[your_program] Downloaded piece 5 from peer '165.232.35.114:51434'
[your_program] Downloading piece index: 7.
[your_program] Piece Length: 262144
[your_program] 	[0] Block Offset: 0, Block Size: 16384
[your_program] Piece 4 integrity verified
[your_program] Downloaded piece index: 4.
[your_program] Downloaded piece 4 from peer '165.232.38.164:51427'
[your_program] Downloading piece index: 8.
[your_program] Piece Length: 262144
[your_program] 	[0] Block Offset: 0, Block Size: 16384
[your_program] 	[1] Block Offset: 16384, Block Size: 16384
[your_program] 	[1] Block Offset: 16384, Block Size: 16384
[your_program] 	[1] Block Offset: 16384, Block Size: 16384
[your_program] 	[2] Block Offset: 32768, Block Size: 16384
[your_program] 	[2] Block Offset: 32768, Block Size: 16384
[your_program] 	[2] Block Offset: 32768, Block Size: 16384
[your_program] 	[3] Block Offset: 49152, Block Size: 16384
[your_program] 	[3] Block Offset: 49152, Block Size: 16384
[your_program] 	[3] Block Offset: 49152, Block Size: 16384
[your_program] 	[4] Block Offset: 65536, Block Size: 16384
[your_program] 	[4] Block Offset: 65536, Block Size: 16384
[your_program] 	[4] Block Offset: 65536, Block Size: 16384
[your_program] 	[5] Block Offset: 81920, Block Size: 16384
[your_program] 	[5] Block Offset: 81920, Block Size: 16384
[your_program] 	[5] Block Offset: 81920, Block Size: 16384
[your_program] 	[6] Block Offset: 98304, Block Size: 16384
[your_program] 	[6] Block Offset: 98304, Block Size: 16384
[your_program] 	[6] Block Offset: 98304, Block Size: 16384
[your_program] 	[7] Block Offset: 114688, Block Size: 16384
[your_program] 	[7] Block Offset: 114688, Block Size: 16384
[your_program] 	[7] Block Offset: 114688, Block Size: 16384
[your_program] 	[8] Block Offset: 131072, Block Size: 16384
[your_program] 	[8] Block Offset: 131072, Block Size: 16384
[your_program] 	[8] Block Offset: 131072, Block Size: 16384
[your_program] 	[9] Block Offset: 147456, Block Size: 16384
[your_program] 	[9] Block Offset: 147456, Block Size: 16384
[your_program] 	[9] Block Offset: 147456, Block Size: 16384
[your_program] 	[10] Block Offset: 163840, Block Size: 16384
[your_program] 	[10] Block Offset: 163840, Block Size: 16384
[your_program] 	[10] Block Offset: 163840, Block Size: 16384
[your_program] 	[11] Block Offset: 180224, Block Size: 16384
[your_program] 	[11] Block Offset: 180224, Block Size: 16384
[your_program] 	[11] Block Offset: 180224, Block Size: 16384
[your_program] 	[12] Block Offset: 196608, Block Size: 16384
[your_program] 	[12] Block Offset: 196608, Block Size: 16384
[your_program] 	[12] Block Offset: 196608, Block Size: 16384
[your_program] 	[13] Block Offset: 212992, Block Size: 16384
[your_program] 	[13] Block Offset: 212992, Block Size: 16384
[your_program] 	[13] Block Offset: 212992, Block Size: 16384
[your_program] 	[14] Block Offset: 229376, Block Size: 16384
[your_program] 	[14] Block Offset: 229376, Block Size: 16384
[your_program] 	[14] Block Offset: 229376, Block Size: 16384
[your_program] 	[15] Block Offset: 245760, Block Size: 16384
[your_program] 	[15] Block Offset: 245760, Block Size: 16384
[your_program] 	[15] Block Offset: 245760, Block Size: 16384
[your_program] Piece 6 integrity verified
[your_program] Downloaded piece index: 6.
[your_program] Downloaded piece 6 from peer '165.232.41.73:51416'
[your_program] Downloading piece index: 9.
[your_program] Piece Length: 190404
[your_program] 	[0] Block Offset: 0, Block Size: 16384
[your_program] Piece 7 integrity verified
[your_program] Downloaded piece index: 7.
[your_program] Downloaded piece 7 from peer '165.232.35.114:51434'
[your_program] Piece 8 integrity verified
[your_program] Downloaded piece index: 8.
[your_program] Downloaded piece 8 from peer '165.232.38.164:51427'
[your_program] 	[1] Block Offset: 16384, Block Size: 16384
[your_program] 	[2] Block Offset: 32768, Block Size: 16384
[your_program] 	[3] Block Offset: 49152, Block Size: 16384
[your_program] 	[4] Block Offset: 65536, Block Size: 16384
[your_program] 	[5] Block Offset: 81920, Block Size: 16384
[your_program] 	[6] Block Offset: 98304, Block Size: 16384
[your_program] 	[7] Block Offset: 114688, Block Size: 16384
[your_program] 	[8] Block Offset: 131072, Block Size: 16384
[your_program] 	[9] Block Offset: 147456, Block Size: 16384
[your_program] 	[10] Block Offset: 163840, Block Size: 16384
[your_program] 	[11] Block Offset: 180224, Block Size: 10180
[your_program] Piece 9 integrity verified
[your_program] Downloaded piece index: 9.
[your_program] Downloaded piece 9 from peer '165.232.41.73:51416'
[your_program] Download completed: '/tmp/torrents840798424/itsworking.gif'.
[tester::#JV8] Test passed.
1 Like

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.