2025-06-18 17:55:38,638 - INFO - Domain Default found not creating 2025-06-18 17:55:38,857 - INFO - Project ctest-TestBasicPolicy-78437786 not found, creating it 2025-06-18 17:55:39,346 - INFO - Created Project:ctest-TestBasicPolicy-78437786, ID : e73d93bf-ae0c-46de-bbbc-f4784652819e 2025-06-18 17:55:40,935 - INFO - ================================================================================ 2025-06-18 17:55:40,935 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-18 17:55:40,935 - 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-18 17:55:41,196 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-06-18 17:55:41,196 - INFO - Initial checks done. Running the testcase now 2025-06-18 17:55:41,196 - INFO - 2025-06-18 17:55:41,885 - DEBUG - Response for create_network : {'network': {'id': '3558b4fe-1205-47b6-a33b-e46a3f9e6866', 'name': 'ctest-vn-85707192', 'tenant_id': 'e73d93bfae0c46debbbcf4784652819e', 'project_id': 'e73d93bfae0c46debbbcf4784652819e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78437786', 'ctest-vn-85707192'], 'port_security_enabled': True, 'description': ''}} 2025-06-18 17:55:42,117 - DEBUG - Response for create_subnet : {'subnet': {'id': '5a85d161-b46a-40d3-b7d2-7c455866ade4', 'name': '', 'tenant_id': 'e73d93bfae0c46debbbcf4784652819e', 'network_id': '3558b4fe-1205-47b6-a33b-e46a3f9e6866', 'ip_version': 4, 'cidr': '69.153.195.0/26', 'allocation_pools': [{'start': '69.153.195.2', 'end': '69.153.195.62'}], 'gateway_ip': '69.153.195.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '69.153.195.2', 'tags': [], 'project_id': 'e73d93bfae0c46debbbcf4784652819e'}} 2025-06-18 17:55:42,137 - INFO - Created VN ctest-vn-85707192 2025-06-18 17:55:42,192 - DEBUG - VN ctest-vn-85707192 UUID is 3558b4fe-1205-47b6-a33b-e46a3f9e6866 2025-06-18 17:55:42,521 - DEBUG - Response for create_network : {'network': {'id': '6058c7bf-cc1d-466b-84f1-d001efcea291', 'name': 'ctest-vn-20674400', 'tenant_id': 'e73d93bfae0c46debbbcf4784652819e', 'project_id': 'e73d93bfae0c46debbbcf4784652819e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78437786', 'ctest-vn-20674400'], 'port_security_enabled': True, 'description': ''}} 2025-06-18 17:55:42,735 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f4158c54-c04c-4ba2-addb-23af1e8cc736', 'name': '', 'tenant_id': 'e73d93bfae0c46debbbcf4784652819e', 'network_id': '6058c7bf-cc1d-466b-84f1-d001efcea291', 'ip_version': 4, 'cidr': '57.124.185.128/26', 'allocation_pools': [{'start': '57.124.185.130', 'end': '57.124.185.190'}], 'gateway_ip': '57.124.185.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '57.124.185.130', 'tags': [], 'project_id': 'e73d93bfae0c46debbbcf4784652819e'}} 2025-06-18 17:55:42,755 - INFO - Created VN ctest-vn-20674400 2025-06-18 17:55:42,808 - DEBUG - VN ctest-vn-20674400 UUID is 6058c7bf-cc1d-466b-84f1-d001efcea291 2025-06-18 17:55:42,932 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-78437786:ctest-vn-85707192, security_group = None, network_policy = None, subnet_list = []], src_ports = [start_port = -1, end_port = -1], application = [], dst_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-78437786:ctest-vn-20674400, 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-18 17:55:43,255 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3558b4fe-1205-47b6-a33b-e46a3f9e6866', 'name': 'ctest-vn-85707192', 'tenant_id': 'e73d93bfae0c46debbbcf4784652819e', 'project_id': 'e73d93bfae0c46debbbcf4784652819e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5a85d161-b46a-40d3-b7d2-7c455866ade4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78437786', 'ctest-vn-85707192'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-78437786', 'ctest-policy-allow-all-83702719']], 'subnet_ipam': [{'subnet_cidr': '69.153.195.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-18 17:55:43,514 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6058c7bf-cc1d-466b-84f1-d001efcea291', 'name': 'ctest-vn-20674400', 'tenant_id': 'e73d93bfae0c46debbbcf4784652819e', 'project_id': 'e73d93bfae0c46debbbcf4784652819e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f4158c54-c04c-4ba2-addb-23af1e8cc736'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78437786', 'ctest-vn-20674400'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-78437786', 'ctest-policy-allow-all-83702719']], 'subnet_ipam': [{'subnet_cidr': '57.124.185.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-18 17:55:43,692 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-18 17:55:44,003 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-18 17:55:44,039 - DEBUG - Requesting: http://10.0.0.38:8082/domain/82dfa0ba-87e0-4353-9d02-98b9a04c6a21 2025-06-18 17:55:44,055 - DEBUG - Requesting: http://10.0.0.38:8082/project/e73d93bf-ae0c-46de-bbbc-f4784652819e 2025-06-18 17:55:44,138 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3558b4fe-1205-47b6-a33b-e46a3f9e6866 2025-06-18 17:55:44,152 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3558b4fe-1205-47b6-a33b-e46a3f9e6866 2025-06-18 17:55:44,163 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a14745ce-9368-4212-8bde-87dc9f96963d 2025-06-18 17:55:44,171 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a14745ce-9368-4212-8bde-87dc9f96963d 2025-06-18 17:55:44,181 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/19314e20-e961-4bc4-9bcb-35be1c1126fb 2025-06-18 17:55:44,188 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-18 17:55:44,189 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3558b4fe-1205-47b6-a33b-e46a3f9e6866 2025-06-18 17:55:44,199 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a14745ce-9368-4212-8bde-87dc9f96963d 2025-06-18 17:55:44,215 - INFO - Verified VN network id 9 for VN 3558b4fe-1205-47b6-a33b-e46a3f9e6866 2025-06-18 17:55:44,215 - INFO - Verifications in API Server for VN ctest-vn-85707192 passed 2025-06-18 17:55:44,215 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3558b4fe-1205-47b6-a33b-e46a3f9e6866 2025-06-18 17:55:44,227 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a14745ce-9368-4212-8bde-87dc9f96963d 2025-06-18 17:55:44,236 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a14745ce-9368-4212-8bde-87dc9f96963d 2025-06-18 17:55:44,245 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/19314e20-e961-4bc4-9bcb-35be1c1126fb 2025-06-18 17:55:44,259 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-78437786:ctest-vn-85707192', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-78437786', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3844021285277747126', 'uuid-lslong': '11762245996793194598'}, 'enable': 'true', 'created': '2025-06-18T17:55:41', 'last-modified': '2025-06-18T17:55:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.028983'} 2025-06-18 17:55:44,267 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-18 17:55:44,267 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-85707192 passed 2025-06-18 17:55:44,267 - DEBUG - ====Verifying policy data for ctest-vn-85707192 in API_Server ====== 2025-06-18 17:55:44,267 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-18 17:55:44,275 - DEBUG - Requesting: http://10.0.0.38:8082/domain/82dfa0ba-87e0-4353-9d02-98b9a04c6a21 2025-06-18 17:55:44,290 - DEBUG - Requesting: http://10.0.0.38:8082/project/e73d93bf-ae0c-46de-bbbc-f4784652819e 2025-06-18 17:55:44,378 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3558b4fe-1205-47b6-a33b-e46a3f9e6866 2025-06-18 17:55:44,389 - DEBUG - ==>Verifying data for policy with id: 5d80556f-a29d-4e00-ba69-ab49374dc29b, fqn: ['default-domain', 'ctest-TestBasicPolicy-78437786', 'ctest-policy-allow-all-83702719'] 2025-06-18 17:55:44,389 - INFO - VN ctest-vn-85707192 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-18 17:55:44,389 - DEBUG - Verifying the vn in opserver 2025-06-18 17:55:44,390 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-78437786:ctest-vn-85707192 virtual network link through opserver 10.0.0.38 2025-06-18 17:55:44,390 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-06-18 17:55:44,700 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-06-18 17:55:44,766 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-78437786:ctest-vn-85707192', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-78437786:ctest-vn-85707192?flat'} 2025-06-18 17:55:44,766 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-78437786:ctest-vn-85707192 is found in opserver 2025-06-18 17:55:44,778 - DEBUG - Do not have enough data to verify VN in agent 2025-06-18 17:55:44,784 - DEBUG - VRF ids for VN ctest-vn-85707192: {} 2025-06-18 17:55:44,784 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-18 17:55:44,790 - DEBUG - Requesting: http://10.0.0.38:8082/domain/82dfa0ba-87e0-4353-9d02-98b9a04c6a21 2025-06-18 17:55:44,804 - DEBUG - Requesting: http://10.0.0.38:8082/project/e73d93bf-ae0c-46de-bbbc-f4784652819e 2025-06-18 17:55:44,894 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6058c7bf-cc1d-466b-84f1-d001efcea291 2025-06-18 17:55:44,910 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6058c7bf-cc1d-466b-84f1-d001efcea291 2025-06-18 17:55:44,922 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/95f1c8bb-0a0f-44e4-9cab-b4f8bc142e3d 2025-06-18 17:55:44,931 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/95f1c8bb-0a0f-44e4-9cab-b4f8bc142e3d 2025-06-18 17:55:44,939 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/8e72eb6e-ba32-47eb-ac68-0f97dae65abd 2025-06-18 17:55:44,947 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-18 17:55:44,947 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6058c7bf-cc1d-466b-84f1-d001efcea291 2025-06-18 17:55:44,957 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/95f1c8bb-0a0f-44e4-9cab-b4f8bc142e3d 2025-06-18 17:55:44,974 - INFO - Verified VN network id 10 for VN 6058c7bf-cc1d-466b-84f1-d001efcea291 2025-06-18 17:55:44,974 - INFO - Verifications in API Server for VN ctest-vn-20674400 passed 2025-06-18 17:55:44,974 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6058c7bf-cc1d-466b-84f1-d001efcea291 2025-06-18 17:55:44,984 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/95f1c8bb-0a0f-44e4-9cab-b4f8bc142e3d 2025-06-18 17:55:44,992 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/95f1c8bb-0a0f-44e4-9cab-b4f8bc142e3d 2025-06-18 17:55:44,999 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/8e72eb6e-ba32-47eb-ac68-0f97dae65abd 2025-06-18 17:55:45,014 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-78437786:ctest-vn-20674400', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-78437786', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6942518452168771179', 'uuid-lslong': '9579666589130597009'}, 'enable': 'true', 'created': '2025-06-18T17:55:42', 'last-modified': '2025-06-18T17:55:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.531405'} 2025-06-18 17:55:45,024 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-18 17:55:45,024 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-20674400 passed 2025-06-18 17:55:45,024 - DEBUG - ====Verifying policy data for ctest-vn-20674400 in API_Server ====== 2025-06-18 17:55:45,024 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-18 17:55:45,030 - DEBUG - Requesting: http://10.0.0.38:8082/domain/82dfa0ba-87e0-4353-9d02-98b9a04c6a21 2025-06-18 17:55:45,043 - DEBUG - Requesting: http://10.0.0.38:8082/project/e73d93bf-ae0c-46de-bbbc-f4784652819e 2025-06-18 17:55:45,125 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6058c7bf-cc1d-466b-84f1-d001efcea291 2025-06-18 17:55:45,138 - DEBUG - ==>Verifying data for policy with id: 5d80556f-a29d-4e00-ba69-ab49374dc29b, fqn: ['default-domain', 'ctest-TestBasicPolicy-78437786', 'ctest-policy-allow-all-83702719'] 2025-06-18 17:55:45,138 - INFO - VN ctest-vn-20674400 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-18 17:55:45,138 - DEBUG - Verifying the vn in opserver 2025-06-18 17:55:45,138 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-78437786:ctest-vn-20674400 virtual network link through opserver 10.0.0.38 2025-06-18 17:55:45,138 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-06-18 17:55:45,151 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-78437786:ctest-vn-20674400', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-78437786:ctest-vn-20674400?flat'} 2025-06-18 17:55:45,151 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-78437786:ctest-vn-20674400 is found in opserver 2025-06-18 17:55:45,164 - DEBUG - Do not have enough data to verify VN in agent 2025-06-18 17:55:45,171 - DEBUG - VRF ids for VN ctest-vn-20674400: {} 2025-06-18 17:55:45,244 - DEBUG - Services list from nova: [, , ] 2025-06-18 17:55:46,450 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3477-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3477-1) 2025-06-18 17:55:47,933 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3477-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3477-1) 2025-06-18 17:55:47,934 - INFO - Waiting for VM ctest-TestBasicPolicy-78437786-92968401 to be up.. 2025-06-18 17:55:48,046 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-18 17:55:53,158 - DEBUG - VM is in ACTIVE state now 2025-06-18 17:55:53,158 - INFO - VM name : ctest-TestBasicPolicy-78437786-92968401 2025-06-18 17:55:53,251 - DEBUG - VM ctest-TestBasicPolicy-78437786-92968401 ID is 0648e90c-bfe4-4937-8655-9d936637f981 2025-06-18 17:55:53,276 - DEBUG - VM ctest-TestBasicPolicy-78437786-92968401 launched on Node cn-jenkins-deploy-platform-ansible-os-3477-1 2025-06-18 17:55:53,390 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/0648e90c-bfe4-4937-8655-9d936637f981 2025-06-18 17:55:53,400 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/0d7e4a40-acc7-4a33-b31c-4f38ab8325e9 2025-06-18 17:55:56,669 - 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 1017ms') 2025-06-18 17:55:56,669 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-78437786-92968401 failed! 2025-06-18 17:55:56,724 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-78437786:ctest-vn-85707192 is 69.153.195.1 and allocation pool is NOT set 2025-06-18 17:55:58,790 - 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=6.90 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.589 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 = 0.589/3.743/6.898/3.154 ms') 2025-06-18 17:55:58,790 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-78437786-92968401 passed 2025-06-18 17:55:58,948 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-18 17:55:58,948 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-78437786-92968401, IP 69.153.195.3, Port 22 2025-06-18 17:55:59,118 - DEBUG - VM ctest-TestBasicPolicy-78437786-92968401 is ready for SSH connections 2025-06-18 17:55:59,119 - INFO - Waiting for VM ctest-TestBasicPolicy-78437786-27379751 to be up.. 2025-06-18 17:55:59,219 - DEBUG - VM is in ACTIVE state now 2025-06-18 17:55:59,219 - INFO - VM name : ctest-TestBasicPolicy-78437786-27379751 2025-06-18 17:55:59,306 - DEBUG - VM ctest-TestBasicPolicy-78437786-27379751 ID is f0d38eda-b2fb-453e-946c-84a141eb94f1 2025-06-18 17:55:59,306 - DEBUG - VM ctest-TestBasicPolicy-78437786-27379751 launched on Node cn-jenkins-deploy-platform-ansible-os-3477-1 2025-06-18 17:55:59,399 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/f0d38eda-b2fb-453e-946c-84a141eb94f1 2025-06-18 17:55:59,410 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/2967c016-14b6-4486-bb35-792005cfe115 2025-06-18 17:56:00,669 - 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=4.03 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.881 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.881/2.457/4.034/1.576 ms') 2025-06-18 17:56:00,669 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-78437786-27379751 passed 2025-06-18 17:56:00,824 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-18 17:56:00,824 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-78437786-27379751, IP 57.124.185.131, Port 22 2025-06-18 17:56:00,980 - DEBUG - VM ctest-TestBasicPolicy-78437786-27379751 is ready for SSH connections 2025-06-18 17:56:00,980 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-18 17:56:00,980 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 57.124.185.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-06-18 17:56:00,980 - DEBUG - ping -s 56 -c 3 -W 1 57.124.185.131 2025-06-18 17:56:04,720 - DEBUG - PING 57.124.185.131 (57.124.185.131): 56 data bytes 64 bytes from 57.124.185.131: seq=0 ttl=63 time=3.536 ms 64 bytes from 57.124.185.131: seq=1 ttl=63 time=0.920 ms 64 bytes from 57.124.185.131: seq=2 ttl=63 time=1.100 ms --- 57.124.185.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.920/1.852/3.536 ms 2025-06-18 17:56:04,720 - INFO - Ping to IP 57.124.185.131 from VM ctest-TestBasicPolicy-78437786-92968401 passed 2025-06-18 17:56:04,916 - DEBUG - Policy Update Response {"network-policy": {"uuid": "5d80556f-a29d-4e00-ba69-ab49374dc29b", "href": "http://10.0.0.38:8082/network-policy/5d80556f-a29d-4e00-ba69-ab49374dc29b"}} 2025-06-18 17:56:04,916 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-18 17:56:04,916 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 57.124.185.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-06-18 17:56:04,916 - DEBUG - ping -s 56 -c 3 -W 1 57.124.185.131 2025-06-18 17:56:08,170 - DEBUG - PING 57.124.185.131 (57.124.185.131): 56 data bytes 64 bytes from 57.124.185.131: seq=0 ttl=63 time=1.448 ms --- 57.124.185.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.448/1.448/1.448 ms 2025-06-18 17:56:08,170 - WARNING - Ping to IP 57.124.185.131 from VM ctest-TestBasicPolicy-78437786-92968401 failed 2025-06-18 17:56:08,170 - INFO - Deleting VM ctest-TestBasicPolicy-78437786-27379751 2025-06-18 17:56:08,302 - INFO - Deleting VM ctest-TestBasicPolicy-78437786-92968401 2025-06-18 17:56:08,795 - INFO - Deleted policy ctest-policy-allow-all-83702719 2025-06-18 17:56:08,796 - INFO - Deleting VN ctest-vn-20674400 2025-06-18 17:56:08,837 - DEBUG - VN 6058c7bf-cc1d-466b-84f1-d001efcea291 still in use: Unable to complete operation on network 6058c7bf-cc1d-466b-84f1-d001efcea291. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-59c2ea9b-7b65-4a08-9765-c2968bd0b7e5'] 2025-06-18 17:56:08,837 - WARNING - Deleting VN ctest-vn-20674400 failed..Will retry 2025-06-18 17:56:10,986 - DEBUG - Response for deleting network () 2025-06-18 17:56:10,987 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/95f1c8bb-0a0f-44e4-9cab-b4f8bc142e3d 2025-06-18 17:56:10,994 - DEBUG - Response Code: 404 2025-06-18 17:56:10,994 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-18 17:56:11,001 - DEBUG - Requesting: http://10.0.0.38:8082/domain/82dfa0ba-87e0-4353-9d02-98b9a04c6a21 2025-06-18 17:56:11,059 - DEBUG - Requesting: http://10.0.0.38:8082/project/e73d93bf-ae0c-46de-bbbc-f4784652819e 2025-06-18 17:56:11,130 - INFO - Validated that VN ctest-vn-20674400 is not found in API Server 2025-06-18 17:56:11,144 - DEBUG - VN ctest-vn-20674400 is not present in Agent 10.0.0.38 2025-06-18 17:56:11,144 - INFO - Validated that VN ctest-vn-20674400 is not in any agent 2025-06-18 17:56:11,161 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-20674400 info 2025-06-18 17:56:11,161 - INFO - Deleting VN ctest-vn-85707192 2025-06-18 17:56:11,306 - DEBUG - Response for deleting network () 2025-06-18 17:56:11,306 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a14745ce-9368-4212-8bde-87dc9f96963d 2025-06-18 17:56:11,314 - DEBUG - Response Code: 404 2025-06-18 17:56:11,315 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-18 17:56:11,322 - DEBUG - Requesting: http://10.0.0.38:8082/domain/82dfa0ba-87e0-4353-9d02-98b9a04c6a21 2025-06-18 17:56:11,378 - DEBUG - Requesting: http://10.0.0.38:8082/project/e73d93bf-ae0c-46de-bbbc-f4784652819e 2025-06-18 17:56:11,465 - INFO - Validated that VN ctest-vn-85707192 is not found in API Server 2025-06-18 17:56:11,479 - DEBUG - VN ctest-vn-85707192 is not present in Agent 10.0.0.38 2025-06-18 17:56:11,479 - INFO - Validated that VN ctest-vn-85707192 is not in any agent 2025-06-18 17:56:11,501 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-85707192 info 2025-06-18 17:56:11,769 - DEBUG - No XMPP flaps were noticed during the test
2025-06-18 17:56:11,769 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31]
2025-06-18 17:56:11,769 - INFO - -------------------------------------------------------------------------------- 2025-06-18 17:56:12,507 - INFO - Deleted project: ctest-TestBasicPolicy-78437786, ID : e73d93bf-ae0c-46de-bbbc-f4784652819e