Package: obnam
Version: 1.1-1.1
Severity: normal

Hi,

when building on a btrfs filesystem, tests in the build ob obnam fail like
this:

[...]
running check


OK
121 excluded statements
22 excluded modules

Slowest tests:
    0.4 s test_second_generation_has_different_id_from_first (repo_tests.Reposit
    0.4 s test_does_not_increment_data_for_recreated_files (clientmetadatatree_t
    0.4 s test_counts_replaced_data_in_second_generation (clientmetadatatree_tes
    0.4 s test_adds_two_clients_across_commits (repo_tests.RepositoryRootNodeTes
    0.5 s test_counts_new_files_in_second_generation (clientmetadatatree_tests.C
    0.5 s test_removing_client_that_has_data_removes_the_data_as_well (repo_test
    0.6 s test_create_adds_lots_of_files (repo_tests.RepositoryClientTests)
    1.2 s test_latest_returns_newest_generation (repo_tests.RepositoryGenspecTes
    1.2 s test_removing_generation_works (repo_tests.RepositoryClientTests)
    2.2 s test_removing_only_second_generation_works (repo_tests.RepositoryClien
Time: 19.3 s
FAIL: convert5to6: stdout diff:
--- /dev/null   2010-05-19 12:35:42.000000000 +0000
+++ tests/convert5to6.stdout-actual     2012-12-01 14:16:09.790547822 +0000
@@ -0,0 +1,35 @@
+--- data.summain       2012-12-01 14:16:09.778547819 +0000
++++ restored.summain   2012-12-01 14:16:09.782547820 +0000
+@@ -3,28 +3,28 @@
+ Mode: 40775
+ Ino: 1
+ Dev: 1
+-Nlink: 3
++Nlink: 1
+ 
+ Name: data/0
+ Mtime: 2012-04-29 18:45:44.IGNORED +0000
+ Mode: 40775
+ Ino: 2
+ Dev: 1
+-Nlink: 3
++Nlink: 1
+ 
+ Name: data/0/0
+ Mtime: 2012-04-29 18:45:44.IGNORED +0000
+ Mode: 40775
+ Ino: 3
+ Dev: 1
+-Nlink: 3
++Nlink: 1
+ 
+ Name: data/0/0/0
+ Mtime: 2012-04-29 18:45:44.IGNORED +0000
+ Mode: 40775
+ Ino: 4
+ Dev: 1
+-Nlink: 2
++Nlink: 1
+ 
+ Name: data/0/0/0/0
+ Mtime: 2012-04-29 18:45:44.IGNORED +0000

FAIL: convert5to6: got exit code 1, expected 0
41/43 tests OK, 2 failures
ERROR: Command '['cmdtest', 'tests']' returned non-zero exit status 1
run unit tests
run black box tests
make[1]: *** [override_dh_auto_test] Error 1
make[1]: Leaving directory `/«PKGBUILDDIR»'
make: *** [build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2
[...]

I checked that this doesn't happen on ext4 on the same machine in the same
chroot copy.

Please note the Nlink differences above.

Bug in obnam (test) or btrfs? Btrfs/kernel: 3.6.0

Thanks in advance,

Roland

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.5.0 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_GB.UTF-8)
Shell: /bin/sh linked to /bin/dash


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to