2025-09-13 16:57:47,346 - INFO - Domain Default found not creating 2025-09-13 16:57:47,520 - INFO - Project ctest-TestBasicPolicy-56334551 not found, creating it 2025-09-13 16:57:48,012 - INFO - Created Project:ctest-TestBasicPolicy-56334551, ID : 33458816-11f5-4324-b79c-81789aff8c03 2025-09-13 16:57:49,482 - INFO - ================================================================================ 2025-09-13 16:57:49,482 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-13 16:57:49,482 - 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-13 16:57:49,741 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-13 16:57:49,741 - INFO - Initial checks done. Running the testcase now 2025-09-13 16:57:49,741 - INFO - 2025-09-13 16:57:50,341 - DEBUG - Response for create_network : {'network': {'id': 'e45aaf1a-f310-47e5-aef7-b768c6054de1', 'name': 'ctest-vn-45504019', 'tenant_id': '3345881611f54324b79c81789aff8c03', 'project_id': '3345881611f54324b79c81789aff8c03', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-56334551', 'ctest-vn-45504019'], 'port_security_enabled': True, 'description': ''}} 2025-09-13 16:57:50,567 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b7a6a5eb-b005-4287-b1db-9ccee0a65438', 'name': '', 'tenant_id': '3345881611f54324b79c81789aff8c03', 'network_id': 'e45aaf1a-f310-47e5-aef7-b768c6054de1', 'ip_version': 4, 'cidr': '93.31.148.64/26', 'allocation_pools': [{'start': '93.31.148.66', 'end': '93.31.148.126'}], 'gateway_ip': '93.31.148.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '93.31.148.66', 'tags': [], 'project_id': '3345881611f54324b79c81789aff8c03'}} 2025-09-13 16:57:50,589 - INFO - Created VN ctest-vn-45504019 2025-09-13 16:57:50,643 - DEBUG - VN ctest-vn-45504019 UUID is e45aaf1a-f310-47e5-aef7-b768c6054de1 2025-09-13 16:57:50,959 - DEBUG - Response for create_network : {'network': {'id': 'b702f448-2069-4c11-8bc2-e5986432ade6', 'name': 'ctest-vn-07231862', 'tenant_id': '3345881611f54324b79c81789aff8c03', 'project_id': '3345881611f54324b79c81789aff8c03', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-56334551', 'ctest-vn-07231862'], 'port_security_enabled': True, 'description': ''}} 2025-09-13 16:57:51,139 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ef40529d-9e54-4e62-8918-1e2e3a9523d0', 'name': '', 'tenant_id': '3345881611f54324b79c81789aff8c03', 'network_id': 'b702f448-2069-4c11-8bc2-e5986432ade6', 'ip_version': 4, 'cidr': '212.153.199.192/26', 'allocation_pools': [{'start': '212.153.199.194', 'end': '212.153.199.254'}], 'gateway_ip': '212.153.199.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '212.153.199.194', 'tags': [], 'project_id': '3345881611f54324b79c81789aff8c03'}} 2025-09-13 16:57:51,159 - INFO - Created VN ctest-vn-07231862 2025-09-13 16:57:51,211 - DEBUG - VN ctest-vn-07231862 UUID is b702f448-2069-4c11-8bc2-e5986432ade6 2025-09-13 16:57:51,330 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-56334551:ctest-vn-45504019, 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-56334551:ctest-vn-07231862, 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-13 16:57:51,637 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e45aaf1a-f310-47e5-aef7-b768c6054de1', 'name': 'ctest-vn-45504019', 'tenant_id': '3345881611f54324b79c81789aff8c03', 'project_id': '3345881611f54324b79c81789aff8c03', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b7a6a5eb-b005-4287-b1db-9ccee0a65438'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-56334551', 'ctest-vn-45504019'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-56334551', 'ctest-policy-allow-all-72742147']], 'subnet_ipam': [{'subnet_cidr': '93.31.148.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-13 16:57:51,878 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b702f448-2069-4c11-8bc2-e5986432ade6', 'name': 'ctest-vn-07231862', 'tenant_id': '3345881611f54324b79c81789aff8c03', 'project_id': '3345881611f54324b79c81789aff8c03', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ef40529d-9e54-4e62-8918-1e2e3a9523d0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-56334551', 'ctest-vn-07231862'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-56334551', 'ctest-policy-allow-all-72742147']], 'subnet_ipam': [{'subnet_cidr': '212.153.199.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-13 16:57:52,055 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-13 16:57:52,362 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-13 16:57:52,396 - DEBUG - Requesting: http://10.0.0.254:8082/domain/02c7b8f7-aa1a-4f7e-970a-3488eb6611ee 2025-09-13 16:57:52,411 - DEBUG - Requesting: http://10.0.0.254:8082/project/33458816-11f5-4324-b79c-81789aff8c03 2025-09-13 16:57:52,483 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/e45aaf1a-f310-47e5-aef7-b768c6054de1 2025-09-13 16:57:52,494 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/e45aaf1a-f310-47e5-aef7-b768c6054de1 2025-09-13 16:57:52,503 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/88823478-dfe2-44a5-9fdd-8cc81054f161 2025-09-13 16:57:52,509 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/88823478-dfe2-44a5-9fdd-8cc81054f161 2025-09-13 16:57:52,515 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/68078706-2471-482d-946c-825f1252b338 2025-09-13 16:57:52,520 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-13 16:57:52,521 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/e45aaf1a-f310-47e5-aef7-b768c6054de1 2025-09-13 16:57:52,528 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/88823478-dfe2-44a5-9fdd-8cc81054f161 2025-09-13 16:57:52,542 - INFO - Verified VN network id 11 for VN e45aaf1a-f310-47e5-aef7-b768c6054de1 2025-09-13 16:57:52,542 - INFO - Verifications in API Server for VN ctest-vn-45504019 passed 2025-09-13 16:57:52,542 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/e45aaf1a-f310-47e5-aef7-b768c6054de1 2025-09-13 16:57:52,550 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/88823478-dfe2-44a5-9fdd-8cc81054f161 2025-09-13 16:57:52,557 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/88823478-dfe2-44a5-9fdd-8cc81054f161 2025-09-13 16:57:52,564 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/68078706-2471-482d-946c-825f1252b338 2025-09-13 16:57:52,576 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-56334551:ctest-vn-45504019', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-56334551', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16454656718833469413', 'uuid-lslong': '12607747342473711073'}, 'enable': 'true', 'created': '2025-09-13T16:57:50', 'last-modified': '2025-09-13T16:57:51', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.959939'} 2025-09-13 16:57:52,582 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-13 16:57:52,582 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-45504019 passed 2025-09-13 16:57:52,582 - DEBUG - ====Verifying policy data for ctest-vn-45504019 in API_Server ====== 2025-09-13 16:57:52,582 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-13 16:57:52,589 - DEBUG - Requesting: http://10.0.0.254:8082/domain/02c7b8f7-aa1a-4f7e-970a-3488eb6611ee 2025-09-13 16:57:52,600 - DEBUG - Requesting: http://10.0.0.254:8082/project/33458816-11f5-4324-b79c-81789aff8c03 2025-09-13 16:57:52,670 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/e45aaf1a-f310-47e5-aef7-b768c6054de1 2025-09-13 16:57:52,680 - DEBUG - ==>Verifying data for policy with id: 090e285c-b6c2-4ffe-b193-653ea35cf057, fqn: ['default-domain', 'ctest-TestBasicPolicy-56334551', 'ctest-policy-allow-all-72742147'] 2025-09-13 16:57:52,680 - INFO - VN ctest-vn-45504019 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-13 16:57:52,680 - DEBUG - Verifying the vn in opserver 2025-09-13 16:57:52,680 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-56334551:ctest-vn-45504019 virtual network link through opserver 10.0.0.254 2025-09-13 16:57:52,680 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-09-13 16:57:52,990 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-09-13 16:57:53,054 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-56334551:ctest-vn-45504019', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-56334551:ctest-vn-45504019?flat'} 2025-09-13 16:57:53,054 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-56334551:ctest-vn-45504019 is found in opserver 2025-09-13 16:57:53,064 - DEBUG - Do not have enough data to verify VN in agent 2025-09-13 16:57:53,070 - DEBUG - VRF ids for VN ctest-vn-45504019: {} 2025-09-13 16:57:53,070 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-13 16:57:53,076 - DEBUG - Requesting: http://10.0.0.254:8082/domain/02c7b8f7-aa1a-4f7e-970a-3488eb6611ee 2025-09-13 16:57:53,089 - DEBUG - Requesting: http://10.0.0.254:8082/project/33458816-11f5-4324-b79c-81789aff8c03 2025-09-13 16:57:53,166 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/b702f448-2069-4c11-8bc2-e5986432ade6 2025-09-13 16:57:53,178 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/b702f448-2069-4c11-8bc2-e5986432ade6 2025-09-13 16:57:53,188 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/22968484-dd60-4524-994b-05bb2a0d6fb5 2025-09-13 16:57:53,195 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/22968484-dd60-4524-994b-05bb2a0d6fb5 2025-09-13 16:57:53,203 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/c8dd1f0f-a838-492f-b18a-c78bd758807a 2025-09-13 16:57:53,212 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-13 16:57:53,212 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/b702f448-2069-4c11-8bc2-e5986432ade6 2025-09-13 16:57:53,222 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/22968484-dd60-4524-994b-05bb2a0d6fb5 2025-09-13 16:57:53,238 - INFO - Verified VN network id 12 for VN b702f448-2069-4c11-8bc2-e5986432ade6 2025-09-13 16:57:53,239 - INFO - Verifications in API Server for VN ctest-vn-07231862 passed 2025-09-13 16:57:53,239 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/b702f448-2069-4c11-8bc2-e5986432ade6 2025-09-13 16:57:53,251 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/22968484-dd60-4524-994b-05bb2a0d6fb5 2025-09-13 16:57:53,261 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/22968484-dd60-4524-994b-05bb2a0d6fb5 2025-09-13 16:57:53,269 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/c8dd1f0f-a838-492f-b18a-c78bd758807a 2025-09-13 16:57:53,281 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-56334551:ctest-vn-07231862', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-56334551', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13187371249512827921', 'uuid-lslong': '10070864159432682982'}, 'enable': 'true', 'created': '2025-09-13T16:57:50', 'last-modified': '2025-09-13T16:57:51', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.430803'} 2025-09-13 16:57:53,288 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-13 16:57:53,288 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-07231862 passed 2025-09-13 16:57:53,289 - DEBUG - ====Verifying policy data for ctest-vn-07231862 in API_Server ====== 2025-09-13 16:57:53,289 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-13 16:57:53,296 - DEBUG - Requesting: http://10.0.0.254:8082/domain/02c7b8f7-aa1a-4f7e-970a-3488eb6611ee 2025-09-13 16:57:53,307 - DEBUG - Requesting: http://10.0.0.254:8082/project/33458816-11f5-4324-b79c-81789aff8c03 2025-09-13 16:57:53,378 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/b702f448-2069-4c11-8bc2-e5986432ade6 2025-09-13 16:57:53,388 - DEBUG - ==>Verifying data for policy with id: 090e285c-b6c2-4ffe-b193-653ea35cf057, fqn: ['default-domain', 'ctest-TestBasicPolicy-56334551', 'ctest-policy-allow-all-72742147'] 2025-09-13 16:57:53,389 - INFO - VN ctest-vn-07231862 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-13 16:57:53,389 - DEBUG - Verifying the vn in opserver 2025-09-13 16:57:53,389 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-56334551:ctest-vn-07231862 virtual network link through opserver 10.0.0.254 2025-09-13 16:57:53,389 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-09-13 16:57:53,400 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-56334551:ctest-vn-07231862', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-56334551:ctest-vn-07231862?flat'} 2025-09-13 16:57:53,400 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-56334551:ctest-vn-07231862 is found in opserver 2025-09-13 16:57:53,414 - DEBUG - Do not have enough data to verify VN in agent 2025-09-13 16:57:53,419 - DEBUG - VRF ids for VN ctest-vn-07231862: {} 2025-09-13 16:57:53,486 - DEBUG - Services list from nova: [, , ] 2025-09-13 16:57:54,552 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4103-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4103-1) 2025-09-13 16:57:55,786 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4103-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4103-1) 2025-09-13 16:57:55,787 - INFO - Waiting for VM ctest-TestBasicPolicy-56334551-67073851 to be up.. 2025-09-13 16:57:55,881 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-13 16:58:00,958 - DEBUG - VM is in ACTIVE state now 2025-09-13 16:58:00,958 - INFO - VM name : ctest-TestBasicPolicy-56334551-67073851 2025-09-13 16:58:01,039 - DEBUG - VM ctest-TestBasicPolicy-56334551-67073851 ID is 99df8b92-d5cd-4f6e-8dd2-2ae5c6f4785d 2025-09-13 16:58:01,061 - DEBUG - VM ctest-TestBasicPolicy-56334551-67073851 launched on Node cn-jenkins-deploy-platform-ansible-os-4103-1 2025-09-13 16:58:01,149 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/99df8b92-d5cd-4f6e-8dd2-2ae5c6f4785d 2025-09-13 16:58:01,160 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/b760c05c-b549-4db3-9b5e-0bb4cc969134 2025-09-13 16:58:04,378 - 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 1008ms') 2025-09-13 16:58:04,378 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-56334551-67073851 failed! 2025-09-13 16:58:04,435 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-56334551:ctest-vn-45504019 is 93.31.148.65 and allocation pool is NOT set 2025-09-13 16:58:06,507 - 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=9.54 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.787 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.787/5.165/9.544/4.378 ms') 2025-09-13 16:58:06,507 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-56334551-67073851 passed 2025-09-13 16:58:06,655 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-13 16:58:06,655 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-56334551-67073851, IP 93.31.148.67, Port 22 2025-09-13 16:58:06,824 - DEBUG - VM ctest-TestBasicPolicy-56334551-67073851 is ready for SSH connections 2025-09-13 16:58:06,824 - INFO - Waiting for VM ctest-TestBasicPolicy-56334551-15054924 to be up.. 2025-09-13 16:58:06,922 - DEBUG - VM is in ACTIVE state now 2025-09-13 16:58:06,922 - INFO - VM name : ctest-TestBasicPolicy-56334551-15054924 2025-09-13 16:58:07,003 - DEBUG - VM ctest-TestBasicPolicy-56334551-15054924 ID is aa7291ad-97b9-4a08-bbbf-031e093b6b71 2025-09-13 16:58:07,003 - DEBUG - VM ctest-TestBasicPolicy-56334551-15054924 launched on Node cn-jenkins-deploy-platform-ansible-os-4103-1 2025-09-13 16:58:07,086 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/aa7291ad-97b9-4a08-bbbf-031e093b6b71 2025-09-13 16:58:07,095 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/fd9609a1-d2ac-4187-bff9-832c59b8c04f 2025-09-13 16:58:08,335 - 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.90 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.690 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.690/1.797/2.904/1.107 ms') 2025-09-13 16:58:08,335 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-56334551-15054924 passed 2025-09-13 16:58:08,487 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-13 16:58:08,487 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-56334551-15054924, IP 212.153.199.195, Port 22 2025-09-13 16:58:08,642 - DEBUG - VM ctest-TestBasicPolicy-56334551-15054924 is ready for SSH connections 2025-09-13 16:58:08,643 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-13 16:58:08,643 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 212.153.199.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-13 16:58:08,643 - DEBUG - ping -s 56 -c 3 -W 1 212.153.199.195 2025-09-13 16:58:12,782 - DEBUG - PING 212.153.199.195 (212.153.199.195): 56 data bytes 64 bytes from 212.153.199.195: seq=0 ttl=63 time=4.363 ms 64 bytes from 212.153.199.195: seq=1 ttl=63 time=0.945 ms 64 bytes from 212.153.199.195: seq=2 ttl=63 time=1.383 ms --- 212.153.199.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.945/2.230/4.363 ms 2025-09-13 16:58:12,782 - INFO - Ping to IP 212.153.199.195 from VM ctest-TestBasicPolicy-56334551-67073851 passed 2025-09-13 16:58:12,975 - DEBUG - Policy Update Response {"network-policy": {"uuid": "090e285c-b6c2-4ffe-b193-653ea35cf057", "href": "http://10.0.0.254:8082/network-policy/090e285c-b6c2-4ffe-b193-653ea35cf057"}} 2025-09-13 16:58:12,975 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-13 16:58:12,975 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 212.153.199.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-13 16:58:12,975 - DEBUG - ping -s 56 -c 3 -W 1 212.153.199.195 2025-09-13 16:58:16,208 - DEBUG - PING 212.153.199.195 (212.153.199.195): 56 data bytes --- 212.153.199.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-13 16:58:16,209 - WARNING - Ping to IP 212.153.199.195 from VM ctest-TestBasicPolicy-56334551-67073851 failed 2025-09-13 16:58:16,209 - INFO - Deleting VM ctest-TestBasicPolicy-56334551-15054924 2025-09-13 16:58:16,282 - INFO - Deleting VM ctest-TestBasicPolicy-56334551-67073851 2025-09-13 16:58:16,672 - INFO - Deleted policy ctest-policy-allow-all-72742147 2025-09-13 16:58:16,672 - INFO - Deleting VN ctest-vn-07231862 2025-09-13 16:58:16,713 - DEBUG - VN b702f448-2069-4c11-8bc2-e5986432ade6 still in use: Unable to complete operation on network b702f448-2069-4c11-8bc2-e5986432ade6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5a158dd0-f1b8-4913-b7e6-d72bcf02bce6'] 2025-09-13 16:58:16,713 - WARNING - Deleting VN ctest-vn-07231862 failed..Will retry 2025-09-13 16:58:18,829 - DEBUG - Response for deleting network () 2025-09-13 16:58:18,829 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/22968484-dd60-4524-994b-05bb2a0d6fb5 2025-09-13 16:58:18,835 - DEBUG - Response Code: 404 2025-09-13 16:58:18,835 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-13 16:58:18,842 - DEBUG - Requesting: http://10.0.0.254:8082/domain/02c7b8f7-aa1a-4f7e-970a-3488eb6611ee 2025-09-13 16:58:18,896 - DEBUG - Requesting: http://10.0.0.254:8082/project/33458816-11f5-4324-b79c-81789aff8c03 2025-09-13 16:58:18,967 - INFO - Validated that VN ctest-vn-07231862 is not found in API Server 2025-09-13 16:58:18,978 - DEBUG - VN ctest-vn-07231862 is not present in Agent 10.0.0.254 2025-09-13 16:58:18,978 - INFO - Validated that VN ctest-vn-07231862 is not in any agent 2025-09-13 16:58:18,992 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-07231862 info 2025-09-13 16:58:18,992 - INFO - Deleting VN ctest-vn-45504019 2025-09-13 16:58:19,104 - DEBUG - Response for deleting network () 2025-09-13 16:58:19,104 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/88823478-dfe2-44a5-9fdd-8cc81054f161 2025-09-13 16:58:19,113 - DEBUG - Response Code: 404 2025-09-13 16:58:19,113 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-13 16:58:19,121 - DEBUG - Requesting: http://10.0.0.254:8082/domain/02c7b8f7-aa1a-4f7e-970a-3488eb6611ee 2025-09-13 16:58:19,177 - DEBUG - Requesting: http://10.0.0.254:8082/project/33458816-11f5-4324-b79c-81789aff8c03 2025-09-13 16:58:19,251 - INFO - Validated that VN ctest-vn-45504019 is not found in API Server 2025-09-13 16:58:19,263 - DEBUG - VN ctest-vn-45504019 is not present in Agent 10.0.0.254 2025-09-13 16:58:19,263 - INFO - Validated that VN ctest-vn-45504019 is not in any agent 2025-09-13 16:58:19,279 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-45504019 info 2025-09-13 16:58:19,545 - DEBUG - No XMPP flaps were noticed during the test
2025-09-13 16:58:19,545 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-09-13 16:58:19,545 - INFO - -------------------------------------------------------------------------------- 2025-09-13 16:58:20,311 - INFO - Deleted project: ctest-TestBasicPolicy-56334551, ID : 33458816-11f5-4324-b79c-81789aff8c03