Re: [Bacula-devel] 11.x regressions

2021-05-21 Thread Andrea Venturoli

On 4/29/21 10:29 AM, Andrea Venturoli wrote:

On 4/29/21 10:13 AM, Radosław Korzeniewski wrote:

Do you have any logs for these failures? Both tests are working fine 
for me.


I have an 84MB regress/Testing/Temporary/LastTest_20210427-2200.log.
Is that what you mean?

Skimming through it I see it's possible some required packages are 
missing: is there an official list of requirements needed to run 
regression tests?


Hello.

I think I now installed any missing depency, but I'm still getting a lot 
of errors:

The following tests FAILED:
 79 - disk:accurate-test (Timeout)
 85 - disk:backup-bacula-test (BAD_COMMAND)
 87 - disk:base-job-test (Failed)
 88 - disk:bconsole-test (Failed)
141 - disk:prune-base-job-test (Failed)
148 - disk:restart-accurate-job-test (Failed)
172 - disk:truncate-test (Failed)
182 - disk:virtual-backup-test (Failed)
185 - disk:virtual-jobid-test (Failed)
186 - disk:virtualfull-bug-7154 (Failed)


If someone is interested in that ~80MB file, I'll upload it somewhere.


I had a look at it, but was not able to determine what's wrong.
It seems there's a recurring pattern: the first job works, but the 
second one fails.

I don't understand why, though.
Any hint on what to check is appreciated.

Some sample:

186/209 Testing: disk:virtualfull-bug-7154
186/209 Test: disk:virtualfull-bug-7154
Command: "/usr/home/bacula/bacula/regress/tests/virtualfull-bug-7154"
Directory: /usr/home/bacula/bacula/regress
"disk:virtualfull-bug-7154" start time: May 19 22:53 CEST
Output:
--
 
 
 === Start virtualfull-bug-7154  at 22:53:54 ===
 
Starting the Bacula Storage daemon

Starting the Bacula File daemon
Starting the Bacula Director daemon
Connecting to Director 127.0.2.1:8101
1000 OK: 10002 127.0.2.1-dir Version: 11.0.2 (26 March 2021)
Enter a period to cancel a command.
@output /dev/null

> ...

  Termination:Backup OK

19-May 22:53 127.0.2.1-dir JobId 1: Begin pruning Jobs older than 6 months .
19-May 22:53 127.0.2.1-dir JobId 1: No Jobs found to prune.
19-May 22:53 127.0.2.1-dir JobId 1: Begin pruning Files.
19-May 22:53 127.0.2.1-dir JobId 1: No Files found to prune.
19-May 22:53 127.0.2.1-dir JobId 1: End auto prune.

19-May 22:54 127.0.2.1-dir JobId 2: Start Backup JobId 2, 
Job=backup.2021-05-19_22.53.59_04
19-May 22:54 127.0.2.1-dir JobId 2: Using Device "Drive-1" to write.
19-May 22:54 127.0.2.1-dir JobId 2: Fatal error: Cannot find previous jobids.
19-May 22:56 127.0.2.1-dir JobId 2: Fatal error: Network error with FD during 
Backup: ERR=Interrupted system call
19-May 22:57 127.0.2.1-dir JobId 2: Fatal error: No Job status returned from FD.
19-May 22:57 127.0.2.1-dir JobId 2: Error: Bacula 127.0.2.1-dir 11.0.2 
(26Mar21):



 bye & Thanks
av.


___
Bacula-devel mailing list
Bacula-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-devel


Re: [Bacula-devel] 11.x regressions

2021-05-04 Thread Eric Bollengier via Bacula-devel
Hello Dan,

On 5/4/21 02:29, Dan Langille wrote:
> On Thu, Apr 29, 2021, at 3:38 AM, Andrea Venturoli wrote:
>> Hello.
>>
>> Long ago I set up a system to run regression tests: it's now FreeBSD 
>> 12.2/amd64 with postgres12.
>> The results are here:
>>> https://regress.bacula.org/index.php?project=Bacula-11.0
>>
>> Since I updated to Bacula 11 I see a couple of consistent failures and 
>> it was suggested to me that I should post about them here.
> 
> Is there any value in continuing regression tests on 9.x?

Not for me :-)

Best Regards,
Eric
 



___
Bacula-devel mailing list
Bacula-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-devel


Re: [Bacula-devel] 11.x regressions

2021-05-03 Thread Dan Langille
On Thu, Apr 29, 2021, at 3:38 AM, Andrea Venturoli wrote:
> Hello.
> 
> Long ago I set up a system to run regression tests: it's now FreeBSD 
> 12.2/amd64 with postgres12.
> The results are here:
> > https://regress.bacula.org/index.php?project=Bacula-11.0
> 
> Since I updated to Bacula 11 I see a couple of consistent failures and 
> it was suggested to me that I should post about them here.

Is there any value in continuing regression tests on 9.x?

-- 
  Dan Langille
  d...@langille.org


___
Bacula-devel mailing list
Bacula-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-devel


Re: [Bacula-devel] 11.x regressions

2021-04-29 Thread Radosław Korzeniewski
Hello,

czw., 29 kwi 2021 o 10:29 Andrea Venturoli  napisał(a):

> On 4/29/21 10:13 AM, Radosław Korzeniewski wrote:
>
> > Do you have any logs for these failures? Both tests are working fine for
> me.
>
> I have an 84MB regress/Testing/Temporary/LastTest_20210427-2200.log.
> Is that what you mean?
>
>
I do not know. Are there any references to failed tests?


> Skimming through it I see it's possible some required packages are
> missing: is there an official list of requirements needed to run
> regression tests?
>

Well, it depends on the features you want to have support compiled in. I.e.
ACL support requires libacl or similar user libraries.


> One thing I see is it looks for python2. I thought it used python3...
> Is this configurable somewhere? (Python2 is soon to be removed from
> FreeBSD).
>

There was a discussion about it at bacula-users mailing list and I could be
already fixed in the development branch.
The fix:

>> The "endtime" file is a Python 2 script which does not work with Python
> 3.
> > That is easy to fix with parens around the arguments:
> > print('Total time = %d:%02d:%02d or %d secs' % (h, m, sec, t - float(s)))


You can check if it solves the problem.
-- 
Radosław Korzeniewski
rados...@korzeniewski.net
___
Bacula-devel mailing list
Bacula-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-devel


Re: [Bacula-devel] 11.x regressions

2021-04-29 Thread Andrea Venturoli

On 4/29/21 10:13 AM, Radosław Korzeniewski wrote:


Do you have any logs for these failures? Both tests are working fine for me.


I have an 84MB regress/Testing/Temporary/LastTest_20210427-2200.log.
Is that what you mean?

Skimming through it I see it's possible some required packages are 
missing: is there an official list of requirements needed to run 
regression tests?


One thing I see is it looks for python2. I thought it used python3...
Is this configurable somewhere? (Python2 is soon to be removed from 
FreeBSD).


 bye & Thanks
av.


___
Bacula-devel mailing list
Bacula-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-devel


Re: [Bacula-devel] 11.x regressions

2021-04-29 Thread Radosław Korzeniewski
Hello,

czw., 29 kwi 2021 o 09:39 Andrea Venturoli  napisał(a):

> Hello.
>
> Long ago I set up a system to run regression tests: it's now FreeBSD
> 12.2/amd64 with postgres12.
> The results are here:
> > https://regress.bacula.org/index.php?project=Bacula-11.0
>
> Since I updated to Bacula 11 I see a couple of consistent failures and
> it was suggested to me that I should post about them here.
>
> Please let me know if I have to check anything.
>

Do you have any logs for these failures? Both tests are working fine for me.

best regards
-- 
Radosław Korzeniewski
rados...@korzeniewski.net
___
Bacula-devel mailing list
Bacula-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-devel