Skip to content

Commit ab80899

Browse files
authored
Revert "Add e2e tests for listing resources (#8281)" (#8396)
This reverts commit 1411da1.
1 parent 26214ea commit ab80899

13 files changed

+45
-2910
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -194,15 +194,8 @@ jobs:
194194
component/test_vpc_network
195195
component/test_vpc_offerings
196196
component/test_vpc_routers
197-
component/test_vpn_users
198-
component/test_vpc_network_lbrules",
199-
"smoke/test_list_accounts
200-
smoke/test_list_disk_offerings
201-
smoke/test_list_domains
202-
smoke/test_list_hosts
203-
smoke/test_list_service_offerings
204-
smoke/test_list_storage_pools
205-
smoke/test_list_volumes"]
197+
component/test_vpn_users",
198+
"component/test_vpc_network_lbrules" ]
206199

207200
steps:
208201
- uses: actions/checkout@v4
@@ -285,7 +278,7 @@ jobs:
285278
while ! nc -vzw 5 localhost 8096 2>&1 > /dev/null; do grep Exception /tmp/jetty-log; sleep 10; done
286279
set -e
287280
echo -e "\nStarting Advanced Zone DataCenter deployment"
288-
python3 tools/marvin/marvin/deployDataCenter.py -i setup/dev/advdualzone.cfg 2>&1 || true
281+
python3 tools/marvin/marvin/deployDataCenter.py -i setup/dev/advanced.cfg 2>&1 || true
289282
290283
- name: Run Integration Tests with Simulator
291284
run: |
@@ -298,7 +291,7 @@ jobs:
298291
TESTS=($(echo $TESTS | tr -d '\n' | tr -s ' '))
299292
for suite in "${TESTS[@]}" ; do
300293
echo -e "Currently running test: $suite\n"
301-
time nosetests-3.4 --with-xunit --xunit-file=integration-test-results/$suite.xml --with-marvin --marvin-config=setup/dev/advdualzone.cfg test/integration/$suite.py -s -a tags=advanced,required_hardware=false --zone=zim1 --hypervisor=simulator || true ;
294+
time nosetests-3.4 --with-xunit --xunit-file=integration-test-results/$suite.xml --with-marvin --marvin-config=setup/dev/advanced.cfg test/integration/$suite.py -s -a tags=advanced,required_hardware=false --zone=Sandbox-simulator --hypervisor=simulator || true ;
302295
done
303296
304297
echo -e "Stopping Simulator, integration tests run completed\n"

setup/dev/advdualzone.cfg

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@
1818
"zones": [
1919
{
2020
"name": "zim1",
21-
"guestcidraddress": "10.1.1.0/24",
22-
"dns1": "10.147.28.6",
21+
"guestcidraddress": "10.100.1.0/24",
22+
"dns1": "10.147.100.6",
2323
"physical_networks": [
2424
{
2525
"broadcastdomainrange": "Zone",
26-
"vlan": "100-200",
26+
"vlan": "1100-1200",
2727
"name": "z1-pnet",
2828
"traffictypes": [
2929
{
@@ -63,19 +63,19 @@
6363
},
6464
"ipranges": [
6565
{
66-
"startip": "192.168.2.2",
67-
"endip": "192.168.2.200",
66+
"startip": "192.168.100.2",
67+
"endip": "192.168.100.200",
6868
"netmask": "255.255.255.0",
6969
"vlan": "50",
70-
"gateway": "192.168.2.1"
70+
"gateway": "192.168.100.1"
7171
}
7272
],
7373
"networktype": "Advanced",
7474
"pods": [
7575
{
76-
"endip": "172.16.15.200",
76+
"endip": "172.16.100.200",
7777
"name": "Z1P1",
78-
"startip": "172.16.15.2",
78+
"startip": "172.16.100.2",
7979
"netmask": "255.255.255.0",
8080
"clusters": [
8181
{
@@ -96,11 +96,11 @@
9696
"clustertype": "CloudManaged",
9797
"primaryStorages": [
9898
{
99-
"url": "nfs://10.147.28.6:/export/home/sandbox/z1p1",
99+
"url": "nfs://10.147.100.6:/export/home/sandbox/z1p1",
100100
"name": "Z1PS1"
101101
},
102102
{
103-
"url": "nfs://10.147.28.6:/export/home/sandbox/z1p2",
103+
"url": "nfs://10.147.100.6:/export/home/sandbox/z1p2",
104104
"name": "Z1PS2"
105105
}
106106
]
@@ -123,35 +123,35 @@
123123
"clustertype": "CloudManaged",
124124
"primaryStorages": [
125125
{
126-
"url": "nfs://10.147.28.6:/export/home/sandbox/z1p3",
126+
"url": "nfs://10.147.100.6:/export/home/sandbox/z1p3",
127127
"name": "Z1PS3"
128128
},
129129
{
130-
"url": "nfs://10.147.28.6:/export/home/sandbox/z1p4",
130+
"url": "nfs://10.147.100.6:/export/home/sandbox/z1p4",
131131
"name": "Z1PS4"
132132
}
133133
]
134134
}
135135
],
136-
"gateway": "172.16.15.1"
136+
"gateway": "172.16.100.1"
137137
}
138138
],
139-
"internaldns1": "10.147.28.6",
139+
"internaldns1": "10.147.100.6",
140140
"secondaryStorages": [
141141
{
142-
"url": "nfs://10.147.28.6:/export/home/sandbox/z1secondary",
142+
"url": "nfs://10.147.100.6:/export/home/sandbox/z1secondary",
143143
"provider" : "NFS"
144144
}
145145
]
146146
},
147147
{
148148
"name": "zim2",
149-
"guestcidraddress": "10.1.2.0/24",
150-
"dns1": "10.147.29.6",
149+
"guestcidraddress": "10.200.1.0/24",
150+
"dns1": "10.147.200.6",
151151
"physical_networks": [
152152
{
153153
"broadcastdomainrange": "Zone",
154-
"vlan": "300-400",
154+
"vlan": "2100-2200",
155155
"name": "z2-pnet",
156156
"traffictypes": [
157157
{
@@ -191,19 +191,19 @@
191191
},
192192
"ipranges": [
193193
{
194-
"startip": "192.168.3.2",
195-
"endip": "192.168.3.200",
194+
"startip": "192.168.200.2",
195+
"endip": "192.168.200.200",
196196
"netmask": "255.255.255.0",
197-
"vlan": "51",
198-
"gateway": "192.168.3.1"
197+
"vlan": "50",
198+
"gateway": "192.168.200.1"
199199
}
200200
],
201201
"networktype": "Advanced",
202202
"pods": [
203203
{
204-
"endip": "172.16.16.200",
204+
"endip": "172.16.200.200",
205205
"name": "Z2P1",
206-
"startip": "172.16.16.2",
206+
"startip": "172.16.200.2",
207207
"netmask": "255.255.255.0",
208208
"clusters": [
209209
{
@@ -224,11 +224,11 @@
224224
"clustertype": "CloudManaged",
225225
"primaryStorages": [
226226
{
227-
"url": "nfs://10.147.29.6:/export/home/sandbox/z2p1",
227+
"url": "nfs://10.147.200.6:/export/home/sandbox/z2p1",
228228
"name": "Z2PS1"
229229
},
230230
{
231-
"url": "nfs://10.147.29.6:/export/home/sandbox/z2p2",
231+
"url": "nfs://10.147.200.6:/export/home/sandbox/z2p2",
232232
"name": "Z2PS2"
233233
}
234234
]
@@ -251,20 +251,20 @@
251251
"clustertype": "CloudManaged",
252252
"primaryStorages": [
253253
{
254-
"url": "nfs://10.147.29.6:/export/home/sandbox/z2p3",
254+
"url": "nfs://10.147.200.6:/export/home/sandbox/z2p3",
255255
"name": "Z2PS3"
256256
},
257257
{
258-
"url": "nfs://10.147.29.6:/export/home/sandbox/z2p4",
258+
"url": "nfs://10.147.200.6:/export/home/sandbox/z2p4",
259259
"name": "Z2PS4"
260260
}
261261
]
262262
}
263263
],
264-
"gateway": "172.16.16.1"
264+
"gateway": "172.16.200.1"
265265
}
266266
],
267-
"internaldns1": "10.147.29.6",
267+
"internaldns1": "10.147.200.6",
268268
"secondaryStorages": [
269269
{
270270
"url": "nfs://10.147.200.6:/export/home/sandbox/z2secondary",

test/integration/component/test_affinity_groups_projects.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1065,7 +1065,7 @@ def test_02_deploy_vm_anti_affinity_group_fail_on_not_enough_hosts(self):
10651065
"""
10661066
test DeployVM in anti-affinity groups with more vms than hosts.
10671067
"""
1068-
hosts = list_hosts(self.api_client, type="routing", zoneid=self.zone.id)
1068+
hosts = list_hosts(self.api_client, type="routing")
10691069
aff_grp = self.create_aff_grp(self.account_api_client)
10701070
vms = []
10711071
for host in hosts:

0 commit comments

Comments
 (0)