3217 Commits

Author SHA1 Message Date
HiteshRepo
0bc29426dd removes unwanted test 2024-01-28 18:24:28 +05:30
HiteshRepo
97860ba336 tests only TestSharePointSuite/TestCollectLists 2024-01-28 18:21:55 +05:30
HiteshRepo
b098f977e2 remove additional test 2024-01-28 17:55:46 +05:30
HiteshRepo
49666b8a6d all tests - 2nd run 2024-01-28 14:52:17 +05:30
HiteshRepo
b9d12bfd7d run all tests 2024-01-28 14:46:27 +05:30
HiteshRepo
0e07dacdee run one test 2024-01-28 14:42:27 +05:30
HiteshRepo
4a352ae097 check effect of timeout flag - 2nd run 2024-01-28 14:38:26 +05:30
HiteshRepo
d9568f8d12 check effect of timeout flag 2024-01-28 14:35:55 +05:30
HiteshRepo
aaea75590c check effect of parallel flag 2024-01-28 14:33:16 +05:30
HiteshRepo
9665a2401c check effect of failfast flag - 2nd run 2024-01-28 14:29:51 +05:30
HiteshRepo
e0711aa1b8 check effect of failfast flag 2024-01-28 14:27:13 +05:30
HiteshRepo
fcf327c5e4 check effect of verbosity flag 2024-01-28 14:24:25 +05:30
HiteshRepo
5f7468aa02 checks effect of tags - 2nd run 2024-01-28 14:21:41 +05:30
HiteshRepo
1c780744d2 checks effect of tags 2024-01-28 14:18:46 +05:30
HiteshRepo
f4b8fa190f checks effect of env var 2024-01-28 14:15:09 +05:30
HiteshRepo
94b1eaceee run both test in 1 2024-01-28 14:12:38 +05:30
HiteshRepo
a5e2617853 change to trigger ci 2024-01-28 14:07:48 +05:30
HiteshRepo
4881345415 some file for both tests 2024-01-28 14:05:16 +05:30
HiteshRepo
9f7aba555d some change 2024-01-28 14:02:54 +05:30
HiteshRepo
649138c9c0 more test to trigger ci 2024-01-28 13:59:34 +05:30
HiteshRepo
d90238e828 adds one more test in ci 2024-01-28 13:56:32 +05:30
HiteshRepo
9909335b76 triggers ci 2024-01-28 13:51:34 +05:30
HiteshRepo
b872d57f0c renames test 2024-01-28 13:39:44 +05:30
HiteshRepo
10aa0a93e5 adds new test 2024-01-28 13:03:49 +05:30
HiteshRepo
c5e4d99d70 revert to single test 2024-01-28 13:01:39 +05:30
HiteshRepo
fe95d210dc removes test case 2024-01-28 12:55:28 +05:30
HiteshRepo
b93608e53d removes json flag for tests 2024-01-28 12:49:48 +05:30
HiteshRepo
0739b3525b removes test 2024-01-28 12:44:26 +05:30
HiteshRepo
8fd8ae9094 removes filter 2024-01-28 12:28:00 +05:30
HiteshRepo
9924c742e8 modify the grep command 2024-01-28 12:19:12 +05:30
HiteshRepo
b776a3b209 run all unit tests 2024-01-28 12:13:47 +05:30
HiteshRepo
274e32d331 adds grep filter 2024-01-28 12:04:42 +05:30
HiteshRepo
b187990a06 removes losg filter 2024-01-28 11:56:27 +05:30
HiteshRepo
ac1bb9a866 reduces logs clutter 2024-01-28 11:52:33 +05:30
HiteshRepo
bf60df48e5 push test logs to file 2024-01-28 11:44:42 +05:30
HiteshRepo
5c0ceaf781 upload always 2024-01-28 11:41:17 +05:30
HiteshRepo
a337785542 adds new test to trigger 2024-01-28 11:38:43 +05:30
HiteshRepo
4de11255c8 runs only on test for convinience 2024-01-28 11:34:26 +05:30
HiteshRepo
2ef01e38bd re-adds test case to trigger ci 2024-01-28 11:15:34 +05:30
HiteshRepo
84c4894bf7 change cache key temporarily 2024-01-28 10:56:52 +05:30
HiteshRepo
08ed18b15d removes a test case to trigger a commit 2024-01-28 10:54:27 +05:30
HiteshRepo
35022dc961 removes gotestfmt filter 2024-01-28 10:42:31 +05:30
HiteshRepo
324b23c46b make unit test use cache explicit 2024-01-27 22:51:42 +05:30
HiteshRepo
ede0c6ee83 change dummy test 2024-01-27 22:24:18 +05:30
HiteshRepo
82dafe15c3 unit testing | replace magnetikonline with actions 2024-01-27 22:11:41 +05:30
HiteshRepo
1bae17b48d adds dummy test 2024-01-27 21:36:42 +05:30
ashmrtn
683f163df1
Code and tests to validate retention config (#5117)
Basic validation checks that make sure maintenance and retention options are consistent with each other. This at least makes sure retention is either enabled and maintenance extends locks or nothing is locked at all.

Going to be part of a set of PRs for validating the kopia config

---

#### Does this PR need a docs update or release note?

- [ ]  Yes, it's included
- [ ] 🕐 Yes, but in a later PR
- [x]  No

#### Type of change

- [x] 🌻 Feature
- [ ] 🐛 Bugfix
- [ ] 🗺️ Documentation
- [x] 🤖 Supportability/Tests
- [ ] 💻 CI/Deployment
- [ ] 🧹 Tech Debt/Cleanup

#### Test Plan

- [ ] 💪 Manual
- [x]  Unit test
- [ ] 💚 E2E
2024-01-26 00:09:35 +00:00
Keepers
cc24f9b6e7
fix up the backup failure output message (#5120)
metadata is too much data to be useful to an end user, meanwhile err is getting clobbered.

before
```
Error: Unable to complete backup
Message: <nil>
Metadata:{"assist_bases":"0","backup_id":"40940295-3611-42fb-ac27-5b80691ba793","base_backup_id":"832fff09-4988-4a3e-a0d0-4e51b197ea14","can_use_metadata":"true","can_use_previous_backup":"true","categories":"[Chats]","clues_trace":"c3bbd0e6","collection_count":"2","disable_assist_backup":"false","incremental":"true","merge_bases":"1","repo_ref":"fb8afbaa-e94c-4ea5-8a8a-24aff04d7874/chats/311d2a89-4c80-4da4-86ef-a08d8d6f0f94/chats/19:311d2a89-4c80-4da4-86ef-a08d8d6f0f94_817c2506-de4a-4795-971e-371ea75a03ed@unq.gbl.spaces","resource_owner_id":"311d2a89-4c80-4da4-86ef-a08d8d6f0f94","resource_owner_name":"rfinders@10rqc2.onmicrosoft.com","resource_owner_selected":"rfinders@10rqc2.onmicrosoft.com","service":"service(5)","tenant_id":"fb8afbaa-e94c-4ea5-8a8a-24aff04d7874"}
```
after
```
Error: Unable to complete backup
Cause: running backup: merging details: merging merge backup base details: getting updated info for entry: getting previous item location: unable to extract LocationRef from RepoRef
```

---

#### Does this PR need a docs update or release note?

- [x]  No

#### Type of change

- [x] 🧹 Tech Debt/Cleanup

#### Test Plan

- [x] 💪 Manual
2024-01-25 19:40:56 +00:00
Hitesh Pattanayak
ff28ca2081
adds CI sanity test steps to github workflow (#5037)
adds CI sanity test steps to github workflow

#### Does this PR need a docs update or release note?
- [x]  No

#### Type of change

<!--- Please check the type of change your PR introduces: --->
- [x] 💻 CI/Deployment

#### Issue(s)
#4754 

#### Test Plan

<!-- How will this be tested prior to merging.-->
- [x] 💪 Manual
- [x]  Unit test
- [x] 💚 E2E
2024-01-25 03:51:11 +00:00
ashmrtn
e4e4bae850
Add a pin to kopia snapshots so they won't be GCed by kopia accidentally (#5090)
Internally kopia has the notion of a retention policy. This adds a pin to each snapshot that corso uses kopia to create so that those snapshots won't be subject to kopia's rentention policy. As we disable kopia's retention policy during repo init this just acts as another layer of security to ensure snapshots won't be deleted unexpectedly.

Note that this PR only applies to _new_ snapshots that corso creates.
It doesn't go back and pin older snapshots for already existing backups

---

#### Does this PR need a docs update or release note?

- [ ]  Yes, it's included
- [ ] 🕐 Yes, but in a later PR
- [x]  No

#### Type of change

- [ ] 🌻 Feature
- [x] 🐛 Bugfix
- [ ] 🗺️ Documentation
- [ ] 🤖 Supportability/Tests
- [ ] 💻 CI/Deployment
- [ ] 🧹 Tech Debt/Cleanup

#### Test Plan

- [ ] 💪 Manual
- [x]  Unit test
- [ ] 💚 E2E
2024-01-24 21:55:58 +00:00