Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding ssie events for longevity (#1929) #1

Open
wants to merge 540 commits into
base: stats_driver
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
540 commits
Select commit Hold shift + click to select a range
49fa6b4
Adding libraries to access FB blades and do GET Operations (#2394)
vprabhakar-px Apr 22, 2024
a68e6a9
[PTX-23522] Fix initiatePoolExpansion (#2399)
kphalgun-px Apr 22, 2024
83cb3de
[PTX-20557] Added test scenarios for testing sources option in ha-upd…
sayalasomayajula-px Apr 23, 2024
e3e1b8b
PTX-17342 CloudBackupSize API validation (#2379)
nilanto07-px Apr 23, 2024
b256053
Added a sleep for validating px-backup pods to be ready (#2402)
ak-px Apr 23, 2024
5c3d0a2
rename pure.go to purefa.go (#2400)
vprabhakar-px Apr 23, 2024
fa1b38b
Updating Functionality to fetch PVC Names (#2403)
vprabhakar-px Apr 23, 2024
8fdd836
Pwx 23470 (#2395)
pnookala-px Apr 23, 2024
95f06ee
Ptx 23513 1 (#2405)
vprabhakar-px Apr 23, 2024
4104361
[PTX-23357] Implement SetASGClusterSize (#2401)
kphalgun-px Apr 23, 2024
2cef555
Added stork controller configmap verification after updating stork ad…
snigdha-px Apr 24, 2024
dfb4eb1
Adding test for metro async combination (#2377)
gejain Apr 24, 2024
90f7690
PTX-23619: Fix PxRestartAll test by moving computation of sharedvolum…
pnookala-px Apr 24, 2024
a2eae67
Ptx 20883 1 (#2417)
vprabhakar-px Apr 24, 2024
db7172c
Kubevirt Torpedo improvements (#2383)
spai-px Apr 24, 2024
35b5433
kubevirt vendor updates for schedops (#2420)
Rohit-PX Apr 24, 2024
f5c339b
PB-6789:Create an app/vm in specific namespace (#2410)
snigdha-px Apr 25, 2024
0163c54
Fix regex spelling error (#2429)
spai-px Apr 25, 2024
bc1e7b7
Fix restore NS name (#2430)
kshithijiyer-px Apr 26, 2024
d8f44c1
Ingore check for purefile (#2426)
vprabhakar-px Apr 26, 2024
4c5b762
[TC Automation] PTX-21440 Add test case VolAttachFAPxRestart (#2361)
spai-px Apr 26, 2024
89ab836
Adding check to ignore Volume attaches in case of pure file volume (#…
vprabhakar-px Apr 26, 2024
9e22f7a
Adding cloud create and s3 bucket deletion function for cloudsnaps (#…
lsrinivas-pure Apr 27, 2024
aa49556
Adding ZRS spec for aks (#2393)
ak-px Apr 28, 2024
0d0375d
Added method for creating volume snapshot class with the given provis…
snigdha-px Apr 28, 2024
8e7c1b6
PB-5946: Added logic for PVC cleanup validation (#2282)
sabrarhussaini Apr 29, 2024
97280d9
Ptx 23576 VolResizeAllVolumes in parallel (#2433)
vprabhakar-px Apr 29, 2024
a2b1e9e
PTX-23652: be resilient to failures of GetVolumes() call (#2425)
pnookala-px Apr 29, 2024
dea6cdb
Create and attach 250 + FADA volumes in Longevity or scale testing au…
jainsmit Apr 30, 2024
d1fd9f2
Fixing volume provisoner in case of back up test (#2437)
lsrinivas-pure Apr 30, 2024
aee4a79
Add a new test case for bootstrapping with local disks (#2428)
vumesh-px Apr 30, 2024
7db88b8
Added pxbackupversion check to verify api call (#2434)
ak-px Apr 30, 2024
7a8d65c
[PTX-23625] Fix TriggerRebootManyNodes (#2442)
kphalgun-px Apr 30, 2024
a7f94d4
Test automation for VolHAIncreaseAllVolumes (#2441)
vprabhakar-px May 1, 2024
09a72d0
Anthos upgrade is failing in anthos reconcile preflight check (#2443)
jainsmit May 1, 2024
7d6cdbf
fixing MultiVolumeMountsForSharedV4 for chos-level (#2446)
lsrinivas-pure May 2, 2024
80be117
[PWX-37026] Adding FBDAMultiTenancyBasicTest (#2419)
vinayakshnd May 3, 2024
0f9f01f
Add test case to bring down network interface of FA Controller (#2455)
vprabhakar-px May 3, 2024
62bff43
Adding senarios for adding storage node and stoageless nodes for clou…
lsrinivas-pure May 3, 2024
d6299d8
Adding test for new storkctl flow (#2431)
gejain May 3, 2024
6639006
Ptx 23763 Get FB Cluster Details (#2457)
vprabhakar-px May 3, 2024
1f3e5a2
Calculate node upgrade time for Anthos parallel upgrade (#2387)
jainsmit May 4, 2024
f3920b4
Fixing the user name length because it is used in namespace creation …
mkoppal-px May 4, 2024
e8bf313
Automation scripts for iscsi port drop scenarios [ PTX-23831, PTX-238…
vprabhakar-px May 6, 2024
932f71c
[PWX-33177] Skip pool expansions when app has only FBDA volumes. (#2456)
vinayakshnd May 6, 2024
fe3dc4f
PB-6777: Add Backup driver with WaitForBackupPartialCompletion method…
sgajawada-px May 7, 2024
a0d5eb4
Fix retry for GetPxBackupVersionString (#2471)
ak-px May 7, 2024
2fa45cc
Fix for NVME parsing (#2469)
vprabhakar-px May 7, 2024
cebf3b2
New Test case addition (#2466)
vprabhakar-px May 7, 2024
93c7e04
Fix nfs loc validation and pvc cleanup (#2474)
ak-px May 8, 2024
205dd7a
Adding test to recycle all storage driver nodes and validate drive se…
lsrinivas-pure May 8, 2024
3364301
[TC Improvement] Take px namespace where it is installed (#2476)
spai-px May 8, 2024
a8f0892
Temporary removeal of pvc cleanup validation (#2478)
snigdha-px May 9, 2024
b986203
Added retry for backup location validation (#2479)
snigdha-px May 9, 2024
3385486
Removed data validation after restore due to PB-6271 (#2480)
ak-px May 9, 2024
6c55957
[PTX-23856] Increase Timeout In ValidateStorageCluster (#2465)
kphalgun-px May 10, 2024
8d7563d
Ptx 23988 (#2486)
vprabhakar-px May 10, 2024
6310533
PB-6917: Add `CUSTOM_REGISTRY` and `CUSTOM_REPO` to support custom …
kshithijiyer-px May 10, 2024
c59933a
Adding test to increase max nodes per zone after scale up (#2484)
lsrinivas-pure May 10, 2024
2c5abca
Ptx 23988 (#2490)
vprabhakar-px May 13, 2024
918fb22
[PWX-37028] Added FBDAMultiTenancyUpdatePureNFSEnpoint (#2485)
vinayakshnd May 13, 2024
e8ba837
Run torpedo as a pod in anthos user cluster (#2491)
jainsmit May 13, 2024
a111517
PTX-24028 Vendor latest libopenstorage/operator package (#2489)
nikolaypopov May 13, 2024
8750648
Kubevirt specs for datavoltemplate , win22 , large datadisk (#2376)
px-kannavarapu May 14, 2024
0ba862c
New test case to Expand Multiple pool when FADA volumes are getting C…
vprabhakar-px May 14, 2024
c1fa0be
[PWX-37028] Skip volume validations. (#2497)
vinayakshnd May 14, 2024
1cf5d17
[TC Automation] kubevirt test cases (#2483)
spai-px May 14, 2024
eab249a
Fbda topology creates (#2496)
pnookala-px May 14, 2024
09159cf
fixing debian VM spec to have internal mount (#2507)
dbhatnagar-px May 15, 2024
1525765
adding retry with timeout for PDB validation (#2500)
svijaykumar-px May 16, 2024
79d2399
[TC Automation] Add test case RestartPXAndCheckIfVmBindMount (#2510)
spai-px May 16, 2024
1ea9ff7
increasing cpu cores for bonnie app (#2488)
lsrinivas-pure May 17, 2024
c111656
Vendored the latest px-backup api for 2.7.1 (#2506)
sabrarhussaini May 17, 2024
4856760
Power off and power on all worker nodes (#2436)
Santhoshairody May 17, 2024
ba41174
[PTX-24172] Fix validateAutoFsTrim (#2512)
kphalgun-px May 18, 2024
0add3ec
Detach clouddrives while IO inprogress and verify pool can be back af…
Santhoshairody May 18, 2024
e92ea97
minor fix for update node id function (#2515)
lsrinivas-pure May 20, 2024
b58a5dd
[PTX-24076] Add Ginkgo Support To Deployment Script (#2509)
kphalgun-px May 20, 2024
d1b9b67
[PTX-23863] Fix SetupProxyServer (#2524)
kphalgun-px May 21, 2024
e0306a3
PWX-36878: DMthin OCP VSphere pool expand test update (#2503)
pp511 May 21, 2024
c6f127b
Adding cloudsnap delete event to longevity (#2444)
Santhoshairody May 22, 2024
1e75255
Adding params for px-security (#2527)
mkoppal-px May 22, 2024
0309519
Fixing OCP zones (#2516)
lsrinivas-pure May 22, 2024
b665700
Removed aks node driver (#2533)
ak-px May 23, 2024
1f493e6
PTX-23958: Vendoring latest operator (#2531)
svijaykumar-px May 24, 2024
22fe55b
PTX-24002 Create Volume clone for FADA volume and verify new volume i…
sayalasomayajula-px May 24, 2024
d2c6cc5
New Libraries for FA RestAPIs 2.x (#2543)
vprabhakar-px May 28, 2024
55dacfd
Fixing Json Parsing Issue (#2550)
vprabhakar-px May 29, 2024
6f693cf
Added mysql & postgres spec with restricted PSA (#2521)
snigdha-px May 30, 2024
853ec05
Waiting for atleast 2 mongo pods to come up after scaling down to 0 a…
snigdha-px May 31, 2024
1a7af6c
Ptx 24352 1 (#2560)
vprabhakar-px Jun 3, 2024
21eb455
Updating travis.yml to avoid travis check (#2562)
vprabhakar-px Jun 3, 2024
bc03a8a
PWX-37370 Automation deleting VolumeSnapshots and ensuring they are d…
sayalasomayajula-px Jun 3, 2024
c13818c
[PTX-23995] Create base,fbda,fada pvc with iops and bandwidth storage…
sayalasomayajula-px Jun 3, 2024
5fdc63a
PTX-23996 Rebooting Node while FADA Volume creation in progress ( Use…
sayalasomayajula-px Jun 3, 2024
9b8044b
Adding deleteNode method for anthos scheduler (#2535)
jainsmit Jun 3, 2024
5680600
PTX-23985 Px Volume Resize in parallel to FADA/FBDA Volume Resize (#2…
sayalasomayajula-px Jun 4, 2024
812e813
PWX-37401 Test stopping Portworx on a node for 10 minutes, then start…
sayalasomayajula-px Jun 4, 2024
224cdab
1. Adding function to deploy apps and validate (#2530)
lsrinivas-pure Jun 4, 2024
b9d7060
Vendoring latest sched-ops changes (#2559)
mkoppal-px Jun 4, 2024
368fa22
Adding function to modify maintenance job frequency (#2566)
mkoppal-px Jun 4, 2024
f9a5150
PB-7095 & PB-7096: Add libs for enabling cluster wide PSA (#2555)
kshithijiyer-px Jun 4, 2024
93b112c
Add Method to verify the annotation after adding labels to the namesp…
dbinnal-px Jun 5, 2024
452885b
PTX-22409:Fixing cluster status validation during platform upgrades (…
lsrinivas-pure Jun 5, 2024
ad7dadd
Modifed helper functions for Azure Cloud [PxB 2.7.1] (#2517)
sabrarhussaini Jun 6, 2024
78b461e
Added helper function for Azure backup location (#2554)
sabrarhussaini Jun 6, 2024
4c01939
GKE upgradeStrategy changes (#2549)
nilanto07-px Jun 6, 2024
0aa7401
Ptx 24364 : remove unwanted ticks from WWID (#2578)
vprabhakar-px Jun 6, 2024
bb4c580
Adding logic to validate pools for limit before expansion (#2573)
lsrinivas-pure Jun 7, 2024
3777fb6
Added helper methods to add cluster wide PSA on RKE cluster (#2551)
snigdha-px Jun 7, 2024
e882981
Added helper function to clean files from S3 bucket (#2576)
sabrarhussaini Jun 7, 2024
8b66d99
Added a function UpdateMaintenanceCronJob (#2577)
mkoppal-px Jun 7, 2024
5154066
Fixing creds issue for GKE Jobs launching from spawn container (#2580)
jainsmit Jun 7, 2024
1422001
Adds ability to set FADA pod name in torpedo flag (#2575)
Pure-AdamuKaapan Jun 7, 2024
a7b889b
Fixes torpedo parsing mapper devices with partitions (#2585)
Pure-AdamuKaapan Jun 7, 2024
fdb9fe2
Fixes more cases of mapper partitions (#2586)
Pure-AdamuKaapan Jun 8, 2024
cb98a10
moving repls on the move before pool deletion (#2582)
lsrinivas-pure Jun 11, 2024
ccd1870
Fixes dmsetup ls for partitions (#2592)
Pure-AdamuKaapan Jun 11, 2024
a50527a
Adding test for OCP OLM based operator and CR migration (#2574)
gejain Jun 12, 2024
d86cb93
Added method CreateVolumeSnapshotClassesWithParameters (#2587)
ak-px Jun 12, 2024
5a54f57
update rules dictionary to add rules for PSA (#2572)
dbinnal-px Jun 12, 2024
01f4843
PTX-24429 support for realms and pods (#2564)
sayalasomayajula-px Jun 12, 2024
2b17595
PWX-37369 Automation checking for pod name in pxctl v i (#2571)
sayalasomayajula-px Jun 13, 2024
77aece5
Automating KDMP backup failure (#2589)
mkoppal-px Jun 13, 2024
ffcc6e6
Deploy apps which has different volumes at framework level (#2588)
ak-px Jun 13, 2024
555a588
[PTX-24636] Fix createStorageObject (#2604)
kphalgun-px Jun 14, 2024
c3d3f79
Added a function to delete cloudsnaps (#2608)
mkoppal-px Jun 18, 2024
791d617
Fixing the sed command to remove env variable from the spec (#2613)
jainsmit Jun 18, 2024
e13e6b3
Db fa backlog tests (#2595)
dbhatnagar-px Jun 19, 2024
0701b21
changes for iops and bandwidth (#2614)
sayalasomayajula-px Jun 19, 2024
27c2745
Helper methods to validate backup with partial success (#2597)
sabrarhussaini Jun 19, 2024
f28538e
Adding stop kubelet test (#2598)
lsrinivas-pure Jun 20, 2024
66048c9
Added new test BackupCSIVolumesWithPartialSuccess (#2610)
ak-px Jun 20, 2024
b57ae61
[PTX-23978] Add test case LabelNodesAndVerifyPoolCreate (#2605)
spai-px Jun 21, 2024
a6408ce
Moving the IBMCLI to nexus (#2620)
aghodke1312 Jun 21, 2024
444043f
PTX-23991 Deleting Pools after modifying STC with disabling CSI topo…
sayalasomayajula-px Jun 22, 2024
c422be1
Expect pool size to the nearest GiB (floor) (#2615)
Santhoshairody Jun 23, 2024
e95f96b
PB-7185: Add test to set namespace and cluster level PSA settings (#2…
kshithijiyer-px Jun 24, 2024
38f4483
PB-7345: Bump up the mysql version in all backup specs to `8.4` (#2622)
kshithijiyer-px Jun 24, 2024
e8b3ee7
Disables FADA cloudsnap validation temporarily (#2593)
Pure-AdamuKaapan Jun 24, 2024
2c4c734
PWX-37657: Changed DeployAppsAndStopPortworx to be serial instead of …
Pure-AdamuKaapan Jun 24, 2024
c1e6114
Getting cluster name from kubeconfig (#2619)
snigdha-px Jun 25, 2024
ac940e6
Adding a new test case PartialBackupSuccessWithPxVolumes (#2621)
mkoppal-px Jun 25, 2024
91016c9
Adding retry for new pod to create (#2631)
lsrinivas-pure Jun 25, 2024
0cd417b
Fix AUTToggleautopilot (#2625)
sayalasomayajula-px Jun 26, 2024
a547f5c
Add missing iscsi login (#2632)
spai-px Jun 26, 2024
aa19609
Fixing OKE platform upgrade (#2611)
lsrinivas-pure Jun 27, 2024
1b7ca72
PTX-24483 Restart PX and restart the Node (#2600)
sayalasomayajula-px Jun 27, 2024
a8c3f24
PB-7378: Add job pod app with restricted and other psa levels (#2628)
kshithijiyer-px Jun 27, 2024
a201e2f
PTX-24561 [FA Multitenancy] Test case to create 3 APPs for every app …
sayalasomayajula-px Jun 28, 2024
5c39209
Adding a new test case PartialBackupSuccessWithPxAndKDMPVolumes (#2636)
mkoppal-px Jun 28, 2024
971f762
fixing test script and adding new storage spec for pure device type (…
vprabhakar-px Jun 28, 2024
e54bd7a
PSA Testcase automation : Restore from higher Privileged to lower Pri…
sn-px Jun 28, 2024
5e5f3cb
Resetting the pipeline application list after test (#2637)
sn-px Jun 28, 2024
14f97ad
Added a new test case BackupStateTransitionForScheduledBackups (#2634)
sabrarhussaini Jun 28, 2024
01716a6
PTX-24562 Validate Volume Name in FA (#2599)
sayalasomayajula-px Jun 29, 2024
4b9df8f
Test Improvements for existing FA testcases (#2633)
sayalasomayajula-px Jun 29, 2024
b617f63
Modified PXBackupEndToEndBackupAndRestoreWithUpgrade TC (#2626)
sabrarhussaini Jun 30, 2024
ef18e6e
Adding a new test case PartialBackupWithLowerStorkVersion (#2638)
mkoppal-px Jul 1, 2024
bef4d39
Added new test PartialBackupSuccessWithAzureEndpoint (#2639)
ak-px Jul 1, 2024
e208c8d
label for partial backup tests (#2642)
ak-px Jul 2, 2024
08b3625
Adding custom bucket for PartialBackupSuccessWithAzureEndpoint (#2643)
ak-px Jul 2, 2024
ee80b2e
Fixing the nexus URL for travis (#2648)
aghodke1312 Jul 2, 2024
8efded5
adding PSA test PsaTakeBackupInLowerPrevilegeRestoreInHigherPrivilege…
dbinnal-px Jul 3, 2024
4a688d4
Adding more logging info and fixing re init of originalAppList (#2651)
sn-px Jul 3, 2024
a65eee1
Adding pool delete event for longevity (#2645)
lsrinivas-pure Jul 3, 2024
8a92faa
Adding PSA TC : PSABackupInLowerPrevilegeRestoreInHigherPrivilegeWith…
vpinisetti-px Jul 4, 2024
4107e22
Modified rancher testcases to get cluster name (#2640)
snigdha-px Jul 4, 2024
f8c481e
Ptx 24927 FA improvements (#2649)
sayalasomayajula-px Jul 5, 2024
3672011
PB-7471: fix testcase PsaTakeBackupInLowerPrivilegeRestoreInHigherPri…
dbinnal-px Jul 5, 2024
3b0c977
Refactoring app specs for partial backup feature (#2656)
ak-px Jul 5, 2024
851cbea
Adding err to logs for ComparePodAge & GetBackupPodAge (#2657)
ak-px Jul 5, 2024
4c5da0c
Fixing specs for IKS runs (#2660)
mkoppal-px Jul 6, 2024
14c92e2
parsing partition in wwid (#2659)
vprabhakar-px Jul 8, 2024
9bffdf2
Adding invalid provisioner for VSC (#2661)
ak-px Jul 8, 2024
9a6cc98
Increasing the wait time after Px STC update (#2664)
mkoppal-px Jul 9, 2024
a4ec4d4
PTX-24004 Restart the PX after recreating PX-pure secret and make sur…
sayalasomayajula-px Jul 9, 2024
de157b5
fix for SSIE tests (#2662)
lsrinivas-pure Jul 10, 2024
46b0001
PTX-24005 Restart the whole cluster ( All Worker Nodes ) and validate…
sayalasomayajula-px Jul 10, 2024
4df15c0
Added asyncdr test with PX upgrade (#2658)
gejain Jul 10, 2024
f801a44
PTX-23972 check cloud drives are disturbuted across FA's (#2561)
sayalasomayajula-px Jul 10, 2024
b08baa7
using 1 GB to bytest to Write if nothing is provided (#2667)
vprabhakar-px Jul 10, 2024
9a61c60
add FillVMRootDisk test case (#2624)
spai-px Jul 10, 2024
6adc93b
Adding cluster restart test (#2668)
lsrinivas-pure Jul 11, 2024
39e4fab
Ptx 24364 1 (#2671)
vprabhakar-px Jul 11, 2024
81f022b
Adding defrag sched apis (#2673)
jainsmit Jul 12, 2024
5272cb5
Ptx 24364 1 (#2674)
vprabhakar-px Jul 12, 2024
7be0c2f
Added mysql specs for ceph and rbd (#2677)
mkoppal-px Jul 12, 2024
f8e89d8
Test Improvements in Storagepool test and FA (#2675)
sayalasomayajula-px Jul 15, 2024
9afb316
PWX-37402 Automate enabling/disabling interface endpoints to test Mul…
sayalasomayajula-px Jul 15, 2024
fea1e80
PTX-24898 Restart the px while managment interface is down and then e…
sayalasomayajula-px Jul 15, 2024
6b9bd84
Adding test steps for FACD zone validations (#2676)
lsrinivas-pure Jul 15, 2024
5d66f71
Adding longevity trigger for defrag schedule (#2682)
jainsmit Jul 17, 2024
249e822
[PTX-25079] Retry Device path validation (#2679)
sayalasomayajula-px Jul 17, 2024
dd28c1a
Fixing the test RebootNodesWhenBackupsAreInProgress for non-px runs (…
mkoppal-px Jul 17, 2024
ae9c9cc
Adding token for pxctl commands if security is enabled (#2683)
lsrinivas-pure Jul 18, 2024
bb336d1
Adding app spec for GKE for partial backup feature (#2687)
sabrarhussaini Jul 18, 2024
453e8e8
Fixed the TC PXBackupEndToEndBackupAndRestoreWithUpgrade (#2688)
sabrarhussaini Jul 18, 2024
bdae6a2
skip allowed disruptions for anthos (#2567)
svijaykumar-px Jul 18, 2024
ec25986
fixes for SSIE workflow (#2689)
lsrinivas-pure Jul 18, 2024
91f3746
Testing with single restore (#2691)
mkoppal-px Jul 19, 2024
a054c79
Upgrade cluster test is panicking when printing pxctl status during u…
jainsmit Jul 19, 2024
a97ea9c
PTX-25257 Fix deleting admin security context even if cmd fails (#2693)
nikolaypopov Jul 19, 2024
bb57215
DMthin Bug fixes (#2694)
vprabhakar-px Jul 21, 2024
ec68d19
ignoring dmthin configuration (#2695)
vprabhakar-px Jul 21, 2024
869bd01
Snapshot and Restore with Data consistency check (#2699)
dbhatnagar-px Jul 22, 2024
c0b8ac5
fixing elastic search load app for generating IOs (#2698)
lsrinivas-pure Jul 22, 2024
247e41f
Added Stork app backup and restore with upgrade test (#2670)
gejain Jul 22, 2024
d357160
[PTX-25287] Fix postgres-backup-multivol Spec (#2700)
kphalgun-px Jul 23, 2024
c48ef34
Resetting the ClaimsCount after the test case KubevirtVMRestoreWithAf…
mkoppal-px Jul 23, 2024
15b1d2e
Find compatible Datastores for svmotion (#2696)
Santhoshairody Jul 23, 2024
ff8e95c
Adding test for volume deletion and pool expansion in FA/FB DA (#2704)
lsrinivas-pure Jul 24, 2024
61eefb2
Adding stork volume snapshot tests (#2705)
gejain Jul 25, 2024
6ef96aa
Fix the test case MultipleVMVolHaDecrease (#2708)
spai-px Jul 26, 2024
71ff11a
Fa improvements (#2707)
sayalasomayajula-px Jul 26, 2024
3e88ba9
PB-7687: Change check to see if PX is healthy or not (#2712)
kshithijiyer-px Aug 1, 2024
fc3efce
[PTX-25143]ResizePoolDrivesInDifferentSize testcase fix (#2690)
sayalasomayajula-px Aug 1, 2024
eaa58d6
Removing non-mandatory parameter check for azure cloud credential (#2…
snigdha-px Aug 2, 2024
9035eab
Checking in storage vmotion libraries for Torpedo (#2710)
dbhatnagar-px Aug 2, 2024
fbda13f
Enabling storage vmotion as a longevity event (#2715)
dbhatnagar-px Aug 4, 2024
d1dbb1f
Fixing kubevirt tests (#2714)
mkoppal-px Aug 5, 2024
594da56
Central token fix (#2713)
Madanagopal19 Aug 5, 2024
fc908bb
PB-7691: Add support for Azure immutable container creation (#2717)
kshithijiyer-px Aug 5, 2024
3c5c898
[TC automation] Add testcase to verify no impact on PX process after…
apattewar-px Aug 7, 2024
6e3ce34
PB-7768: Add function to dump test data in configmap (#2719)
kshithijiyer-px Aug 7, 2024
bc8988e
vendor latest operator for PDB changes (#2721)
svijaykumar-px Aug 8, 2024
8f9fd40
New TC: Aks cloud account with mandatory and non mandatory fields (#2…
snigdha-px Aug 8, 2024
1ffcc86
Added error check for CreateNamespace (#2722)
ak-px Aug 8, 2024
1f8d156
[PTX-25417] Resolve Panic Due to errChan Closure in Longevity (#2724)
kphalgun-px Aug 8, 2024
07675ba
zookeeper apps added (#2725)
gejain Aug 9, 2024
9996f0a
[PTX-25477] Update deploy-ssh.sh to Overwrite Existing Kubernetes Res…
kphalgun-px Aug 9, 2024
5c70641
PTX-25468 Add MaxSurge for AKS upgrade method (#2723)
nikolaypopov Aug 9, 2024
d83533a
Vendor latest px-backup cluster share api (#2720)
ak-px Aug 10, 2024
84a6593
[Kubevirt fix] (#2728)
spai-px Aug 12, 2024
3846aa5
Fixing a calculation bug of DS size (#2730)
dbhatnagar-px Aug 12, 2024
7d3347f
PTX-25467 Add Max Unavailable option for EKS surge upgrades (#2727)
nikolaypopov Aug 12, 2024
4963fd5
Added new Azure testcase (#2726)
snigdha-px Aug 13, 2024
55a067a
Added helper function for adding multiple clusters to Px-Backup (#2703)
sabrarhussaini Aug 14, 2024
4846a1e
Corrected the testcase id (#2735)
snigdha-px Aug 14, 2024
59e340f
Add Max Unavailable option for OCP surge upgrades (#2733)
nilanto07-px Aug 16, 2024
0eb5f65
PTX-25073: Validate volume quorum for cluster and PX upgrade (#2709)
nikita-bhatia Aug 18, 2024
e63a5bc
fixing pool size calculation when value is in floating point (#2739)
lsrinivas-pure Aug 20, 2024
f074a05
PB-7692 & PB-7802: Add wrapper func and update existing tests to run …
kshithijiyer-px Aug 20, 2024
1c878d4
Adding alert and path validation for svmotion test (#2738)
lsrinivas-pure Aug 20, 2024
0ecc1d0
[PTX-25707] Vendor github.com/libopenstorage/operator (#2742)
kphalgun-px Aug 21, 2024
ba2f2de
PB-7894: Vendor in latest changes for GetRetentionTimestamp() (#2744)
kshithijiyer-px Aug 21, 2024
b0cb9bd
update maxUnavailable for OCP MCP to accept integers (#2745)
nilanto07-px Aug 22, 2024
ef60a23
Adding new test case for Azure cred change with PXB upgrade (#2740)
mkoppal-px Aug 26, 2024
e17f2d7
Increase timeout for validateCRCleanup and added go routine for backu…
snigdha-px Aug 26, 2024
112b3c2
PB-8788: Migrating function from pure-px to portworx torpedo which is…
kgarg-px Nov 14, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
15 changes: 12 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,20 @@ sudo: required
dist: focal
services:
- docker
language: go
- mongodb
language:
- go
- minimal
go:
- 1.19.x
- 1.21.x
cache:
directories:
- $GOPATH/pkg/mod
before_install:
- wget -qO - https://www.mongodb.org/static/pgp/server-4.4.asc | sudo apt-key add -
- echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-4.4.list
- sudo apt-get update -yq
- sudo apt-get install apt-transport-https ca-certificates -y
- sudo apt-get install apt-transport-https ca-certificates mongodb-org -y
- sudo update-ca-certificates
script:
- make all
Expand All @@ -29,6 +34,10 @@ after_success:
sudo docker tag "${DOCKER_HUB_REPO}/torpedo-backup:${DOCKER_HUB_TAG}" "${DOCKER_HUB_REPO}/torpedo-backup:${TRAVIS_BRANCH}";
sudo docker push "${DOCKER_HUB_REPO}/torpedo-backup:${DOCKER_HUB_TAG}";
sudo docker push "${DOCKER_HUB_REPO}/torpedo-backup:${TRAVIS_BRANCH}";
make container-longevity;
sudo docker tag "${DOCKER_HUB_REPO}/torpedo-longevity:${DOCKER_HUB_TAG}" "${DOCKER_HUB_REPO}/torpedo-longevity:${TRAVIS_BRANCH}";
sudo docker push "${DOCKER_HUB_REPO}/torpedo-longevity:${DOCKER_HUB_TAG}";
sudo docker push "${DOCKER_HUB_REPO}/torpedo-longevity:${TRAVIS_BRANCH}";
fi
notifications:
email:
Expand Down
44 changes: 36 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
FROM golang:1.19.5-alpine AS build
FROM golang:1.21.6-alpine AS build
LABEL maintainer="[email protected]"
ARG MAKE_TARGET

WORKDIR /go/src/github.com/portworx/torpedo

# Install setup dependencies
RUN apk update && apk add --no-cache bash git gcc musl-dev make curl openssh-client
RUN apk update && apk add --no-cache bash git gcc musl-dev make curl openssh-client coreutils python3

RUN GOFLAGS= GO111MODULE=on go install github.com/onsi/ginkgo/ginkgo@v1.16.5
RUN GOFLAGS= GO111MODULE=on go install -mod=mod github.com/onsi/ginkgo/v2/ginkgo@v2.15.0

# Install aws-iam-authenticator
# This is needed by test running inside EKS cluster and creating aws entities like bucket etc.
Expand All @@ -18,21 +18,22 @@ RUN mkdir bin && \

# Install IBM Cloud SDK
RUN curl -fsSL https://clis.cloud.ibm.com/install/linux | sh && \
ibmcloud plugin install -f vpc-infrastructure && \
ibmcloud plugin install -v 11.3.0 -f vpc-infrastructure && \
ibmcloud plugin install -f container-service

# Install vCluster binary
RUN curl -L -o vcluster "https://github.com/loft-sh/vcluster/releases/latest/download/vcluster-linux-amd64" \
&& install -c -m 0755 vcluster /usr/local/bin \
&& rm -f vcluster



# No need to copy *everything*. This keeps the cache useful
COPY vendor vendor
COPY Makefile Makefile
COPY go.mod go.mod
COPY go.sum go.sum
COPY pkg pkg
COPY porx porx
COPY scripts scripts
COPY drivers drivers
COPY deployments deployments
Expand All @@ -47,14 +48,21 @@ COPY tests tests
RUN --mount=type=cache,target=/root/.cache/go-build make $MAKE_TARGET

# Build a fresh container with just the binaries
FROM alpine
FROM alpine:3.18.5

RUN apk add --no-cache ca-certificates bash curl jq libc6-compat
RUN apk add --no-cache ca-certificates bash curl jq libc6-compat coreutils

# Install Azure Cli
RUN apk add --no-cache --update python3 py3-pip
RUN apk add --no-cache --update --virtual=build gcc musl-dev python3-dev libffi-dev openssl-dev cargo make && pip3 install "pyyaml<=5.3.1" && pip3 install --no-cache-dir --prefer-binary azure-cli && apk del build


# Install Oracle CLI
RUN bash -c "$(curl -L https://raw.githubusercontent.com/oracle/oci-cli/master/scripts/install/install.sh)" -- --python-install-location /usr/bin/python3 --accept-all-defaults && \
chmod a+x /root/bin/oci && \
mv -f /root/bin/oci /usr/bin/oci


# Install kubectl from Docker Hub.
COPY --from=lachlanevenson/k8s-kubectl:latest /usr/local/bin/kubectl /usr/local/bin/kubectl

Expand All @@ -66,11 +74,31 @@ WORKDIR /torpedo
COPY deployments deployments
COPY scripts scripts

# Install Postman-Newman Dependencies
RUN apk update && apk upgrade \
&& apk add --no-cache \
nodejs \
npm \
&& rm -rf /var/cache/apk/*

# Install Newman globally using npm
RUN npm install -g newman

WORKDIR /go/src/github.com/portworx/torpedo

# Install docker
RUN apk add --update --no-cache docker

# Install openssh and sshpass
RUN apk add --no-cache openssh sshpass

# Install dependancy for OCP 4.14 CLI
RUN apk --update add gcompat

# Install yq
RUN wget https://github.com/mikefarah/yq/releases/download/v4.25.1/yq_linux_amd64 -O /usr/bin/yq && \
chmod +x /usr/bin/yq

# Copy ginkgo & binaries over from previous container
COPY --from=build /go/bin/ginkgo /bin/ginkgo
COPY --from=build /go/src/github.com/portworx/torpedo/bin bin
Expand All @@ -80,5 +108,5 @@ COPY --from=build /usr/local/bin/vcluster /bin/vcluster
COPY --from=build /root/.bluemix/plugins /root/.bluemix/plugins
COPY drivers drivers

ENTRYPOINT ["ginkgo", "--failFast", "--slowSpecThreshold", "180", "-v", "-trace"]
ENTRYPOINT ["ginkgo", "--fail-fast", "--poll-progress-after", "3m", "-v", "-trace", "--junit-report=/testresults/junit_basic.xml"]
CMD []
4 changes: 2 additions & 2 deletions Dockerfile-taas
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.19.5-alpine AS build
FROM golang:1.21.6-alpine AS build
LABEL maintainer="[email protected]"
ARG MAKE_TARGET

Expand All @@ -13,7 +13,6 @@ COPY Makefile Makefile
COPY go.mod go.mod
COPY go.sum go.sum
COPY pkg pkg
COPY porx porx
COPY scripts scripts
COPY drivers drivers
COPY deployments deployments
Expand Down Expand Up @@ -44,6 +43,7 @@ RUN apk add --update --no-cache docker

# Copy binaries over from previous container
COPY --from=build /go/src/github.com/portworx/torpedo/bin bin
COPY drivers drivers

ENTRYPOINT []
CMD []
30 changes: 28 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
# make {build-backup|container-backup}:
# create backup.test binary/container (<repo>/torpedo-backup:<tag>)
#
# make {build-longevity|container-longevity}:
# create longevity.test binary/container (<repo>/torpedo-longevity:<tag>)
#
# make all:
# verify that all test binaries build successfully
#
Expand Down Expand Up @@ -64,7 +67,7 @@ PGBENCH_IMG=$(DOCKER_HUB_REPO)/torpedo-pgbench:latest
ESLOAD_IMG=$(DOCKER_HUB_REPO)/torpedo-esload:latest


all: vet build build-pds build-backup build-taas fmt
all: vet build build-pds build-backup build-taas build-longevity fmt

deps:
go get -d -v $(PKGS)
Expand All @@ -84,7 +87,7 @@ fmt:

# Tools
$(GOPATH)/bin/ginkgo:
GOFLAGS= GO111MODULE=on go install github.com/onsi/ginkgo/ginkgo@v1.16.5
GOFLAGS= GO111MODULE=on go install -mod=mod github.com/onsi/ginkgo/v2/ginkgo@v2.15.0

# this target builds the basic.test binary only. Use build-pds for pds.test binary.
build: GINKGO_BUILD_DIR=./tests/basic
Expand Down Expand Up @@ -116,6 +119,16 @@ build-backup: $(GOPATH)/bin/ginkgo
find $(GINKGO_BUILD_DIR) -name '*.test' | awk '{cmd="cp "$$1" $(BIN)"; system(cmd)}'
chmod -R 755 bin/*

build-longevity: GINKGO_BUILD_DIR=./tests/longevity
build-longevity: $(GOPATH)/bin/ginkgo
mkdir -p $(BIN)
go build -tags "$(TAGS)" $(BUILDFLAGS) $(PKGS)

ginkgo build -r $(GINKGO_BUILD_DIR)
find $(GINKGO_BUILD_DIR) -name '*.test' | awk '{cmd="cp "$$1" $(BIN)"; system(cmd)}'
chmod -R 755 bin/*


# this target builds the taas binary only.
build-taas: TAAS_BUILD_DIR=./apiServer/taas
build-taas:
Expand Down Expand Up @@ -184,6 +197,13 @@ container-taas:
@echo "Building taas container "$(TORPEDO_IMG)
sudo DOCKER_BUILDKIT=1 docker build --tag $(TORPEDO_IMG) --build-arg MAKE_TARGET=build-taas -f Dockerfile-taas .

# this target builds a container with torpedo longevity binary only. Repo is hardcoded to ".../longevity".
container-longevity: TORPEDO_IMG=$(DOCKER_HUB_REPO)/torpedo-longevity:$(DOCKER_HUB_TAG)
container-longevity:
@echo "Building longevity container "$(TORPEDO_IMG)
sudo DOCKER_BUILDKIT=1 docker build --tag $(TORPEDO_IMG) --build-arg MAKE_TARGET=build-longevity -f Dockerfile .


deploy: TORPEDO_IMG=$(DOCKER_HUB_REPO)/torpedo:$(DOCKER_HUB_TAG)
deploy: container
sudo docker push $(TORPEDO_IMG)
Expand All @@ -200,6 +220,10 @@ deploy-taas: TORPEDO_IMG=$(DOCKER_HUB_REPO)/taas:$(DOCKER_HUB_TAG)
deploy-taas: container-taas
sudo docker push $(TORPEDO_IMG)

deploy-longevity: TORPEDO_IMG=$(DOCKER_HUB_REPO)/torpedo-longevity:$(DOCKER_HUB_TAG)
deploy-longevity: container-longevity
sudo docker push $(TORPEDO_IMG)

clean:
-sudo rm -rf bin
-sudo find . -type f -name "*.test" -delete
Expand All @@ -211,6 +235,8 @@ clean:
-docker rmi -f $(DOCKER_HUB_REPO)/torpedo-backup:$(DOCKER_HUB_TAG)
@echo "Deleting taas image"
-docker rmi -f $(DOCKER_HUB_REPO)/torpedo-taas:$(DOCKER_HUB_TAG)
@echo "Deleting longevity image"
-docker rmi -f $(DOCKER_HUB_REPO)/torpedo-longevity:$(DOCKER_HUB_TAG)
go clean -i $(PKGS)

sidecar: sidecar-wp-cli
Expand Down
9 changes: 8 additions & 1 deletion apiServer/taas/apiserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,20 @@ func main() {
router.GET("taas/storagenodes", utils.GetStorageNodes)
router.GET("taas/storagelessnodes", utils.GetStorageLessNodes)
router.POST("taas/collectsupport", utils.CollectSupport)
router.POST("taas/scheduleapps/:appName", utils.ScheduleAppsAndValidate)
router.POST("taas/scheduleapps", utils.ScheduleAppsAndValidate)
router.POST("taas/deploypxagent", utils.ExecuteHelmCmd)
router.GET("taas/getclusterid/:namespace", utils.GetNamespaceID)
router.GET("taas/getclusternodestatus", utils.GetNodeStatus)
router.POST("taas/runhelmcmd", utils.ExecuteHelmCmd)
router.GET("taas/pxversion", utils.GetPxVersion)
router.GET("taas/ispxinstalled", utils.IsPxInstalled)
router.GET("taas/getpxctloutput", utils.GetPxctlStatusOutput)
router.GET("taas/getkubevirtvmsbyns", utils.GetVMsInNamespaces)
router.GET("taas/getkubevirtvmsbynslabels", utils.GetVMsWithNamespaceLabels)
router.POST("taas/namespaces/addLabel", utils.AddNSLabel)
router.POST("taas/stork/upgrade", utils.UpgradeStork)
router.DELETE("taas/deletepod", utils.DeletePod)
router.GET("taas/getpxbackupnamespace", utils.GetPxBackupNamespace)
router.POST("taas/createvolumesnapshotclass", utils.CreateVolumeSnapshotClass)
log.Fatal(router.Run(":8080"))
}
5 changes: 2 additions & 3 deletions apiServer/taas/utils/constants.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
package utils

import (
"github.com/portworx/sched-ops/k8s/core"
"time"

"github.com/portworx/sched-ops/k8s/core"
)

type HelmPayload struct {
Expand All @@ -24,8 +25,6 @@ const (
)

var (
errors []error
errChan = make(chan error, 100)
k8sCore = core.Instance()
)

Expand Down
33 changes: 33 additions & 0 deletions apiServer/taas/utils/k8sutils.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ import (
"fmt"
"github.com/gin-gonic/gin"
"github.com/portworx/torpedo/drivers/pds/lib"
"github.com/portworx/torpedo/pkg/log"
"github.com/portworx/torpedo/tests"
v1 "k8s.io/api/core/v1"
"net/http"
"os/exec"
Expand Down Expand Up @@ -117,3 +119,34 @@ func GetNodeStatus(c *gin.Context) {
"DegradedNodes": degradedNodes,
})
}

// CreateVolumeSnapshotClass creates volume snapshot class
func CreateVolumeSnapshotClass(c *gin.Context) {
log.Infof("Creating volume snapshot class")
var createVolumeSnapshotClassRequest struct {
VolumeSnapshotClassName string `json:"volumeSnapshotClassName"`
Provisioner string `json:"provisioner"`
IsDefaultVolumeSnapshotClass bool `json:"isDefaultVolumeSnapshotClass"`
DeletePolicy string `json:"deletePolicy"`
}
if !checkTorpedoInit(c) {
c.JSON(http.StatusInternalServerError, gin.H{
"error in init": fmt.Errorf("error in InitInstance()"),
})
return
}
if err := c.BindJSON(&createVolumeSnapshotClassRequest); err != nil {
c.JSON(http.StatusBadRequest, gin.H{"error for request": err.Error()})
return
}
if len(createVolumeSnapshotClassRequest.VolumeSnapshotClassName) == 0 || len(createVolumeSnapshotClassRequest.Provisioner) == 0 {
c.JSON(http.StatusBadRequest, gin.H{"error": "volumesnapshotclass name or provisioner cannot be empty", "vsc name": createVolumeSnapshotClassRequest.VolumeSnapshotClassName, "provisioner": createVolumeSnapshotClassRequest.Provisioner})
return
}
_, err := tests.Inst().S.CreateVolumeSnapshotClasses(createVolumeSnapshotClassRequest.VolumeSnapshotClassName, createVolumeSnapshotClassRequest.Provisioner, createVolumeSnapshotClassRequest.IsDefaultVolumeSnapshotClass, createVolumeSnapshotClassRequest.DeletePolicy)
if err != nil {
c.JSON(http.StatusInternalServerError, gin.H{"error": err.Error()})
return
}
c.JSON(http.StatusOK, gin.H{"message": fmt.Sprintf("VolumeSnapshotClass %v with provisioner %s and setting it as default: %v created successfully", createVolumeSnapshotClassRequest.VolumeSnapshotClassName, createVolumeSnapshotClassRequest.Provisioner, createVolumeSnapshotClassRequest.IsDefaultVolumeSnapshotClass)})
}
Loading