2025-08-14 15:23:21,805 - INFO - Domain Default found not creating 2025-08-14 15:23:21,918 - INFO - Project ctest-TestBasicPolicy-99032249 not found, creating it 2025-08-14 15:23:22,364 - INFO - Created Project:ctest-TestBasicPolicy-99032249, ID : a128e111-b2c8-45d4-9259-e5bfd4beebef 2025-08-14 15:23:23,832 - INFO - ================================================================================ 2025-08-14 15:23:23,832 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-14 15:23:23,832 - 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-08-14 15:23:24,081 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-08-14 15:23:24,081 - INFO - Initial checks done. Running the testcase now 2025-08-14 15:23:24,081 - INFO - 2025-08-14 15:23:24,597 - DEBUG - Response for create_network : {'network': {'id': '2d4154e4-33b6-4414-acfb-1668dbb399ec', 'name': 'ctest-vn-46989615', 'tenant_id': 'a128e111b2c845d49259e5bfd4beebef', 'project_id': 'a128e111b2c845d49259e5bfd4beebef', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-99032249', 'ctest-vn-46989615'], 'port_security_enabled': True, 'description': ''}} 2025-08-14 15:23:24,738 - DEBUG - Response for create_subnet : {'subnet': {'id': '8e06eedf-3bed-4697-b836-a276bcbf5e98', 'name': '', 'tenant_id': 'a128e111b2c845d49259e5bfd4beebef', 'network_id': '2d4154e4-33b6-4414-acfb-1668dbb399ec', 'ip_version': 4, 'cidr': '59.7.207.192/26', 'allocation_pools': [{'start': '59.7.207.194', 'end': '59.7.207.254'}], 'gateway_ip': '59.7.207.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '59.7.207.194', 'tags': [], 'project_id': 'a128e111b2c845d49259e5bfd4beebef'}} 2025-08-14 15:23:24,753 - INFO - Created VN ctest-vn-46989615 2025-08-14 15:23:24,804 - DEBUG - VN ctest-vn-46989615 UUID is 2d4154e4-33b6-4414-acfb-1668dbb399ec 2025-08-14 15:23:25,104 - DEBUG - Response for create_network : {'network': {'id': 'eb6f2635-40c1-4ea6-aaee-d5895d9e4fbb', 'name': 'ctest-vn-01715274', 'tenant_id': 'a128e111b2c845d49259e5bfd4beebef', 'project_id': 'a128e111b2c845d49259e5bfd4beebef', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-99032249', 'ctest-vn-01715274'], 'port_security_enabled': True, 'description': ''}} 2025-08-14 15:23:25,313 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a9b9ee74-5075-4237-b1f2-96b0b08a4712', 'name': '', 'tenant_id': 'a128e111b2c845d49259e5bfd4beebef', 'network_id': 'eb6f2635-40c1-4ea6-aaee-d5895d9e4fbb', 'ip_version': 4, 'cidr': '1.94.216.64/26', 'allocation_pools': [{'start': '1.94.216.66', 'end': '1.94.216.126'}], 'gateway_ip': '1.94.216.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '1.94.216.66', 'tags': [], 'project_id': 'a128e111b2c845d49259e5bfd4beebef'}} 2025-08-14 15:23:25,329 - INFO - Created VN ctest-vn-01715274 2025-08-14 15:23:25,380 - DEBUG - VN ctest-vn-01715274 UUID is eb6f2635-40c1-4ea6-aaee-d5895d9e4fbb 2025-08-14 15:23:25,528 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-99032249:ctest-vn-46989615, 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-99032249:ctest-vn-01715274, 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-08-14 15:23:25,813 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2d4154e4-33b6-4414-acfb-1668dbb399ec', 'name': 'ctest-vn-46989615', 'tenant_id': 'a128e111b2c845d49259e5bfd4beebef', 'project_id': 'a128e111b2c845d49259e5bfd4beebef', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8e06eedf-3bed-4697-b836-a276bcbf5e98'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-99032249', 'ctest-vn-46989615'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-99032249', 'ctest-policy-allow-all-94782879']], 'subnet_ipam': [{'subnet_cidr': '59.7.207.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-14 15:23:26,029 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'eb6f2635-40c1-4ea6-aaee-d5895d9e4fbb', 'name': 'ctest-vn-01715274', 'tenant_id': 'a128e111b2c845d49259e5bfd4beebef', 'project_id': 'a128e111b2c845d49259e5bfd4beebef', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a9b9ee74-5075-4237-b1f2-96b0b08a4712'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-99032249', 'ctest-vn-01715274'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-99032249', 'ctest-policy-allow-all-94782879']], 'subnet_ipam': [{'subnet_cidr': '1.94.216.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-14 15:23:26,176 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-14 15:23:26,469 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-14 15:23:26,494 - DEBUG - Requesting: http://10.0.0.254:8082/domain/2efb973f-6838-492e-9166-96a0cc45a015 2025-08-14 15:23:26,506 - DEBUG - Requesting: http://10.0.0.254:8082/project/a128e111-b2c8-45d4-9259-e5bfd4beebef 2025-08-14 15:23:26,574 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/2d4154e4-33b6-4414-acfb-1668dbb399ec 2025-08-14 15:23:26,583 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/2d4154e4-33b6-4414-acfb-1668dbb399ec 2025-08-14 15:23:26,592 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/166fe34f-49fc-4ee3-89f7-86f2601420ae 2025-08-14 15:23:26,597 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/166fe34f-49fc-4ee3-89f7-86f2601420ae 2025-08-14 15:23:26,603 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/d4bfccf7-bd21-4e10-a8bd-40ecf35a0066 2025-08-14 15:23:26,608 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-14 15:23:26,609 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/2d4154e4-33b6-4414-acfb-1668dbb399ec 2025-08-14 15:23:26,617 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/166fe34f-49fc-4ee3-89f7-86f2601420ae 2025-08-14 15:23:26,628 - INFO - Verified VN network id 11 for VN 2d4154e4-33b6-4414-acfb-1668dbb399ec 2025-08-14 15:23:26,629 - INFO - Verifications in API Server for VN ctest-vn-46989615 passed 2025-08-14 15:23:26,629 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/2d4154e4-33b6-4414-acfb-1668dbb399ec 2025-08-14 15:23:26,637 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/166fe34f-49fc-4ee3-89f7-86f2601420ae 2025-08-14 15:23:26,643 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/166fe34f-49fc-4ee3-89f7-86f2601420ae 2025-08-14 15:23:26,649 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/d4bfccf7-bd21-4e10-a8bd-40ecf35a0066 2025-08-14 15:23:26,659 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-99032249:ctest-vn-46989615', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-99032249', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3260980944289809428', 'uuid-lslong': '12464581033296370156'}, 'enable': 'true', 'created': '2025-08-14T15:23:24', 'last-modified': '2025-08-14T15:23:25', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.868987'} 2025-08-14 15:23:26,665 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-14 15:23:26,665 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-46989615 passed 2025-08-14 15:23:26,665 - DEBUG - ====Verifying policy data for ctest-vn-46989615 in API_Server ====== 2025-08-14 15:23:26,665 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-14 15:23:26,671 - DEBUG - Requesting: http://10.0.0.254:8082/domain/2efb973f-6838-492e-9166-96a0cc45a015 2025-08-14 15:23:26,680 - DEBUG - Requesting: http://10.0.0.254:8082/project/a128e111-b2c8-45d4-9259-e5bfd4beebef 2025-08-14 15:23:26,747 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/2d4154e4-33b6-4414-acfb-1668dbb399ec 2025-08-14 15:23:26,756 - DEBUG - ==>Verifying data for policy with id: 6640e4c5-9a6c-4b62-bb30-fbf0b768d195, fqn: ['default-domain', 'ctest-TestBasicPolicy-99032249', 'ctest-policy-allow-all-94782879'] 2025-08-14 15:23:26,756 - INFO - VN ctest-vn-46989615 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-14 15:23:26,756 - DEBUG - Verifying the vn in opserver 2025-08-14 15:23:26,756 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-99032249:ctest-vn-46989615 virtual network link through opserver 10.0.0.254 2025-08-14 15:23:26,756 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-14 15:23:27,047 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-14 15:23:27,094 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-99032249:ctest-vn-46989615', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-99032249:ctest-vn-46989615?flat'} 2025-08-14 15:23:27,094 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-99032249:ctest-vn-46989615 is found in opserver 2025-08-14 15:23:27,104 - DEBUG - Do not have enough data to verify VN in agent 2025-08-14 15:23:27,109 - DEBUG - VRF ids for VN ctest-vn-46989615: {} 2025-08-14 15:23:27,109 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-14 15:23:27,113 - DEBUG - Requesting: http://10.0.0.254:8082/domain/2efb973f-6838-492e-9166-96a0cc45a015 2025-08-14 15:23:27,123 - DEBUG - Requesting: http://10.0.0.254:8082/project/a128e111-b2c8-45d4-9259-e5bfd4beebef 2025-08-14 15:23:27,192 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/eb6f2635-40c1-4ea6-aaee-d5895d9e4fbb 2025-08-14 15:23:27,203 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/eb6f2635-40c1-4ea6-aaee-d5895d9e4fbb 2025-08-14 15:23:27,211 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/8ddc7867-f31a-4f8f-88a6-b8c8fd9c3199 2025-08-14 15:23:27,217 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/8ddc7867-f31a-4f8f-88a6-b8c8fd9c3199 2025-08-14 15:23:27,223 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/9acd536d-f7c9-4a7f-8cd5-916a694b4461 2025-08-14 15:23:27,229 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-14 15:23:27,229 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/eb6f2635-40c1-4ea6-aaee-d5895d9e4fbb 2025-08-14 15:23:27,237 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/8ddc7867-f31a-4f8f-88a6-b8c8fd9c3199 2025-08-14 15:23:27,249 - INFO - Verified VN network id 12 for VN eb6f2635-40c1-4ea6-aaee-d5895d9e4fbb 2025-08-14 15:23:27,249 - INFO - Verifications in API Server for VN ctest-vn-01715274 passed 2025-08-14 15:23:27,249 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/eb6f2635-40c1-4ea6-aaee-d5895d9e4fbb 2025-08-14 15:23:27,258 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/8ddc7867-f31a-4f8f-88a6-b8c8fd9c3199 2025-08-14 15:23:27,264 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/8ddc7867-f31a-4f8f-88a6-b8c8fd9c3199 2025-08-14 15:23:27,269 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/9acd536d-f7c9-4a7f-8cd5-916a694b4461 2025-08-14 15:23:27,280 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-99032249:ctest-vn-01715274', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-99032249', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16964820331489480358', 'uuid-lslong': '12317016816862777275'}, 'enable': 'true', 'created': '2025-08-14T15:23:25', 'last-modified': '2025-08-14T15:23:26', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.271682'} 2025-08-14 15:23:27,285 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-14 15:23:27,285 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-01715274 passed 2025-08-14 15:23:27,285 - DEBUG - ====Verifying policy data for ctest-vn-01715274 in API_Server ====== 2025-08-14 15:23:27,285 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-14 15:23:27,290 - DEBUG - Requesting: http://10.0.0.254:8082/domain/2efb973f-6838-492e-9166-96a0cc45a015 2025-08-14 15:23:27,299 - DEBUG - Requesting: http://10.0.0.254:8082/project/a128e111-b2c8-45d4-9259-e5bfd4beebef 2025-08-14 15:23:27,366 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/eb6f2635-40c1-4ea6-aaee-d5895d9e4fbb 2025-08-14 15:23:27,375 - DEBUG - ==>Verifying data for policy with id: 6640e4c5-9a6c-4b62-bb30-fbf0b768d195, fqn: ['default-domain', 'ctest-TestBasicPolicy-99032249', 'ctest-policy-allow-all-94782879'] 2025-08-14 15:23:27,375 - INFO - VN ctest-vn-01715274 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-14 15:23:27,375 - DEBUG - Verifying the vn in opserver 2025-08-14 15:23:27,375 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-99032249:ctest-vn-01715274 virtual network link through opserver 10.0.0.254 2025-08-14 15:23:27,375 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-14 15:23:27,384 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-99032249:ctest-vn-01715274', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-99032249:ctest-vn-01715274?flat'} 2025-08-14 15:23:27,384 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-99032249:ctest-vn-01715274 is found in opserver 2025-08-14 15:23:27,394 - DEBUG - Do not have enough data to verify VN in agent 2025-08-14 15:23:27,399 - DEBUG - VRF ids for VN ctest-vn-01715274: {} 2025-08-14 15:23:27,446 - DEBUG - Services list from nova: [, , ] 2025-08-14 15:23:28,375 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3858-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3858-1) 2025-08-14 15:23:29,438 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3858-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3858-1) 2025-08-14 15:23:29,438 - INFO - Waiting for VM ctest-TestBasicPolicy-99032249-90775654 to be up.. 2025-08-14 15:23:29,501 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-14 15:23:34,562 - DEBUG - VM is in ACTIVE state now 2025-08-14 15:23:34,562 - INFO - VM name : ctest-TestBasicPolicy-99032249-90775654 2025-08-14 15:23:34,622 - DEBUG - VM ctest-TestBasicPolicy-99032249-90775654 ID is aed5f58b-6688-4e48-b8b8-e9fbb71ddb26 2025-08-14 15:23:34,638 - DEBUG - VM ctest-TestBasicPolicy-99032249-90775654 launched on Node cn-jenkins-deploy-platform-ansible-os-3858-1 2025-08-14 15:23:34,695 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/aed5f58b-6688-4e48-b8b8-e9fbb71ddb26 2025-08-14 15:23:34,702 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/fc1f2839-251d-4281-a757-f5952ec165bf 2025-08-14 15:23:37,941 - 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 1004ms') 2025-08-14 15:23:37,941 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-99032249-90775654 failed! 2025-08-14 15:23:37,996 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-99032249:ctest-vn-46989615 is 59.7.207.193 and allocation pool is NOT set 2025-08-14 15:23:40,052 - 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.51 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.470 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.470/1.489/2.508/1.019 ms') 2025-08-14 15:23:40,052 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-99032249-90775654 passed 2025-08-14 15:23:40,204 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 15:23:40,204 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-99032249-90775654, IP 59.7.207.195, Port 22 2025-08-14 15:23:40,359 - DEBUG - VM ctest-TestBasicPolicy-99032249-90775654 is ready for SSH connections 2025-08-14 15:23:40,359 - INFO - Waiting for VM ctest-TestBasicPolicy-99032249-85471055 to be up.. 2025-08-14 15:23:40,423 - DEBUG - VM is in ACTIVE state now 2025-08-14 15:23:40,423 - INFO - VM name : ctest-TestBasicPolicy-99032249-85471055 2025-08-14 15:23:40,488 - DEBUG - VM ctest-TestBasicPolicy-99032249-85471055 ID is 07cabbfc-648b-4441-899c-de5e22548532 2025-08-14 15:23:40,488 - DEBUG - VM ctest-TestBasicPolicy-99032249-85471055 launched on Node cn-jenkins-deploy-platform-ansible-os-3858-1 2025-08-14 15:23:40,546 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/07cabbfc-648b-4441-899c-de5e22548532 2025-08-14 15:23:40,553 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/6d2f208f-e1b9-4882-a20e-765813203779 2025-08-14 15:23:41,778 - 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.59 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.327 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.327/1.460/2.594/1.133 ms') 2025-08-14 15:23:41,778 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-99032249-85471055 passed 2025-08-14 15:23:41,932 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 15:23:41,932 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-99032249-85471055, IP 1.94.216.67, Port 22 2025-08-14 15:23:42,087 - DEBUG - VM ctest-TestBasicPolicy-99032249-85471055 is ready for SSH connections 2025-08-14 15:23:42,087 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 15:23:42,087 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 1.94.216.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-14 15:23:42,088 - DEBUG - ping -s 56 -c 3 -W 1 1.94.216.67 2025-08-14 15:23:46,018 - DEBUG - PING 1.94.216.67 (1.94.216.67): 56 data bytes 64 bytes from 1.94.216.67: seq=0 ttl=63 time=3.133 ms 64 bytes from 1.94.216.67: seq=1 ttl=63 time=0.665 ms 64 bytes from 1.94.216.67: seq=2 ttl=63 time=0.676 ms --- 1.94.216.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.665/1.491/3.133 ms 2025-08-14 15:23:46,018 - INFO - Ping to IP 1.94.216.67 from VM ctest-TestBasicPolicy-99032249-90775654 passed 2025-08-14 15:23:46,192 - DEBUG - Policy Update Response {"network-policy": {"uuid": "6640e4c5-9a6c-4b62-bb30-fbf0b768d195", "href": "http://10.0.0.254:8082/network-policy/6640e4c5-9a6c-4b62-bb30-fbf0b768d195"}} 2025-08-14 15:23:46,192 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 15:23:46,192 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 1.94.216.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-14 15:23:46,192 - DEBUG - ping -s 56 -c 3 -W 1 1.94.216.67 2025-08-14 15:23:49,394 - DEBUG - PING 1.94.216.67 (1.94.216.67): 56 data bytes 64 bytes from 1.94.216.67: seq=0 ttl=63 time=1.186 ms --- 1.94.216.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.186/1.186/1.186 ms 2025-08-14 15:23:49,394 - WARNING - Ping to IP 1.94.216.67 from VM ctest-TestBasicPolicy-99032249-90775654 failed 2025-08-14 15:23:49,394 - INFO - Deleting VM ctest-TestBasicPolicy-99032249-85471055 2025-08-14 15:23:49,451 - INFO - Deleting VM ctest-TestBasicPolicy-99032249-90775654 2025-08-14 15:23:49,783 - INFO - Deleted policy ctest-policy-allow-all-94782879 2025-08-14 15:23:49,784 - INFO - Deleting VN ctest-vn-01715274 2025-08-14 15:23:49,813 - DEBUG - VN eb6f2635-40c1-4ea6-aaee-d5895d9e4fbb still in use: Unable to complete operation on network eb6f2635-40c1-4ea6-aaee-d5895d9e4fbb. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6564b558-56fe-4bc1-be93-0a6322c04ac0'] 2025-08-14 15:23:49,813 - WARNING - Deleting VN ctest-vn-01715274 failed..Will retry 2025-08-14 15:23:51,897 - DEBUG - Response for deleting network () 2025-08-14 15:23:51,897 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/8ddc7867-f31a-4f8f-88a6-b8c8fd9c3199 2025-08-14 15:23:51,903 - DEBUG - Response Code: 404 2025-08-14 15:23:51,903 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-14 15:23:51,907 - DEBUG - Requesting: http://10.0.0.254:8082/domain/2efb973f-6838-492e-9166-96a0cc45a015 2025-08-14 15:23:51,960 - DEBUG - Requesting: http://10.0.0.254:8082/project/a128e111-b2c8-45d4-9259-e5bfd4beebef 2025-08-14 15:23:52,028 - INFO - Validated that VN ctest-vn-01715274 is not found in API Server 2025-08-14 15:23:52,040 - DEBUG - VN ctest-vn-01715274 is not present in Agent 10.0.0.254 2025-08-14 15:23:52,040 - INFO - Validated that VN ctest-vn-01715274 is not in any agent 2025-08-14 15:23:52,054 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-01715274 info 2025-08-14 15:23:52,054 - INFO - Deleting VN ctest-vn-46989615 2025-08-14 15:23:52,146 - DEBUG - Response for deleting network () 2025-08-14 15:23:52,146 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/166fe34f-49fc-4ee3-89f7-86f2601420ae 2025-08-14 15:23:52,156 - DEBUG - Response Code: 404 2025-08-14 15:23:52,156 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-14 15:23:52,161 - DEBUG - Requesting: http://10.0.0.254:8082/domain/2efb973f-6838-492e-9166-96a0cc45a015 2025-08-14 15:23:52,213 - DEBUG - Requesting: http://10.0.0.254:8082/project/a128e111-b2c8-45d4-9259-e5bfd4beebef 2025-08-14 15:23:52,283 - INFO - Validated that VN ctest-vn-46989615 is not found in API Server 2025-08-14 15:23:52,292 - DEBUG - VN ctest-vn-46989615 is not present in Agent 10.0.0.254 2025-08-14 15:23:52,292 - INFO - Validated that VN ctest-vn-46989615 is not in any agent 2025-08-14 15:23:52,306 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-46989615 info 2025-08-14 15:23:52,561 - DEBUG - No XMPP flaps were noticed during the test 2025-08-14 15:23:52,561 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-08-14 15:23:52,561 - INFO - -------------------------------------------------------------------------------- 2025-08-14 15:23:53,207 - INFO - Deleted project: ctest-TestBasicPolicy-99032249, ID : a128e111-b2c8-45d4-9259-e5bfd4beebef