github.com/swiftstack/ProxyFS@v0.0.0-20210203235616-4017c267d62f/cookbooks/README-UNITTEST.txt (about)

     1  This is the unit test when changing SAIO.
     2  
     3  This test must be executed on all SAIO versions.
     4  
     5  First, remove Samba source as follows:
     6  
     7      # cdpfs
     8      # cd ..
     9      # rm -rf samba*
    10  
    11  Now, test on all SAIO versions:
    12  
    13  1. First test Centos:
    14  
    15      # vagrant destroy
    16      # export SAIO_OS=centos
    17      # vagrant up
    18  
    19      Need a reboot to change SELinux settings unfortunately.
    20  
    21      # vagrant halt
    22      # vagrant up
    23      # vagrant ssh
    24  
    25      Log onto the box and see if everything can be mounted.
    26  
    27      # /usr/bin/start_and_mount_pfs
    28      # /usr/bin/start_and_mount_pfs
    29      will start swift, proxyfsd, smb and mount the share on a Centos VM.   Must do twice and
    30      I have a tracker (https://www.pivotaltracker.com/story/show/135190081) to get this fixed.
    31  
    32      Make sure the mount point shows up:
    33  
    34      # mount | grep proxyfs
    35      should show something like this:
    36  
    37          //127.0.0.1/proxyfs on /mnt/smb_proxyfs_mount type cifs (rw,relatime,vers=1.0,cache=strict,username=vagrant,domain=LOCALHOST,uid=0,noforceuid,gid=0,noforcegid,addr=127.0.0.1,unix,posixpaths,serverino,acl,rsize=1048576,wsize=65536,actimeo=1)
    38  
    39      Make sure the aliases all work:
    40      # cdpfs
    41      # exit
    42  
    43  2. Now test Ubuntu:
    44  
    45      # vagrant destroy
    46      # export SAIO_OS=ubuntu
    47      # vagrant up
    48  
    49      Same workflow, reboot here.
    50  
    51      # vagrant halt
    52      # vagrant up
    53      # vagrant ssh
    54  
    55      Log onto the box and see if everything can be mounted.
    56  
    57      # /usr/bin/start_and_mount_pfs
    58  
    59      will start swift, proxyfsd, smb and mount the share on a Ubuntu VM.  Should only need to do this
    60      once although the bug shown on Centos probably can happen on Ubuntu.
    61  
    62      Make sure the mount point shows up:
    63  
    64      # mount | grep proxyfs
    65      should show something like this:
    66  
    67          //127.0.0.1/proxyfs on /mnt/smb_proxyfs_mount type cifs (rw,password=vagrant,user=vagrant)
    68  
    69      Make sure the aliases all work:
    70      # cdpfs