Package: obnam
version: 1.17-1

We are seeing test failures with obnam on the raspbian autobuilders (which use btrfs).

Having seen similar issues in the past i'm pretty sure this is a btrfs related issue rather than an issue related to anything we changed in raspbian. Specifically as I understand it nlink behaves differently
under btrfs than under other filesystem.

Unfortunately I don't have a plain Debian environment on btrfs handy
to make absolutely sure.

A build log from the latest version in raspbian stretch can be found at http://buildd.raspbian.org/status/fetch.php?pkg=obnam&arch=armhf ver=1.17-1&stamp=1442300722 , relavent parts are quoted below.

ERROR: In scenario "use repository format 6"
step "THEN restored data in R1 matches T/manifest-1" failed,
with exit code 1:
Standard output from shell command:
--- /tmp/tmpnb9ccO/use_repository_format_6/datadir/original-manifest 2015-09-15 07:04:51.422508561 +0000 +++ /tmp/tmpnb9ccO/use_repository_format_6/datadir/restored-manifest 2015-09-15 07:04:51.414508561 +0000
    @@ -1,7 +1,7 @@
     Name: .
     Mtime: 2013-12-28 21:11:07 +0000
     Mode: 40775
    -Nlink: 4
    +Nlink: 1
          Name: fifo
     Mtime: 2013-12-28 21:11:07 +0000
    @@ -111,10 +111,10 @@
     Name: dir-empty
     Mtime: 2013-12-28 21:11:07 +0000
     Mode: 40775
    -Nlink: 2
    +Nlink: 1
          Name: symlink-target-dir
     Mtime: 2013-12-28 21:11:07 +0000
     Mode: 40775
    -Nlink: 2
    +Nlink: 1
     Standard error from shell command:
    + export HOME=/tmp/tmpnb9ccO/use_repository_format_6/datadir/home
    + mkdir -p /tmp/tmpnb9ccO/use_repository_format_6/datadir/home
    + cd /tmp/tmpnb9ccO/use_repository_format_6/datadir/R1
    + true
    + + wc -l
    ls
    + cd tmp
    + true
    + + wc -l
    ls
    + cd tmpbr5YS5
    + true
    + + wc -l
    ls
    + cd data
    + true
    + + lswc -l
        + break
+ summain -r --exclude=Ino --exclude=Dev --exclude=Uid --exclude=Username --exclude=Gid --exclude=Group .
    + normalise_manifest_times
    + sed /^Mtime:/s/\.[0-9]* / /
+ normalise_manifest_times /tmp/tmpnb9ccO/use_repository_format_6/datadir/T/manifest-1 + sed /^Mtime:/s/\.[0-9]* / / /tmp/tmpnb9ccO/use_repository_format_6/datadir/T/manifest-1 + diff -u /tmp/tmpnb9ccO/use_repository_format_6/datadir/original-manifest /tmp/tmpnb9ccO/use_repository_format_6/datadir/restored-manifest

ERROR: In scenario "use repository format 6 with in-tree data"
step "THEN restored data in R1 matches T/manifest-1" failed,
with exit code 1:
Standard output from shell command:
--- /tmp/tmp1KZd5y/use_repository_format_6_with_in-tree_data/datadir/original-manifest 2015-09-15 07:04:55.794508561 +0000 +++ /tmp/tmp1KZd5y/use_repository_format_6_with_in-tree_data/datadir/restored-manifest 2015-09-15 07:04:55.786508561 +0000
    @@ -1,7 +1,7 @@
     Name: .
     Mtime: 2014-01-07 18:36:19 +0000
     Mode: 40775
    -Nlink: 4
    +Nlink: 1
          Name: fifo
     Mtime: 2014-01-07 18:36:19 +0000
    @@ -111,10 +111,10 @@
     Name: dir-empty
     Mtime: 2014-01-07 18:36:19 +0000
     Mode: 40775
    -Nlink: 2
    +Nlink: 1
          Name: symlink-target-dir
     Mtime: 2014-01-07 18:36:19 +0000
     Mode: 40775
    -Nlink: 2
    +Nlink: 1
     Standard error from shell command:
+ export HOME=/tmp/tmp1KZd5y/use_repository_format_6_with_in-tree_data/datadir/home + mkdir -p /tmp/tmp1KZd5y/use_repository_format_6_with_in-tree_data/datadir/home + cd /tmp/tmp1KZd5y/use_repository_format_6_with_in-tree_data/datadir/R1
    + true
    + + ls
    wc -l
    + cd tmp
    + true
    + ls+
    wc -l
    + cd tmpvR_VsS
    + true
    + ls+
    wc -l
    + cd data
    + true
    + + ls
    wc -l
    + break
    + summain -r --exclude=Ino+  --exclude=Devnormalise_manifest_times
    + sed /^Mtime:/s/\.[0-9]* / /
     --exclude=Uid --exclude=Username --exclude=Gid --exclude=Group .
+ normalise_manifest_times /tmp/tmp1KZd5y/use_repository_format_6_with_in-tree_data/datadir/T/manifest-1 + sed /^Mtime:/s/\.[0-9]* / / /tmp/tmp1KZd5y/use_repository_format_6_with_in-tree_data/datadir/T/manifest-1 + diff -u /tmp/tmp1KZd5y/use_repository_format_6_with_in-tree_data/datadir/original-manifest /tmp/tmp1KZd5y/use_repository_format_6_with_in-tree_data/datadir/restored-manifest

Reply via email to