<div dir="ltr">Salut,<div><br></div><div>Am inteles, multumesc frumos. O sa revin daca mai apar probleme.</div><div><br></div><div>Relu Dragan<br><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-05-22 23:07 GMT+03:00 Relu Dragan <span dir="ltr"><<a href="mailto:draganrelu@gmail.com" target="_blank">draganrelu@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Salut,<div><br></div><div>Am inteles, multumesc frumos. O sa revin daca mai apar probleme.</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Relu Dragan</div></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">2017-05-22 22:45 GMT+03:00 Razvan Crainea <span dir="ltr"><<a href="mailto:razvan.crainea@gmail.com" target="_blank">razvan.crainea@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Salut, Relu!<div><br></div><div>Nu cred că folosești ultima versiune a checker-ului. Se pare că nu ai sincronizat repo-ul de pe gitlab[1] cu cel de pe github[2], pentru că pe cel de pe github fiecare test are are configurat un timeout de 20 de secunde[3]. În repo-ul tău nu folosești niciun timeout, din cazua asta îți trece local.</div><div>În primul rând ar trebui să aduci schimbările din "upstream" în repo-ul tău[4]. Apoi ar trebui să faci debugging să vezi de ce durează testul 33 atât de mult, ar trebui să dureze doar câteva secunde.</div><div><br></div><div>[1] <a href="https://gitlab.cs.pub.ro/relu.dragan/l3-so-assignments" target="_blank">https://gitlab.cs.pub.ro/r<wbr>elu.dragan/l3-so-assignments</a></div><div>[2] <a href="https://github.com/systems-cs-pub-ro/so-assignments" target="_blank">https://github.com/systems<wbr>-cs-pub-ro/so-assignments</a></div><div>[3] <a href="https://github.com/systems-cs-pub-ro/so-assignments/blob/master/5-aws/checker-lin/run_all.sh#L6" target="_blank">https://github.com/systems<wbr>-cs-pub-ro/so-assignments/<wbr>blob/master/5-aws/checker-lin/<wbr>run_all.sh#L6</a></div><div>[4] <a href="https://help.github.com/articles/syncing-a-fork/" target="_blank">https://help.github.com/ar<wbr>ticles/syncing-a-fork/</a></div><div><br></div><div>Numai bine,</div><div>Răzvan<br><br><div class="gmail_quote"><div><div class="m_-3887269077842193310h5"><div dir="ltr">On Mon, May 22, 2017 at 9:44 PM Relu Dragan via so <<a href="mailto:so@cursuri.cs.pub.ro" target="_blank">so@cursuri.cs.pub.ro</a>> wrote:<br></div></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="m_-3887269077842193310h5"><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<wbr>: switch and case should be at the same indent
./src/server.c:76: ERROR:TRAILING_WHITESPACE: trailing whitespace
00) Sources check.........................<wbr>..................failed [00/95]
01) Test executable exists........................<wbr>..........passed [01/90]
02) Test executable runs..........................<wbr>..........passed [01/90]
03) Test listening.....................<wbr>.....................passed [01/90]
04) Test listening on port..........................<wbr>........passed [01/90]
05) Test accepts connections...................<wbr>.............passed [01/90]
06) Test accepts multiple connections...................<wbr>....passed [01/90]
07) Test epoll usage.........................<wbr>...............passed [01/90]
08) Test disconnect....................<wbr>.....................passed [01/90]
09) Test multiple disconnect....................<wbr>............passed [01/90]
10) Test connect disconnect connect.......................<wbr>..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.......................<wbr>........passed [03/90]
14) Test second replies http request.......................<wbr>.passed [01/90]
15) Test sendfile usage.........................<wbr>............passed [02/90]
16) Test small static file wget..........................<wbr>...passed [02/90]
17) Test small static file wget cmp.........................pa<wbr>ssed [05/90]
18) Test large static file wget..........................<wbr>...passed [02/90]
19) Test large static file wget cmp.........................pa<wbr>ssed [05/90]
20) Test bad static file 404...........................<wbr>.....passed [02/90]
21) Test bad path 404...........................<wbr>............passed [02/90]
22) Test get one static file then another...................pass<wbr>ed [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..........................<wbr>...........passed [02/90]
26) Test small dynamic file wget..........................<wbr>..passed [02/90]
27) Test small dynamic file wget cmp........................pas<wbr>sed [05/90]
28) Test large dynamic file wget..........................<wbr>..passed [02/90]
29) Test large dynamic file wget cmp........................pas<wbr>sed [05/90]
30) Test bad dynamic file 404...........................<wbr>....passed [02/90]
31) Test get one dynamic file then another..................passe<wbr>d [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><wbr>:<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" target="_blank">so@cursuri.cs.pub.ro</a>>:<br>
> Salut,<br>
<span><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><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="m_-3887269077842193310m_9075152733774452691m_-9189297580449436777HOEnZb"><div class="m_-3887269077842193310m_9075152733774452691m_-9189297580449436777h5"><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="m_-3887269077842193310m_9075152733774452691m_-9189297580449436777HOEnZb"><font color="#888888">Adrian<br>
</font></span></blockquote></div><br></div></div></div>
______________________________<wbr>_________________<br>
<a href="http://ocw.cs.pub.ro/courses/so/info/lista-discutii" rel="noreferrer" target="_blank">http://ocw.cs.pub.ro/courses/s<wbr>o/info/lista-discutii</a></blockquote></div></div></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>