2025-10-12 07:23:36,168 - INFO - Domain Default found not creating 2025-10-12 07:23:36,354 - INFO - Project ctest-TestBasicPolicy-78128908 not found, creating it 2025-10-12 07:23:36,889 - INFO - Created Project:ctest-TestBasicPolicy-78128908, ID : 9df2c784-77a1-4ee5-abdb-78f9fa75e436 2025-10-12 07:23:38,398 - INFO - ================================================================================ 2025-10-12 07:23:38,398 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-12 07:23:38,398 - 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-10-12 07:23:38,654 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.14': '0'}} with 2025-10-12 07:23:38,654 - INFO - Initial checks done. Running the testcase now 2025-10-12 07:23:38,654 - INFO - 2025-10-12 07:23:39,261 - DEBUG - Response for create_network : {'network': {'id': 'd460e6b3-3c10-49d3-b1c6-109a709e7b22', 'name': 'ctest-vn-24968054', 'tenant_id': '9df2c78477a14ee5abdb78f9fa75e436', 'project_id': '9df2c78477a14ee5abdb78f9fa75e436', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78128908', 'ctest-vn-24968054'], 'port_security_enabled': True, 'description': ''}} 2025-10-12 07:23:39,467 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bb99a738-8942-4ec9-9240-814336f99b62', 'name': '', 'tenant_id': '9df2c78477a14ee5abdb78f9fa75e436', 'network_id': 'd460e6b3-3c10-49d3-b1c6-109a709e7b22', 'ip_version': 4, 'cidr': '12.216.52.128/26', 'allocation_pools': [{'start': '12.216.52.130', 'end': '12.216.52.190'}], 'gateway_ip': '12.216.52.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '12.216.52.130', 'tags': [], 'project_id': '9df2c78477a14ee5abdb78f9fa75e436'}} 2025-10-12 07:23:39,487 - INFO - Created VN ctest-vn-24968054 2025-10-12 07:23:39,538 - DEBUG - VN ctest-vn-24968054 UUID is d460e6b3-3c10-49d3-b1c6-109a709e7b22 2025-10-12 07:23:39,847 - DEBUG - Response for create_network : {'network': {'id': 'f673cfa3-6fe2-4634-8ec2-aafcc1bdf440', 'name': 'ctest-vn-81940783', 'tenant_id': '9df2c78477a14ee5abdb78f9fa75e436', 'project_id': '9df2c78477a14ee5abdb78f9fa75e436', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78128908', 'ctest-vn-81940783'], 'port_security_enabled': True, 'description': ''}} 2025-10-12 07:23:40,077 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b76f481d-f7e4-48c3-957a-98094c859174', 'name': '', 'tenant_id': '9df2c78477a14ee5abdb78f9fa75e436', 'network_id': 'f673cfa3-6fe2-4634-8ec2-aafcc1bdf440', 'ip_version': 4, 'cidr': '32.108.225.128/26', 'allocation_pools': [{'start': '32.108.225.130', 'end': '32.108.225.190'}], 'gateway_ip': '32.108.225.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '32.108.225.130', 'tags': [], 'project_id': '9df2c78477a14ee5abdb78f9fa75e436'}} 2025-10-12 07:23:40,100 - INFO - Created VN ctest-vn-81940783 2025-10-12 07:23:40,154 - DEBUG - VN ctest-vn-81940783 UUID is f673cfa3-6fe2-4634-8ec2-aafcc1bdf440 2025-10-12 07:23:40,272 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-78128908:ctest-vn-24968054, 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-78128908:ctest-vn-81940783, 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-10-12 07:23:40,572 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd460e6b3-3c10-49d3-b1c6-109a709e7b22', 'name': 'ctest-vn-24968054', 'tenant_id': '9df2c78477a14ee5abdb78f9fa75e436', 'project_id': '9df2c78477a14ee5abdb78f9fa75e436', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['bb99a738-8942-4ec9-9240-814336f99b62'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78128908', 'ctest-vn-24968054'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-78128908', 'ctest-policy-allow-all-63627276']], 'subnet_ipam': [{'subnet_cidr': '12.216.52.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-12 07:23:40,811 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f673cfa3-6fe2-4634-8ec2-aafcc1bdf440', 'name': 'ctest-vn-81940783', 'tenant_id': '9df2c78477a14ee5abdb78f9fa75e436', 'project_id': '9df2c78477a14ee5abdb78f9fa75e436', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b76f481d-f7e4-48c3-957a-98094c859174'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78128908', 'ctest-vn-81940783'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-78128908', 'ctest-policy-allow-all-63627276']], 'subnet_ipam': [{'subnet_cidr': '32.108.225.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-12 07:23:40,991 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-12 07:23:41,290 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-12 07:23:41,326 - DEBUG - Requesting: http://10.0.0.254:8082/domain/6e4b6059-756e-452a-9055-93dfea6dfe21 2025-10-12 07:23:41,338 - DEBUG - Requesting: http://10.0.0.254:8082/project/9df2c784-77a1-4ee5-abdb-78f9fa75e436 2025-10-12 07:23:41,410 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/d460e6b3-3c10-49d3-b1c6-109a709e7b22 2025-10-12 07:23:41,423 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/d460e6b3-3c10-49d3-b1c6-109a709e7b22 2025-10-12 07:23:41,433 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c6323327-f9fe-44ca-abd5-047c40bd72cf 2025-10-12 07:23:41,439 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c6323327-f9fe-44ca-abd5-047c40bd72cf 2025-10-12 07:23:41,447 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/e5c533e2-92fd-4b9f-9b1a-fc41de2d0469 2025-10-12 07:23:41,454 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-12 07:23:41,454 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/d460e6b3-3c10-49d3-b1c6-109a709e7b22 2025-10-12 07:23:41,463 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c6323327-f9fe-44ca-abd5-047c40bd72cf 2025-10-12 07:23:41,480 - INFO - Verified VN network id 11 for VN d460e6b3-3c10-49d3-b1c6-109a709e7b22 2025-10-12 07:23:41,480 - INFO - Verifications in API Server for VN ctest-vn-24968054 passed 2025-10-12 07:23:41,480 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/d460e6b3-3c10-49d3-b1c6-109a709e7b22 2025-10-12 07:23:41,494 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c6323327-f9fe-44ca-abd5-047c40bd72cf 2025-10-12 07:23:41,503 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c6323327-f9fe-44ca-abd5-047c40bd72cf 2025-10-12 07:23:41,513 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/e5c533e2-92fd-4b9f-9b1a-fc41de2d0469 2025-10-12 07:23:41,529 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-78128908:ctest-vn-24968054', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-78128908', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15303485191286180307', 'uuid-lslong': '12809944445602396962'}, 'enable': 'true', 'created': '2025-10-12T07:23:39', 'last-modified': '2025-10-12T07:23:40', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.986777'} 2025-10-12 07:23:41,537 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-12 07:23:41,538 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-24968054 passed 2025-10-12 07:23:41,538 - DEBUG - ====Verifying policy data for ctest-vn-24968054 in API_Server ====== 2025-10-12 07:23:41,538 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-12 07:23:41,545 - DEBUG - Requesting: http://10.0.0.254:8082/domain/6e4b6059-756e-452a-9055-93dfea6dfe21 2025-10-12 07:23:41,557 - DEBUG - Requesting: http://10.0.0.254:8082/project/9df2c784-77a1-4ee5-abdb-78f9fa75e436 2025-10-12 07:23:41,632 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/d460e6b3-3c10-49d3-b1c6-109a709e7b22 2025-10-12 07:23:41,644 - DEBUG - ==>Verifying data for policy with id: a914c578-10e2-49a3-ba26-95daa75b8169, fqn: ['default-domain', 'ctest-TestBasicPolicy-78128908', 'ctest-policy-allow-all-63627276'] 2025-10-12 07:23:41,644 - INFO - VN ctest-vn-24968054 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-12 07:23:41,644 - DEBUG - Verifying the vn in opserver 2025-10-12 07:23:41,644 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-78128908:ctest-vn-24968054 virtual network link through opserver 10.0.0.254 2025-10-12 07:23:41,644 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-12 07:23:41,940 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-12 07:23:42,004 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-78128908:ctest-vn-24968054', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-78128908:ctest-vn-24968054?flat'} 2025-10-12 07:23:42,004 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-78128908:ctest-vn-24968054 is found in opserver 2025-10-12 07:23:42,016 - DEBUG - Do not have enough data to verify VN in agent 2025-10-12 07:23:42,020 - DEBUG - VRF ids for VN ctest-vn-24968054: {} 2025-10-12 07:23:42,020 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-12 07:23:42,026 - DEBUG - Requesting: http://10.0.0.254:8082/domain/6e4b6059-756e-452a-9055-93dfea6dfe21 2025-10-12 07:23:42,036 - DEBUG - Requesting: http://10.0.0.254:8082/project/9df2c784-77a1-4ee5-abdb-78f9fa75e436 2025-10-12 07:23:42,113 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/f673cfa3-6fe2-4634-8ec2-aafcc1bdf440 2025-10-12 07:23:42,126 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/f673cfa3-6fe2-4634-8ec2-aafcc1bdf440 2025-10-12 07:23:42,135 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c35ad71b-4d8a-4a08-b381-0fc448df788d 2025-10-12 07:23:42,142 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c35ad71b-4d8a-4a08-b381-0fc448df788d 2025-10-12 07:23:42,150 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/c559adf9-7817-4b13-9349-2fae71786e07 2025-10-12 07:23:42,158 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-12 07:23:42,158 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/f673cfa3-6fe2-4634-8ec2-aafcc1bdf440 2025-10-12 07:23:42,169 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c35ad71b-4d8a-4a08-b381-0fc448df788d 2025-10-12 07:23:42,184 - INFO - Verified VN network id 12 for VN f673cfa3-6fe2-4634-8ec2-aafcc1bdf440 2025-10-12 07:23:42,185 - INFO - Verifications in API Server for VN ctest-vn-81940783 passed 2025-10-12 07:23:42,185 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/f673cfa3-6fe2-4634-8ec2-aafcc1bdf440 2025-10-12 07:23:42,194 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c35ad71b-4d8a-4a08-b381-0fc448df788d 2025-10-12 07:23:42,202 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c35ad71b-4d8a-4a08-b381-0fc448df788d 2025-10-12 07:23:42,211 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/c559adf9-7817-4b13-9349-2fae71786e07 2025-10-12 07:23:42,223 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-78128908:ctest-vn-81940783', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-78128908', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17758766056515716660', 'uuid-lslong': '10286972501426566208'}, 'enable': 'true', 'created': '2025-10-12T07:23:39', 'last-modified': '2025-10-12T07:23:40', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.434178'} 2025-10-12 07:23:42,228 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-12 07:23:42,228 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-81940783 passed 2025-10-12 07:23:42,228 - DEBUG - ====Verifying policy data for ctest-vn-81940783 in API_Server ====== 2025-10-12 07:23:42,229 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-12 07:23:42,234 - DEBUG - Requesting: http://10.0.0.254:8082/domain/6e4b6059-756e-452a-9055-93dfea6dfe21 2025-10-12 07:23:42,248 - DEBUG - Requesting: http://10.0.0.254:8082/project/9df2c784-77a1-4ee5-abdb-78f9fa75e436 2025-10-12 07:23:42,325 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/f673cfa3-6fe2-4634-8ec2-aafcc1bdf440 2025-10-12 07:23:42,335 - DEBUG - ==>Verifying data for policy with id: a914c578-10e2-49a3-ba26-95daa75b8169, fqn: ['default-domain', 'ctest-TestBasicPolicy-78128908', 'ctest-policy-allow-all-63627276'] 2025-10-12 07:23:42,335 - INFO - VN ctest-vn-81940783 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-12 07:23:42,335 - DEBUG - Verifying the vn in opserver 2025-10-12 07:23:42,335 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-78128908:ctest-vn-81940783 virtual network link through opserver 10.0.0.254 2025-10-12 07:23:42,335 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-12 07:23:42,345 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-78128908:ctest-vn-81940783', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-78128908:ctest-vn-81940783?flat'} 2025-10-12 07:23:42,346 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-78128908:ctest-vn-81940783 is found in opserver 2025-10-12 07:23:42,355 - DEBUG - Do not have enough data to verify VN in agent 2025-10-12 07:23:42,360 - DEBUG - VRF ids for VN ctest-vn-81940783: {} 2025-10-12 07:23:42,426 - DEBUG - Services list from nova: [, , ] 2025-10-12 07:23:43,500 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4290-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4290-1) 2025-10-12 07:23:44,700 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4290-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4290-1) 2025-10-12 07:23:44,700 - INFO - Waiting for VM ctest-TestBasicPolicy-78128908-74241140 to be up.. 2025-10-12 07:23:44,783 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-12 07:23:49,878 - DEBUG - VM is in ACTIVE state now 2025-10-12 07:23:49,878 - INFO - VM name : ctest-TestBasicPolicy-78128908-74241140 2025-10-12 07:23:49,983 - DEBUG - VM ctest-TestBasicPolicy-78128908-74241140 ID is ce4a582d-74d5-4d03-ad04-5b3fa1f8db95 2025-10-12 07:23:50,007 - DEBUG - VM ctest-TestBasicPolicy-78128908-74241140 launched on Node cn-jenkins-deploy-platform-ansible-os-4290-1 2025-10-12 07:23:50,098 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/ce4a582d-74d5-4d03-ad04-5b3fa1f8db95 2025-10-12 07:23:50,107 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/29775134-359c-4fc9-a8c9-b6912a2b13ad 2025-10-12 07:23:53,380 - 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 1029ms') 2025-10-12 07:23:53,380 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-78128908-74241140 failed! 2025-10-12 07:23:53,442 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-78128908:ctest-vn-24968054 is 12.216.52.129 and allocation pool is NOT set 2025-10-12 07:23:55,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=8.17 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.53 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 = 2.531/5.348/8.166/2.817 ms') 2025-10-12 07:23:55,507 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-78128908-74241140 passed 2025-10-12 07:23:55,655 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-12 07:23:55,655 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-78128908-74241140, IP 12.216.52.131, Port 22 2025-10-12 07:23:55,814 - DEBUG - VM ctest-TestBasicPolicy-78128908-74241140 is ready for SSH connections 2025-10-12 07:23:55,814 - INFO - Waiting for VM ctest-TestBasicPolicy-78128908-06069582 to be up.. 2025-10-12 07:23:55,893 - DEBUG - VM is in ACTIVE state now 2025-10-12 07:23:55,893 - INFO - VM name : ctest-TestBasicPolicy-78128908-06069582 2025-10-12 07:23:55,970 - DEBUG - VM ctest-TestBasicPolicy-78128908-06069582 ID is 3d7f3ddb-ead1-4bbe-b4b6-2285a2068978 2025-10-12 07:23:55,970 - DEBUG - VM ctest-TestBasicPolicy-78128908-06069582 launched on Node cn-jenkins-deploy-platform-ansible-os-4290-1 2025-10-12 07:23:56,044 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/3d7f3ddb-ead1-4bbe-b4b6-2285a2068978 2025-10-12 07:23:56,054 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/489a2128-4a88-401f-9a25-65a4afc392ee 2025-10-12 07:23:57,315 - 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=6.50 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.742 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.742/3.620/6.499/2.878 ms') 2025-10-12 07:23:57,316 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-78128908-06069582 passed 2025-10-12 07:23:57,470 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-12 07:23:57,471 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-78128908-06069582, IP 32.108.225.131, Port 22 2025-10-12 07:23:57,636 - DEBUG - VM ctest-TestBasicPolicy-78128908-06069582 is ready for SSH connections 2025-10-12 07:23:57,636 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-12 07:23:57,637 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 32.108.225.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-12 07:23:57,637 - DEBUG - ping -s 56 -c 3 -W 1 32.108.225.131 2025-10-12 07:24:01,806 - DEBUG - PING 32.108.225.131 (32.108.225.131): 56 data bytes 64 bytes from 32.108.225.131: seq=0 ttl=63 time=4.611 ms 64 bytes from 32.108.225.131: seq=1 ttl=63 time=1.007 ms 64 bytes from 32.108.225.131: seq=2 ttl=63 time=0.866 ms --- 32.108.225.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.866/2.161/4.611 ms 2025-10-12 07:24:01,806 - INFO - Ping to IP 32.108.225.131 from VM ctest-TestBasicPolicy-78128908-74241140 passed 2025-10-12 07:24:01,986 - DEBUG - Policy Update Response {"network-policy": {"uuid": "a914c578-10e2-49a3-ba26-95daa75b8169", "href": "http://10.0.0.254:8082/network-policy/a914c578-10e2-49a3-ba26-95daa75b8169"}} 2025-10-12 07:24:01,986 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-12 07:24:01,987 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 32.108.225.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-12 07:24:01,987 - DEBUG - ping -s 56 -c 3 -W 1 32.108.225.131 2025-10-12 07:24:05,228 - DEBUG - PING 32.108.225.131 (32.108.225.131): 56 data bytes --- 32.108.225.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-12 07:24:05,228 - WARNING - Ping to IP 32.108.225.131 from VM ctest-TestBasicPolicy-78128908-74241140 failed 2025-10-12 07:24:05,228 - INFO - Deleting VM ctest-TestBasicPolicy-78128908-06069582 2025-10-12 07:24:05,330 - INFO - Deleting VM ctest-TestBasicPolicy-78128908-74241140 2025-10-12 07:24:05,731 - INFO - Deleted policy ctest-policy-allow-all-63627276 2025-10-12 07:24:05,731 - INFO - Deleting VN ctest-vn-81940783 2025-10-12 07:24:05,777 - DEBUG - VN f673cfa3-6fe2-4634-8ec2-aafcc1bdf440 still in use: Unable to complete operation on network f673cfa3-6fe2-4634-8ec2-aafcc1bdf440. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-121bd7cf-14fc-4681-81ad-b73e5a1db46c'] 2025-10-12 07:24:05,777 - WARNING - Deleting VN ctest-vn-81940783 failed..Will retry 2025-10-12 07:24:07,909 - DEBUG - Response for deleting network () 2025-10-12 07:24:07,909 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c35ad71b-4d8a-4a08-b381-0fc448df788d 2025-10-12 07:24:07,915 - DEBUG - Response Code: 404 2025-10-12 07:24:07,916 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-12 07:24:07,921 - DEBUG - Requesting: http://10.0.0.254:8082/domain/6e4b6059-756e-452a-9055-93dfea6dfe21 2025-10-12 07:24:07,976 - DEBUG - Requesting: http://10.0.0.254:8082/project/9df2c784-77a1-4ee5-abdb-78f9fa75e436 2025-10-12 07:24:08,049 - INFO - Validated that VN ctest-vn-81940783 is not found in API Server 2025-10-12 07:24:08,059 - DEBUG - VN ctest-vn-81940783 is not present in Agent 10.0.0.254 2025-10-12 07:24:08,059 - INFO - Validated that VN ctest-vn-81940783 is not in any agent 2025-10-12 07:24:08,074 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-81940783 info 2025-10-12 07:24:08,074 - INFO - Deleting VN ctest-vn-24968054 2025-10-12 07:24:08,205 - DEBUG - Response for deleting network () 2025-10-12 07:24:08,205 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c6323327-f9fe-44ca-abd5-047c40bd72cf 2025-10-12 07:24:08,211 - DEBUG - Response Code: 404 2025-10-12 07:24:08,212 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-12 07:24:08,218 - DEBUG - Requesting: http://10.0.0.254:8082/domain/6e4b6059-756e-452a-9055-93dfea6dfe21 2025-10-12 07:24:08,276 - DEBUG - Requesting: http://10.0.0.254:8082/project/9df2c784-77a1-4ee5-abdb-78f9fa75e436 2025-10-12 07:24:08,355 - INFO - Validated that VN ctest-vn-24968054 is not found in API Server 2025-10-12 07:24:08,365 - DEBUG - VN ctest-vn-24968054 is not present in Agent 10.0.0.254 2025-10-12 07:24:08,365 - INFO - Validated that VN ctest-vn-24968054 is not in any agent 2025-10-12 07:24:08,381 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-24968054 info 2025-10-12 07:24:08,645 - DEBUG - No XMPP flaps were noticed during the test
2025-10-12 07:24:08,645 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-10-12 07:24:08,645 - INFO - -------------------------------------------------------------------------------- 2025-10-12 07:24:09,353 - INFO - Deleted project: ctest-TestBasicPolicy-78128908, ID : 9df2c784-77a1-4ee5-abdb-78f9fa75e436