Граф коммитов

95 Коммитов

Автор SHA1 Сообщение Дата
Vikas Bhansali 154ba6c7ab
Code coverage addition for generate config cli (#849)
* Remove dead code and fix file-cache usage percentage check UT

* Add coverage test for gen-test-config

* Adding code coverage for doc command

* Adding build script to build with different options

* Delete old binary before regenerating

* Delete old binaries before regenerating

* Adding pipeline test cases

* Remove agent cleanup steps as 1ES is spawning new vms for every run

* Disable sas validation on ubn-22 for now

* Disable sas validation on ubn-22 for now

* Disable sas validation on ubn-22 for now

* Removing ubn-22 from all pipelines

* Correcting adls sas param

* Re-add sas validation for all ubn distros

* Disable chmod test cases for SAS auth

* Set default value for sas to be false

* Converting account sas to container sas for chmod test to work

* Enable e2e test again

* Correcting e2e failure with chmod test case

* Add Ubn-22 to release pipeline

* Change pool of ubnuntu to ms hosted

* Remove dead param from yaml file
2022-08-02 12:52:06 +05:30
Vikas Bhansali 4f805cc1ab
Adding code linting (#844)
* Adding Ubn-22 to pipelines

* Adding lint as standard ci step

* correcting lint command path

* Add copyright checks to ci pipeline

* Copyright fixes and ci check for copyright statements

* Adding go format check to CI

* Fixing some lint issues

* More lint fixes

* More lint fixes

* Fixing some lint issues

* Correcting code linting check in ci

* correcting lint status check

* correcting lint status check

* correcting lint status check

* correcting lint status check

* correcting lint status check

* correcting lint status check

* correcting lint status check

* correcting bugs reported by sa check

* notices_fix.sh update

* Add step to validate NOTICE file

* Add step to release for ubn-22

* Add logs for success

* Fixing copyright bug

* Correcting tag formats

* Correcting percentage check

* Spell error correction

* Ignore exectime from code coverage

* Correcting log string

* Removing dead file

* Correcting go format error
2022-07-28 10:09:41 +05:30
Sourav Gupta 35cf5ff4a2
Module name fix (#847)
* Correcting module name

* Changing module name

* Adding output binary name in go build
2022-07-27 12:19:36 +05:30
Sourav Gupta c3d21b1828
Code coverage threshold check (#832)
* Coverage pipeline fix
* Adding scripts for code coverage check
2022-07-14 08:57:35 +05:30
Gauri Prasad 0b9b909dbc
Removed Docker test since it invalidates security requirements (#791)
* Removed Docker test since it invalidates security requirements

* Remove Dockerfile
2022-05-25 12:30:34 -07:00
Sourav Gupta a3326af3dc
Data validation tests for multiple files in parallel (#772)
Adding test cases for data validation on multiple files in parallel
2022-05-05 22:36:38 +05:30
Sourav Gupta bf6ce0b96e
Test cases for mount command (#757)
* Adding test cases for mount command

* Adding mount test to nightly pipeline

* Adding test case where the config file is not provided

* Typo fix

* Adding test case for mounting using environment variables
2022-04-16 10:43:57 +05:30
Gauri Prasad d005f6e0ae
Fixed bug where blobfuse2 could not be installed in docker container (#751) 2022-03-30 08:09:29 -07:00
Sourav Gupta 5cda7edeab
E2E data validation tests (#740)
* Adding e2e test for data validation

* Correcting tmp-path flag name

* Not run as unit test

* Adding negative test case
2022-03-28 21:26:12 +05:30
Vikas Bhansali 7f4417ef1b
V2 Longhaul scripts (#732)
* Adding longhaul test script

* Update test/longhaul/longhaul.sh

* Correcting scripts for longhaul

* Correcting mail command

* Correcting typo as per review comments

Co-authored-by: Ubuntu <vibhansa@blobfuse.com>
2022-03-24 11:48:30 +05:30
Gauri Prasad 15b68d598a
Fixed some codespell errors (#745)
Co-authored-by: Gauri Prasad <gapra@microsoft.com>
2022-03-23 11:00:13 -07:00
Tamer Sherif 168ea5d03a
[PERF] ResNet50 Weekly Perf Runs (#731)
* added new pipeline

* python cleanup

* test run

* test run

* test run

* test run

* test run

* test run

* test run

* test run

* test run

* test run

* test run

* test run

* test run

* test run

* test run

* test run

* test run

* test run

* test run

* test run

* test run

* test run

* test run

* test run

* test run

* removed print

* testing binary

* testing binary

* testing binary

* testing binary

* testing binary

* testing binary

* testing

* testing

* testing

* testing

* testing

* finished

* finished

* finished

* attempting to fix py issue

* cleanup

* testing

* removed direct read

* removed direct read

* removed direct read

* removed direct read

* fail if regression is too bad

* cleanup

* added dependency step to pipeline

* cleanup
2022-03-17 16:03:09 -07:00
Vikas Bhansali b0e7125836
Extension support with CGO (#705)
* Adding v2 galactus from devops

* Copyright update

* Correction baseconfig file

* Renaming test libs to extension

* Remvoing binary

* Sync with main and updates as per review comments
2022-03-04 10:30:15 +05:30
Gauri Prasad 990af0fefa First commit of blobfuse v2 code 2022-02-14 09:41:31 -08:00
Gauri Prasad eb17b3cf32 Deleted blobfuse code 2022-02-09 08:37:28 -08:00
Vikas Bhansali ecb32ac6d3
Vibhansa/rman fix (#669)
Ubn18/20 giving error in pipelines as cmake version is outdated now. Upgrading version in all CMake files and disabling GTest as they are not compiling with newer version
2021-11-18 07:50:38 +05:30
nara edb7590d8c Merge remote-tracking branch 'origin' into narven/https_proxy_feature 2021-04-22 20:26:33 -07:00
nara 59a6f78567 added https_proxy for all curl calls with proxy 2021-04-20 19:37:13 -07:00
vibhansa-msft cdaa4f8cc4 Adding multi open test scripts 2021-04-16 13:19:44 +05:30
nara 89809adee3 added certpath to blockblobs 2021-04-14 16:20:05 -07:00
nara a4d8b8a8b6 getting ready for 1.3.7 2021-03-15 19:32:17 -07:00
Vikas Bhansali 611c67e1c5
Revert single upload check. File name encoding sync with pre-1.3.1 level (#534)
Co-authored-by: vibhansa-msft <>
2020-11-30 20:22:53 -08:00
Vikas Bhansali 6307a30e87
Vibhansa/filenameencode (#525)
* Set retry policy to explonential for adls account

* Encode % in the file name

* Removing temp file

* Print permission string in case of failure

* Do not trucate file if the size remains same

* acl.Permissions returning extra bits for sticky. Ignore these bits as blobfuse does not support them

* Make % encoding in file name to be a configurable option

* Run multi special char file name test only for adls

* Do not upload if truncate results in same file size or truncate is setting size to 0 for a new file

* Maintain last upload time to stop double uploads in case of truncate and flush

* Encode % in url for folder name and other things

* no need to encode prefix seperatly as now entire url will be encoded

* Unused reference removed

* Correcting nightly yml error

* Increasing timeout for nightly

* Run multi special char file test for block blob as well

* Add test case of directory with special characters

* Search the file under directory where it was created

* Add file cache timeout to be 0 in feature_test

* Add file cache timeout to be 0 in feature_test

* Correcting failing rename test cases in pytest

* Try deb for nightly

* Fuse installation for mounting on debs

* Install fuse to mount and test

* Install golang to run gotests

* Install golang to run gotests

* Sudo permissions added as go tests are failing

* pre cleanup to unmount and deleted mount directory in case last run failed

* code correction

* Pytest failure to move file due to non closure

* nightly express test correction

* Add Rhel 7.5 to express test

* Adding recursive dir deletion case

* Pipeline correction

* Adding more flavours to nightly

* correcting recursive dir deletion case

* Checkout branch code added

* Adding suse to nightly

* golang install in suse

* Print curl version before mount

* Adding ubuntu 16-18-20 to express test

* No need for cleanup in case of ubuntu

* test1

* Making pipeline more configurable

* Rename parameter

* condition correction

* Adding rhel 7.5 with old curl

* Adding rhel 7.5 with old curl

* Instead of last update time watch for create or write call to decide whether to upload the file on flush or not

Co-authored-by: vibhansa-msft <>
2020-11-29 12:04:17 -08:00
Vikas Bhansali 535ac948df
Cache size check corrected (#477)
Cache usage % check corrected, expect less or equal.
2020-09-20 20:20:03 -07:00
Vikas Bhansali e26293b211
pyTest integration (#476)
* Starting ADLS integration using Amanda's diff

* Upscaling stresstest

* Restructuring globals

* Adding storage client interface

* Adding adls wrapper and cpplite adls compilation steps

* Build gTest with new libs

* Renaming files

* Modifying includes with updated names

* Restructure attr cache wrapper

* Moving OAuth to src directory

* Bringing to compilable state

* Adding goStress test

* Updating stressTest

* Adding more test

* Correcting script

* Correcting script

* Correcting script

* Correcting script

* Script enhancement

* Reordering tests

* Reordering tests

* Adding cleanup stages

* Correcting go errors

* Stresstest for dynamic dir name

* Stress test cleanup

* Stresstest for dynamic dir name

* Increasing stress

* Test issue correction

* Add Huge file test case

* Correcting test name

* Correcting test

* Making Cache size configurable

* Remove stress dir on completion

* Adding GO feature test

* Adding file feature test

* Save time and reduce stress test

* Cleanup stress test

* Correcting failed cases

* Adding adls feature test

* Add mount log dump for failure

* Add mount log dump for failure

* Add mount log dump for failure

* Correcting failures

* feature test failure resolution

* Parsing of metadata for ADLS account corrected

* Adding dir last modified time support

* Correcting chmod operation

* Correcting chmod test case

* Squashed 'cpplite/' changes from e8e70d7..a3a9c21

a3a9c21 Fix build error on VS2019
4eb4ce3 fix link error on Windows when building adls

git-subtree-dir: cpplite
git-subtree-split: a3a9c21de3fa9932dcfceb2b6617757a511c75c3

* Adding last access and change time support

* Correcting metadata parsing for block blob

* Addressing pipeline failure

* Pipeline update

* Correcting feature_test

* Adding atrribute cache wrapper

* Remove attr cache from nightly

* Attr cache correction

* Enable attr cache in test

* Making version number change at a common place

* Run nightly only on master

* Reverting connection.cfg to default

* Resolving mount failure saying invalid credentials

* Review comments integration

* Making it run on master as well

* Addressing review comments

* Unicode support correction

* Make empty temp dir check optional

* Mounted directorys stat corrected for different timers

* got blob directory list working

* Reverting back Makefile changes

* Making max results configurable for List and ListAll

* Remove dir timers for block blob account

* Making attr-cache-wrapper work with block blob account

* Rename flow correction

* Based on ubn version choose adls or block blob test

* Enable stress and feature test

* Correcting MSI connection

* Cred manager from cpplite needs to do a callback to get the updated token from blobfuse

* Allow tmp directory if an empty root dir is there

* For readlink dump the file details to debug failure in pipeline

* Making account type configurable from config file

* Reverting block blob modified time update, as for block blob dir last modified time is actually the creation time in azure so even with this change w are showing incorrect values only

* Set last modified date of directory in case of block blob account to the creation date, as azure storage does not maintain the last modified date for the directories

* Bumping up version to 1.3.1

* Correcting symlink realted test cases

* Correction log message for SPN

* trying to get SPN wokring

* trying to get SPN wokring

* trying to get SPN wokring

* trying to get SPN wokring

* trying to get SPN wokring

* trying to get SPN wokring

* trying to get SPN wokring

* trying to get SPN wokring

* trying to get SPN wokring

* removing extra debug statements

* Expand '~' in tmppath to home directory

* trying to get SPN working

* trying to get SPN working

* Adding POSTFields to curl post request, if set explicitly

* Remove debug logs

* Adding SPN Validation to nightly

* trying to get SPN working

* trying to get SPN working

* trying to get SPN working

* trying to get SPN working

* incremetal

* incremetal

* incremetal

* incremetal

* incremetal

* Adding unicode file name test

* Adding SAS token test in nightly and .label test in feature test

* Test name corrected

* Making refresh token a seperate thread

* Making refresh token thread base for MSI and SPN auth

* Adding ubn20.04 to pipeline

* Build script to stop if cpplite build fails

* Converting '\' to '/' in getattr to convert it to path seperator

* Squashed 'cpplite/' changes from a3a9c21..dfbf757

dfbf757 Add performance test code
f1444b4 Fix inconsistent RFC1123 date format in different system locales

git-subtree-dir: cpplite
git-subtree-split: dfbf757f6d0b900f0c6889cee06b258fa6557e25

* Performance optimization trial

* Making default list size to be 5K as server never returns more then this

* No need to invalidate cache if its a new directory being created

* Update CA options for curl client

* Ignore system files for exact match only

* Making max result a constant for ease of change

* Enable preserving last_change time for chmod

* Cache failure also in blob property so avoid extra REST calls

* Count only for valid cached properties

* Enable attrib caceh in block blob

* Check perf with disabling Attr_caching

* GetAttr reversion as block blob failed with the change

* Removing adls end point for get property

* Reverting back to dfs endpoint for data lake account

* modestring to permission string conversion unified

* Converting upload file to dfs endpoint for upload

* Testing with higher level of concurrency

* Remove unwanted code

* Disable adls endpoint upload

* Use new cache only for ADLS

* Resetting the max_concurrency limits

* Reverting back unused changes

* Remove new cache from block blob accounts

* Remove exists check for truncate

* Dont init attr cache wrapper for adls

* Dont init attr cache wrapper for adls

* Adding exists check

* Merge correction with master

* Supressing new adls caching

* Adding new caching common for block and adls

* Correcting adls check

* Correcting infinte delete call

* Remove un-used things from blob property

* ADLS property can not be cached on listing

* Make attr cache enable on list

* On deletion of directory invalidate cache recursively

* Correct data validation test

* Resetting curl timeout to original

* Removing dead code

* Correcting timers for file after upload

* Testing list api with blob endpoint

* Adding file permissions to be retreived seperatly

* Ignore the acl to validate the performance

* Get acl for blob during get properties

* Performance tuning

* Retrying blob endpoint for list

* Add metadata support for dfs endpoint

* Performance tuning test with metadata in adls

* Get metadata seperatly for adls

* Get metadata only for file

* Add directory listing time test

* Correcting dir listing test case

* Check perf without metadata

* Optimize directory empty flow

* Remove local checking of directory empty

* Put back the empty directory check on cache

* Making symlink support configurable, by default its enable

* No need to check ctime while opening the file

* Vector replication memory issue fix

* Passing vectors by value for list apis

* Convert return type to integer and return errno

* Reverting back commented fields

* Reverting field deletion from the item list

* Readding missing fields

* Correcting cmd line option for no-symlinks

* If attr cache is enable, provide file properties from there instead of calling list again

* Optimizing list all operation for memory saving

* Rearranging code

* Try : replace list all with list in getatttr and readdir

* Correcting getattr implementation to handle empty list

* Put caching logic in List api

* Correcting cache on list with configurable option

* Reducing logs in getattr

* Clear the intermediate vector in list operation

* Enhancing attr cache for the huge list of files

* Resolving compilation failure

* Controlling attr-cache size to 12mil

* Adding cache-on-list in nightly

* return ENOENT only when list returned back empty list

* Squashed 'cpplite/' changes from dfbf757..2aa4e31

2aa4e31 Replace old RFC1123 impl which cannot be built until GCC 5
bdc6435 Fix build error on Windows
35dfba8 remove comparison in build_adls
c8f2a63 modified cmakelists

git-subtree-dir: cpplite
git-subtree-split: 2aa4e3155777ccddcd4a8562456d50059f34492c

* Symlink was broken in last commit, fixing that

* Clear metadata details when file is created

* Ignore azs_flush with null path. Github issue #470

* Parse metadata in upload file api

* Making cache-on-list a default option

* Changing the flag orders

* Try removing the cache item lock to conserve memory

* 1. azs_flush expects a null pointer in file name so correcting code to replace slashes accordingly.
2. getattr need not create and lock the file which are not even cached.
3. gc-cache need to only check the last modified time as we do not maintain other timers

* Add exponential retry policy to blob client

* fix for small github issues

* Add request id in logs

* Increasing size of attr-cached

* Adding rename directory test case

* Reducing the test case size for rename dir

* Adding rename dir to feature test script

* Correcting rename dir test case

* Correcting python test script

* PyTest correctoin

Co-authored-by: Vikas Bhansali <vibhansa@microsoft.ccom>
Co-authored-by: NaraVen <narven@microsoft.com>
Co-authored-by: Ubuntu <AzureUser@ubuntu1604identity.ef4nn4lo4nbedgoq0aeagsr1pd.dx.internal.cloudapp.net>
2020-09-19 21:34:15 -07:00
Vikas Bhansali 90f711d6bf
Memory and Perf optimizations (#472)
* Adjusting timeout in nightly pipeline

* Scaling down stresstest as nightly is taking couple of hours to complete

* Reduce stress

* Correcting pyTest results for time comparison

* Put upper limit on time on stresstest

* Starting ADLS integration using Amanda's diff

* Upscaling stresstest

* Restructuring globals

* Adding storage client interface

* Adding adls wrapper and cpplite adls compilation steps

* Build gTest with new libs

* Renaming files

* Modifying includes with updated names

* Restructure attr cache wrapper

* Moving OAuth to src directory

* Bringing to compilable state

* Adding goStress test

* Updating stressTest

* Adding more test

* Correcting script

* Correcting script

* Correcting script

* Correcting script

* Script enhancement

* Reordering tests

* Reordering tests

* Adding cleanup stages

* Correcting go errors

* Stresstest for dynamic dir name

* Stress test cleanup

* Stresstest for dynamic dir name

* Increasing stress

* Test issue correction

* Add Huge file test case

* Correcting test name

* Correcting test

* Making Cache size configurable

* Remove stress dir on completion

* Adding GO feature test

* Adding file feature test

* Save time and reduce stress test

* Cleanup stress test

* Correcting failed cases

* Adding adls feature test

* Add mount log dump for failure

* Add mount log dump for failure

* Add mount log dump for failure

* Correcting failures

* feature test failure resolution

* Parsing of metadata for ADLS account corrected

* Adding dir last modified time support

* Correcting chmod operation

* Correcting chmod test case

* Squashed 'cpplite/' changes from e8e70d7..a3a9c21

a3a9c21 Fix build error on VS2019
4eb4ce3 fix link error on Windows when building adls

git-subtree-dir: cpplite
git-subtree-split: a3a9c21de3fa9932dcfceb2b6617757a511c75c3

* Adding last access and change time support

* Correcting metadata parsing for block blob

* Addressing pipeline failure

* Pipeline update

* Correcting feature_test

* Adding atrribute cache wrapper

* Remove attr cache from nightly

* Attr cache correction

* Enable attr cache in test

* Making version number change at a common place

* Run nightly only on master

* Reverting connection.cfg to default

* Resolving mount failure saying invalid credentials

* Review comments integration

* Making it run on master as well

* Addressing review comments

* Unicode support correction

* Make empty temp dir check optional

* Mounted directorys stat corrected for different timers

* got blob directory list working

* Reverting back Makefile changes

* Making max results configurable for List and ListAll

* Remove dir timers for block blob account

* Making attr-cache-wrapper work with block blob account

* Rename flow correction

* Based on ubn version choose adls or block blob test

* Enable stress and feature test

* Correcting MSI connection

* Cred manager from cpplite needs to do a callback to get the updated token from blobfuse

* Allow tmp directory if an empty root dir is there

* For readlink dump the file details to debug failure in pipeline

* Making account type configurable from config file

* Reverting block blob modified time update, as for block blob dir last modified time is actually the creation time in azure so even with this change w are showing incorrect values only

* Set last modified date of directory in case of block blob account to the creation date, as azure storage does not maintain the last modified date for the directories

* Bumping up version to 1.3.1

* Correcting symlink realted test cases

* Correction log message for SPN

* trying to get SPN wokring

* trying to get SPN wokring

* trying to get SPN wokring

* trying to get SPN wokring

* trying to get SPN wokring

* trying to get SPN wokring

* trying to get SPN wokring

* trying to get SPN wokring

* trying to get SPN wokring

* removing extra debug statements

* Expand '~' in tmppath to home directory

* trying to get SPN working

* trying to get SPN working

* Adding POSTFields to curl post request, if set explicitly

* Remove debug logs

* Adding SPN Validation to nightly

* trying to get SPN working

* trying to get SPN working

* trying to get SPN working

* trying to get SPN working

* incremetal

* incremetal

* incremetal

* incremetal

* incremetal

* Adding unicode file name test

* Adding SAS token test in nightly and .label test in feature test

* Test name corrected

* Making refresh token a seperate thread

* Making refresh token thread base for MSI and SPN auth

* Adding ubn20.04 to pipeline

* Build script to stop if cpplite build fails

* Converting '\' to '/' in getattr to convert it to path seperator

* Squashed 'cpplite/' changes from a3a9c21..dfbf757

dfbf757 Add performance test code
f1444b4 Fix inconsistent RFC1123 date format in different system locales

git-subtree-dir: cpplite
git-subtree-split: dfbf757f6d0b900f0c6889cee06b258fa6557e25

* Performance optimization trial

* Making default list size to be 5K as server never returns more then this

* No need to invalidate cache if its a new directory being created

* Update CA options for curl client

* Ignore system files for exact match only

* Making max result a constant for ease of change

* Enable preserving last_change time for chmod

* Cache failure also in blob property so avoid extra REST calls

* Count only for valid cached properties

* Enable attrib caceh in block blob

* Check perf with disabling Attr_caching

* GetAttr reversion as block blob failed with the change

* Removing adls end point for get property

* Reverting back to dfs endpoint for data lake account

* modestring to permission string conversion unified

* Converting upload file to dfs endpoint for upload

* Testing with higher level of concurrency

* Remove unwanted code

* Disable adls endpoint upload

* Use new cache only for ADLS

* Resetting the max_concurrency limits

* Reverting back unused changes

* Remove new cache from block blob accounts

* Remove exists check for truncate

* Dont init attr cache wrapper for adls

* Dont init attr cache wrapper for adls

* Adding exists check

* Merge correction with master

* Supressing new adls caching

* Adding new caching common for block and adls

* Correcting adls check

* Correcting infinte delete call

* Remove un-used things from blob property

* ADLS property can not be cached on listing

* Make attr cache enable on list

* On deletion of directory invalidate cache recursively

* Correct data validation test

* Resetting curl timeout to original

* Removing dead code

* Correcting timers for file after upload

* Testing list api with blob endpoint

* Adding file permissions to be retreived seperatly

* Ignore the acl to validate the performance

* Get acl for blob during get properties

* Performance tuning

* Retrying blob endpoint for list

* Add metadata support for dfs endpoint

* Performance tuning test with metadata in adls

* Get metadata seperatly for adls

* Get metadata only for file

* Add directory listing time test

* Correcting dir listing test case

* Check perf without metadata

* Optimize directory empty flow

* Remove local checking of directory empty

* Put back the empty directory check on cache

* Making symlink support configurable, by default its enable

* No need to check ctime while opening the file

* Vector replication memory issue fix

* Passing vectors by value for list apis

* Convert return type to integer and return errno

* Reverting back commented fields

* Reverting field deletion from the item list

* Readding missing fields

* Correcting cmd line option for no-symlinks

* If attr cache is enable, provide file properties from there instead of calling list again

* Optimizing list all operation for memory saving

* Rearranging code

* Try : replace list all with list in getatttr and readdir

* Correcting getattr implementation to handle empty list

* Put caching logic in List api

* Correcting cache on list with configurable option

* Reducing logs in getattr

* Clear the intermediate vector in list operation

* Enhancing attr cache for the huge list of files

* Resolving compilation failure

* Controlling attr-cache size to 12mil

* Adding cache-on-list in nightly

* return ENOENT only when list returned back empty list

* Squashed 'cpplite/' changes from dfbf757..2aa4e31

2aa4e31 Replace old RFC1123 impl which cannot be built until GCC 5
bdc6435 Fix build error on Windows
35dfba8 remove comparison in build_adls
c8f2a63 modified cmakelists

git-subtree-dir: cpplite
git-subtree-split: 2aa4e3155777ccddcd4a8562456d50059f34492c

* Symlink was broken in last commit, fixing that

* Clear metadata details when file is created

* Ignore azs_flush with null path. Github issue #470

* Parse metadata in upload file api

* Making cache-on-list a default option

* Changing the flag orders

* Try removing the cache item lock to conserve memory

* 1. azs_flush expects a null pointer in file name so correcting code to replace slashes accordingly.
2. getattr need not create and lock the file which are not even cached.
3. gc-cache need to only check the last modified time as we do not maintain other timers

* Add exponential retry policy to blob client

* fix for small github issues

* Add request id in logs

* Increasing size of attr-cached

* Adding rename directory test case

* Reducing the test case size for rename dir

* Adding rename dir to feature test script

Co-authored-by: Vikas Bhansali <vibhansa@microsoft.ccom>
Co-authored-by: NaraVen <narven@microsoft.com>
Co-authored-by: Ubuntu <AzureUser@ubuntu1604identity.ef4nn4lo4nbedgoq0aeagsr1pd.dx.internal.cloudapp.net>
2020-09-17 12:04:02 -07:00
Vikas Bhansali 612f37240e
Update feature_test.go (#455)
* Adding test cases to validate '\\' replacement with '/' for directory and file names, Post replacement '\\' will be treated as a parh seperator.
2020-08-22 08:53:10 +05:30
Vikas Bhansali 98f7172f1d
Attribute cache improvements and bug fixes (#452)
- Improvement in attribute caching
- Fixed broken symlink support
- Added support for '&' in file name
- Replace '\' with '/' in any file or directory names
2020-08-13 15:44:09 +05:30
Vikas Bhansali 2eb632846a
Vibhansa/ubn20pipeline (#440)
* Adding Ubn-20 to nightly pipeline

* Making artifact piepline for ubuntu-20
2020-07-17 07:50:40 +05:30
Vikas Bhansali 730374fcea
CPPLite Upgrade and ADLS Support (#431)
- CPPLite upgraded to latest
- Adding support for ADLS account
- Symlink support added
- chmod command is supported for ADLS accounts
- Unicode filename bug fixed
- Block blob directory last modified time showing 1970 fixed
- last modified / access / change time support for ADLS account 
- last modified / access / change time for mount directory corrected

Co-authored-by: Vikas Bhansali <vibhansa@microsoft.ccom>
Co-authored-by: NaraVen <narven@microsoft.com>
2020-07-14 08:45:47 +05:30
Nara c07e502835
fix error where the ADLS directory cannot be deleted: prod bug (#420)
* fix error where the ADLS directory cannot be deleted: prod bug

* tabs to spaces
2020-06-14 01:21:02 -07:00
Vikas Bhansali 40ff6cdf54
Adding dynamic logging and nightly pipeline (#401)
* Create ccpp.yml

* Adding dynamic logging

* Adding dynamic logging

* Addig git action to auto-build

* Update ccpp.yml

Correcting action for CI

* Update ccpp.yml

* Renaming ci file

* Ignoring blobcp binary from git status

* Update blobfuse_ci.yml

Adding Test to CI

* Update blobfuse_ci.yml

Correcting CI file for auto test blobfuse

* Update blobfuse_ci.yml

Storage container name correction

* Update blobfuse_ci.yml

* Update blobfuse_ci.yml

* Update blobfuse_ci.yml

* Update blobfuse_ci.yml

* Update blobfuse_ci.yml

* Update blobfuse_ci.yml

* Update blobfuse_ci.yml

* Update blobfuse_ci.yml

* Update blobfuse_ci.yml

* Update blobfuse_ci.yml

* Update blobfuse_ci.yml

* Update blobfuse_ci.yml

* Update blobfuse_ci.yml

* Update blobfuse_ci.yml

* Update blobfuse_ci.yml

* Update blobfuse_ci.yml

* Update blobfuse_ci.yml

* Update blobfuse_ci.yml

* Update blobfuse_ci.yml

* Update blobfuse_ci.yml

* Update blobfuse_ci.yml

* Update blobfuse_ci.yml

* Reverting back Nara's changes on get_property

* Update blobfuse_ci.yml

* Update blobfuse_ci.yml

* Adding ubuntu 16.04 to CI pipeline

* Adding OS based container name

* Removing fail fast from piepline

* Adding test for read/write file

* Delete directory is failing, ignore the failure

* Adjusting timeouts

* Resubmit

* Removing sudo from basic commands

* Resolving syntax error

* Adding more file tests

* Adding code to print logs at the end

* Create azure-nightly-pipeline.yaml

* Set up CI with Azure Pipelines

[skip ci]

* Update azure-nightly-pipeline.yaml

* Testing first pipeline

* Testing first pipeline 1

* Testing first pipeline 2

* Testing first pipeline 2

* Adding Feature Test

* Correcting syntax

* Correcting syntax continue on error

* Correcting permission issue

* Correcting job name

* Adding secret key support

* Adding local variables

* Adding local variables 1

* Adding container name

* Correct cache path

* Removing allow other user option

* Adding debug log level

* correcting cache path

* Disabling github pipeline

* Correcting cache directory

* Setting timeouts

* Adding list of last commits

* Moving copy file

* Create ccpp.yml

* Adding dynamic logging

* Adding dynamic logging

* Addig git action to auto-build

* Update ccpp.yml

Correcting action for CI

* Update ccpp.yml

* Renaming ci file

* Ignoring blobcp binary from git status

* Update blobfuse_ci.yml

Adding Test to CI

* Update blobfuse_ci.yml

Correcting CI file for auto test blobfuse

* Update blobfuse_ci.yml

Storage container name correction

* Update blobfuse_ci.yml

* Update blobfuse_ci.yml

* Update blobfuse_ci.yml

* Update blobfuse_ci.yml

* Update blobfuse_ci.yml

* Update blobfuse_ci.yml

* Update blobfuse_ci.yml

* Update blobfuse_ci.yml

* Update blobfuse_ci.yml

* Update blobfuse_ci.yml

* Update blobfuse_ci.yml

* Update blobfuse_ci.yml

* Update blobfuse_ci.yml

* Update blobfuse_ci.yml

* Update blobfuse_ci.yml

* Update blobfuse_ci.yml

* Update blobfuse_ci.yml

* Update blobfuse_ci.yml

* Update blobfuse_ci.yml

* Update blobfuse_ci.yml

* Update blobfuse_ci.yml

* Update blobfuse_ci.yml

* Update blobfuse_ci.yml

* Update blobfuse_ci.yml

* Adding ubuntu 16.04 to CI pipeline

* Adding OS based container name

* Removing fail fast from piepline

* Adding test for read/write file

* Delete directory is failing, ignore the failure

* Adjusting timeouts

* Resubmit

* Removing sudo from basic commands

* Resolving syntax error

* Adding more file tests

* Adding code to print logs at the end

* Create azure-nightly-pipeline.yaml

* Set up CI with Azure Pipelines

[skip ci]

* Update azure-nightly-pipeline.yaml

* Testing first pipeline

* Testing first pipeline 1

* Testing first pipeline 2

* Testing first pipeline 2

* Adding Feature Test

* Correcting syntax

* Correcting syntax continue on error

* Correcting permission issue

* Correcting job name

* Adding secret key support

* Adding local variables

* Adding local variables 1

* Adding container name

* Correct cache path

* Removing allow other user option

* Adding debug log level

* correcting cache path

* Disabling github pipeline

* Correcting cache directory

* Setting timeouts

* Adding list of last commits

* Moving copy file

* Disabling github CI pipeline and enabling devops nightly pipeline

* Adding Ubn-20 in nightly

* Commenting Ubn-20 as its not supported by azure pipeline

* Correcting doubel sudo

* Updated Reame for logging improvements

* Adding logging details

* Correcting logging details

* Correcting logging details

* Correcting logging details

* Correcting logging details

* Adding logging files to package

* Resetting the version to upstream master

* Run this piepline only on schedule

* Correcting timeout in oauthtokentest

* Removing unwanted changes from pipelines

* Reverting last changes

* Adding comments for the refresh config function

Co-authored-by: Vikas Bhansali <vibhansa@microsoft.ccom>
2020-05-20 11:56:09 +05:30
Nara 2538d4ed37
Bug/file not found bad header (#398)
* fixed filenotfounderror

* mdoified readme

* fixed the bug where an invalid authtype assumes MSI and repeatedly tries to get an authtoken

* modified Yaml to include tests

* modified Yaml to include tests

* modified Yaml to include tests

* modified Yaml to include tests

* modified Yaml to include tests

* modified Yaml to include tests

* yaml fix

* yaml fix

* yaml fix

* yaml fix

* yaml fix

* yaml fix

* yaml fix

* yaml fix

* test dir in yaml fix

* fixing build

* fixing build

* yaml -> adding permissions to user ci user to execute tests binary

* yaml -> adding permissions to user ci user to execute tests binary

* yaml -> troubleshooting test run failure

* yaml -> fixing test running during build

* tet case time to match utc if the machine is not set to UTC
2020-05-13 13:13:47 -07:00
nara 088f7e4e93 fixed tabs, comments 2020-04-24 23:59:21 -07:00
nara c54db3d805 converted tabs to spaces 2020-04-24 01:36:18 -07:00
nara 3a1245ddcf added test cases for expired and oauthtken formats 2020-04-23 17:59:31 -07:00
nara f040045176 CMakeLists changes- debug flag 2020-04-16 01:26:51 -07:00
adreed-msft 1a980ad2b1 Support Managed Identity Authentication in blobfuse (#336)
Support for Managed Identity and update to cpplite sdk
2019-12-11 13:10:59 -08:00
Amanda Nguyen c9afc215d5
Seg fault tinyxml fix addressing issue #249 (#302)
* adding exception throw to failed in tiny xml parser

* reformatting of python tests
2019-08-07 16:22:55 -07:00
Amanda Nguyen 0c42315f5d
Attribute Cache and better Error return when one is not given (#298)
* Better error return when not curl code returns ok

* Adding in attr-cache feature
2019-08-07 10:52:57 -07:00
Adam Sorrin a60a8e9f86 Fixing bad merge and rmdir bug. 2018-03-17 01:20:00 +00:00
Adam Sorrin 789f9cf634 CR feedback 2018-03-15 01:27:53 +00:00
Adam Sorrin 1cd698d2bf Fix merge issues 2018-03-14 05:24:21 +00:00
Adam Sorrin bf99ed336f Initial CR feedback 2018-03-14 05:07:40 +00:00
Adam Sorrin f70dfdfc12 Adding some initial tests for cpplite. 2018-03-14 05:07:35 +00:00