2025-06-05 02:00:41,765 - INFO - Reading existing Domain with UUID 92c00774-2743-4ed5-87aa-ed783cf65c82 2025-06-05 02:00:41,780 - INFO - Using existing domain ['admin_domain'](92c00774-2743-4ed5-87aa-ed783cf65c82) 2025-06-05 02:00:42,008 - INFO - Project ctest-TestBasicPolicy-22662393 not found, creating it 2025-06-05 02:00:42,565 - INFO - Created Project:ctest-TestBasicPolicy-22662393, ID : 1e103f0c-1d12-4354-8051-7a578f666e89 2025-06-05 02:00:44,431 - INFO - ================================================================================ 2025-06-05 02:00:44,431 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-05 02:00:44,432 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2025-06-05 02:00:44,823 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.0.0.33': '0'}} with 2025-06-05 02:00:44,824 - INFO - Initial checks done. Running the testcase now 2025-06-05 02:00:44,824 - INFO - 2025-06-05 02:00:45,655 - DEBUG - Response for create_network : {'network': {'id': '9abe87f4-a6eb-4192-871f-df5c50c46495', 'name': 'ctest-vn-54593953', 'tenant_id': '1e103f0c1d12435480517a578f666e89', 'project_id': '1e103f0c1d12435480517a578f666e89', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-22662393', 'ctest-vn-54593953'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-06-05 02:00:45,927 - DEBUG - Response for create_subnet : {'subnet': {'id': '1b0640dc-2894-4490-a4df-6bbe2acca01e', 'name': '', 'tenant_id': '1e103f0c1d12435480517a578f666e89', 'network_id': '9abe87f4-a6eb-4192-871f-df5c50c46495', 'ip_version': 4, 'cidr': '112.28.101.0/26', 'allocation_pools': [{'start': '112.28.101.2', 'end': '112.28.101.62'}], 'gateway_ip': '112.28.101.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-06-05T02:00:45.822724', 'updated_at': '2025-06-05T02:00:45.822724', 'dns_server_address': '112.28.101.2', 'tags': [], 'project_id': '1e103f0c1d12435480517a578f666e89'}} 2025-06-05 02:00:45,997 - INFO - Created VN ctest-vn-54593953 2025-06-05 02:00:46,054 - DEBUG - VN ctest-vn-54593953 UUID is 9abe87f4-a6eb-4192-871f-df5c50c46495 2025-06-05 02:00:46,598 - DEBUG - Response for create_network : {'network': {'id': '119a3f33-cf1f-4788-9e07-e56a2ed2726f', 'name': 'ctest-vn-12370613', 'tenant_id': '1e103f0c1d12435480517a578f666e89', 'project_id': '1e103f0c1d12435480517a578f666e89', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-22662393', 'ctest-vn-12370613'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-06-05 02:00:46,883 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b83ef529-2f3d-4ccb-85e8-02ed5e72f07d', 'name': '', 'tenant_id': '1e103f0c1d12435480517a578f666e89', 'network_id': '119a3f33-cf1f-4788-9e07-e56a2ed2726f', 'ip_version': 4, 'cidr': '4.139.170.0/26', 'allocation_pools': [{'start': '4.139.170.2', 'end': '4.139.170.62'}], 'gateway_ip': '4.139.170.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-06-05T02:00:46.773697', 'updated_at': '2025-06-05T02:00:46.773697', 'dns_server_address': '4.139.170.2', 'tags': [], 'project_id': '1e103f0c1d12435480517a578f666e89'}} 2025-06-05 02:00:46,953 - INFO - Created VN ctest-vn-12370613 2025-06-05 02:00:47,010 - DEBUG - VN ctest-vn-12370613 UUID is 119a3f33-cf1f-4788-9e07-e56a2ed2726f 2025-06-05 02:00:47,239 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = admin_domain:ctest-TestBasicPolicy-22662393:ctest-vn-54593953, security_group = None, network_policy = None, subnet_list = []], src_ports = [start_port = -1, end_port = -1], application = [], dst_addresses = [subnet = None, virtual_network = admin_domain:ctest-TestBasicPolicy-22662393:ctest-vn-12370613, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2025-06-05 02:00:47,662 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9abe87f4-a6eb-4192-871f-df5c50c46495', 'name': 'ctest-vn-54593953', 'tenant_id': '1e103f0c1d12435480517a578f666e89', 'project_id': '1e103f0c1d12435480517a578f666e89', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1b0640dc-2894-4490-a4df-6bbe2acca01e'], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-22662393', 'ctest-vn-54593953'], 'policys': [['admin_domain', 'ctest-TestBasicPolicy-22662393', 'ctest-policy-allow-all-52590627']], 'subnet_ipam': [{'subnet_cidr': '112.28.101.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2025-06-05T02:00:45.566819', 'updated_at': '2025-06-05T02:00:45.839276'}} 2025-06-05 02:00:48,034 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '119a3f33-cf1f-4788-9e07-e56a2ed2726f', 'name': 'ctest-vn-12370613', 'tenant_id': '1e103f0c1d12435480517a578f666e89', 'project_id': '1e103f0c1d12435480517a578f666e89', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b83ef529-2f3d-4ccb-85e8-02ed5e72f07d'], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-22662393', 'ctest-vn-12370613'], 'policys': [['admin_domain', 'ctest-TestBasicPolicy-22662393', 'ctest-policy-allow-all-52590627']], 'subnet_ipam': [{'subnet_cidr': '4.139.170.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2025-06-05T02:00:46.518081', 'updated_at': '2025-06-05T02:00:46.789847'}} 2025-06-05 02:00:48,278 - DEBUG - Requesting: https://10.0.0.33:8082/domains 2025-06-05 02:00:48,644 - DEBUG - Requesting: https://10.0.0.33:8082/domains 2025-06-05 02:00:48,731 - DEBUG - Requesting: https://10.0.0.33:8082/domain/92c00774-2743-4ed5-87aa-ed783cf65c82 2025-06-05 02:00:48,791 - DEBUG - Requesting: https://10.0.0.33:8082/project/1e103f0c-1d12-4354-8051-7a578f666e89 2025-06-05 02:00:48,880 - DEBUG - Requesting: https://10.0.0.33:8082/virtual-network/9abe87f4-a6eb-4192-871f-df5c50c46495 2025-06-05 02:00:48,940 - DEBUG - Requesting: https://10.0.0.33:8082/virtual-network/9abe87f4-a6eb-4192-871f-df5c50c46495 2025-06-05 02:00:49,000 - DEBUG - Requesting: https://10.0.0.33:8082/routing-instance/a862155d-7c47-45b7-aa88-ffb97b97d158 2025-06-05 02:00:49,055 - DEBUG - Requesting: https://10.0.0.33:8082/routing-instance/a862155d-7c47-45b7-aa88-ffb97b97d158 2025-06-05 02:00:49,111 - DEBUG - Requesting: https://10.0.0.33:8082/route-target/bd69d946-dec8-42c6-b2bb-d06b1a298e3b 2025-06-05 02:00:49,171 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-05 02:00:49,171 - DEBUG - Requesting: https://10.0.0.33:8082/virtual-network/9abe87f4-a6eb-4192-871f-df5c50c46495 2025-06-05 02:00:49,229 - DEBUG - Requesting: https://10.0.0.33:8082/routing-instance/a862155d-7c47-45b7-aa88-ffb97b97d158 2025-06-05 02:00:49,297 - INFO - Verified VN network id 7 for VN 9abe87f4-a6eb-4192-871f-df5c50c46495 2025-06-05 02:00:49,297 - INFO - Verifications in API Server for VN ctest-vn-54593953 passed 2025-06-05 02:00:49,297 - DEBUG - Requesting: https://10.0.0.33:8082/virtual-network/9abe87f4-a6eb-4192-871f-df5c50c46495 2025-06-05 02:00:49,357 - DEBUG - Requesting: https://10.0.0.33:8082/routing-instance/a862155d-7c47-45b7-aa88-ffb97b97d158 2025-06-05 02:00:49,411 - DEBUG - Requesting: https://10.0.0.33:8082/routing-instance/a862155d-7c47-45b7-aa88-ffb97b97d158 2025-06-05 02:00:49,467 - DEBUG - Requesting: https://10.0.0.33:8082/route-target/bd69d946-dec8-42c6-b2bb-d06b1a298e3b 2025-06-05 02:00:49,579 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicy-22662393:ctest-vn-54593953', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-22662393', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11150499212258132370', 'uuid-lslong': '9736746506983335061'}, 'enable': 'true', 'created': '2025-06-05T02:00:45', 'last-modified': '2025-06-05T02:00:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.939824'} 2025-06-05 02:00:49,632 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-05 02:00:49,632 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-54593953 passed 2025-06-05 02:00:49,632 - DEBUG - ====Verifying policy data for ctest-vn-54593953 in API_Server ====== 2025-06-05 02:00:49,633 - DEBUG - Requesting: https://10.0.0.33:8082/domains 2025-06-05 02:00:49,687 - DEBUG - Requesting: https://10.0.0.33:8082/domain/92c00774-2743-4ed5-87aa-ed783cf65c82 2025-06-05 02:00:49,751 - DEBUG - Requesting: https://10.0.0.33:8082/project/1e103f0c-1d12-4354-8051-7a578f666e89 2025-06-05 02:00:49,832 - DEBUG - Requesting: https://10.0.0.33:8082/virtual-network/9abe87f4-a6eb-4192-871f-df5c50c46495 2025-06-05 02:00:49,888 - DEBUG - ==>Verifying data for policy with id: 67e3f19a-acc5-4f6a-aab0-7d993c45d1a9, fqn: ['admin_domain', 'ctest-TestBasicPolicy-22662393', 'ctest-policy-allow-all-52590627'] 2025-06-05 02:00:49,888 - INFO - VN ctest-vn-54593953 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-05 02:00:49,888 - DEBUG - Verifying the vn in opserver 2025-06-05 02:00:49,888 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicy-22662393:ctest-vn-54593953 virtual network link through opserver 10.0.0.33 2025-06-05 02:00:49,888 - DEBUG - Requesting: https://10.0.0.33:8081/analytics/uves/virtual-networks 2025-06-05 02:00:50,253 - DEBUG - Requesting: https://10.0.0.33:8081/analytics/uves/virtual-networks 2025-06-05 02:00:50,383 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicy-22662393:ctest-vn-54593953', 'href': 'https://10.0.0.33:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicy-22662393:ctest-vn-54593953?flat'} 2025-06-05 02:00:50,383 - INFO - Validated that VN admin_domain:ctest-TestBasicPolicy-22662393:ctest-vn-54593953 is found in opserver 2025-06-05 02:00:50,490 - DEBUG - Do not have enough data to verify VN in agent 2025-06-05 02:00:50,542 - DEBUG - VRF ids for VN ctest-vn-54593953: {} 2025-06-05 02:00:50,543 - DEBUG - Requesting: https://10.0.0.33:8082/domains 2025-06-05 02:00:50,594 - DEBUG - Requesting: https://10.0.0.33:8082/domain/92c00774-2743-4ed5-87aa-ed783cf65c82 2025-06-05 02:00:50,655 - DEBUG - Requesting: https://10.0.0.33:8082/project/1e103f0c-1d12-4354-8051-7a578f666e89 2025-06-05 02:00:50,739 - DEBUG - Requesting: https://10.0.0.33:8082/virtual-network/119a3f33-cf1f-4788-9e07-e56a2ed2726f 2025-06-05 02:00:50,800 - DEBUG - Requesting: https://10.0.0.33:8082/virtual-network/119a3f33-cf1f-4788-9e07-e56a2ed2726f 2025-06-05 02:00:50,864 - DEBUG - Requesting: https://10.0.0.33:8082/routing-instance/328d8410-987b-4455-ac05-0f4f7934631a 2025-06-05 02:00:50,920 - DEBUG - Requesting: https://10.0.0.33:8082/routing-instance/328d8410-987b-4455-ac05-0f4f7934631a 2025-06-05 02:00:50,975 - DEBUG - Requesting: https://10.0.0.33:8082/route-target/820f7cae-708b-43aa-bc8c-1bda1b17bf82 2025-06-05 02:00:51,031 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-05 02:00:51,031 - DEBUG - Requesting: https://10.0.0.33:8082/virtual-network/119a3f33-cf1f-4788-9e07-e56a2ed2726f 2025-06-05 02:00:51,088 - DEBUG - Requesting: https://10.0.0.33:8082/routing-instance/328d8410-987b-4455-ac05-0f4f7934631a 2025-06-05 02:00:51,158 - INFO - Verified VN network id 8 for VN 119a3f33-cf1f-4788-9e07-e56a2ed2726f 2025-06-05 02:00:51,159 - INFO - Verifications in API Server for VN ctest-vn-12370613 passed 2025-06-05 02:00:51,159 - DEBUG - Requesting: https://10.0.0.33:8082/virtual-network/119a3f33-cf1f-4788-9e07-e56a2ed2726f 2025-06-05 02:00:51,216 - DEBUG - Requesting: https://10.0.0.33:8082/routing-instance/328d8410-987b-4455-ac05-0f4f7934631a 2025-06-05 02:00:51,271 - DEBUG - Requesting: https://10.0.0.33:8082/routing-instance/328d8410-987b-4455-ac05-0f4f7934631a 2025-06-05 02:00:51,327 - DEBUG - Requesting: https://10.0.0.33:8082/route-target/820f7cae-708b-43aa-bc8c-1bda1b17bf82 2025-06-05 02:00:51,439 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicy-22662393:ctest-vn-12370613', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-22662393', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1268395736809031560', 'uuid-lslong': '11387322427044426351'}, 'enable': 'true', 'created': '2025-06-05T02:00:46', 'last-modified': '2025-06-05T02:00:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:03.431264'} 2025-06-05 02:00:51,492 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-05 02:00:51,492 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-12370613 passed 2025-06-05 02:00:51,492 - DEBUG - ====Verifying policy data for ctest-vn-12370613 in API_Server ====== 2025-06-05 02:00:51,493 - DEBUG - Requesting: https://10.0.0.33:8082/domains 2025-06-05 02:00:51,550 - DEBUG - Requesting: https://10.0.0.33:8082/domain/92c00774-2743-4ed5-87aa-ed783cf65c82 2025-06-05 02:00:51,615 - DEBUG - Requesting: https://10.0.0.33:8082/project/1e103f0c-1d12-4354-8051-7a578f666e89 2025-06-05 02:00:51,704 - DEBUG - Requesting: https://10.0.0.33:8082/virtual-network/119a3f33-cf1f-4788-9e07-e56a2ed2726f 2025-06-05 02:00:51,764 - DEBUG - ==>Verifying data for policy with id: 67e3f19a-acc5-4f6a-aab0-7d993c45d1a9, fqn: ['admin_domain', 'ctest-TestBasicPolicy-22662393', 'ctest-policy-allow-all-52590627'] 2025-06-05 02:00:51,764 - INFO - VN ctest-vn-12370613 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-05 02:00:51,764 - DEBUG - Verifying the vn in opserver 2025-06-05 02:00:51,764 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicy-22662393:ctest-vn-12370613 virtual network link through opserver 10.0.0.33 2025-06-05 02:00:51,764 - DEBUG - Requesting: https://10.0.0.33:8081/analytics/uves/virtual-networks 2025-06-05 02:00:51,823 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicy-22662393:ctest-vn-12370613', 'href': 'https://10.0.0.33:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicy-22662393:ctest-vn-12370613?flat'} 2025-06-05 02:00:51,823 - INFO - Validated that VN admin_domain:ctest-TestBasicPolicy-22662393:ctest-vn-12370613 is found in opserver 2025-06-05 02:00:51,926 - DEBUG - Do not have enough data to verify VN in agent 2025-06-05 02:00:51,979 - DEBUG - VRF ids for VN ctest-vn-12370613: {} 2025-06-05 02:00:52,052 - DEBUG - Services list from nova: [, , ] 2025-06-05 02:00:54,215 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-543-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-543-1) 2025-06-05 02:00:56,267 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-543-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-543-1) 2025-06-05 02:00:56,268 - INFO - Waiting for VM ctest-TestBasicPolicy-22662393-23025862 to be up.. 2025-06-05 02:00:56,453 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-05 02:01:01,636 - DEBUG - VM is in ACTIVE state now 2025-06-05 02:01:01,636 - INFO - VM name : ctest-TestBasicPolicy-22662393-23025862 2025-06-05 02:01:01,811 - DEBUG - VM ctest-TestBasicPolicy-22662393-23025862 ID is 1f34f138-2f8f-439d-b2c9-5545be7a58ab 2025-06-05 02:01:01,855 - DEBUG - VM ctest-TestBasicPolicy-22662393-23025862 launched on Node cn-jenkins-deploy-platform-juju-os-543-1 2025-06-05 02:01:02,015 - DEBUG - Requesting: https://10.0.0.33:8082/virtual-machine/1f34f138-2f8f-439d-b2c9-5545be7a58ab 2025-06-05 02:01:02,075 - DEBUG - Requesting: https://10.0.0.33:8082/virtual-machine-interface/bd32bc90-2909-4d15-8724-58bc528359bf 2025-06-05 02:01:05,602 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1032ms') 2025-06-05 02:01:05,602 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-22662393-23025862 failed! 2025-06-05 02:01:05,662 - DEBUG - Gateway for vn admin_domain:ctest-TestBasicPolicy-22662393:ctest-vn-54593953 is 112.28.101.1 and allocation pool is NOT set 2025-06-05 02:01:07,762 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=5.11 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=7.83 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 5.110/6.470/7.831/1.360 ms') 2025-06-05 02:01:07,762 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-22662393-23025862 passed 2025-06-05 02:01:07,930 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-05 02:01:07,933 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-22662393-23025862, IP 112.28.101.3, Port 22 2025-06-05 02:01:08,156 - DEBUG - VM ctest-TestBasicPolicy-22662393-23025862 is ready for SSH connections 2025-06-05 02:01:08,156 - INFO - Waiting for VM ctest-TestBasicPolicy-22662393-19332702 to be up.. 2025-06-05 02:01:08,314 - DEBUG - VM is in ACTIVE state now 2025-06-05 02:01:08,314 - INFO - VM name : ctest-TestBasicPolicy-22662393-19332702 2025-06-05 02:01:08,513 - DEBUG - VM ctest-TestBasicPolicy-22662393-19332702 ID is 4d0e68d7-a126-4a41-bbb5-923a615590f5 2025-06-05 02:01:08,513 - DEBUG - VM ctest-TestBasicPolicy-22662393-19332702 launched on Node cn-jenkins-deploy-platform-juju-os-543-1 2025-06-05 02:01:08,703 - DEBUG - Requesting: https://10.0.0.33:8082/virtual-machine/4d0e68d7-a126-4a41-bbb5-923a615590f5 2025-06-05 02:01:08,763 - DEBUG - Requesting: https://10.0.0.33:8082/virtual-machine-interface/24c14570-3604-4e5d-8231-8b280280febd 2025-06-05 02:01:10,250 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=2.89 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.549 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.549/1.717/2.886/1.168 ms') 2025-06-05 02:01:10,250 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-22662393-19332702 passed 2025-06-05 02:01:10,406 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-05 02:01:10,406 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-22662393-19332702, IP 4.139.170.3, Port 22 2025-06-05 02:01:10,620 - DEBUG - VM ctest-TestBasicPolicy-22662393-19332702 is ready for SSH connections 2025-06-05 02:01:10,620 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-05 02:01:10,620 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 4.139.170.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-06-05 02:01:10,620 - DEBUG - ping -s 56 -c 3 -W 1 4.139.170.3 2025-06-05 02:01:14,853 - DEBUG - PING 4.139.170.3 (4.139.170.3): 56 data bytes 64 bytes from 4.139.170.3: seq=0 ttl=63 time=5.222 ms 64 bytes from 4.139.170.3: seq=1 ttl=63 time=0.785 ms 64 bytes from 4.139.170.3: seq=2 ttl=63 time=1.085 ms --- 4.139.170.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.785/2.364/5.222 ms 2025-06-05 02:01:14,853 - INFO - Ping to IP 4.139.170.3 from VM ctest-TestBasicPolicy-22662393-23025862 passed 2025-06-05 02:01:15,057 - DEBUG - Policy Update Response {"network-policy": {"uuid": "67e3f19a-acc5-4f6a-aab0-7d993c45d1a9", "href": "https://10.0.0.33:8082/network-policy/67e3f19a-acc5-4f6a-aab0-7d993c45d1a9"}} 2025-06-05 02:01:15,058 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-05 02:01:15,058 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 4.139.170.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-06-05 02:01:15,058 - DEBUG - ping -s 56 -c 3 -W 1 4.139.170.3 2025-06-05 02:01:18,304 - DEBUG - PING 4.139.170.3 (4.139.170.3): 56 data bytes --- 4.139.170.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-06-05 02:01:18,305 - WARNING - Ping to IP 4.139.170.3 from VM ctest-TestBasicPolicy-22662393-23025862 failed 2025-06-05 02:01:18,305 - INFO - Deleting VM ctest-TestBasicPolicy-22662393-19332702 2025-06-05 02:01:18,458 - INFO - Deleting VM ctest-TestBasicPolicy-22662393-23025862 2025-06-05 02:01:19,231 - INFO - Deleted policy ctest-policy-allow-all-52590627 2025-06-05 02:01:19,231 - INFO - Deleting VN ctest-vn-12370613 2025-06-05 02:01:19,378 - DEBUG - VN 119a3f33-cf1f-4788-9e07-e56a2ed2726f still in use: Unable to complete operation on network 119a3f33-cf1f-4788-9e07-e56a2ed2726f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a28ebd0c-737b-4238-aabb-1e0a4bc6ccd5'] 2025-06-05 02:01:19,378 - WARNING - Deleting VN ctest-vn-12370613 failed..Will retry 2025-06-05 02:01:21,568 - DEBUG - Response for deleting network () 2025-06-05 02:01:21,568 - DEBUG - Requesting: https://10.0.0.33:8082/routing-instance/328d8410-987b-4455-ac05-0f4f7934631a 2025-06-05 02:01:21,626 - DEBUG - Response Code: 404 2025-06-05 02:01:21,626 - DEBUG - Requesting: https://10.0.0.33:8082/domains 2025-06-05 02:01:21,679 - DEBUG - Requesting: https://10.0.0.33:8082/domain/92c00774-2743-4ed5-87aa-ed783cf65c82 2025-06-05 02:01:21,739 - DEBUG - Requesting: https://10.0.0.33:8082/project/1e103f0c-1d12-4354-8051-7a578f666e89 2025-06-05 02:01:21,828 - INFO - Validated that VN ctest-vn-12370613 is not found in API Server 2025-06-05 02:01:21,931 - DEBUG - VN ctest-vn-12370613 is not present in Agent 10.0.0.33 2025-06-05 02:01:21,931 - INFO - Validated that VN ctest-vn-12370613 is not in any agent 2025-06-05 02:01:22,091 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-12370613 info 2025-06-05 02:01:22,091 - INFO - Deleting VN ctest-vn-54593953 2025-06-05 02:01:22,278 - DEBUG - Response for deleting network () 2025-06-05 02:01:22,279 - DEBUG - Requesting: https://10.0.0.33:8082/routing-instance/a862155d-7c47-45b7-aa88-ffb97b97d158 2025-06-05 02:01:22,330 - DEBUG - Response Code: 404 2025-06-05 02:01:22,330 - DEBUG - Requesting: https://10.0.0.33:8082/domains 2025-06-05 02:01:22,383 - DEBUG - Requesting: https://10.0.0.33:8082/domain/92c00774-2743-4ed5-87aa-ed783cf65c82 2025-06-05 02:01:22,443 - DEBUG - Requesting: https://10.0.0.33:8082/project/1e103f0c-1d12-4354-8051-7a578f666e89 2025-06-05 02:01:22,527 - INFO - Validated that VN ctest-vn-54593953 is not found in API Server 2025-06-05 02:01:22,631 - DEBUG - VN ctest-vn-54593953 is not present in Agent 10.0.0.33 2025-06-05 02:01:22,631 - INFO - Validated that VN ctest-vn-54593953 is not in any agent 2025-06-05 02:01:22,787 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-54593953 info 2025-06-05 02:01:23,183 - DEBUG - No XMPP flaps were noticed during the test
2025-06-05 02:01:23,183 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:39]
2025-06-05 02:01:23,183 - INFO - -------------------------------------------------------------------------------- 2025-06-05 02:01:24,011 - INFO - Deleted project: ctest-TestBasicPolicy-22662393, ID : 1e103f0c-1d12-4354-8051-7a578f666e89