[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bacula-devel] regression tests


The problem was that when submitting a protocol xml-files to the
regress.bacula.org, ctest not use proxy login + password (but the
proxy login+password written!).

In doing so, file transfer ends badly (TCP_DENIED/407), but ctest no
reports an error.
And no one in the world don't uses http proxy (together with authorization)? ;)

2008/10/13 Kern Sibbald <kern@xxxxxxxxxxx>:
> On Monday 13 October 2008 20:01:50 Yuri Timofeev wrote:
>> ctest (or curl) does not report an proxy authorization error (login,
>> password is correct).
>>
>> I did another test.
>
> And it is posted.

Yes, I see.

>
> I suggest you now run an experimental-disk and see if it gets posted.  Finally
> if that works, schedule a night-disk this evening.
>
> By the way, I may be mistaken, but I think you can only run one nightly run
> per day.  If you attempt multiple jobs, it may get very confused because I
> think it attempts to append them or something. Whereas you can do as many
> experimental jobs as you want.

Yes, I read about ctest.

>
> Regards,
>
> Kern
>
>>
>>
>> Submit via corporate http proxy (squid).
>>
>> $ export http_proxy=username:password@http://proxy.domain.tld:3128/
>>
>> $ ctest -D Experimental -R disk:auto-label-test
>>    Site: tim-bacula-srv2
>>    Build name: 2.5.14-11Oct08-mysql-fedora-6
>> Create new tag: 20081013-1741 - Experimental
>> Start processing tests
>> Configure project
>>    Each . represents 1024 bytes of output
>>      Size of output: 0K
>> Build project
>>    Each symbol represents 1024 bytes of output.
>>    '!' represents an error and '*' a warning.
>>     . Size of output: 0K
>>    0 Compiler errors
>>    0 Compiler warnings
>> Test project /home/tim/bacula.trunk/regress
>>
>>
>>  === Starting pretest at 20:41:45 ===
>>
>>   ===== pretest OK 20:41:51 =====
>>   2/ 90 Testing disk:auto-label-test             Passed
>>
>> 100% tests passed, 0 tests failed out of 1
>> Performing coverage
>>  Cannot find any coverage files. Ignoring Coverage request.
>> Submit files (using http)
>>    Using HTTP submit method
>>    Drop site: http://regress.bacula.org/submit.php?project=bacula
>>    Uploaded: /home/tim/bacula.trunk/regress/Testing/20081013-1741/Build.xml
>>    Uploaded:
>> /home/tim/bacula.trunk/regress/Testing/20081013-1741/Configure.xml
>> Uploaded: /home/tim/bacula.trunk/regress/Testing/20081013-1741/Test.xml
>> Using HTTP trigger method
>>    Trigger site: http://regress.bacula.org
>>    Dart server triggered...
>>    Submission successful
>>
>>
>> Proxy log:
>> 1223919749.386      0 <ip> TCP_DENIED/407 1773 PUT
>> http://regress.bacula.org/submit.php? - NONE/- text/html
>> 1223919749.388      0 <ip> TCP_DENIED/407 1773 PUT
>> http://regress.bacula.org/submit.php? - NONE/- text/html
>> 1223919749.390      0 <ip> TCP_DENIED/407 1773 PUT
>> http://regress.bacula.org/submit.php? - NONE/- text/html
>> 1223919749.393      0 <ip> TCP_DENIED/400 1743 GET
>> http://regress.bacula.org?xmlfile=tim-bacula-srv2___2.5.14-11Oct08
>> -mysql-fedora-6___20081013-1741-Experimental___XML___Build.xml -
>> NONE/- text/html
>> 1223919749.395      0 <ip> TCP_DENIED/400 1751 GET
>> http://regress.bacula.org?xmlfile=tim-bacula-srv2___2.5.14-11Oct08
>> -mysql-fedora-6___20081013-1741-Experimental___XML___Configure.xml -
>> NONE/- text/html
>> 1223919749.397      0 <ip> TCP_DENIED/400 1741 GET
>> http://regress.bacula.org?xmlfile=tim-bacula-srv2___2.5.14-11Oct08
>> -mysql-fedora-6___20081013-1741-Experimental___XML___Test.xml - NONE/-
>> text/html
>>
>> 2008/10/13 Yuri Timofeev <tim4dev@xxxxxxxxx>:
>> > I showed log file LastSubmit_20081012-2359.log, which shows that the
>> > files "Submission successful" to http://regress.bacula.org
>> >
>> > Question: What happened on the server regress.bacula.org?
>> > What was wrong in my xml-files ?
>> >
>> > 2008/10/13 Kern Sibbald <kern@xxxxxxxxxxx>:
>> >> Hello,
>> >>
>> >> Why don't you post your "config" file, and the output that the
>> >> nightly-all generates?  That should give us a better idea of what went
>> >> wrong.
>> >>
>> >> Several points:
>> >> 1. It can take up to an hour or more for the results to actually get on
>> >> the web site.
>> >>
>> >> 2. I recommend doing an  experimental run with only a few regression
>> >> tests in the very beginning, because it will run faster and you analyse
>> >> the problems faster.  E.g.
>> >>
>> >> Change line 14 of experimetal-disk from:
>> >>
>> >> nice ctest -D Experimental -R "^disk:"
>> >>
>> >> to
>> >>
>> >> nice ctest -D Experimental -R "^disk:a.*"
>> >>
>> >> On Monday 13 October 2008 17:38:54 Yuri Timofeev wrote:
>> >>> Hi
>> >>>
>> >>> I did everything as described in README.ctest
>> >>> I made 2-3 Experimental Test (my ctest submit report to Cdash via http
>> >>> proxy + authentication).
>> >>>
>> >>> Then I complied ./nightly-all test.
>> >>> Test end at 13:40 EST.
>> >>>
>> >>> --- LastSubmit_20081012-2359.log
>> >>> Upload files:
>> >>> 0       Build.xml
>> >>> 1       Configure.xml
>> >>> 2       Test.xml
>> >>> 3       Update.xml
>> >>> Using drop method: HTTP
>> >>>         Upload file:
>> >>> /home/tim/bacula.trunk/regress/Testing/20081012-2359/Build.xml to
>> >>> tim-bacula-srv2___2.5.1
>> >>> 4-11Oct08-mysql-fedora-6___20081012-2359-Nightly___XML___Build.xml
>> >>>         Upload file:
>> >>> /home/tim/bacula.trunk/regress/Testing/20081012-2359/Configure.xml to
>> >>> tim-bacula-srv2___2
>> >>> .5.14-11Oct08-mysql-fedora-6___20081012-2359-Nightly___XML___Configure.
>> >>>xml Upload file:
>> >>> /home/tim/bacula.trunk/regress/Testing/20081012-2359/Test.xml to
>> >>> tim-bacula-srv2___2.5.14
>> >>> -11Oct08-mysql-fedora-6___20081012-2359-Nightly___XML___Test.xml
>> >>>         Upload file:
>> >>> /home/tim/bacula.trunk/regress/Testing/20081012-2359/Update.xml to
>> >>> tim-bacula-srv2___2.5.
>> >>> 14-11Oct08-mysql-fedora-6___20081012-2359-Nightly___XML___Update.xml
>> >>> Trigger url:
>> >>> http://regress.bacula.org?xmlfile=tim-bacula-srv2___2.5.14-11Oct08-mysq
>> >>>l-fe dora-6___20081012-2359 -Nightly___XML___Build.xml
>> >>> Trigger url:
>> >>> http://regress.bacula.org?xmlfile=tim-bacula-srv2___2.5.14-11Oct08-mysq
>> >>>l-fe dora-6___20081012-2359 -Nightly___XML___Configure.xml
>> >>> Trigger url:
>> >>> http://regress.bacula.org?xmlfile=tim-bacula-srv2___2.5.14-11Oct08-mysq
>> >>>l-fe dora-6___20081012-2359 -Nightly___XML___Test.xml
>> >>> Trigger url:
>> >>> http://regress.bacula.org?xmlfile=tim-bacula-srv2___2.5.14-11Oct08-mysq
>> >>>l-fe dora-6___20081012-2359 -Nightly___XML___Update.xml
>> >>>    Submission successful
>> >>>
>> >>> But my tests on http://regress.bacula.org/index.php?project=bacula  I
>> >>> have not seen.
>> >>>
>> >>> What's wrong?
>> >>>
>> >>> 2008/10/12 Kern Sibbald <kern@xxxxxxxxxxx>:
>> >>> > On Sunday 12 October 2008 20:22:20 Yuri Timofeev wrote:
>> >>> >> Hi
>> >>> >>
>> >>> >> I run regression test.
>> >>> >> How can I post the results on http://regress.bacula.org/?
>> >>> >
>> >>> > See
>> >>> >
>> >>> >   regress/README.ctest
>> >>> >
>> >>> > Regards,
>> >>> >
>> >>> > Kern
>> >
>> > --
>> > with best regards
>
>
>



-- 
with best regards

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bacula-devel mailing list
Bacula-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/bacula-devel


This mailing list archive is a service of Copilotco.