2026-04-28 12:38:52,279 - INFO - Domain Default found not creating 2026-04-28 12:38:52,478 - INFO - Project ctest-TestBasicPolicy-75551705 not found, creating it 2026-04-28 12:38:53,000 - INFO - Created Project:ctest-TestBasicPolicy-75551705, ID : a8d34982-2087-4922-a611-695d2b7bb992 2026-04-28 12:38:54,595 - INFO - ================================================================================ 2026-04-28 12:38:54,595 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-04-28 12:38:54,595 - 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 2026-04-28 12:38:54,853 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.17': '0'}} with 2026-04-28 12:38:54,853 - INFO - Initial checks done. Running the testcase now 2026-04-28 12:38:54,853 - INFO - 2026-04-28 12:38:55,440 - DEBUG - Response for create_network : {'network': {'id': '8b1d2e49-01a5-445c-a142-45e8fe28b34b', 'name': 'ctest-vn-39978338', 'tenant_id': 'a8d3498220874922a611695d2b7bb992', 'project_id': 'a8d3498220874922a611695d2b7bb992', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-75551705', 'ctest-vn-39978338'], 'port_security_enabled': True, 'description': ''}} 2026-04-28 12:38:55,640 - DEBUG - Response for create_subnet : {'subnet': {'id': '4aaad3b0-08dc-479d-b792-d3fef13dad1a', 'name': '', 'tenant_id': 'a8d3498220874922a611695d2b7bb992', 'network_id': '8b1d2e49-01a5-445c-a142-45e8fe28b34b', 'ip_version': 4, 'cidr': '59.222.108.128/26', 'allocation_pools': [{'start': '59.222.108.130', 'end': '59.222.108.190'}], 'gateway_ip': '59.222.108.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '59.222.108.130', 'tags': [], 'project_id': 'a8d3498220874922a611695d2b7bb992'}} 2026-04-28 12:38:55,659 - INFO - Created VN ctest-vn-39978338 2026-04-28 12:38:55,711 - DEBUG - VN ctest-vn-39978338 UUID is 8b1d2e49-01a5-445c-a142-45e8fe28b34b 2026-04-28 12:38:56,006 - DEBUG - Response for create_network : {'network': {'id': '6952d7a3-ba6d-43e1-8db3-10e6ee1e73da', 'name': 'ctest-vn-92495769', 'tenant_id': 'a8d3498220874922a611695d2b7bb992', 'project_id': 'a8d3498220874922a611695d2b7bb992', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-75551705', 'ctest-vn-92495769'], 'port_security_enabled': True, 'description': ''}} 2026-04-28 12:38:56,189 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b56898aa-859a-4aab-a785-b85cd6ebb93b', 'name': '', 'tenant_id': 'a8d3498220874922a611695d2b7bb992', 'network_id': '6952d7a3-ba6d-43e1-8db3-10e6ee1e73da', 'ip_version': 4, 'cidr': '185.59.45.0/26', 'allocation_pools': [{'start': '185.59.45.2', 'end': '185.59.45.62'}], 'gateway_ip': '185.59.45.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '185.59.45.2', 'tags': [], 'project_id': 'a8d3498220874922a611695d2b7bb992'}} 2026-04-28 12:38:56,210 - INFO - Created VN ctest-vn-92495769 2026-04-28 12:38:56,263 - DEBUG - VN ctest-vn-92495769 UUID is 6952d7a3-ba6d-43e1-8db3-10e6ee1e73da 2026-04-28 12:38:56,382 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-75551705:ctest-vn-39978338, 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-75551705:ctest-vn-92495769, 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] 2026-04-28 12:38:56,683 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8b1d2e49-01a5-445c-a142-45e8fe28b34b', 'name': 'ctest-vn-39978338', 'tenant_id': 'a8d3498220874922a611695d2b7bb992', 'project_id': 'a8d3498220874922a611695d2b7bb992', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4aaad3b0-08dc-479d-b792-d3fef13dad1a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-75551705', 'ctest-vn-39978338'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-75551705', 'ctest-policy-allow-all-97375583']], 'subnet_ipam': [{'subnet_cidr': '59.222.108.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-28 12:38:56,929 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6952d7a3-ba6d-43e1-8db3-10e6ee1e73da', 'name': 'ctest-vn-92495769', 'tenant_id': 'a8d3498220874922a611695d2b7bb992', 'project_id': 'a8d3498220874922a611695d2b7bb992', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b56898aa-859a-4aab-a785-b85cd6ebb93b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-75551705', 'ctest-vn-92495769'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-75551705', 'ctest-policy-allow-all-97375583']], 'subnet_ipam': [{'subnet_cidr': '185.59.45.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-28 12:38:57,091 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2026-04-28 12:38:57,394 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2026-04-28 12:38:57,430 - DEBUG - Requesting: http://10.0.0.130:8082/domain/a5b38a94-9228-4ad4-b5e2-711d788871c0 2026-04-28 12:38:57,445 - DEBUG - Requesting: http://10.0.0.130:8082/project/a8d34982-2087-4922-a611-695d2b7bb992 2026-04-28 12:38:57,517 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/8b1d2e49-01a5-445c-a142-45e8fe28b34b 2026-04-28 12:38:57,530 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/8b1d2e49-01a5-445c-a142-45e8fe28b34b 2026-04-28 12:38:57,542 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/d2296b5b-f38c-4e04-be16-e8a3a4e9f926 2026-04-28 12:38:57,550 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/d2296b5b-f38c-4e04-be16-e8a3a4e9f926 2026-04-28 12:38:57,560 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/f97128af-3f5a-40e3-bc5f-1b334dda58ed 2026-04-28 12:38:57,569 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-28 12:38:57,569 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/8b1d2e49-01a5-445c-a142-45e8fe28b34b 2026-04-28 12:38:57,580 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/d2296b5b-f38c-4e04-be16-e8a3a4e9f926 2026-04-28 12:38:57,598 - INFO - Verified VN network id 12 for VN 8b1d2e49-01a5-445c-a142-45e8fe28b34b 2026-04-28 12:38:57,598 - INFO - Verifications in API Server for VN ctest-vn-39978338 passed 2026-04-28 12:38:57,599 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/8b1d2e49-01a5-445c-a142-45e8fe28b34b 2026-04-28 12:38:57,611 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/d2296b5b-f38c-4e04-be16-e8a3a4e9f926 2026-04-28 12:38:57,619 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/d2296b5b-f38c-4e04-be16-e8a3a4e9f926 2026-04-28 12:38:57,627 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/f97128af-3f5a-40e3-bc5f-1b334dda58ed 2026-04-28 12:38:57,642 - DEBUG - Control-node 10.0.0.130 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-75551705:ctest-vn-39978338', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-75551705', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10024219236691690588', 'uuid-lslong': '11619926855568110411'}, 'enable': 'true', 'created': '2026-04-28T12:38:55', 'last-modified': '2026-04-28T12:38:56', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.982149'} 2026-04-28 12:38:57,648 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-28 12:38:57,648 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-39978338 passed 2026-04-28 12:38:57,649 - DEBUG - ====Verifying policy data for ctest-vn-39978338 in API_Server ====== 2026-04-28 12:38:57,649 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2026-04-28 12:38:57,655 - DEBUG - Requesting: http://10.0.0.130:8082/domain/a5b38a94-9228-4ad4-b5e2-711d788871c0 2026-04-28 12:38:57,667 - DEBUG - Requesting: http://10.0.0.130:8082/project/a8d34982-2087-4922-a611-695d2b7bb992 2026-04-28 12:38:57,742 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/8b1d2e49-01a5-445c-a142-45e8fe28b34b 2026-04-28 12:38:57,752 - DEBUG - ==>Verifying data for policy with id: c82d723e-59a9-401a-98d1-3417ca599a65, fqn: ['default-domain', 'ctest-TestBasicPolicy-75551705', 'ctest-policy-allow-all-97375583'] 2026-04-28 12:38:57,752 - INFO - VN ctest-vn-39978338 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-28 12:38:57,752 - DEBUG - Verifying the vn in opserver 2026-04-28 12:38:57,752 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-75551705:ctest-vn-39978338 virtual network link through opserver 10.0.0.130 2026-04-28 12:38:57,752 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2026-04-28 12:38:58,058 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2026-04-28 12:38:58,125 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-75551705:ctest-vn-39978338', 'href': 'http://10.0.0.130:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-75551705:ctest-vn-39978338?flat'} 2026-04-28 12:38:58,125 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-75551705:ctest-vn-39978338 is found in opserver 2026-04-28 12:38:58,135 - DEBUG - Do not have enough data to verify VN in agent 2026-04-28 12:38:58,140 - DEBUG - VRF ids for VN ctest-vn-39978338: {} 2026-04-28 12:38:58,140 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2026-04-28 12:38:58,146 - DEBUG - Requesting: http://10.0.0.130:8082/domain/a5b38a94-9228-4ad4-b5e2-711d788871c0 2026-04-28 12:38:58,161 - DEBUG - Requesting: http://10.0.0.130:8082/project/a8d34982-2087-4922-a611-695d2b7bb992 2026-04-28 12:38:58,250 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/6952d7a3-ba6d-43e1-8db3-10e6ee1e73da 2026-04-28 12:38:58,268 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/6952d7a3-ba6d-43e1-8db3-10e6ee1e73da 2026-04-28 12:38:58,277 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/002d286e-b6d0-49dd-8025-b1d884b02e77 2026-04-28 12:38:58,284 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/002d286e-b6d0-49dd-8025-b1d884b02e77 2026-04-28 12:38:58,294 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/17fa089f-de6e-4043-ad91-df2b8262f156 2026-04-28 12:38:58,302 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-28 12:38:58,302 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/6952d7a3-ba6d-43e1-8db3-10e6ee1e73da 2026-04-28 12:38:58,312 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/002d286e-b6d0-49dd-8025-b1d884b02e77 2026-04-28 12:38:58,326 - INFO - Verified VN network id 13 for VN 6952d7a3-ba6d-43e1-8db3-10e6ee1e73da 2026-04-28 12:38:58,327 - INFO - Verifications in API Server for VN ctest-vn-92495769 passed 2026-04-28 12:38:58,327 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/6952d7a3-ba6d-43e1-8db3-10e6ee1e73da 2026-04-28 12:38:58,336 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/002d286e-b6d0-49dd-8025-b1d884b02e77 2026-04-28 12:38:58,344 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/002d286e-b6d0-49dd-8025-b1d884b02e77 2026-04-28 12:38:58,351 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/17fa089f-de6e-4043-ad91-df2b8262f156 2026-04-28 12:38:58,363 - DEBUG - Control-node 10.0.0.130 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-75551705:ctest-vn-92495769', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-75551705', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7589365420280071137', 'uuid-lslong': '10210523364202542042'}, 'enable': 'true', 'created': '2026-04-28T12:38:55', 'last-modified': '2026-04-28T12:38:56', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.466669'} 2026-04-28 12:38:58,369 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-28 12:38:58,369 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-92495769 passed 2026-04-28 12:38:58,369 - DEBUG - ====Verifying policy data for ctest-vn-92495769 in API_Server ====== 2026-04-28 12:38:58,369 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2026-04-28 12:38:58,375 - DEBUG - Requesting: http://10.0.0.130:8082/domain/a5b38a94-9228-4ad4-b5e2-711d788871c0 2026-04-28 12:38:58,386 - DEBUG - Requesting: http://10.0.0.130:8082/project/a8d34982-2087-4922-a611-695d2b7bb992 2026-04-28 12:38:58,462 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/6952d7a3-ba6d-43e1-8db3-10e6ee1e73da 2026-04-28 12:38:58,472 - DEBUG - ==>Verifying data for policy with id: c82d723e-59a9-401a-98d1-3417ca599a65, fqn: ['default-domain', 'ctest-TestBasicPolicy-75551705', 'ctest-policy-allow-all-97375583'] 2026-04-28 12:38:58,472 - INFO - VN ctest-vn-92495769 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-28 12:38:58,472 - DEBUG - Verifying the vn in opserver 2026-04-28 12:38:58,472 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-75551705:ctest-vn-92495769 virtual network link through opserver 10.0.0.130 2026-04-28 12:38:58,472 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2026-04-28 12:38:58,482 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-75551705:ctest-vn-92495769', 'href': 'http://10.0.0.130:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-75551705:ctest-vn-92495769?flat'} 2026-04-28 12:38:58,482 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-75551705:ctest-vn-92495769 is found in opserver 2026-04-28 12:38:58,492 - DEBUG - Do not have enough data to verify VN in agent 2026-04-28 12:38:58,498 - DEBUG - VRF ids for VN ctest-vn-92495769: {} 2026-04-28 12:38:58,563 - DEBUG - Services list from nova: [, , ] 2026-04-28 12:38:59,653 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5700-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5700-1) 2026-04-28 12:39:01,056 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5700-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5700-1) 2026-04-28 12:39:01,056 - INFO - Waiting for VM ctest-TestBasicPolicy-75551705-96129310 to be up.. 2026-04-28 12:39:01,183 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-28 12:39:06,269 - DEBUG - VM is in ACTIVE state now 2026-04-28 12:39:06,270 - INFO - VM name : ctest-TestBasicPolicy-75551705-96129310 2026-04-28 12:39:06,356 - DEBUG - VM ctest-TestBasicPolicy-75551705-96129310 ID is 5dd9a8ae-149e-4538-92f1-adc34cca4cb8 2026-04-28 12:39:06,376 - DEBUG - VM ctest-TestBasicPolicy-75551705-96129310 launched on Node cn-jenkins-deploy-platform-ansible-os-5700-1 2026-04-28 12:39:06,467 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/5dd9a8ae-149e-4538-92f1-adc34cca4cb8 2026-04-28 12:39:06,476 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/e5c58367-4ffa-4b61-bfde-f9c9cf6409b0 2026-04-28 12:39:09,751 - 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 1026ms') 2026-04-28 12:39:09,752 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-75551705-96129310 failed! 2026-04-28 12:39:09,807 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-75551705:ctest-vn-39978338 is 59.222.108.129 and allocation pool is NOT set 2026-04-28 12:39:11,872 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=5.24 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.768 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.768/3.004/5.241/2.236 ms') 2026-04-28 12:39:11,872 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-75551705-96129310 passed 2026-04-28 12:39:12,023 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-28 12:39:12,023 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-75551705-96129310, IP 59.222.108.131, Port 22 2026-04-28 12:39:12,089 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-04-28 12:39:12,180 - DEBUG - VM ctest-TestBasicPolicy-75551705-96129310 is NOT ready for SSH connections, VM status: ACTIVE 2026-04-28 12:39:17,181 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-28 12:39:17,181 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-75551705-96129310, IP 59.222.108.131, Port 22 2026-04-28 12:39:17,354 - DEBUG - VM ctest-TestBasicPolicy-75551705-96129310 is ready for SSH connections 2026-04-28 12:39:17,354 - INFO - Waiting for VM ctest-TestBasicPolicy-75551705-43717950 to be up.. 2026-04-28 12:39:17,448 - DEBUG - VM is in ACTIVE state now 2026-04-28 12:39:17,448 - INFO - VM name : ctest-TestBasicPolicy-75551705-43717950 2026-04-28 12:39:17,557 - DEBUG - VM ctest-TestBasicPolicy-75551705-43717950 ID is 52fc7126-3b7b-49c8-be64-dea699f50af8 2026-04-28 12:39:17,557 - DEBUG - VM ctest-TestBasicPolicy-75551705-43717950 launched on Node cn-jenkins-deploy-platform-ansible-os-5700-1 2026-04-28 12:39:17,647 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/52fc7126-3b7b-49c8-be64-dea699f50af8 2026-04-28 12:39:17,657 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/cab99a4a-56f1-47ef-9ed5-625f3116a567 2026-04-28 12:39:18,903 - 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=3.24 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.500 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.500/1.872/3.244/1.372 ms') 2026-04-28 12:39:18,903 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-75551705-43717950 passed 2026-04-28 12:39:19,060 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-28 12:39:19,060 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-75551705-43717950, IP 185.59.45.3, Port 22 2026-04-28 12:39:19,230 - DEBUG - VM ctest-TestBasicPolicy-75551705-43717950 is ready for SSH connections 2026-04-28 12:39:19,230 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-28 12:39:19,230 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 185.59.45.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2026-04-28 12:39:19,230 - DEBUG - ping -s 56 -c 3 -W 1 185.59.45.3 2026-04-28 12:39:23,359 - DEBUG - PING 185.59.45.3 (185.59.45.3): 56 data bytes 64 bytes from 185.59.45.3: seq=0 ttl=63 time=3.381 ms 64 bytes from 185.59.45.3: seq=1 ttl=63 time=1.048 ms 64 bytes from 185.59.45.3: seq=2 ttl=63 time=0.926 ms --- 185.59.45.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.926/1.785/3.381 ms 2026-04-28 12:39:23,359 - INFO - Ping to IP 185.59.45.3 from VM ctest-TestBasicPolicy-75551705-96129310 passed 2026-04-28 12:39:23,539 - DEBUG - Policy Update Response {"network-policy": {"uuid": "c82d723e-59a9-401a-98d1-3417ca599a65", "href": "http://10.0.0.130:8082/network-policy/c82d723e-59a9-401a-98d1-3417ca599a65"}} 2026-04-28 12:39:23,539 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-28 12:39:23,539 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 185.59.45.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2026-04-28 12:39:23,539 - DEBUG - ping -s 56 -c 3 -W 1 185.59.45.3 2026-04-28 12:39:26,781 - DEBUG - PING 185.59.45.3 (185.59.45.3): 56 data bytes --- 185.59.45.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-04-28 12:39:26,781 - WARNING - Ping to IP 185.59.45.3 from VM ctest-TestBasicPolicy-75551705-96129310 failed 2026-04-28 12:39:26,781 - INFO - Deleting VM ctest-TestBasicPolicy-75551705-43717950 2026-04-28 12:39:26,859 - INFO - Deleting VM ctest-TestBasicPolicy-75551705-96129310 2026-04-28 12:39:27,359 - INFO - Deleted policy ctest-policy-allow-all-97375583 2026-04-28 12:39:27,359 - INFO - Deleting VN ctest-vn-92495769 2026-04-28 12:39:27,399 - DEBUG - VN 6952d7a3-ba6d-43e1-8db3-10e6ee1e73da still in use: Unable to complete operation on network 6952d7a3-ba6d-43e1-8db3-10e6ee1e73da. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-69bdc774-0b1b-45c8-863f-e5d463a2adfc'] 2026-04-28 12:39:27,399 - WARNING - Deleting VN ctest-vn-92495769 failed..Will retry 2026-04-28 12:39:29,503 - DEBUG - Response for deleting network () 2026-04-28 12:39:29,503 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/002d286e-b6d0-49dd-8025-b1d884b02e77 2026-04-28 12:39:29,507 - DEBUG - Response Code: 404 2026-04-28 12:39:29,508 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2026-04-28 12:39:29,515 - DEBUG - Requesting: http://10.0.0.130:8082/domain/a5b38a94-9228-4ad4-b5e2-711d788871c0 2026-04-28 12:39:29,575 - DEBUG - Requesting: http://10.0.0.130:8082/project/a8d34982-2087-4922-a611-695d2b7bb992 2026-04-28 12:39:29,649 - INFO - Validated that VN ctest-vn-92495769 is not found in API Server 2026-04-28 12:39:29,659 - DEBUG - VN ctest-vn-92495769 is not present in Agent 10.0.0.130 2026-04-28 12:39:29,659 - INFO - Validated that VN ctest-vn-92495769 is not in any agent 2026-04-28 12:39:29,676 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-92495769 info 2026-04-28 12:39:29,676 - INFO - Deleting VN ctest-vn-39978338 2026-04-28 12:39:29,788 - DEBUG - Response for deleting network () 2026-04-28 12:39:29,789 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/d2296b5b-f38c-4e04-be16-e8a3a4e9f926 2026-04-28 12:39:29,796 - DEBUG - Response Code: 404 2026-04-28 12:39:29,796 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2026-04-28 12:39:29,802 - DEBUG - Requesting: http://10.0.0.130:8082/domain/a5b38a94-9228-4ad4-b5e2-711d788871c0 2026-04-28 12:39:29,856 - DEBUG - Requesting: http://10.0.0.130:8082/project/a8d34982-2087-4922-a611-695d2b7bb992 2026-04-28 12:39:29,925 - INFO - Validated that VN ctest-vn-39978338 is not found in API Server 2026-04-28 12:39:29,935 - DEBUG - VN ctest-vn-39978338 is not present in Agent 10.0.0.130 2026-04-28 12:39:29,935 - INFO - Validated that VN ctest-vn-39978338 is not in any agent 2026-04-28 12:39:29,952 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-39978338 info 2026-04-28 12:39:30,209 - DEBUG - No XMPP flaps were noticed during the test 2026-04-28 12:39:30,209 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:36] 2026-04-28 12:39:30,209 - INFO - -------------------------------------------------------------------------------- 2026-04-28 12:39:30,929 - INFO - Deleted project: ctest-TestBasicPolicy-75551705, ID : a8d34982-2087-4922-a611-695d2b7bb992