Skip to content

fix system:bareos test on btrfs filesystems#907

Merged
pstorz merged 2 commits intobareos:masterfrom
alaaeddineelamri:dev/alaaeddineelamri/master/systemtest-bareos-btrfs-fstype
Aug 19, 2021
Merged

fix system:bareos test on btrfs filesystems#907
pstorz merged 2 commits intobareos:masterfrom
alaaeddineelamri:dev/alaaeddineelamri/master/systemtest-bareos-btrfs-fstype

Conversation

@alaaeddineelamri
Copy link
Contributor

@alaaeddineelamri alaaeddineelamri commented Aug 9, 2021

Description

When compiling on a system that somehow uses btrfs, the systemtest:bareos fails to backup with the error found in tmp/log1.out that says Top level directory "..../bareos/systemtests/tests/bareos/tmp/data" has unlisted fstype "btrfs"
This can happen for example on a fresh default install of Fedora 34.

Adding fstype = btrfs to the fileset config file resolves this issue.

Thank you for contributing to the Bareos Project!

Please check

  • Short description and the purpose of this PR is present above this paragraph
  • Your name is present in the AUTHORS file (optional)

If you have any questions or problems, please give a comment in the PR.

Helpful documentation and best practices

Checklist for the reviewer of the PR (will be processed by the Bareos team)

General
  • PR name is meaningful
  • Purpose of the PR is understood
  • Separate commit for this PR in the CHANGELOG.md, PR number referenced is same
  • Commit descriptions are understandable and well formatted

@pstorz pstorz self-requested a review August 9, 2021 15:40
@pstorz pstorz self-assigned this Aug 9, 2021
@pstorz pstorz changed the title added fstype = btrfs to fileset fix system:bareos test on btrfs filesystems Aug 10, 2021
Copy link
Member

@pstorz pstorz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good work.

However, please adapt the commit messages to comply with the format described here:
https://docs.bareos.org/DeveloperGuide/gitworkflow.html#commits

Also, please add one line to the changelog like this: "systemtests: bareos test now also runs on btrfs filesystem"

Thank you very much.

@alaaeddineelamri alaaeddineelamri force-pushed the dev/alaaeddineelamri/master/systemtest-bareos-btrfs-fstype branch from 85a3848 to 4180425 Compare August 11, 2021 07:56
alaaeddineelamri and others added 2 commits August 19, 2021 14:20
This commit adds `fstype = btrfs` to fileset in system:bareos.
@pstorz pstorz force-pushed the dev/alaaeddineelamri/master/systemtest-bareos-btrfs-fstype branch from 4180425 to e154976 Compare August 19, 2021 12:21
@pstorz pstorz merged commit 716603f into bareos:master Aug 19, 2021
@pstorz pstorz deleted the dev/alaaeddineelamri/master/systemtest-bareos-btrfs-fstype branch August 19, 2021 12:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants