<div dir="ltr">Salut,<div><br></div><div>Am rulat acum pe masina virtuala de linux si am un timp de 1m 41 sec.</div><div>Asa arata outputul de pe vm checker. Observ ca imi trece testul 35 desi</div><div>imi pica testul 34 iar testul 33 nu este afisat.</div><div><pre style="font-family:"courier new",courier;color:rgb(0,0,0)">./src/server.c:363: ERROR:ASSIGN_IN_IF: do not use assignment in if condition
./src/server.c:213: ERROR:ELSE_AFTER_BRACE: else should follow close brace '}'
./src/server.c:94: WARNING:LINE_SPACING: Missing a blank line after declarations
./src/vector.c:98: WARNING:LONG_LINE: line over 80 characters
./src/server.c:514: ERROR:SPACING: space required before the open parenthesis '('
./src/server.c:498: ERROR:SWITCH_CASE_INDENT_LEVEL: switch and case should be at the same indent
./src/server.c:76: ERROR:TRAILING_WHITESPACE: trailing whitespace
00) Sources check...........................................failed [00/95]
01) Test executable exists..................................passed [01/90]
02) Test executable runs....................................passed [01/90]
03) Test listening..........................................passed [01/90]
04) Test listening on port..................................passed [01/90]
05) Test accepts connections................................passed [01/90]
06) Test accepts multiple connections.......................passed [01/90]
07) Test epoll usage........................................passed [01/90]
08) Test disconnect.........................................passed [01/90]
09) Test multiple disconnect................................passed [01/90]
10) Test connect disconnect connect.........................passed [01/90]
11) Test multiple connect disconnect connect................passed [01/90]
12) Test unordered connect disconnect connect...............passed [01/90]
13) Test replies http request...............................passed [03/90]
14) Test second replies http request........................passed [01/90]
15) Test sendfile usage.....................................passed [02/90]
16) Test small static file wget.............................passed [02/90]
17) Test small static file wget cmp.........................passed [05/90]
18) Test large static file wget.............................passed [02/90]
19) Test large static file wget cmp.........................passed [05/90]
20) Test bad static file 404................................passed [02/90]
21) Test bad path 404.......................................passed [02/90]
22) Test get one static file then another...................passed [03/90]
23) Test get two simultaneous static files..................passed [04/90]
24) Test get multiple simultaneous static files.............passed [05/90]
25) Test io submit uses.....................................passed [02/90]
26) Test small dynamic file wget............................passed [02/90]
27) Test small dynamic file wget cmp........................passed [05/90]
28) Test large dynamic file wget............................passed [02/90]
29) Test large dynamic file wget cmp........................passed [05/90]
30) Test bad dynamic file 404...............................passed [02/90]
31) Test get one dynamic file then another..................passed [04/90]
32) Test get two simultaneous dynamic files.................passed [05/90]
34) Test get two simultaneous static and dynamic files......failed [ 0/90]
35) Test get multiple simultaneous static and dynamic files.passed [05/90]</pre><pre style="font-family:"courier new",courier;color:rgb(0,0,0)"><b>Multumesc,</b></pre><pre style="font-family:"courier new",courier;color:rgb(0,0,0)"><b>Relu Dragan</b></pre></div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-05-22 21:03 GMT+03:00 Adrian Stanciu <span dir="ltr"><<a href="mailto:adrian.stanciu.pub@gmail.com" target="_blank">adrian.stanciu.pub@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">2017-05-22 18:59 GMT+03:00 Relu Dragan via so <<a href="mailto:so@cursuri.cs.pub.ro">so@cursuri.cs.pub.ro</a>>:<br>
> Salut,<br>
<span class=""><br>
Salut,<br>
<br>
> Local daca testez imi trec toate testele insa pe vm checker imi pica testele<br>
> 33 si 34.<br>
> Am incercat sa testez si pe masina virtuala de linux de aici [1] si imi trec<br>
> toate testele si pe aceasta.<br>
> Pentru fiecare conexiune aloc aproximativ 200K dinamic si in teste sunt<br>
> maxim 50 de requesturi simultane deci nu cred ca memoria ar fi o problema.<br>
> Observ ca pe outputul de pe vm checker testul 33 nu imi apare deloc. E<br>
> posibil sa fie un timeout? Testul 33 imi dureaza 30-40 de secunde pe masina<br>
> de linux, iar testul 34 1-2 secunde.<br>
<br>
</span>30 de secunde la un test este destul de mult (nu ar trebui să dureze<br>
mai mult de câteva secunde). Cât durează întreaga execuție în mașina<br>
ta virtuală?<br>
<span class=""><br>
> Am atasat codul aici [2].<br>
> Chiar nu imi dau seama de unde ar putea fi probleme daca masina virtuala are<br>
> aceleasi configuratii ca vmchecker.<br>
<br>
</span>vmchecker-ul are configurat un timeout de 120 de secunde.<br>
<div class="HOEnZb"><div class="h5"><br>
><br>
> [1] <a href="https://ocw.cs.pub.ro/courses/so/info/mv" rel="noreferrer" target="_blank">https://ocw.cs.pub.ro/courses/<wbr>so/info/mv</a><br>
> [2]<br>
> <a href="https://gitlab.cs.pub.ro/relu.dragan/l3-so-assignments/tree/master/5-aws/lin" rel="noreferrer" target="_blank">https://gitlab.cs.pub.ro/relu.<wbr>dragan/l3-so-assignments/tree/<wbr>master/5-aws/lin</a><br>
><br>
<br>
</div></div><span class="HOEnZb"><font color="#888888">Adrian<br>
</font></span></blockquote></div><br></div>