ceph/qa/tasks/cephfs
Patrick Donnelly 3e5e03d4d2
qa: skip chdir for fuse_mount
The use of chdir will muck up the use of nsenter with valgrind:

    2021-03-03T02:13:49.897 DEBUG:teuthology.orchestra.run.smithi144:> sudo nsenter --net=/var/run/netns/ceph-ns--home-ubuntu-cephtest-mnt.0 cd /home/ubuntu/cephtest && sudo adjust-ulimits ceph-coverage /home/ubuntu/cephtest/archive/coverage daemon-helper term env 'OPENSSL_ia32cap=~0x1000000000000000' valgrind --trace-children=no --child-silent-after-fork=yes '--soname-synonyms=somalloc=*tcmalloc*' --num-callers=50 --suppressions=/home/ubuntu/cephtest/valgrind.supp --xml=yes --xml-file=/var/log/ceph/valgrind/client.0.log --time-stamp=yes --vgdb=yes --exit-on-first-error=yes --error-exitcode=42 --tool=memcheck --leak-check=full --show-reachable=yes ceph-fuse -f --admin-socket '/var/run/ceph/$cluster-$name.$pid.asok' --id 0 /home/ubuntu/cephtest/mnt.0
    2021-03-03T02:13:49.899 DEBUG:teuthology.orchestra.run.smithi144:> sudo modprobe fuse
    2021-03-03T02:13:49.914 INFO:teuthology.orchestra.run:Running command with timeout 30
    2021-03-03T02:13:49.914 DEBUG:teuthology.orchestra.run.smithi144:> sudo mount -t fusectl /sys/fs/fuse/connections /sys/fs/fuse/connections
    2021-03-03T02:13:49.919 INFO:tasks.cephfs.fuse_mount.ceph-fuse.0.smithi144.stderr:nsenter: failed to execute cd: No such file or directory

It's not necessary to chdir at all to do the mount, so don't.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2021-03-03 09:30:21 -08:00
..
__init__.py
caps_helper.py
cephfs_test_case.py qa: delete all fs during tearDown 2021-02-26 09:13:21 -08:00
filesystem.py
fuse_mount.py qa: skip chdir for fuse_mount 2021-03-03 09:30:21 -08:00
kernel_mount.py
mount.py
test_acls.py
test_admin.py
test_auto_repair.py
test_backtrace.py
test_cap_flush.py
test_cephfs_shell.py
test_client_limits.py
test_client_recovery.py
test_damage.py
test_data_scan.py
test_dump_tree.py
test_exports.py
test_failover.py
test_flush.py
test_forward_scrub.py
test_fragment.py
test_fstop.py
test_full.py
test_journal_migration.py
test_journal_repair.py
test_mantle.py
test_mds_metrics.py
test_meta_injection.py
test_mirroring.py
test_misc.py
test_multifs_auth.py
test_multimds_misc.py
test_nfs.py
test_openfiletable.py
test_pool_perm.py
test_quota.py
test_readahead.py
test_recovery_pool.py
test_scrub_checks.py
test_scrub.py
test_sessionmap.py
test_snap_schedules.py
test_snapshots.py
test_strays.py
test_volumes.py
xfstests_dev.py