2025-09-15 18:39:49,934 - INFO - Domain Default found not creating 2025-09-15 18:39:50,072 - INFO - Project ctest-TestBasicPolicy-67782911 not found, creating it 2025-09-15 18:39:50,500 - INFO - Created Project:ctest-TestBasicPolicy-67782911, ID : a0119acc-ea9d-4647-9674-d3f23594c0ab 2025-09-15 18:39:51,879 - INFO - ================================================================================ 2025-09-15 18:39:51,879 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-15 18:39:51,880 - 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-09-15 18:39:52,132 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-15 18:39:52,132 - INFO - Initial checks done. Running the testcase now 2025-09-15 18:39:52,132 - INFO - 2025-09-15 18:39:52,655 - DEBUG - Response for create_network : {'network': {'id': 'd3ad809c-793d-4ae5-9099-8714f170eb8c', 'name': 'ctest-vn-76351044', 'tenant_id': 'a0119accea9d46479674d3f23594c0ab', 'project_id': 'a0119accea9d46479674d3f23594c0ab', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67782911', 'ctest-vn-76351044'], 'port_security_enabled': True, 'description': ''}} 2025-09-15 18:39:52,823 - DEBUG - Response for create_subnet : {'subnet': {'id': '5c900559-3ed0-4af6-afc2-138e0bd5d497', 'name': '', 'tenant_id': 'a0119accea9d46479674d3f23594c0ab', 'network_id': 'd3ad809c-793d-4ae5-9099-8714f170eb8c', 'ip_version': 4, 'cidr': '172.2.36.64/26', 'allocation_pools': [{'start': '172.2.36.66', 'end': '172.2.36.126'}], 'gateway_ip': '172.2.36.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '172.2.36.66', 'tags': [], 'project_id': 'a0119accea9d46479674d3f23594c0ab'}} 2025-09-15 18:39:52,840 - INFO - Created VN ctest-vn-76351044 2025-09-15 18:39:52,891 - DEBUG - VN ctest-vn-76351044 UUID is d3ad809c-793d-4ae5-9099-8714f170eb8c 2025-09-15 18:39:53,202 - DEBUG - Response for create_network : {'network': {'id': 'ccf8ade6-9952-4b95-80b6-033db6555472', 'name': 'ctest-vn-97016193', 'tenant_id': 'a0119accea9d46479674d3f23594c0ab', 'project_id': 'a0119accea9d46479674d3f23594c0ab', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67782911', 'ctest-vn-97016193'], 'port_security_enabled': True, 'description': ''}} 2025-09-15 18:39:53,398 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ee2d2914-bc23-41c6-a0f0-55af8d5ad1ba', 'name': '', 'tenant_id': 'a0119accea9d46479674d3f23594c0ab', 'network_id': 'ccf8ade6-9952-4b95-80b6-033db6555472', 'ip_version': 4, 'cidr': '104.19.17.0/26', 'allocation_pools': [{'start': '104.19.17.2', 'end': '104.19.17.62'}], 'gateway_ip': '104.19.17.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '104.19.17.2', 'tags': [], 'project_id': 'a0119accea9d46479674d3f23594c0ab'}} 2025-09-15 18:39:53,414 - INFO - Created VN ctest-vn-97016193 2025-09-15 18:39:53,463 - DEBUG - VN ctest-vn-97016193 UUID is ccf8ade6-9952-4b95-80b6-033db6555472 2025-09-15 18:39:53,607 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-67782911:ctest-vn-76351044, 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-67782911:ctest-vn-97016193, 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-09-15 18:39:53,898 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd3ad809c-793d-4ae5-9099-8714f170eb8c', 'name': 'ctest-vn-76351044', 'tenant_id': 'a0119accea9d46479674d3f23594c0ab', 'project_id': 'a0119accea9d46479674d3f23594c0ab', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5c900559-3ed0-4af6-afc2-138e0bd5d497'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67782911', 'ctest-vn-76351044'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-67782911', 'ctest-policy-allow-all-51543901']], 'subnet_ipam': [{'subnet_cidr': '172.2.36.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-15 18:39:54,144 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ccf8ade6-9952-4b95-80b6-033db6555472', 'name': 'ctest-vn-97016193', 'tenant_id': 'a0119accea9d46479674d3f23594c0ab', 'project_id': 'a0119accea9d46479674d3f23594c0ab', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ee2d2914-bc23-41c6-a0f0-55af8d5ad1ba'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67782911', 'ctest-vn-97016193'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-67782911', 'ctest-policy-allow-all-51543901']], 'subnet_ipam': [{'subnet_cidr': '104.19.17.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-15 18:39:54,303 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-15 18:39:54,598 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-15 18:39:54,625 - DEBUG - Requesting: http://10.0.0.254:8082/domain/870ccc99-65f8-4381-a8fb-d0b15e6273f4 2025-09-15 18:39:54,639 - DEBUG - Requesting: http://10.0.0.254:8082/project/a0119acc-ea9d-4647-9674-d3f23594c0ab 2025-09-15 18:39:54,713 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/d3ad809c-793d-4ae5-9099-8714f170eb8c 2025-09-15 18:39:54,722 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/d3ad809c-793d-4ae5-9099-8714f170eb8c 2025-09-15 18:39:54,730 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ded7f439-b1e9-428e-ba8a-fbdd201d57be 2025-09-15 18:39:54,735 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ded7f439-b1e9-428e-ba8a-fbdd201d57be 2025-09-15 18:39:54,741 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/c0103a3c-5b2a-4620-a0cb-2aab56ff4206 2025-09-15 18:39:54,746 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-15 18:39:54,746 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/d3ad809c-793d-4ae5-9099-8714f170eb8c 2025-09-15 18:39:54,753 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ded7f439-b1e9-428e-ba8a-fbdd201d57be 2025-09-15 18:39:54,765 - INFO - Verified VN network id 12 for VN d3ad809c-793d-4ae5-9099-8714f170eb8c 2025-09-15 18:39:54,765 - INFO - Verifications in API Server for VN ctest-vn-76351044 passed 2025-09-15 18:39:54,765 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/d3ad809c-793d-4ae5-9099-8714f170eb8c 2025-09-15 18:39:54,772 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ded7f439-b1e9-428e-ba8a-fbdd201d57be 2025-09-15 18:39:54,778 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ded7f439-b1e9-428e-ba8a-fbdd201d57be 2025-09-15 18:39:54,782 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/c0103a3c-5b2a-4620-a0cb-2aab56ff4206 2025-09-15 18:39:54,791 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-67782911:ctest-vn-76351044', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-67782911', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15252988922511051493', 'uuid-lslong': '10419507736918158220'}, 'enable': 'true', 'created': '2025-09-15T18:39:52', 'last-modified': '2025-09-15T18:39:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.912963'} 2025-09-15 18:39:54,796 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-15 18:39:54,796 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-76351044 passed 2025-09-15 18:39:54,796 - DEBUG - ====Verifying policy data for ctest-vn-76351044 in API_Server ====== 2025-09-15 18:39:54,796 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-15 18:39:54,801 - DEBUG - Requesting: http://10.0.0.254:8082/domain/870ccc99-65f8-4381-a8fb-d0b15e6273f4 2025-09-15 18:39:54,810 - DEBUG - Requesting: http://10.0.0.254:8082/project/a0119acc-ea9d-4647-9674-d3f23594c0ab 2025-09-15 18:39:54,877 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/d3ad809c-793d-4ae5-9099-8714f170eb8c 2025-09-15 18:39:54,885 - DEBUG - ==>Verifying data for policy with id: a2621b74-be88-484d-b203-85a654b37391, fqn: ['default-domain', 'ctest-TestBasicPolicy-67782911', 'ctest-policy-allow-all-51543901'] 2025-09-15 18:39:54,885 - INFO - VN ctest-vn-76351044 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-15 18:39:54,885 - DEBUG - Verifying the vn in opserver 2025-09-15 18:39:54,885 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-67782911:ctest-vn-76351044 virtual network link through opserver 10.0.0.254 2025-09-15 18:39:54,885 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-09-15 18:39:55,173 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-09-15 18:39:55,224 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-67782911:ctest-vn-76351044', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-67782911:ctest-vn-76351044?flat'} 2025-09-15 18:39:55,224 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-67782911:ctest-vn-76351044 is found in opserver 2025-09-15 18:39:55,232 - DEBUG - Do not have enough data to verify VN in agent 2025-09-15 18:39:55,236 - DEBUG - VRF ids for VN ctest-vn-76351044: {} 2025-09-15 18:39:55,236 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-15 18:39:55,241 - DEBUG - Requesting: http://10.0.0.254:8082/domain/870ccc99-65f8-4381-a8fb-d0b15e6273f4 2025-09-15 18:39:55,250 - DEBUG - Requesting: http://10.0.0.254:8082/project/a0119acc-ea9d-4647-9674-d3f23594c0ab 2025-09-15 18:39:55,318 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/ccf8ade6-9952-4b95-80b6-033db6555472 2025-09-15 18:39:55,328 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/ccf8ade6-9952-4b95-80b6-033db6555472 2025-09-15 18:39:55,336 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ec120231-d49d-4d8a-bf10-5e815e6f3ed0 2025-09-15 18:39:55,341 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ec120231-d49d-4d8a-bf10-5e815e6f3ed0 2025-09-15 18:39:55,347 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/d696e6d2-1274-4574-ba2b-01e07003ac0f 2025-09-15 18:39:55,352 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-15 18:39:55,352 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/ccf8ade6-9952-4b95-80b6-033db6555472 2025-09-15 18:39:55,359 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ec120231-d49d-4d8a-bf10-5e815e6f3ed0 2025-09-15 18:39:55,370 - INFO - Verified VN network id 13 for VN ccf8ade6-9952-4b95-80b6-033db6555472 2025-09-15 18:39:55,370 - INFO - Verifications in API Server for VN ctest-vn-97016193 passed 2025-09-15 18:39:55,370 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/ccf8ade6-9952-4b95-80b6-033db6555472 2025-09-15 18:39:55,377 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ec120231-d49d-4d8a-bf10-5e815e6f3ed0 2025-09-15 18:39:55,383 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ec120231-d49d-4d8a-bf10-5e815e6f3ed0 2025-09-15 18:39:55,388 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/d696e6d2-1274-4574-ba2b-01e07003ac0f 2025-09-15 18:39:55,398 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-67782911:ctest-vn-97016193', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-67782911', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14769746183887932309', 'uuid-lslong': '9274604046203049074'}, 'enable': 'true', 'created': '2025-09-15T18:39:53', 'last-modified': '2025-09-15T18:39:54', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.277651'} 2025-09-15 18:39:55,403 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-15 18:39:55,403 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-97016193 passed 2025-09-15 18:39:55,404 - DEBUG - ====Verifying policy data for ctest-vn-97016193 in API_Server ====== 2025-09-15 18:39:55,404 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-15 18:39:55,409 - DEBUG - Requesting: http://10.0.0.254:8082/domain/870ccc99-65f8-4381-a8fb-d0b15e6273f4 2025-09-15 18:39:55,418 - DEBUG - Requesting: http://10.0.0.254:8082/project/a0119acc-ea9d-4647-9674-d3f23594c0ab 2025-09-15 18:39:55,487 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/ccf8ade6-9952-4b95-80b6-033db6555472 2025-09-15 18:39:55,496 - DEBUG - ==>Verifying data for policy with id: a2621b74-be88-484d-b203-85a654b37391, fqn: ['default-domain', 'ctest-TestBasicPolicy-67782911', 'ctest-policy-allow-all-51543901'] 2025-09-15 18:39:55,496 - INFO - VN ctest-vn-97016193 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-15 18:39:55,496 - DEBUG - Verifying the vn in opserver 2025-09-15 18:39:55,496 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-67782911:ctest-vn-97016193 virtual network link through opserver 10.0.0.254 2025-09-15 18:39:55,496 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-09-15 18:39:55,507 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-67782911:ctest-vn-97016193', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-67782911:ctest-vn-97016193?flat'} 2025-09-15 18:39:55,507 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-67782911:ctest-vn-97016193 is found in opserver 2025-09-15 18:39:55,517 - DEBUG - Do not have enough data to verify VN in agent 2025-09-15 18:39:55,521 - DEBUG - VRF ids for VN ctest-vn-97016193: {} 2025-09-15 18:39:55,574 - DEBUG - Services list from nova: [, , ] 2025-09-15 18:39:56,565 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4119-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4119-1) 2025-09-15 18:39:57,649 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4119-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4119-1) 2025-09-15 18:39:57,649 - INFO - Waiting for VM ctest-TestBasicPolicy-67782911-11244825 to be up.. 2025-09-15 18:39:57,730 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-15 18:40:02,804 - DEBUG - VM is in ACTIVE state now 2025-09-15 18:40:02,804 - INFO - VM name : ctest-TestBasicPolicy-67782911-11244825 2025-09-15 18:40:02,871 - DEBUG - VM ctest-TestBasicPolicy-67782911-11244825 ID is 8554e09d-d7ca-48c3-873d-78a16196cf44 2025-09-15 18:40:02,888 - DEBUG - VM ctest-TestBasicPolicy-67782911-11244825 launched on Node cn-jenkins-deploy-platform-ansible-os-4119-1 2025-09-15 18:40:02,953 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/8554e09d-d7ca-48c3-873d-78a16196cf44 2025-09-15 18:40:02,960 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/a4a8a13f-d189-441a-933f-41d4fe31b408 2025-09-15 18:40:06,216 - 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 1027ms') 2025-09-15 18:40:06,217 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-67782911-11244825 failed! 2025-09-15 18:40:06,267 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-67782911:ctest-vn-76351044 is 172.2.36.65 and allocation pool is NOT set 2025-09-15 18:40:08,334 - 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=3.46 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.490 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.490/1.972/3.455/1.482 ms') 2025-09-15 18:40:08,334 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-67782911-11244825 passed 2025-09-15 18:40:08,483 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 18:40:08,484 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-67782911-11244825, IP 172.2.36.67, Port 22 2025-09-15 18:40:08,650 - DEBUG - VM ctest-TestBasicPolicy-67782911-11244825 is ready for SSH connections 2025-09-15 18:40:08,650 - INFO - Waiting for VM ctest-TestBasicPolicy-67782911-87484847 to be up.. 2025-09-15 18:40:08,738 - DEBUG - VM is in ACTIVE state now 2025-09-15 18:40:08,738 - INFO - VM name : ctest-TestBasicPolicy-67782911-87484847 2025-09-15 18:40:08,810 - DEBUG - VM ctest-TestBasicPolicy-67782911-87484847 ID is 4c283c40-e52f-481b-8a69-8af2e2dcf397 2025-09-15 18:40:08,810 - DEBUG - VM ctest-TestBasicPolicy-67782911-87484847 launched on Node cn-jenkins-deploy-platform-ansible-os-4119-1 2025-09-15 18:40:08,880 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/4c283c40-e52f-481b-8a69-8af2e2dcf397 2025-09-15 18:40:08,888 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/c1d10caa-cdf3-4a94-8cc6-e305adc8d6d4 2025-09-15 18:40:10,127 - 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.76 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.420 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.420/1.589/2.758/1.169 ms') 2025-09-15 18:40:10,127 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-67782911-87484847 passed 2025-09-15 18:40:10,275 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 18:40:10,275 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-67782911-87484847, IP 104.19.17.3, Port 22 2025-09-15 18:40:10,426 - DEBUG - VM ctest-TestBasicPolicy-67782911-87484847 is ready for SSH connections 2025-09-15 18:40:10,426 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 18:40:10,427 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 104.19.17.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-15 18:40:10,427 - DEBUG - ping -s 56 -c 3 -W 1 104.19.17.3 2025-09-15 18:40:14,103 - DEBUG - PING 104.19.17.3 (104.19.17.3): 56 data bytes 64 bytes from 104.19.17.3: seq=0 ttl=63 time=3.480 ms 64 bytes from 104.19.17.3: seq=1 ttl=63 time=0.928 ms 64 bytes from 104.19.17.3: seq=2 ttl=63 time=0.863 ms --- 104.19.17.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.863/1.757/3.480 ms 2025-09-15 18:40:14,103 - INFO - Ping to IP 104.19.17.3 from VM ctest-TestBasicPolicy-67782911-11244825 passed 2025-09-15 18:40:14,271 - DEBUG - Policy Update Response {"network-policy": {"uuid": "a2621b74-be88-484d-b203-85a654b37391", "href": "http://10.0.0.254:8082/network-policy/a2621b74-be88-484d-b203-85a654b37391"}} 2025-09-15 18:40:14,271 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 18:40:14,271 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 104.19.17.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-15 18:40:14,271 - DEBUG - ping -s 56 -c 3 -W 1 104.19.17.3 2025-09-15 18:40:17,475 - DEBUG - PING 104.19.17.3 (104.19.17.3): 56 data bytes --- 104.19.17.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-15 18:40:17,475 - WARNING - Ping to IP 104.19.17.3 from VM ctest-TestBasicPolicy-67782911-11244825 failed 2025-09-15 18:40:17,476 - INFO - Deleting VM ctest-TestBasicPolicy-67782911-87484847 2025-09-15 18:40:17,566 - INFO - Deleting VM ctest-TestBasicPolicy-67782911-11244825 2025-09-15 18:40:17,938 - INFO - Deleted policy ctest-policy-allow-all-51543901 2025-09-15 18:40:17,938 - INFO - Deleting VN ctest-vn-97016193 2025-09-15 18:40:17,972 - DEBUG - VN ccf8ade6-9952-4b95-80b6-033db6555472 still in use: Unable to complete operation on network ccf8ade6-9952-4b95-80b6-033db6555472. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-11ffe150-e546-48d0-82cb-ae8dfc9dbe9d'] 2025-09-15 18:40:17,972 - WARNING - Deleting VN ctest-vn-97016193 failed..Will retry 2025-09-15 18:40:20,069 - DEBUG - Response for deleting network () 2025-09-15 18:40:20,069 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ec120231-d49d-4d8a-bf10-5e815e6f3ed0 2025-09-15 18:40:20,086 - DEBUG - Response Code: 404 2025-09-15 18:40:20,086 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-15 18:40:20,095 - DEBUG - Requesting: http://10.0.0.254:8082/domain/870ccc99-65f8-4381-a8fb-d0b15e6273f4 2025-09-15 18:40:20,149 - DEBUG - Requesting: http://10.0.0.254:8082/project/a0119acc-ea9d-4647-9674-d3f23594c0ab 2025-09-15 18:40:20,219 - INFO - Validated that VN ctest-vn-97016193 is not found in API Server 2025-09-15 18:40:20,228 - DEBUG - VN ctest-vn-97016193 is not present in Agent 10.0.0.254 2025-09-15 18:40:20,228 - INFO - Validated that VN ctest-vn-97016193 is not in any agent 2025-09-15 18:40:20,241 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-97016193 info 2025-09-15 18:40:20,241 - INFO - Deleting VN ctest-vn-76351044 2025-09-15 18:40:20,341 - DEBUG - Response for deleting network () 2025-09-15 18:40:20,341 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ded7f439-b1e9-428e-ba8a-fbdd201d57be 2025-09-15 18:40:20,347 - DEBUG - Response Code: 404 2025-09-15 18:40:20,347 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-15 18:40:20,352 - DEBUG - Requesting: http://10.0.0.254:8082/domain/870ccc99-65f8-4381-a8fb-d0b15e6273f4 2025-09-15 18:40:20,403 - DEBUG - Requesting: http://10.0.0.254:8082/project/a0119acc-ea9d-4647-9674-d3f23594c0ab 2025-09-15 18:40:20,483 - INFO - Validated that VN ctest-vn-76351044 is not found in API Server 2025-09-15 18:40:20,493 - DEBUG - VN ctest-vn-76351044 is not present in Agent 10.0.0.254 2025-09-15 18:40:20,493 - INFO - Validated that VN ctest-vn-76351044 is not in any agent 2025-09-15 18:40:20,505 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-76351044 info 2025-09-15 18:40:20,760 - DEBUG - No XMPP flaps were noticed during the test
2025-09-15 18:40:20,760 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-09-15 18:40:20,760 - INFO - -------------------------------------------------------------------------------- 2025-09-15 18:40:21,412 - INFO - Deleted project: ctest-TestBasicPolicy-67782911, ID : a0119acc-ea9d-4647-9674-d3f23594c0ab