Kern Sibbald wrote:
> Hello,
> 
> If you are running the Unix/Linux regression scripts, please read this email 
> very carefully.

I tried it out on my Mac OS 10 test system, and everything passes except for
the weird-files2 test.  I've attached the output with REGRESS_DEBUG, as well
as a couple of 'ls -i' before and after the backup/restore ran of the working
directory.

-- 
Frank Sweetser fs at wpi.edu  |  For every problem, there is a solution that
WPI Senior Network Engineer   |  is simple, elegant, and wrong. - HL Mencken
    GPG fingerprint = 6174 1257 129E 0D21 D8D4  E8A3 8E39 29E3 E2E8 8CEC
---- Before
5464585  
5464586   
5464587 0
5464588 0 
5464589 1
5464590 2
5464591 3
5464592 4
5464593 5
5464599 A-file-with-accents-ãàâaaá̈́-ÀÃÂAAAÄ́̃̀
5464616 Programm'
5464632 
This-Is-A-Very-Long-Directory-Name-1111111111-2222222222-3333333333-44444444444-55555555555-66666666666-77777777777-8888888888-9999999999-0000000000
5464594 a-file, with a comma
5464595 a-file-with-a-quote"
5464596 a-file-with-a-quote"-in-it
5464597 a-file-with-a-quote'-in-it
5464598 a-file-with-a-slash\-in-it
5464600 a-file-with-spaces-at-the-end    
5464601 abc'def
5464637 absolute-softlink
5464603 another-hardlink-to-normalfile
5464604 big-X
5464605 dangling-link
5464606 fifo
5464607 fifo-file
5464608 hard-base-file
5464608 hard-file2
5464611 hard-file3
5464603 hardlink-to-normalfile
5464614 newline
file
5464603 normalfile
5464617 setuid-file
5464618 socket.pl
5464619 soft-base-file
5464620 soft-file2
5464621 soft-file3
5464622 softlink-to-softlinkee
5464623 softlinkee
5464624 sticky-bit
5464625 subdir
5464630 tab     file
5464631 this file has spaces in the name
 
 
 === Starting weird-files2-test at 10:00:21 ===
 
Starting the Bacula Storage daemon
Starting the Bacula File daemon
Starting the Bacula Director daemon
Connecting to Director localhost:8101
1000 OK: localhost-dir Version: 2.3.3 (05 September 2007)
Enter a period to cancel a command.
@tee /dev/null
messages
You have no messages.
@tee tmp/log1.out
label storage=File volume=TestVolume001
Automatically selected Catalog: MyCatalog
Using Catalog "MyCatalog"
Automatically selected Pool: Default
Connecting to Storage daemon File at localhost:8103 ...
Sending label command for Volume "TestVolume001" Slot 0 ...
3000 OK label. VolBytes=216 DVD=0 Volume="TestVolume001" Device="FileStorage" 
(/Users/netops/bacula/regress/tmp)
Catalog record for Volume "TestVolume001", Slot 0  successfully created.
Requesting to mount FileStorage ...
3906 File device "FileStorage" (/Users/netops/bacula/regress/tmp) is always 
mounted.
run job=weird-files2 yes
Job queued. JobId=1
You have messages.
wait
messages
07-Sep 10:00 localhost-dir: No prior Full backup Job record found.
07-Sep 10:00 localhost-dir: No prior or suitable Full backup found in catalog. 
Doing FULL backup.
07-Sep 10:00 localhost-dir: Start Backup JobId 1, 
Job=weird-files2.2007-09-07_10.00.30
07-Sep 10:00 localhost-dir: Using Device "FileStorage"
07-Sep 10:00 localhost-sd: Wrote label to prelabeled Volume "TestVolume001" on 
device "FileStorage" (/Users/netops/bacula/regress/tmp)
07-Sep 10:00 localhost-sd: Spooling data ...
07-Sep 10:00 localhost-sd: Job write elapsed time = 00:00:01, Transfer rate = 
8.923 K bytes/second
07-Sep 10:00 localhost-sd: Committing spooled data to Volume "TestVolume001". 
Despooling 10,453 bytes ...
07-Sep 10:00 localhost-sd: Despooling elapsed time = 00:00:01, Transfer rate = 
10.45 K bytes/second
07-Sep 10:00 localhost-sd: Sending spooled attrs to the Director. Despooling 
14,662 bytes ...
07-Sep 10:00 localhost-dir: Bacula localhost-dir 2.3.3 (05Sep07): 07-Sep-2007 
10:00:32
  Build OS:               powerpc-apple-darwin8.10.0 darwin 8.10.0
  JobId:                  1
  Job:                    weird-files2.2007-09-07_10.00.30
  Backup Level:           Full (upgraded from Incremental)
  Client:                 "localhost-fd" 2.3.3 (05Sep07) 
powerpc-apple-darwin8.10.0,darwin,8.10.0
  FileSet:                "Full Set" 2007-09-07 10:00:30
  Pool:                   "Default" (From Job resource)
  Storage:                "File" (From Job resource)
  Scheduled time:         07-Sep-2007 10:00:29
  Start time:             07-Sep-2007 10:00:32
  End time:               07-Sep-2007 10:00:32
  Elapsed time:           0 secs
  Priority:               10
  FD Files Written:       50
  SD Files Written:       50
  FD Bytes Written:       984 (984 B)
  SD Bytes Written:       8,923 (8.923 KB)
  Rate:                   0.0 KB/s
  Software Compression:   None
  VSS:                    no
  Encryption:             no
  Volume name(s):         TestVolume001
  Volume Session Id:      1
  Volume Session Time:    1189173622
  Last Volume Bytes:      10,657 (10.65 KB)
  Non-fatal FD errors:    0
  SD Errors:              0
  FD termination status:  OK
  SD termination status:  OK
  Termination:            Backup OK

07-Sep 10:00 localhost-dir: Begin pruning Jobs.
07-Sep 10:00 localhost-dir: No Jobs found to prune.
07-Sep 10:00 localhost-dir: Begin pruning Files.
07-Sep 10:00 localhost-dir: No Files found to prune.
07-Sep 10:00 localhost-dir: End auto prune.

@tee
quit
Connecting to Director localhost:8101
1000 OK: localhost-dir Version: 2.3.3 (05 September 2007)
Enter a period to cancel a command.
@tee /dev/null
messages
You have no messages.
@# 
@# now do a restore
@#
@tee tmp/log2.out
restore where= storage=File
Automatically selected Catalog: MyCatalog
Using Catalog "MyCatalog"

First you select one or more JobIds that contain files
to be restored. You will be presented several methods
of specifying the JobIds. Then you will be allowed to
select which files from those JobIds are to be restored.

To select the JobIds, you have the following choices:
     1: List last 20 Jobs run
     2: List Jobs where a given File is saved
     3: Enter list of comma separated JobIds to select
     4: Enter SQL list command
     5: Select the most recent backup for a client
     6: Select backup for a client before a specified time
     7: Enter a list of files to restore
     8: Enter a list of files to restore before a specified time
     9: Find the JobIds of the most recent backup for a client
    10: Find the JobIds for a backup for a client before a specified time
    11: Enter a list of directories to restore for found JobIds
    12: Cancel
Select item:  (1-12): 5
Automatically selected Client: localhost-fd
Automatically selected FileSet: Full Set
+-------+-------+----------+----------+---------------------+---------------+
| JobId | Level | JobFiles | JobBytes | StartTime           | VolumeName    |
+-------+-------+----------+----------+---------------------+---------------+
| 1     | F     | 50       | 984      | 2007-09-07 10:00:32 | TestVolume001 |
+-------+-------+----------+----------+---------------------+---------------+
You have selected the following JobId: 1

Building directory tree for JobId 1 ...  +++++++++++++++++++++++
1 Job, 46 files inserted into the tree.

You are now entering file selection mode where you add (mark) and
remove (unmark) files to be restored. No files are initially added, unless
you used the "all" keyword on the command line.
Enter "done" to leave this mode.

cwd is: /
$ unmark *
50 files unmarked.
$ mark *
50 files marked.
$ done
Bootstrap records written to 
/Users/netops/bacula/regress/working/localhost-dir.restore.1.bsr

The job will require the following
   Volume(s)                 Storage(s)                SD Device(s)
===========================================================================
   
   TestVolume001             File                      FileStorage              


50 files selected to be restored.

Run Restore job
JobName:         RestoreFiles
Bootstrap:       
/Users/netops/bacula/regress/working/localhost-dir.restore.1.bsr
Where:           
Replace:         always
FileSet:         Full Set
Backup Client:   localhost-fd
Restore Client:  localhost-fd
Storage:         File
When:            2007-09-07 10:00:34
Catalog:         MyCatalog
Priority:        10
OK to run? (yes/mod/no): yes
Job queued. JobId=2
wait
You have messages.
messages
07-Sep 10:00 localhost-dir: Start Restore Job RestoreFiles.2007-09-07_10.00.35
07-Sep 10:00 localhost-dir: Using Device "FileStorage"
07-Sep 10:00 localhost-sd: Ready to read from volume "TestVolume001" on device 
"FileStorage" (/Users/netops/bacula/regress/tmp).
07-Sep 10:00 localhost-sd: Forward spacing Volume "TestVolume001" to file:block 
0:216.
07-Sep 10:00 localhost-sd: End of file 0 on device "FileStorage" 
(/Users/netops/bacula/regress/tmp), Volume "TestVolume001"
07-Sep 10:00 localhost-sd: End of Volume at file 0 on device "FileStorage" 
(/Users/netops/bacula/regress/tmp), Volume "TestVolume001"
07-Sep 10:00 localhost-sd: End of all volumes.
07-Sep 10:00 localhost-dir: Bacula localhost-dir 2.3.3 (05Sep07): 07-Sep-2007 
10:00:36
  Build OS:               powerpc-apple-darwin8.10.0 darwin 8.10.0
  JobId:                  2
  Job:                    RestoreFiles.2007-09-07_10.00.35
  Restore Client:         localhost-fd
  Start time:             07-Sep-2007 10:00:36
  End time:               07-Sep-2007 10:00:36
  Files Expected:         50
  Files Restored:         50
  Bytes Restored:         984
  Rate:                   0.0 KB/s
  FD Errors:              0
  FD termination status:  OK
  SD termination status:  OK
  Termination:            Restore OK

07-Sep 10:00 localhost-dir: Begin pruning Jobs.
07-Sep 10:00 localhost-dir: No Jobs found to prune.
07-Sep 10:00 localhost-dir: Begin pruning Files.
07-Sep 10:00 localhost-dir: No Files found to prune.
07-Sep 10:00 localhost-dir: End auto prune.

@tee
quit
Pool   Maxsize  Maxused  Inuse
NoPool      256        3      0
NAME        130        0      0
FNAME       468        7      0
MSG       65636       10      0
EMSG       1024        1      0

----- After
4373274 Makefile
4373272 README
4373268 README.mingw32
4339130 all-non-root-2tape-tests
4339143 all-non-root-tape-tests
4339124 all-non-root-tests
4339128 all-root-tests
4339147 all-tape-and-file-tests
4339141 all-tests
4388351 bin
4377475 build
 623578 build-5169
4373294 config
 562816 config.out
 551335 do_all
 551327 do_all_tapes
4339145 do_all_tests
4339139 do_file
 551365 encrypt-bug.jpg
 551363 encrypt-bug.txt
 551345 encrypt-bug2.txt
 551325 endtime
 551317 file
 551343 freebsd.conf
 601167 fs.conf
 551323 kern.conf
 551339 misc-tests
4373270 prototype.conf
 551349 run
 549201 scripts
 551361 starttime
 551333 tape
2150704 test.out
 549637 tests
 562814 time.out
4377473 tmp
4377419 weird-files
 551367 weird-files.tar.gz
5464584 weird-files2
5464147 weird-files2-failure.txt
 550177 win32
4377474 working
51c51
< drwxr-xr-x 45 501  501    1530      2007-09-07 10:00:21 weird-files2
---
> drwxr-xr-x 44 501  501    1496      2007-09-07 10:00:21 weird-files2
 
 
  !!!!! weird-files2-test failed!!! !!!!! 
  !!!!! Restored files differ          !!!!! 
        bstat=0 rstat=0 dstat=1
 
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Bacula-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to