2025-09-19 08:30:57,581 - INFO - Domain Default found not creating 2025-09-19 08:30:57,719 - INFO - Project ctest-TestBasicPolicy-27966983 not found, creating it 2025-09-19 08:30:58,152 - INFO - Created Project:ctest-TestBasicPolicy-27966983, ID : 2dfab6f6-bd53-4c79-a55c-c6aed6df1149 2025-09-19 08:30:59,501 - INFO - ================================================================================ 2025-09-19 08:30:59,501 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-19 08:30:59,501 - 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-19 08:30:59,753 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-09-19 08:30:59,753 - INFO - Initial checks done. Running the testcase now 2025-09-19 08:30:59,753 - INFO - 2025-09-19 08:31:00,261 - DEBUG - Response for create_network : {'network': {'id': '548018e9-90d3-4cb2-adff-5a4d4facd0e2', 'name': 'ctest-vn-00556612', 'tenant_id': '2dfab6f6bd534c79a55cc6aed6df1149', 'project_id': '2dfab6f6bd534c79a55cc6aed6df1149', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-27966983', 'ctest-vn-00556612'], 'port_security_enabled': True, 'description': ''}} 2025-09-19 08:31:00,415 - DEBUG - Response for create_subnet : {'subnet': {'id': '6a6d2c8f-85c6-45f0-ac89-88bbddf3b24f', 'name': '', 'tenant_id': '2dfab6f6bd534c79a55cc6aed6df1149', 'network_id': '548018e9-90d3-4cb2-adff-5a4d4facd0e2', 'ip_version': 4, 'cidr': '203.128.163.64/26', 'allocation_pools': [{'start': '203.128.163.66', 'end': '203.128.163.126'}], 'gateway_ip': '203.128.163.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '203.128.163.66', 'tags': [], 'project_id': '2dfab6f6bd534c79a55cc6aed6df1149'}} 2025-09-19 08:31:00,433 - INFO - Created VN ctest-vn-00556612 2025-09-19 08:31:00,485 - DEBUG - VN ctest-vn-00556612 UUID is 548018e9-90d3-4cb2-adff-5a4d4facd0e2 2025-09-19 08:31:00,790 - DEBUG - Response for create_network : {'network': {'id': 'e6c187dd-4974-4900-aa63-69c9e6411483', 'name': 'ctest-vn-02397149', 'tenant_id': '2dfab6f6bd534c79a55cc6aed6df1149', 'project_id': '2dfab6f6bd534c79a55cc6aed6df1149', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-27966983', 'ctest-vn-02397149'], 'port_security_enabled': True, 'description': ''}} 2025-09-19 08:31:01,006 - DEBUG - Response for create_subnet : {'subnet': {'id': '333b0a81-9439-4e93-9d0a-e00a44407059', 'name': '', 'tenant_id': '2dfab6f6bd534c79a55cc6aed6df1149', 'network_id': 'e6c187dd-4974-4900-aa63-69c9e6411483', 'ip_version': 4, 'cidr': '88.83.5.0/26', 'allocation_pools': [{'start': '88.83.5.2', 'end': '88.83.5.62'}], 'gateway_ip': '88.83.5.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '88.83.5.2', 'tags': [], 'project_id': '2dfab6f6bd534c79a55cc6aed6df1149'}} 2025-09-19 08:31:01,026 - INFO - Created VN ctest-vn-02397149 2025-09-19 08:31:01,076 - DEBUG - VN ctest-vn-02397149 UUID is e6c187dd-4974-4900-aa63-69c9e6411483 2025-09-19 08:31:01,228 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-27966983:ctest-vn-00556612, 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-27966983:ctest-vn-02397149, 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-19 08:31:01,524 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '548018e9-90d3-4cb2-adff-5a4d4facd0e2', 'name': 'ctest-vn-00556612', 'tenant_id': '2dfab6f6bd534c79a55cc6aed6df1149', 'project_id': '2dfab6f6bd534c79a55cc6aed6df1149', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6a6d2c8f-85c6-45f0-ac89-88bbddf3b24f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-27966983', 'ctest-vn-00556612'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-27966983', 'ctest-policy-allow-all-61730181']], 'subnet_ipam': [{'subnet_cidr': '203.128.163.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-19 08:31:01,761 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e6c187dd-4974-4900-aa63-69c9e6411483', 'name': 'ctest-vn-02397149', 'tenant_id': '2dfab6f6bd534c79a55cc6aed6df1149', 'project_id': '2dfab6f6bd534c79a55cc6aed6df1149', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['333b0a81-9439-4e93-9d0a-e00a44407059'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-27966983', 'ctest-vn-02397149'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-27966983', 'ctest-policy-allow-all-61730181']], 'subnet_ipam': [{'subnet_cidr': '88.83.5.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-19 08:31:01,908 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-09-19 08:31:02,203 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-09-19 08:31:02,228 - DEBUG - Requesting: http://10.0.0.38:8082/domain/403581c2-be73-43db-93c1-a8f0aac181c5 2025-09-19 08:31:02,239 - DEBUG - Requesting: http://10.0.0.38:8082/project/2dfab6f6-bd53-4c79-a55c-c6aed6df1149 2025-09-19 08:31:02,308 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/548018e9-90d3-4cb2-adff-5a4d4facd0e2 2025-09-19 08:31:02,317 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/548018e9-90d3-4cb2-adff-5a4d4facd0e2 2025-09-19 08:31:02,325 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0dc4a35b-16ce-498f-9dc7-bd480660afd6 2025-09-19 08:31:02,331 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0dc4a35b-16ce-498f-9dc7-bd480660afd6 2025-09-19 08:31:02,341 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/b4fdf33c-9579-400d-aac2-aa1a5851625d 2025-09-19 08:31:02,347 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-19 08:31:02,348 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/548018e9-90d3-4cb2-adff-5a4d4facd0e2 2025-09-19 08:31:02,357 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0dc4a35b-16ce-498f-9dc7-bd480660afd6 2025-09-19 08:31:02,370 - INFO - Verified VN network id 11 for VN 548018e9-90d3-4cb2-adff-5a4d4facd0e2 2025-09-19 08:31:02,370 - INFO - Verifications in API Server for VN ctest-vn-00556612 passed 2025-09-19 08:31:02,370 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/548018e9-90d3-4cb2-adff-5a4d4facd0e2 2025-09-19 08:31:02,378 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0dc4a35b-16ce-498f-9dc7-bd480660afd6 2025-09-19 08:31:02,385 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0dc4a35b-16ce-498f-9dc7-bd480660afd6 2025-09-19 08:31:02,390 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/b4fdf33c-9579-400d-aac2-aa1a5851625d 2025-09-19 08:31:02,401 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-27966983:ctest-vn-00556612', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-27966983', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6088894087641124018', 'uuid-lslong': '12537839175718457570'}, 'enable': 'true', 'created': '2025-09-19T08:31:00', 'last-modified': '2025-09-19T08:31:01', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.900663'} 2025-09-19 08:31:02,406 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-19 08:31:02,406 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-00556612 passed 2025-09-19 08:31:02,406 - DEBUG - ====Verifying policy data for ctest-vn-00556612 in API_Server ====== 2025-09-19 08:31:02,406 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-09-19 08:31:02,411 - DEBUG - Requesting: http://10.0.0.38:8082/domain/403581c2-be73-43db-93c1-a8f0aac181c5 2025-09-19 08:31:02,420 - DEBUG - Requesting: http://10.0.0.38:8082/project/2dfab6f6-bd53-4c79-a55c-c6aed6df1149 2025-09-19 08:31:02,486 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/548018e9-90d3-4cb2-adff-5a4d4facd0e2 2025-09-19 08:31:02,497 - DEBUG - ==>Verifying data for policy with id: 4285ac9b-11c0-46b1-a820-1a18ea1db34b, fqn: ['default-domain', 'ctest-TestBasicPolicy-27966983', 'ctest-policy-allow-all-61730181'] 2025-09-19 08:31:02,497 - INFO - VN ctest-vn-00556612 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-19 08:31:02,497 - DEBUG - Verifying the vn in opserver 2025-09-19 08:31:02,497 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-27966983:ctest-vn-00556612 virtual network link through opserver 10.0.0.38 2025-09-19 08:31:02,498 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-09-19 08:31:02,788 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-09-19 08:31:02,840 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-27966983:ctest-vn-00556612', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-27966983:ctest-vn-00556612?flat'} 2025-09-19 08:31:02,840 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-27966983:ctest-vn-00556612 is found in opserver 2025-09-19 08:31:02,850 - DEBUG - Do not have enough data to verify VN in agent 2025-09-19 08:31:02,854 - DEBUG - VRF ids for VN ctest-vn-00556612: {} 2025-09-19 08:31:02,854 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-09-19 08:31:02,859 - DEBUG - Requesting: http://10.0.0.38:8082/domain/403581c2-be73-43db-93c1-a8f0aac181c5 2025-09-19 08:31:02,873 - DEBUG - Requesting: http://10.0.0.38:8082/project/2dfab6f6-bd53-4c79-a55c-c6aed6df1149 2025-09-19 08:31:02,942 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e6c187dd-4974-4900-aa63-69c9e6411483 2025-09-19 08:31:02,952 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e6c187dd-4974-4900-aa63-69c9e6411483 2025-09-19 08:31:02,960 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7b53a8dc-b22d-4abe-8467-89d08000dccc 2025-09-19 08:31:02,969 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7b53a8dc-b22d-4abe-8467-89d08000dccc 2025-09-19 08:31:02,975 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/e9072db5-ba5c-45bc-bc42-aef8d8f89e80 2025-09-19 08:31:02,982 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-19 08:31:02,982 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e6c187dd-4974-4900-aa63-69c9e6411483 2025-09-19 08:31:02,991 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7b53a8dc-b22d-4abe-8467-89d08000dccc 2025-09-19 08:31:03,003 - INFO - Verified VN network id 12 for VN e6c187dd-4974-4900-aa63-69c9e6411483 2025-09-19 08:31:03,003 - INFO - Verifications in API Server for VN ctest-vn-02397149 passed 2025-09-19 08:31:03,003 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e6c187dd-4974-4900-aa63-69c9e6411483 2025-09-19 08:31:03,011 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7b53a8dc-b22d-4abe-8467-89d08000dccc 2025-09-19 08:31:03,018 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7b53a8dc-b22d-4abe-8467-89d08000dccc 2025-09-19 08:31:03,024 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/e9072db5-ba5c-45bc-bc42-aef8d8f89e80 2025-09-19 08:31:03,037 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-27966983:ctest-vn-02397149', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-27966983', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16627720683718461696', 'uuid-lslong': '12277773325014471811'}, 'enable': 'true', 'created': '2025-09-19T08:31:00', 'last-modified': '2025-09-19T08:31:01', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.296621'} 2025-09-19 08:31:03,044 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-19 08:31:03,044 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-02397149 passed 2025-09-19 08:31:03,044 - DEBUG - ====Verifying policy data for ctest-vn-02397149 in API_Server ====== 2025-09-19 08:31:03,044 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-09-19 08:31:03,050 - DEBUG - Requesting: http://10.0.0.38:8082/domain/403581c2-be73-43db-93c1-a8f0aac181c5 2025-09-19 08:31:03,059 - DEBUG - Requesting: http://10.0.0.38:8082/project/2dfab6f6-bd53-4c79-a55c-c6aed6df1149 2025-09-19 08:31:03,126 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e6c187dd-4974-4900-aa63-69c9e6411483 2025-09-19 08:31:03,135 - DEBUG - ==>Verifying data for policy with id: 4285ac9b-11c0-46b1-a820-1a18ea1db34b, fqn: ['default-domain', 'ctest-TestBasicPolicy-27966983', 'ctest-policy-allow-all-61730181'] 2025-09-19 08:31:03,135 - INFO - VN ctest-vn-02397149 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-19 08:31:03,135 - DEBUG - Verifying the vn in opserver 2025-09-19 08:31:03,135 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-27966983:ctest-vn-02397149 virtual network link through opserver 10.0.0.38 2025-09-19 08:31:03,135 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-09-19 08:31:03,144 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-27966983:ctest-vn-02397149', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-27966983:ctest-vn-02397149?flat'} 2025-09-19 08:31:03,144 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-27966983:ctest-vn-02397149 is found in opserver 2025-09-19 08:31:03,152 - DEBUG - Do not have enough data to verify VN in agent 2025-09-19 08:31:03,155 - DEBUG - VRF ids for VN ctest-vn-02397149: {} 2025-09-19 08:31:03,213 - DEBUG - Services list from nova: [, , ] 2025-09-19 08:31:04,197 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4147-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4147-1) 2025-09-19 08:31:05,365 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4147-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4147-1) 2025-09-19 08:31:05,367 - INFO - Waiting for VM ctest-TestBasicPolicy-27966983-26512541 to be up.. 2025-09-19 08:31:05,446 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-19 08:31:10,516 - DEBUG - VM is in ACTIVE state now 2025-09-19 08:31:10,517 - INFO - VM name : ctest-TestBasicPolicy-27966983-26512541 2025-09-19 08:31:10,583 - DEBUG - VM ctest-TestBasicPolicy-27966983-26512541 ID is bbd9ace1-3a16-4de0-8fbb-449b6851b9bf 2025-09-19 08:31:10,601 - DEBUG - VM ctest-TestBasicPolicy-27966983-26512541 launched on Node cn-jenkins-deploy-platform-ansible-os-4147-1 2025-09-19 08:31:10,666 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/bbd9ace1-3a16-4de0-8fbb-449b6851b9bf 2025-09-19 08:31:10,675 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/eb4f152b-cf07-4a7b-8f28-3436b6386def 2025-09-19 08:31:13,926 - 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 1019ms') 2025-09-19 08:31:13,927 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-27966983-26512541 failed! 2025-09-19 08:31:13,980 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-27966983:ctest-vn-00556612 is 203.128.163.65 and allocation pool is NOT set 2025-09-19 08:31:16,045 - 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=2.71 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.434 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.434/1.570/2.706/1.136 ms') 2025-09-19 08:31:16,045 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-27966983-26512541 passed 2025-09-19 08:31:16,192 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 08:31:16,192 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-27966983-26512541, IP 203.128.163.67, Port 22 2025-09-19 08:31:16,353 - DEBUG - VM ctest-TestBasicPolicy-27966983-26512541 is ready for SSH connections 2025-09-19 08:31:16,353 - INFO - Waiting for VM ctest-TestBasicPolicy-27966983-79929324 to be up.. 2025-09-19 08:31:16,424 - DEBUG - VM is in ACTIVE state now 2025-09-19 08:31:16,424 - INFO - VM name : ctest-TestBasicPolicy-27966983-79929324 2025-09-19 08:31:16,494 - DEBUG - VM ctest-TestBasicPolicy-27966983-79929324 ID is 0f8272ce-7a7d-4478-8d8c-3141fe7d5403 2025-09-19 08:31:16,494 - DEBUG - VM ctest-TestBasicPolicy-27966983-79929324 launched on Node cn-jenkins-deploy-platform-ansible-os-4147-1 2025-09-19 08:31:16,560 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/0f8272ce-7a7d-4478-8d8c-3141fe7d5403 2025-09-19 08:31:16,567 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/4c884286-a956-4322-aeb7-edb4c471b6fb 2025-09-19 08:31:17,806 - 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.82 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.458 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.458/1.640/2.823/1.182 ms') 2025-09-19 08:31:17,806 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-27966983-79929324 passed 2025-09-19 08:31:17,960 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 08:31:17,960 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-27966983-79929324, IP 88.83.5.3, Port 22 2025-09-19 08:31:18,124 - DEBUG - VM ctest-TestBasicPolicy-27966983-79929324 is ready for SSH connections 2025-09-19 08:31:18,124 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 08:31:18,124 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 88.83.5.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-09-19 08:31:18,124 - DEBUG - ping -s 56 -c 3 -W 1 88.83.5.3 2025-09-19 08:31:21,794 - DEBUG - PING 88.83.5.3 (88.83.5.3): 56 data bytes 64 bytes from 88.83.5.3: seq=0 ttl=63 time=3.448 ms 64 bytes from 88.83.5.3: seq=1 ttl=63 time=0.796 ms 64 bytes from 88.83.5.3: seq=2 ttl=63 time=0.876 ms --- 88.83.5.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.796/1.706/3.448 ms 2025-09-19 08:31:21,794 - INFO - Ping to IP 88.83.5.3 from VM ctest-TestBasicPolicy-27966983-26512541 passed 2025-09-19 08:31:21,968 - DEBUG - Policy Update Response {"network-policy": {"uuid": "4285ac9b-11c0-46b1-a820-1a18ea1db34b", "href": "http://10.0.0.38:8082/network-policy/4285ac9b-11c0-46b1-a820-1a18ea1db34b"}} 2025-09-19 08:31:21,969 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 08:31:21,969 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 88.83.5.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-09-19 08:31:21,969 - DEBUG - ping -s 56 -c 3 -W 1 88.83.5.3 2025-09-19 08:31:25,168 - DEBUG - PING 88.83.5.3 (88.83.5.3): 56 data bytes --- 88.83.5.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-19 08:31:25,168 - WARNING - Ping to IP 88.83.5.3 from VM ctest-TestBasicPolicy-27966983-26512541 failed 2025-09-19 08:31:25,168 - INFO - Deleting VM ctest-TestBasicPolicy-27966983-79929324 2025-09-19 08:31:25,234 - INFO - Deleting VM ctest-TestBasicPolicy-27966983-26512541 2025-09-19 08:31:25,594 - INFO - Deleted policy ctest-policy-allow-all-61730181 2025-09-19 08:31:25,594 - INFO - Deleting VN ctest-vn-02397149 2025-09-19 08:31:25,632 - DEBUG - VN e6c187dd-4974-4900-aa63-69c9e6411483 still in use: Unable to complete operation on network e6c187dd-4974-4900-aa63-69c9e6411483. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a74544e6-1444-4054-943e-d88bd3112c05'] 2025-09-19 08:31:25,632 - WARNING - Deleting VN ctest-vn-02397149 failed..Will retry 2025-09-19 08:31:27,719 - DEBUG - Response for deleting network () 2025-09-19 08:31:27,719 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7b53a8dc-b22d-4abe-8467-89d08000dccc 2025-09-19 08:31:27,724 - DEBUG - Response Code: 404 2025-09-19 08:31:27,724 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-09-19 08:31:27,730 - DEBUG - Requesting: http://10.0.0.38:8082/domain/403581c2-be73-43db-93c1-a8f0aac181c5 2025-09-19 08:31:27,783 - DEBUG - Requesting: http://10.0.0.38:8082/project/2dfab6f6-bd53-4c79-a55c-c6aed6df1149 2025-09-19 08:31:27,854 - INFO - Validated that VN ctest-vn-02397149 is not found in API Server 2025-09-19 08:31:27,863 - DEBUG - VN ctest-vn-02397149 is not present in Agent 10.0.0.38 2025-09-19 08:31:27,863 - INFO - Validated that VN ctest-vn-02397149 is not in any agent 2025-09-19 08:31:27,875 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-02397149 info 2025-09-19 08:31:27,876 - INFO - Deleting VN ctest-vn-00556612 2025-09-19 08:31:27,961 - DEBUG - Response for deleting network () 2025-09-19 08:31:27,961 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0dc4a35b-16ce-498f-9dc7-bd480660afd6 2025-09-19 08:31:27,968 - DEBUG - Response Code: 404 2025-09-19 08:31:27,968 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-09-19 08:31:27,972 - DEBUG - Requesting: http://10.0.0.38:8082/domain/403581c2-be73-43db-93c1-a8f0aac181c5 2025-09-19 08:31:28,024 - DEBUG - Requesting: http://10.0.0.38:8082/project/2dfab6f6-bd53-4c79-a55c-c6aed6df1149 2025-09-19 08:31:28,091 - INFO - Validated that VN ctest-vn-00556612 is not found in API Server 2025-09-19 08:31:28,099 - DEBUG - VN ctest-vn-00556612 is not present in Agent 10.0.0.38 2025-09-19 08:31:28,099 - INFO - Validated that VN ctest-vn-00556612 is not in any agent 2025-09-19 08:31:28,111 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-00556612 info 2025-09-19 08:31:28,365 - DEBUG - No XMPP flaps were noticed during the test
2025-09-19 08:31:28,365 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-09-19 08:31:28,365 - INFO - -------------------------------------------------------------------------------- 2025-09-19 08:31:29,001 - INFO - Deleted project: ctest-TestBasicPolicy-27966983, ID : 2dfab6f6-bd53-4c79-a55c-c6aed6df1149