1. 02 Jun, 2023 1 commit
  2. 01 Jun, 2023 2 commits
    • Andrew's avatar
      Fix and enhance recycle test (#9939) · d0ed2385
      Andrew authored
      Add tests to validate:
      1. files purged when deleted from recycle paths
      2. per-dataset recycle bins are automatically created
      
      This also fixes typo in path for original refactor of
      recycle test.
      d0ed2385
    • Andrew's avatar
      Improve test_420_smb - use python SMB client (#9933) · b549496a
      Andrew authored
      Our existing tests failed to catch situation where recycling
      process would cause an SMB service disconnection. The new
      tests explicitly cover basic ops (creating / deleting files,
      creating, removing directories) and also ops on the
      recycle bin over the SMB1 and SMB3 protocols. This improves
      test coverage while also ensuring that tests are performed
      under a single SMB session.
      b549496a
  3. 15 Mar, 2023 1 commit
  4. 17 May, 2022 1 commit
  5. 02 May, 2022 1 commit
  6. 09 Mar, 2022 1 commit
  7. 08 Mar, 2022 1 commit
  8. 13 Dec, 2021 1 commit
    • Eric Turgeon's avatar
      DOCS-2956 / Porting 13.0/12.1 tests from master to 13.0-stable (#7964) · cb8d7cf8
      Eric Turgeon authored
      * Porting 13.0/12.1 tests from master to 13.0-stable
      
      Change the release version to master untile the 13.0 branch is created
      Fixed all index_url URL
      remove api_key test
      removed some scale related testing code and kubernetes related test
      remove scale test code from API tests
      Cleaned some API test code
      Improved the NFS API test
      DOCS-2613 Added missing API test from 12.0 in 13.0 test backup branch (#7873)
      * Updated alert API test from 12.0-stable and added 4 new test
      Added test 21 to restore core files the alert
      Added test 22 to verify the core files alert is restored
      Added test 23 to remove the core files in /var/db/system/cores
      Added test 24 to wait for the core files alert to disappear
      * Fixed test 60 and merged job_status with the test using it
      * Fixed user test 30
      * Fixed ad idmap test 08
      * Fixed ad kerberos test 30, 32, 34, 35
      * removed the code to remove the cache in test_040_ad_user_group_cache.py
      * Fix pool dataset test 02 and improved pool dataset tests dependencies
      * Fixed acl nfsv4 test 02 and improve acl nfsv4 tests dependencies
      * Added missing wait_on_job in pool dataset test 13
      * Fixed test_032_ad_kerberos.py test 37
      * Removed tests/api2/test_348_posix_acl.py
      * Fixed replication testing
      * Fixed smb test 002
      * Remove SCALE specific test in test_425_smb_protocol.py
      * Removed snapshottask retention it not supported
      * Fixed group name in webdav test
      * Fixed acl_nfs4 test 12 and improved test dependencies
      * Removed code to remove /root/tdb/persistent in test 10 and 11
      * fixed ad user group cache test 10 and improved test dependencies
      * Update smb test with the latest in 12.0-stable
      * Added changes from activedirectory.py of 12.0-stable
      * Updated cloudsync from 12.0-stable
      * Fixed username in send_file and get_file for tests functions
      * add missing test in test_030_activedirectory.py
      * Changed the cloud sync API test to be on par with 12.0-stable
      * Fixed missing test dependency in group test 25
      * Updated plugin test code from 12.0-stable
      Added condition to not run the plugin API on HA
      * Adding AFP API test from 12.0-stable
      * Use master in test_310_plugin.py
      * Updated tests/protocols.py from 12.0-stable
      * Added test_437_smb_vss.py from 12.0-stable
      * Adding test_135_cloudsync2.py from 12.0-stable
      * Added sleeps after umount in test_260_iscsi.py
      * Adding test dependencies in test_700_host_key.py
      * Removed request to fix the dataset function
      * added sleep 3 seconds in iSCSI test 48
      * Changed sleep after waiting_for_iscsi_connection to 5 second
      DOCS-2746 / 13.0 / Exclude real hardware test on VM, HA on no-HA test and vice versa (#7881)
      * Changed send_license test to only run on HA
      * Excluded non-HA test from HA test and vice versa in network test
      * Changed disable_failover test to only run on HA removing skip
      * Excluded non-HA interface test from HA test and vice versa
      * Excluded  pool dataset encryption test from HA to remove skip
      * Removed pool test 2 non-ha skip to test wiping pool on HA and non-HA
      Exclude test 03 from non-HA instead of skipping it
      * Exclude enable failover for non-HA instead of skipping
      * removed acl_pool_perm_09 depends in tests/api2/test_345_acl_nfs4.py
      * Exclude noip test if config is missing in test_180_dyndns.py
      Exclude custom provider test if config is missing in test_180_dyndns.py
      * Fixed DELETE in test_345_acl_nfs4.py test 23
      Fixed ssh_password dependency in test_345_acl_nfs4.py test 24
      * Changed jail test to be exclude from HA instead of skipping
      * removed ha from plugin test pytestmark
      * Changed pool import test to be exclude from HA instead of skipping
      * Changed host key test to be exclude from HA instead of skipping
      * Changed update test to be exclude if update is false instead of skipping
      * Changed delete interface test to be exclude from HA instead of skipping
      * Fixed test_180_dyndns.py test 10 and 11
      * Exclude vm test if don't virtualization is not support instead of skipping
      * Exclude vmware test credentials are missing instead of skipping
      * Changed smart test 07 and 08 to be exclude if not on real hardware
      * Fixed pool dataset test 15 dependencies
      Fixed delete user test 01 dependencies
      * Fixed DELETE_CHILD in test_345_acl_nfs4.py test 23
      Fixed acl_pool_perm_08 dependency
      Fixed deleting_user depends scope
      Fixed pytest.mark.dependency in test_700_host_key.py
      Change nfs test 12 mount timeout to 60 seconds
      Fixed HA interface setup in test 15
      
      * Added missing controller_a=ha in pool test and enable_failover
      
      * Revert "Added missing controller_a=ha in pool test and enable_failover"
      
      This reverts commit de768adb6c416934934cbe540d34697886f4827f.
      cb8d7cf8
  9. 09 Dec, 2021 3 commits
  10. 24 Aug, 2021 1 commit
    • Caleb St. John's avatar
      NAS-111996 / 13.0 / Rebase 13 with latest changes from 12 (#7399) · ae8dd3ce
      Caleb St. John authored
      * NAS-110174 / 12.0 / WBC_ERR_WINBIND_NOT_AVAILABLE is not an SSH login failure (#6800)
      
      * NAS-110401 / 12.0 / Fix regression in service restart after pool decryption (#6824)
      
      Refactoring a cherry-pick of fix from master introduced a
      regression whereby we were sending a list of service names to
      to be restarted to the core.bulk rather than a list of lists.
      
      * NAS-109545 / 12.0 / Prevent nested loop queries in iscsi.target (#6657)
      
      * NAS-109033 / 12.0 / Bug fix for correctly retrieving DN value from a cert (#6846)
      
      There are cases where simple decode can fail when trying to read cert attributes. We should rely on openssl module instead to give us normalized values instead of trying to decode ourselves.
      
      (cherry picked from commit b5130578
      
      )
      Co-authored-by: default avatarWaqar Ahmed <waqarahmedjoyia@live.com>
      
      * NAS-110243 / 12.0 / Allow endpoints to specify explicit http methods (by sonicaj) (#6819)
      
      * Allow endpoints to specify explicit http methods
      
      (cherry picked from commit 649ee8efa3eb4c3d9e7279df34121d8eae7e92ea)
      
      * Add explicit get method on ui_restart endpoint
      
      (cherry picked from commit 0dc94f20efc3a8cff2e0b83b87f7ad9d12d423c5)
      Co-authored-by: default avatarWaqar Ahmed <waqarahmedjoyia@live.com>
      
      * NAS-110433 / 12.0 / Restart mdns after installing a plugin (#6847)
      
      We should restart mdns after a jail is started following https://github.com/truenas/middleware/pull/6587
      
      .
      
      * Fix syntax error in SSSD-compatibility idmap config
      
      (cherry picked from commit fe365eef90b86e24e047a8b33579f89ccdf23291)
      
      * Do not report successful S.M.A.R.T. test starts on SCSI/SAS drives as failures
      
      (cherry picked from commit acd718563a71534f751b1d2dc70fbfb542e28ac0)
      
      * NAS-110496 / 12.0 / Explicitly set system dataset to readonly=off (#6869)
      
      * NAS-110576 / 12.0 / R20A enclosure support (#6871)
      
      * NAS-110240 / 12.0 / Do not show disks with temperature collection disable in corresponding Reporting UI section (#6861)
      
      * NAS-110214 / 12.0 / Do not wait for NFS restart when configuring network interfaces. (#6866)
      
      It might hang due to unknown reasons and cause old-style FreeBSD network setup on boot.
      
      * NAS-109910 / 12.0 / Bring back iscsi_target_extent_name unique constraint (#6864)
      
      * NAS-110602 / 12.0 / Fix concatenating enclosures (#6873)
      
      * NAS-105205 / 12.0 / Sort pool.filesystem_choices by name (#6875)
      
      * NAS-110607 / 12.0 / Fix (almost all) unit test failures (#6876)
      
      * NAS-109989 / 12.0 / Convert dscache.refresh into a middleware job (#6872) (#6877)
      
      This commit serializes cache refresh requests into a job queue and
      ensures that cache is refreshed before writing to file.
      
      Add docstring to directoryservices.cache_refresh
      
      * NAS-110417 / 12.0 / Have unique serial number for certs (#6883)
      
      When creating a self generated certificate, we should have unique serial numbers. The upper limit for serial is 2^160 but in the changes i am keeping it 30 as otherwise it will just be a really long number which is hard to access and it has a low probability that we have 2 self signed certificates generated by us with same serial number.
      
      (cherry picked from commit 3909aea0ef8c5fe0fc4bbed745f10434aa4e86db)
      Co-authored-by: default avatarWaqar Ahmed <waqarahmedjoyia@live.com>
      
      * NAS-110575 / 12.0 / Stop TrueCommand connection on BACKUP node (#6886)
      
      * NAS-110714 / 12.0 / fix memory allocation/leak issue in multipath.query() (#6897)
      
      * fix memory allocation/leak issue in multipath.query()
      
      * restore Config child class
      
      * remove old debugging code
      
      * storytime!
      
      * run cert check every 24hrs and not on standby node
      
      * NAS-110779 / 12.0 / Consistently retrieve boot time (#6918)
      
      This commit fixes an issue where we were not normalizing the datetime object.
      Co-authored-by: default avatarWaqar Ahmed <waqarahmedjoyia@live.com>
      
      * NAS-110769 / 12.0 / remove lxml from fcport plugin and use correct verbiage (#6912)
      
      * NAS-110793 / 12.0 / remove lxml and xml.etree from identify_freebsd (#6921)
      
      * remove lxml and xml.etree from identify_freebsd
      
      * remove unused modules, one of which references lxml
      
      * fix logic for checking matches by normalizing data
      
      * NAS-110618 / 12.0 / Start SSH service on SSH pairing (#6885)
      
      (cherry picked from commit 53ae1189b85320eff389b3e2e451fe4f0440364e)
      Co-authored-by: default avatarthemylogin <themylogin@gmail.com>
      
      * NAS-110719 / 12.0 / remove lxml from vm plugin on CORE (#6926)
      
      * NAS-110783 / 12.0 / only unlock SED disks on active controller (#6924)
      
      * only unlock SED disks on active controller
      
      * use global variable so we dont unlock SED drives more than once
      
      * NAS-110766 / 12.0 / remove lxml from global_freebsd plugin (#6911)
      
      * remove lxml from global_freebsd plugin
      
      * get rid of inner method
      
      * NAS-110765 / 12.0 / remove lxml from fc_hba_not_present alert source (#6910)
      
      * NAS-110701 / 12.0 / Remove copy-paste error from old AD LDAP code. (#6898)
      
      LDAP plugin doesn't have `verbose_logging` key. We were using this
      in code related to SASL_EXTERNAL binds, which are almost never used
      in typical environments.
      
      (cherry picked from commit e714861463d8f7cbac24209bce078329e01f199d)
      Co-authored-by: default avatarAndrew Walker <awalker@ixsystems.com>
      
      * NAS-110635 / 12.0 / Do not allow comma in cdrom path (#6902)
      
      This commit adds changes to ensure user does not specify a comma in cdrom path as that would result in bhyve not able to parse the argument correctly.
      
      * NAS-110712 / 12.0 / add --trace-malloc arg to middlewared (#6896)
      
      * add --trace-malloc arg to middlewared
      
      * address reviews and make logs more readable
      
      * NAS-110667 / 12.0 / Add testparm output to debug (#6893)
      
      (cherry picked from commit 2875104c8c482c3d53d489ae15ac2726ec3df60a)
      Co-authored-by: default avatarAndrew Walker <awalker@ixsystems.com>
      
      * NAS-110773 / 12.0 / Fix kerberos error (#6863)
      
      * NAS-110922 / 12.0 / remove py-lxml build depdendency (#6967)
      
      * NAS-110754 / 12.0 / Properly validate rsync extra arguments (#6968)
      
      (cherry picked from commit 6428776b22a23e204f176f9c87bfb74ecec839bb)
      Co-authored-by: default avatarWaqar Ahmed <waqarahmedjoyia@live.com>
      
      * NAS-110671 / 12.0 / prevent unlimited running cron jobs (#6971)
      
      * NAS-110928 / 12.0 / Do not run camcontrol reprobe on vtbd drives (#6998)
      
      * NAS-110969 / 12.0 / Increase verbosity of range-related idmap verrors (#6992)
      
      Do a bit more work to pinpoint the exact idmap range overlap.
      
      (cherry picked from commit 26c29cf665c40bfb2ae0cb0cf759242d08364361)
      Co-authored-by: default avatarAndrew Walker <awalker@ixsystems.com>
      
      * Add github action to use flake8
      
      * Show flake8 errors introduced
      
      * Add default value for extra list attribute (#7049)
      
      * NAS-110600 / 12.0 / Correctly retrieve s3 attachment (#7041)
      
      This commit fixes an issue if s3 path did not exist for some reason ( got deleted or was an old path ), retrieving s3 attachments would error out as the path would not exist. Secondly, if the path does not exist but has been configured - we create the path before starting the s3 service.
      
      (cherry picked from commit c40a4d55986ea89f8edc0f165fe9e629bbb3d83c)
      Co-authored-by: default avatarWaqar Ahmed <waqarahmedjoyia@live.com>
      
      * NAS-111124 / 12.0 / cache static info and optimize system.info on CORE (#7065)
      
      * cache dmidecode results to reduce CPU time
      
      * fix typo
      
      * optimize system.info
      
      * address review
      
      * NAS-111046 / 12.0 / update recommended zvol blocksize depending on zpool geometry (#7072)
      
      (cherry picked from commit 415bbea7834e6986be14aee201faa1e65e612037)
      Co-authored-by: default avatarcaleb <yocalebo@gmail.com>
      
      * NAS-111132 / 12.0 / Fix r10 enclosures (by darkfiberiru) (#7092)
      
      * Fix r10 enclosures. Including mapping drives bays to match standard pattern(left to right then top to bottom)instead of inverse. Tested on R10 and Mini-X+ to confirm mini mapping still works
      
      (cherry picked from commit fd1995d4a1f5b0968a129ab87f4c58ca80173777)
      
      * Additional enclosure fixes/cleanup
      
      (cherry picked from commit 30123f3362573235bda677d54f3b30ea20875306)
      
      * document why we add back expansion shelves
      
      (cherry picked from commit f719eb56bf3ab7af5e5f3cda8bb01fa65cba5c3c)
      
      * Fix small typos and type mixup added while fixing r10 enclosure management
      
      (cherry picked from commit 1ce30e249e0cffe1e724742b0c8940c20e93533d)
      
      * flake8 fixes and use double-quotes
      
      (cherry picked from commit 11247804abb7c78cc97666faf6d01886b0dd260f)
      
      * flake8 fixes for enclosure.py
      
      (cherry picked from commit 6a23820db8b706b277686e8edcff140c52d6402c)
      Co-authored-by: default avatarNick 'darkfiberiru' Wolff <darkfiberiru@gmail.com>
      Co-authored-by: default avatarCaleb St. John <30729806+yocalebo@users.noreply.github.com>
      
      * NAS-111223 / 12.0 / Fix R40 to comply with enclosure management nep specified single mapped enclosure to UI. (#7097)
      
      Previous method didn't work along with not being nep compliant. Testing
      shows that UI was already compliant and works with this change.
      
      (cherry picked from commit 089528eb570a4606238cfff7a88bc28492c64da3)
      Co-authored-by: default avatarNick 'darkfiberiru' Wolff <darkfiberiru@gmail.com>
      
      * NAS-111080 / 12.0 / Fix Enclosure Mapping for early version Mini X 3.0 Systems (by darkfiberiru) (#7098)
      
      * Fix Enclosure Mapping for early version Mini 3.0 Systems
      
      (cherry picked from commit 1b3741c98a3413572fa66581406d41fb4b2e5735)
      
      * Enclosure map regex string needs to be a raw string to stop collision of string and regex escaping
      
      (cherry picked from commit de17ad57e4a4aec0747f74f73a7cab4d69202dfa)
      Co-authored-by: default avatarNick 'darkfiberiru' Wolff <darkfiberiru@gmail.com>
      
      * NAS-111146 / 12.0 / add interfaces marked critical for failover to network.sh (#7088)
      Co-authored-by: default avatarcaleb <yocalebo@gmail.com>
      
      * NAS-111259 / 12.0 / fix r20(a) to comply with enclosure NEP (#7105)
      Co-authored-by: default avatarcaleb <yocalebo@gmail.com>
      
      * NAS-111273 / 12.0 / fix r50 to comply with enclosure NEP (#7107)
      Co-authored-by: default avatarcaleb <yocalebo@gmail.com>
      
      * NAS-106539 / 12.0 / Copy over profile(4) localbase/etc to reflect with upstream changes (#7110)
      
      This commit adds changes to copy over profile(4) to localbase/etc as bash reads the login initialization changes from there now with recent changes introduced to freebsd upstream last year ( https://forums.freebsd.org/threads/what-happened-to-etc-profile.78406/
      
       ).
      
      * NAS-111283 / 12.0 / Bug fix for recommending zvol blocksize (#7114)
      
      This commit fixes an issue where we are not sending 'K' suffix with the recommended blocksize which we were doing before and this results in change in behavior with existing implementation in UI/middleware breaking.
      
      (cherry picked from commit 4e28818efb0aaca287b83379bb5d6945a1597b7c)
      Co-authored-by: default avatarWaqar Ahmed <waqarahmedjoyia@live.com>
      
      * Load if_atlantic module built form ports.
      
      Ticket:	NAS-111219
      (cherry picked from commit 80c79222
      
      )
      
      * NAS-111343 / 12.0 / Additional Enclosure Fixes (by darkfiberiru) (#7127)
      
      * Mini-E+ enclosure fix
      
      (cherry picked from commit de493c90aa44aa8d8d4788b40bb792e5cfd76b18)
      
      * Make sure that cobra expander works with r20/alternative r20 expander names
      
      (cherry picked from commit a4174cb882f1ed8f06d3dd93244bd228c1f73232)
      Co-authored-by: default avatarNick 'darkfiberiru' Wolff <darkfiberiru@gmail.com>
      
      * NAS-111335 / 12.0 / Fix Syntax error: "}" unexpected (expecting "fi" (#7133)
      
      * NAS-111188 / 12.0 / support.new_ticket should fully consume system.debug file to prevent debug job running (and holding lock) forever (#7134)
      
      * NAS-111099 / 12.0 / Fix replication progress saying "total 11.12 TiB of 11.04 TiB" (#7140)
      
      * NAS-111042 / 12.0 / pool.dataset: optimized create/update operations (#6955)
      
      * NAS-111384 / 12.0 / fix cpu temp crash in snmp-agent on VMs (#7143)
      
      * NAS-111390 / 12.0 / Enclosure Management fix for R20A. (#7145)
      
      System has weird drive mapping top to bottom then left to right naturally
      Needs correspondending UI change to map drives Left to Right and top to
      bottom as is standard(same as r20)
      
      (cherry picked from commit 58f59d619fa5b9cc225ab5619214f460e8418ade)
      Co-authored-by: default avatarNick 'darkfiberiru' Wolff <darkfiberiru@gmail.com>
      
      * NAS-111406 / 12.0 / Fix for mini-3.0-xl+ 2.5 inch drive bays being swapped. (#7155)
      
      Prior to this change the side internal bay showed as slot 1(hot swap
      2.5inch bay)
      No UI change is needed for this fix mapping only
      Confirmed against multiple systems both based opon production builds and
      redbook verified builds
      
      (cherry picked from commit d9bdfde8b8ab007ff3987cc9e145bdbbcf3d2773)
      Co-authored-by: default avatarNick 'darkfiberiru' Wolff <darkfiberiru@gmail.com>
      
      * Implement NVMe resize in disk_resize for FreeBSD.
      
      (cherry picked from commit 0338e093907ae5168b8e288d1fa26eb921350e7f)
      
      * NAS-110987 / 12.0 / Dataset checksum (#7160)
      
      (cherry picked from commit 3651bfec1282a193029fa7c6c223d843d0822952)
      Co-authored-by: default avatarthemylogin <themylogin@gmail.com>
      
      * Correct NVMe capacity check in disk_resize.
      
      Appears for some device NVM Capacity is not equal to Size multiplied
      by sector size, but is a pretty arbitrary value.  Use it directly.
      
      (cherry picked from commit f19ea9a9c2c6f2f3e081ca1fb45160cf262e37ae)
      
      * NAS-111422 / 12.0 / fix issues with enclosure.sync_zpool (#7180)
      
      * NAS-111462 / 12.0 / fix license detection on r-series devices (#7182)
      
      * NAS-111487 / 12.0 / Do not crash pool.dataset.kill_processes if a process has terminated on its own (by themylogin) (#7193)
      
      * Fix service.terminate_process return value documentation and prevent it from throwing psutil.NoSuchProcess
      
      (cherry picked from commit 02ca757b898ed135a06198a8ba77ff776fb68d08)
      
      * Do not crash pool.dataset.kill_processes if a process has terminated on its own
      
      (cherry picked from commit 4cee5fe353b31c0c3c543c2c0328711619e43007)
      Co-authored-by: default avatarthemylogin <themylogin@gmail.com>
      
      * NAS-111573 / 12.0 / fix race between dd and gpart destroy (#7232)
      
      * Changing the timeout for plex job api test to 20 minutes (#7235)
      
      * NAS-111682 / 12.0 / Improve smartd restart performance (#7263)
      
      * Improve smartd config generation performance
      
      * Improve pool.transform_topology performance
      
      * NAS-111685 / 12.0 / make get_ses_enclosures scale on large systems (#7262)
      
      * NAS-111690 / 12.0 / call enclosure.query once in disk.sync_all (#7265)
      
      * NAS-111693 / 12.0 / fix enclosure.sync_zpool (#7266)
      
      * NAS-111696 / 12.0 / dont call system.info in enclosure plugin (#7269)
      
      * NAS-111720 / 12.0 / fix numerous issues with disk.sync_all (#7282)
      
      * fix numerous issues with disk.sync_all
      
      * address reviews
      
      * NAS-111758 / 12.0 / fix IndexError in network.py (#7291)
      Co-authored-by: default avatarcaleb <yocalebo@gmail.com>
      
      * NAS-111744 / 12.0 / Fix SSHd IPV6 link local ListenAddress (#7293)
      
      When sshd is set to listen on an IPv6 link local address the interface
      name must also be appended to the address.
      
      (cherry picked from commit 6229e7ac59d9a51d8b008fce21a16807469b3ed0)
      Co-authored-by: default avatarBenjamin M. Hughes <bmhughes@bmhughes.co.uk>
      
      * NAS-111764 / 12.0 / move disk.sync_all and enclosure.sync_zpool on HA (#7297)
      
      * NAS-111766 / 12.0 / fix slot number calculation for expansion shelves (#7299)
      
      * NAS-111769 / 12.0 / fix disk identification with vmware nvme disks (#7305)
      
      * NAS-111788 / 12.0 / fix typo (#7306)
      
      * NAS-111790 / 12.0 / dont restart services twice on failover (#7310)
      
      * NAS-111819 / 12.0 / Fix taking vmware-aware manual snapshots (#7321)
      
      This was broken by acef89b7
      
      
      
      * removing OSX ssh code from AFP API testing (#7330)
      
      removed scale related code from AFP API testing
      added sleep on Enter your root password in install.exp to avoid
      race condition when inputing passowrd
      
      * NAS-111695 / 12.0 / Make sure we freeup unused pages in sqlite (#7338)
      
      This commit adds changes to make sure that we force sqlite3 to give up space which has accumulated over time by deletions of entries. What sqlite3 does is that each data which is removed from the database, sqlite3 does not use the space consumed by that payload and instead moves it to it's list of free pages and whenever more data is added it uses these free pages first and then asks for more space. However with time these free pages can consume lots of space like for a user his db size was 15 mb approx and after vacumming it got to 706K. This change uses vacuum functionality of sqlite3 to make sure that we remove such free unused pages which are in hold by sqlite3.
      
      (cherry picked from commit 6951ca4fe38a2972af4b97ecebf4097bd79a2f79)
      Co-authored-by: default avatarWaqar Ahmed <waqarahmedjoyia@live.com>
      
      * DOCS-2484 / 12.0  Replaced ssh to OSX and BSD by smbclient command (#7346)
      
      * Replaced ssh to OSX and BSD by smbclient command
      
      removed scale related code
      putted wait_on_job in the test that the job id is taken from
      
      * removed OSX and BSD ssh and replaced it with smbclient
      
      removed scale related code
      
      * fixed test_019 set guestok to false
      
      moved test_046 at test_011
      
      * capitalize AD_USER SMB_NAME SMB_PATH
      
      * remove guestok from activedirectory test
      
      * remove raw string from smbclient command for ad and smb API test
      
      * removing SMB1 testing from api2/activedirectory.py test
      
      * NAS-111858 / 12.0 / Give a proper title to SSHLoginFailuresAlertClass (#7354)
      
      * NAS-111676 / 12.0 / Do not allow deleting a target if it's in use by fcport service (#7358)
      
      This commit adds validation to not allow deletion of a target if it's in use by fcport service as the process will faill because of foreign key reference.
      
      * NAS-111276 / 12.0 / VMware VM UUIDs are not unique and we should use FindAllByUuid (#7356)
      
      * NAS-111885 / 12.0 / Update check_user method to allow checking passwords of other users (by sonicaj) (#7371)
      
      * Update check_user method to allow checking passwords of other users
      
      This commit adds a change to check_user method adapting it so that it can be used for other users as well for checking if a specified password is accurate/correct against the specified username.
      
      (cherry picked from commit 5604b7b86ee62381a6ee8281994378348427557c)
      
      * Add check_password endpoint
      
      (cherry picked from commit 999aa2dafbb518ec0e42f0f4db8ac28e7783c437)
      Co-authored-by: default avatarWaqar Ahmed <waqarahmedjoyia@live.com>
      
      * NAS-111954 / 12.0 / Fix GMail thread safety (#7378)
      
      (cherry picked from commit a639860ef418fc5690da8c64eeb644c979a8f9e4)
      Co-authored-by: default avatarthemylogin <themylogin@gmail.com>
      
      * NAS-111779 / 12.0 / improve IoThreadPoolExecutor (by yocalebo) (#7381)
      
      * improve IoThreadPoolExecutor
      
      (cherry picked from commit 9efec7e51a24b2ffa30b65625713d30e5bc4aeb4)
      
      * <= 1 for semaphore value check
      
      (cherry picked from commit 407ba6e63d8f97f74c4f62bf7a4cd8fd0bbf3c78)
      Co-authored-by: default avatarcaleb <yocalebo@gmail.com>
      
      * NAS-111949 / 12.0 / Gather rsyncmod statistics in usage plugin (#7387)
      
      (cherry picked from commit f171bb57e6f2e7982667feadc33d9114bc532f67)
      Co-authored-by: default avatarWaqar Ahmed <waqarahmedjoyia@live.com>
      
      * remove TrueNAS SCALE related code (#7383)
      
      removed api2/pool_acltype.py since it is for scale
      backport webdav test from master branch and removed api2/webdav_bsd.py
      and api2/webdav_osx.py
      improved api2/smb_protocol.py
      cleaned some code
      
      * NAS-111808 / 12.0 / Add endpoint to retrieve serial port choices with serial port names in freebsd (#7390)
      
      (cherry picked from commit d12d000bd5056b09f38ee109e7c7b9074e2d5558)
      Co-authored-by: default avatarWaqar Ahmed <waqarahmedjoyia@live.com>
      
      * Fix renamed ports
      
      * Fix bad git dependency
      
      * NAS-108910 / 13.0 / run fenced on single-node HA capable systems (#6956)
      
      * NAS-111594 / 13.0 / improve process for formatting disks (#7240)
      
      * NAS-111667 / 13.0 / fix minor typo in wipe.py (#7254)
      Co-authored-by: default avatarthemylogin <themylogin@gmail.com>
      Co-authored-by: default avatarAndrew <awalker@ixsystems.com>
      Co-authored-by: default avatarbugclerk <40872210+bugclerk@users.noreply.github.com>
      Co-authored-by: default avatarWaqar Ahmed <waqarahmedjoyia@live.com>
      Co-authored-by: default avatarWilliam Grzybowski <william@grzy.org>
      Co-authored-by: default avatarNick 'darkfiberiru' Wolff <darkfiberiru@gmail.com>
      Co-authored-by: default avatarAlexander Motin <mav@FreeBSD.org>
      Co-authored-by: default avatarRichard Kojedzinszky <rkojedzinszky@users.noreply.github.com>
      Co-authored-by: default avatarEric Turgeon <4249848+ericbsd@users.noreply.github.com>
      Co-authored-by: default avatarBenjamin M. Hughes <bmhughes@bmhughes.co.uk>
      ae8dd3ce
  11. 18 Mar, 2021 1 commit
  12. 15 Mar, 2021 1 commit
  13. 04 Mar, 2021 1 commit
    • Andrew Walker's avatar
      Initial protocol testing for SMB using pylibsmb · 8ebdcb52
      Andrew Walker authored
      Pylibsmb gives more fine-grained control over the SMB operations
      performed on the server. Initial commit sets framework for doing these
      additional tests as well as implements setting DOS modes through SMB1/2 CREATE.
      8ebdcb52
  14. 13 Oct, 2020 2 commits
  15. 27 May, 2020 1 commit
  16. 20 Mar, 2020 1 commit
  17. 12 Mar, 2020 1 commit
  18. 10 Mar, 2020 1 commit
  19. 03 Mar, 2020 1 commit
  20. 03 Feb, 2020 1 commit
  21. 09 Jan, 2020 1 commit
  22. 06 Sep, 2019 3 commits
  23. 05 Sep, 2019 5 commits
  24. 03 Sep, 2019 1 commit
  25. 28 Aug, 2019 1 commit
  26. 27 Aug, 2019 1 commit
  27. 26 Aug, 2019 1 commit
  28. 26 Jul, 2019 3 commits