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

30 Коммитов

Автор SHA1 Сообщение Дата
Vikas Bhansali 5bbc7aa52e
Move code coverage to latest ubn images (#1303)
* Move code coverage to latest ubn images
2024-01-02 15:52:14 +05:30
Vikas Bhansali 5ecfe4004c
Adaptive Prefetch Streaming (#1181)
* Adaptive Prefetch Streaming
2023-08-25 12:20:34 +05:30
Anubhuti Shruti 03cba2c1ed resolving 2023-08-14 13:01:57 +05:30
Anubhuti Shruti 2d08403e7c Adding changes 2023-07-25 14:56:31 +05:30
Anubhuti Shruti b16f9da685 Adding changes in go_installer for arm64 2023-07-25 12:54:36 +05:30
Vikas Bhansali 9dfbd329f4
Update to go 1.20.5 (#1191)
* Upgrade dependencies

* Upgrade to go 1.20.5
2023-06-30 08:55:34 +05:30
Vikas Bhansali 31f5ea322c
Fix resource string in SPN token generation (#1169)
* Correcting resource string for spn based login, config or env-variables can be used for the same.
2023-06-13 17:08:44 +05:30
Vikas Bhansali 05a10949bd
Upgrading to go 1.19 (#1135)
* Upgrading to go 1.19
2023-05-10 14:53:05 +05:30
Vikas Bhansali f3a4393f58
Disable compression to be a configurable feature (#1104)
* Disable compression at transport layer made configurable flag
2023-04-06 22:30:10 +05:30
Gauri Prasad d0ae9dde25
Added proxy test to code coverage pipeline (#961) 2022-11-07 08:22:32 -08:00
Sourav Gupta 9508dd8f69
Health monitor CLI tests (#952)
* Adding tests for health-monitor command

* Adding tests for stop pid and stop all

* more tests

* Some changes

* Some changes

* some changes
2022-10-28 08:21:38 +05:30
Sourav Gupta a92ef4339b
Mount using /etc/fstab (#924)
* parsing os args

* Removing auto completion

* Update changelog

* Add more flags to ignore

* Small change'

* coverage edit

* Removing dead code

* Add test cases for parse and validate config

* Init logger for UT on config

* Correctly define const slice for fuse ignored flags

* Adding unmount test cases

* Add comments as per review comments

* Correcting unmount tests

* Add logs if mkdir fails

* spell correction in comments

* Run all unmount tests serially with different mount points

* correcting unmount test cases

* Making unmount test parallel

* Adding handle map test cases

Co-authored-by: vibhansa-msft <vibhansa@microsoft.com>
2022-10-05 21:33:52 +05:30
Vikas Bhansali dba6ed537b
Adding UT for mount all and gen1fuse CLIs (#909)
* Adding more test cases for mount all and gen1 fuse

* Reset flag when its done
2022-09-27 08:41:00 +05:30
Sourav Gupta 719d81a434
Unit tests for mount, mountv1 and doc commands (#897) 2022-09-12 11:30:34 +05:30
Gauri Prasad f067d5ca23
Clean up exit 1 errors for blobfuse2 (#893) 2022-09-08 13:09:32 -07:00
Vikas Bhansali 2065b6e84e
Vibhansa/v2/healthmon coverage supress (#883)
* Igmore healthmon code coverage for now

* Correcting command

* Ignore stats-manager
2022-08-30 12:49:35 +05:30
Vikas Bhansali cb4d5445ed
MD5 Sum updation on upload and validation on download (#863)
* Testing migration to 1es hosted pool

* remove indent

* Agent Image

* Remove demands

* Set imageName

* Add correct demand

* Just echo hello world

* Correct indent

* remove the quotes =

* lets try this

* maybe this works

* yeet

* added quotes around the pool name, added agent name demand

* added vmImage name?

* illegal node name?

* hostedAgent = true

* Remove Agent Name

* checkout none

* simple yaml

* try other pool

* no quotes

* UPdate

* update tab

* checkout ne

* Try blobfuse pool

* Added steps to pipeline nightly test

* Fixed indent

* Remove checkout: none

* Add distro test

* fixed indent

* remove checkout

* Fix checkout

* fuse3

* Added RHEL 8

* Override image

* Install

* Added Centos

* Added Oracle

* Added debian

* Added Mariner and SUSE

* Added C build

* Added git to Deban

* Try to get centos 8 to work

* try another cond

* conditional print

* conditional print

* agent condition try 2

* try with variable

* Update OS mirrors

* Fix sed command

* Add to yum

* try removing -e

* no bedst

* Conditional script

* Add more if script

* fix centos 7 stuff

* add flags

* fix check

* tdnf with y option

* Added a stdio lib

* try to fix oracle 8.1 and centos 8.5

* RHEL add flags

* remove ski pborken

* try debian 10

* added build essentials pacakge

* try another rhel

* also install fusermount

* added whoami

* added groups

* trying to run as root

* trying to not run as root

* install fuse

* mariner build essential

* try to use yum to install git

* Add -y

* Get sources list

* remove suse

* spell sources

* find the file that looks for microsoft repos

* remove azure list

* add to debiam

* INstall fuse lib

* try to fix debian 11

* Added MSI test

* reenable suse

* Install cmake and gcc on rhel

* Adding cmake install step for MSI

* Failover methods are not supported in EL8 so remove that confi from default yum repo config file

* install cmake on suse

* Correcting config file name in MSI ste

* Manually install fuse3-devel on SUSE

* Ignore gpg checks in suse to allow installing fuse3-devel

* Correcting suse install step

* Install fuse-libs on rhel vms

* user fusermount3 to unmount as we are not installing fuse on all of the vms

* Trying rhel 7.3 image

* Add RHEL 7.5

* Try to install rh-python

* Trying to install libfuse in RHEL

* sudo for echo

* Use sudo correctly

* add -e

* Updated container and python package for rhrl

* Try to get RHEL 8 to work

* Try to use vault 8 repos

* try mirror

* try without a mrror

* try with enable epel

* add flags

* Get all RHEL to work

* Get rhel 7.5 to work

* Added Ubuntu nightly

* added params

* Use msft managed

* indent

* Use normal nightly pipeline

* Added Blob STE retry policy

* Add credential policy

* Added Datalake retry policy

* Correcting UT compilation failure

* Ignore data validation test on distros other than ubn

* Change retry policy factory name for datalake

* Reducing cache config for streaming test

* Remove data validation test from different auth options

* Remove quick_test as default is anyway true

* Move data validation as a seperate stage

* Move data validation as a seperate stage

* Move data validation as a seperate stage

* Add data validation as a configurable step

* Make exhaustive test disable most of the test cases

* Adding support for md5sum validation and updation

* Add tags for data validation builds

* Try running fuse2 on ubn20 for data-validation

* Try running fuse2 on ubn20 for data-validation

* Merge all git related test cases to save time

* Remove ubn18 from pipelines, and use ubn20 for fuse2 testing

* Use ubn18 for release pipeline as glibc version error is coming on other distros due to this

* Remove clone and e2e test from release pipelines

* Adding basic e2e checks as part of ci

* Undo e2e from ci as multiple ci can run in parallel and running e2e may make it flaky

* Updating changelog for retry policy

* Enable git and tar test cases in nightly data validation test

* Enable git tests in verbose tests

* Remove clone test from verbose test

* Correct code lint command

* Ignore fuse3 test wrapper as well in linting

* Have two different flags for setting and validation md5 sums

* Correct code linting issue

* Adding UT for various combinations of MD5

* File cache shall delete the local file if download fails

* Adding few test cases to azstorage utils

* Remove dead code

* Resolve UT issue with logging

* Use 1ES for ubn-18 in artifact pipeline

* Remove redundancy

* Add dependency

* Add dependency

* Move code coverage to 1ES but remove ubn-22

* Move code coverage to 1ES but remove ubn-22

* Add account cleanup step to code coverage

* Add cleanup stage in code coverage

* Add cleanup stage in code coverage

* Correcting work dir path

* correction as per review comments

* Always run account cleanup at the end

* install go before doing account cleanup

* Make coverage and account cleanup a configurable step

Co-authored-by: Gauri Prasad <gapra@microsoft.com>
2022-08-25 16:49:56 +05:30
Gauri Prasad ec4817d1ac
Added Azurite Test (#865) 2022-08-18 12:33:19 -07:00
Vikas Bhansali 50d3f9ebe9
Retry on timeout error from server (#858) 2022-08-18 09:00:13 -07:00
Gauri Prasad 26030f2754
Added MSI Tests and more to code coverage (#857) 2022-08-09 08:49:23 -07:00
Gauri Prasad 39fd5969d6
Miscellaneous Tests (#855)
* test non default file and dir

* added test default

* remove unused code

* Add encrypt decrypt test

* Added negative test case

* Add some directory exists cases

* Add secure config

* remove file that does not work

* Added more secure tests

* use new cov file

* add more coverage to keys tree

* negative coverage for parse value

* secure set to simulate config change
2022-08-05 09:12:36 -07:00
Gauri Prasad cba92e7fd4
Adding extra auth validation cases (#848) 2022-08-02 13:50:00 -07:00
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 c3d21b1828
Code coverage threshold check (#832)
* Coverage pipeline fix
* Adding scripts for code coverage check
2022-07-14 08:57:35 +05:30
Sourav Gupta e96d90ae20
Go mod and notice file fix (#811)
* Fixing go.mod

* Exit code check fix

* Updated change log

Co-authored-by: vibhansa-msft <vibhansa@microsoft.com>
2022-06-21 19:40:30 +05:30
Gauri Prasad 09fcfc51f0
Conditionally publish logs from nightly pipeline (#796)
* Publish log files

* added artifact name

* Add always condition

* Added verbose log parameter to default to false

* Added SDK logs
2022-06-03 11:28: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
Sourav Gupta 7c4df93f65
Changing default logging from base to syslog (#712)
* Changing default logging to syslog

* Adding logging type as base to testdata config files

* Adding base logging type
2022-02-25 08:12:42 +05:30
Gauri Prasad 990af0fefa First commit of blobfuse v2 code 2022-02-14 09:41:31 -08:00