2026-03-25 16:02:04,639 - INFO - Domain Default found not creating 2026-03-25 16:02:04,962 - INFO - Project ctest-TestBasicPolicy-28605879 not found, creating it 2026-03-25 16:02:05,486 - INFO - Created Project:ctest-TestBasicPolicy-28605879, ID : 0e5e3e42-fbd3-42e6-9340-3a68c1339341 2026-03-25 16:02:07,393 - INFO - ================================================================================ 2026-03-25 16:02:07,393 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-03-25 16:02:07,394 - 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-03-25 16:02:07,708 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.17': '0'}} with 2026-03-25 16:02:07,709 - INFO - Initial checks done. Running the testcase now 2026-03-25 16:02:07,709 - INFO - 2026-03-25 16:02:08,389 - DEBUG - Response for create_network : {'network': {'id': 'bc11fb7b-deef-485d-a255-b4cf7cb7228e', 'name': 'ctest-vn-02334686', 'tenant_id': '0e5e3e42fbd342e693403a68c1339341', 'project_id': '0e5e3e42fbd342e693403a68c1339341', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28605879', 'ctest-vn-02334686'], 'port_security_enabled': True, 'description': ''}} 2026-03-25 16:02:08,569 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e47c3c72-bad2-41e3-b4ca-a7147c4f95ec', 'name': '', 'tenant_id': '0e5e3e42fbd342e693403a68c1339341', 'network_id': 'bc11fb7b-deef-485d-a255-b4cf7cb7228e', 'ip_version': 4, 'cidr': '30.98.230.64/26', 'allocation_pools': [{'start': '30.98.230.66', 'end': '30.98.230.126'}], 'gateway_ip': '30.98.230.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '30.98.230.66', 'tags': [], 'project_id': '0e5e3e42fbd342e693403a68c1339341'}} 2026-03-25 16:02:08,594 - INFO - Created VN ctest-vn-02334686 2026-03-25 16:02:08,649 - DEBUG - VN ctest-vn-02334686 UUID is bc11fb7b-deef-485d-a255-b4cf7cb7228e 2026-03-25 16:02:09,033 - DEBUG - Response for create_network : {'network': {'id': 'cb710cee-c8b9-4f72-8185-5bb5fe2f4271', 'name': 'ctest-vn-32454924', 'tenant_id': '0e5e3e42fbd342e693403a68c1339341', 'project_id': '0e5e3e42fbd342e693403a68c1339341', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28605879', 'ctest-vn-32454924'], 'port_security_enabled': True, 'description': ''}} 2026-03-25 16:02:09,259 - DEBUG - Response for create_subnet : {'subnet': {'id': '31b6109a-d63c-44a3-bbb8-88dad85f54cb', 'name': '', 'tenant_id': '0e5e3e42fbd342e693403a68c1339341', 'network_id': 'cb710cee-c8b9-4f72-8185-5bb5fe2f4271', 'ip_version': 4, 'cidr': '118.190.209.192/26', 'allocation_pools': [{'start': '118.190.209.194', 'end': '118.190.209.254'}], 'gateway_ip': '118.190.209.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '118.190.209.194', 'tags': [], 'project_id': '0e5e3e42fbd342e693403a68c1339341'}} 2026-03-25 16:02:09,280 - INFO - Created VN ctest-vn-32454924 2026-03-25 16:02:09,337 - DEBUG - VN ctest-vn-32454924 UUID is cb710cee-c8b9-4f72-8185-5bb5fe2f4271 2026-03-25 16:02:09,479 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-28605879:ctest-vn-02334686, 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-28605879:ctest-vn-32454924, 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-03-25 16:02:09,853 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'bc11fb7b-deef-485d-a255-b4cf7cb7228e', 'name': 'ctest-vn-02334686', 'tenant_id': '0e5e3e42fbd342e693403a68c1339341', 'project_id': '0e5e3e42fbd342e693403a68c1339341', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e47c3c72-bad2-41e3-b4ca-a7147c4f95ec'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28605879', 'ctest-vn-02334686'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-28605879', 'ctest-policy-allow-all-32408902']], 'subnet_ipam': [{'subnet_cidr': '30.98.230.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-25 16:02:10,156 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'cb710cee-c8b9-4f72-8185-5bb5fe2f4271', 'name': 'ctest-vn-32454924', 'tenant_id': '0e5e3e42fbd342e693403a68c1339341', 'project_id': '0e5e3e42fbd342e693403a68c1339341', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['31b6109a-d63c-44a3-bbb8-88dad85f54cb'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28605879', 'ctest-vn-32454924'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-28605879', 'ctest-policy-allow-all-32408902']], 'subnet_ipam': [{'subnet_cidr': '118.190.209.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-25 16:02:10,313 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-03-25 16:02:10,625 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-03-25 16:02:10,684 - DEBUG - Requesting: http://10.0.0.242:8082/domain/c357ed48-130c-47be-8475-a8fb3f45bc45 2026-03-25 16:02:10,705 - DEBUG - Requesting: http://10.0.0.242:8082/project/0e5e3e42-fbd3-42e6-9340-3a68c1339341 2026-03-25 16:02:10,794 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/bc11fb7b-deef-485d-a255-b4cf7cb7228e 2026-03-25 16:02:10,808 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/bc11fb7b-deef-485d-a255-b4cf7cb7228e 2026-03-25 16:02:10,821 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/09a1cf46-01e6-4c54-904e-e88755c2c482 2026-03-25 16:02:10,831 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/09a1cf46-01e6-4c54-904e-e88755c2c482 2026-03-25 16:02:10,840 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/acb572f0-a755-4f7b-b4d1-996552875f81 2026-03-25 16:02:10,848 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-25 16:02:10,848 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/bc11fb7b-deef-485d-a255-b4cf7cb7228e 2026-03-25 16:02:10,861 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/09a1cf46-01e6-4c54-904e-e88755c2c482 2026-03-25 16:02:10,883 - INFO - Verified VN network id 11 for VN bc11fb7b-deef-485d-a255-b4cf7cb7228e 2026-03-25 16:02:10,883 - INFO - Verifications in API Server for VN ctest-vn-02334686 passed 2026-03-25 16:02:10,883 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/bc11fb7b-deef-485d-a255-b4cf7cb7228e 2026-03-25 16:02:10,896 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/09a1cf46-01e6-4c54-904e-e88755c2c482 2026-03-25 16:02:10,904 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/09a1cf46-01e6-4c54-904e-e88755c2c482 2026-03-25 16:02:10,912 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/acb572f0-a755-4f7b-b4d1-996552875f81 2026-03-25 16:02:10,927 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-28605879:ctest-vn-02334686', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-28605879', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13551889263174305885', 'uuid-lslong': '11697454410408338062'}, 'enable': 'true', 'created': '2026-03-25T16:02:08', 'last-modified': '2026-03-25T16:02:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.108200'} 2026-03-25 16:02:10,935 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-25 16:02:10,935 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-02334686 passed 2026-03-25 16:02:10,936 - DEBUG - ====Verifying policy data for ctest-vn-02334686 in API_Server ====== 2026-03-25 16:02:10,936 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-03-25 16:02:10,942 - DEBUG - Requesting: http://10.0.0.242:8082/domain/c357ed48-130c-47be-8475-a8fb3f45bc45 2026-03-25 16:02:10,956 - DEBUG - Requesting: http://10.0.0.242:8082/project/0e5e3e42-fbd3-42e6-9340-3a68c1339341 2026-03-25 16:02:11,029 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/bc11fb7b-deef-485d-a255-b4cf7cb7228e 2026-03-25 16:02:11,040 - DEBUG - ==>Verifying data for policy with id: 475b58a0-8844-43ad-adfd-b4ad0eaaa1d3, fqn: ['default-domain', 'ctest-TestBasicPolicy-28605879', 'ctest-policy-allow-all-32408902'] 2026-03-25 16:02:11,040 - INFO - VN ctest-vn-02334686 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-25 16:02:11,040 - DEBUG - Verifying the vn in opserver 2026-03-25 16:02:11,040 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-28605879:ctest-vn-02334686 virtual network link through opserver 10.0.0.242 2026-03-25 16:02:11,040 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-03-25 16:02:11,350 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-03-25 16:02:11,481 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-28605879:ctest-vn-02334686', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-28605879:ctest-vn-02334686?flat'} 2026-03-25 16:02:11,481 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-28605879:ctest-vn-02334686 is found in opserver 2026-03-25 16:02:11,496 - DEBUG - Do not have enough data to verify VN in agent 2026-03-25 16:02:11,502 - DEBUG - VRF ids for VN ctest-vn-02334686: {} 2026-03-25 16:02:11,502 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-03-25 16:02:11,508 - DEBUG - Requesting: http://10.0.0.242:8082/domain/c357ed48-130c-47be-8475-a8fb3f45bc45 2026-03-25 16:02:11,523 - DEBUG - Requesting: http://10.0.0.242:8082/project/0e5e3e42-fbd3-42e6-9340-3a68c1339341 2026-03-25 16:02:11,609 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/cb710cee-c8b9-4f72-8185-5bb5fe2f4271 2026-03-25 16:02:11,625 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/cb710cee-c8b9-4f72-8185-5bb5fe2f4271 2026-03-25 16:02:11,639 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/61ab65b4-eddb-400f-b98e-d2dc3568fbd2 2026-03-25 16:02:11,649 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/61ab65b4-eddb-400f-b98e-d2dc3568fbd2 2026-03-25 16:02:11,661 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/01ca9a01-0496-4a20-b70c-d6b41c72612b 2026-03-25 16:02:11,670 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-25 16:02:11,670 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/cb710cee-c8b9-4f72-8185-5bb5fe2f4271 2026-03-25 16:02:11,682 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/61ab65b4-eddb-400f-b98e-d2dc3568fbd2 2026-03-25 16:02:11,699 - INFO - Verified VN network id 12 for VN cb710cee-c8b9-4f72-8185-5bb5fe2f4271 2026-03-25 16:02:11,701 - INFO - Verifications in API Server for VN ctest-vn-32454924 passed 2026-03-25 16:02:11,701 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/cb710cee-c8b9-4f72-8185-5bb5fe2f4271 2026-03-25 16:02:11,717 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/61ab65b4-eddb-400f-b98e-d2dc3568fbd2 2026-03-25 16:02:11,727 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/61ab65b4-eddb-400f-b98e-d2dc3568fbd2 2026-03-25 16:02:11,736 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/01ca9a01-0496-4a20-b70c-d6b41c72612b 2026-03-25 16:02:11,751 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-28605879:ctest-vn-32454924', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-28605879', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14659512481777012594', 'uuid-lslong': '9332966640006939249'}, 'enable': 'true', 'created': '2026-03-25T16:02:08', 'last-modified': '2026-03-25T16:02:10', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.666700'} 2026-03-25 16:02:11,759 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-25 16:02:11,759 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-32454924 passed 2026-03-25 16:02:11,759 - DEBUG - ====Verifying policy data for ctest-vn-32454924 in API_Server ====== 2026-03-25 16:02:11,759 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-03-25 16:02:11,769 - DEBUG - Requesting: http://10.0.0.242:8082/domain/c357ed48-130c-47be-8475-a8fb3f45bc45 2026-03-25 16:02:11,786 - DEBUG - Requesting: http://10.0.0.242:8082/project/0e5e3e42-fbd3-42e6-9340-3a68c1339341 2026-03-25 16:02:11,873 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/cb710cee-c8b9-4f72-8185-5bb5fe2f4271 2026-03-25 16:02:11,884 - DEBUG - ==>Verifying data for policy with id: 475b58a0-8844-43ad-adfd-b4ad0eaaa1d3, fqn: ['default-domain', 'ctest-TestBasicPolicy-28605879', 'ctest-policy-allow-all-32408902'] 2026-03-25 16:02:11,884 - INFO - VN ctest-vn-32454924 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-25 16:02:11,884 - DEBUG - Verifying the vn in opserver 2026-03-25 16:02:11,884 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-28605879:ctest-vn-32454924 virtual network link through opserver 10.0.0.242 2026-03-25 16:02:11,884 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-03-25 16:02:11,899 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-28605879:ctest-vn-32454924', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-28605879:ctest-vn-32454924?flat'} 2026-03-25 16:02:11,899 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-28605879:ctest-vn-32454924 is found in opserver 2026-03-25 16:02:11,915 - DEBUG - Do not have enough data to verify VN in agent 2026-03-25 16:02:11,921 - DEBUG - VRF ids for VN ctest-vn-32454924: {} 2026-03-25 16:02:11,986 - DEBUG - Services list from nova: [, , ] 2026-03-25 16:02:13,269 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5540-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5540-1) 2026-03-25 16:02:14,667 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5540-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5540-1) 2026-03-25 16:02:14,668 - INFO - Waiting for VM ctest-TestBasicPolicy-28605879-70533975 to be up.. 2026-03-25 16:02:14,761 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-25 16:02:19,879 - DEBUG - VM is in ACTIVE state now 2026-03-25 16:02:19,879 - INFO - VM name : ctest-TestBasicPolicy-28605879-70533975 2026-03-25 16:02:19,983 - DEBUG - VM ctest-TestBasicPolicy-28605879-70533975 ID is 5e22f20f-c44d-498b-8883-6ac246f4294a 2026-03-25 16:02:20,008 - DEBUG - VM ctest-TestBasicPolicy-28605879-70533975 launched on Node cn-jenkins-deploy-platform-ansible-os-5540-1 2026-03-25 16:02:20,119 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/5e22f20f-c44d-498b-8883-6ac246f4294a 2026-03-25 16:02:20,132 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/ee43924d-aca8-461c-b39a-6afc46e8481f 2026-03-25 16:02:23,427 - 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') 2026-03-25 16:02:23,428 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-28605879-70533975 failed! 2026-03-25 16:02:23,505 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-28605879:ctest-vn-02334686 is 30.98.230.65 and allocation pool is NOT set 2026-03-25 16:02:27,611 - 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=2 ttl=63 time=4.71 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1028ms\r\nrtt min/avg/max/mdev = 4.709/4.709/4.709/0.000 ms') 2026-03-25 16:02:27,611 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-28605879-70533975 passed 2026-03-25 16:02:27,769 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-25 16:02:27,769 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-28605879-70533975, IP 30.98.230.67, Port 22 2026-03-25 16:02:27,947 - DEBUG - VM ctest-TestBasicPolicy-28605879-70533975 is ready for SSH connections 2026-03-25 16:02:27,947 - INFO - Waiting for VM ctest-TestBasicPolicy-28605879-68247032 to be up.. 2026-03-25 16:02:28,049 - DEBUG - VM is in ACTIVE state now 2026-03-25 16:02:28,049 - INFO - VM name : ctest-TestBasicPolicy-28605879-68247032 2026-03-25 16:02:28,150 - DEBUG - VM ctest-TestBasicPolicy-28605879-68247032 ID is 61bbd808-2aae-4ad3-99e0-7a7dd7a362ef 2026-03-25 16:02:28,150 - DEBUG - VM ctest-TestBasicPolicy-28605879-68247032 launched on Node cn-jenkins-deploy-platform-ansible-os-5540-1 2026-03-25 16:02:28,239 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/61bbd808-2aae-4ad3-99e0-7a7dd7a362ef 2026-03-25 16:02:28,250 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/011ca224-f861-467e-aa5c-2443870169dd 2026-03-25 16:02:29,516 - 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=4.83 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.10 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 = 1.096/2.962/4.828/1.866 ms') 2026-03-25 16:02:29,516 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-28605879-68247032 passed 2026-03-25 16:02:29,673 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-25 16:02:29,673 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-28605879-68247032, IP 118.190.209.195, Port 22 2026-03-25 16:02:29,844 - DEBUG - VM ctest-TestBasicPolicy-28605879-68247032 is ready for SSH connections 2026-03-25 16:02:29,844 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-25 16:02:29,844 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 118.190.209.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2026-03-25 16:02:29,844 - DEBUG - ping -s 56 -c 3 -W 1 118.190.209.195 2026-03-25 16:02:34,143 - DEBUG - PING 118.190.209.195 (118.190.209.195): 56 data bytes 64 bytes from 118.190.209.195: seq=0 ttl=63 time=4.661 ms 64 bytes from 118.190.209.195: seq=1 ttl=63 time=1.312 ms 64 bytes from 118.190.209.195: seq=2 ttl=63 time=1.231 ms --- 118.190.209.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.231/2.401/4.661 ms 2026-03-25 16:02:34,143 - INFO - Ping to IP 118.190.209.195 from VM ctest-TestBasicPolicy-28605879-70533975 passed 2026-03-25 16:02:34,336 - DEBUG - Policy Update Response {"network-policy": {"uuid": "475b58a0-8844-43ad-adfd-b4ad0eaaa1d3", "href": "http://10.0.0.242:8082/network-policy/475b58a0-8844-43ad-adfd-b4ad0eaaa1d3"}} 2026-03-25 16:02:34,337 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-25 16:02:34,337 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 118.190.209.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2026-03-25 16:02:34,337 - DEBUG - ping -s 56 -c 3 -W 1 118.190.209.195 2026-03-25 16:02:37,605 - DEBUG - PING 118.190.209.195 (118.190.209.195): 56 data bytes --- 118.190.209.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-03-25 16:02:37,605 - WARNING - Ping to IP 118.190.209.195 from VM ctest-TestBasicPolicy-28605879-70533975 failed 2026-03-25 16:02:37,605 - INFO - Deleting VM ctest-TestBasicPolicy-28605879-68247032 2026-03-25 16:02:37,731 - INFO - Deleting VM ctest-TestBasicPolicy-28605879-70533975 2026-03-25 16:02:38,209 - INFO - Deleted policy ctest-policy-allow-all-32408902 2026-03-25 16:02:38,209 - INFO - Deleting VN ctest-vn-32454924 2026-03-25 16:02:38,262 - DEBUG - VN cb710cee-c8b9-4f72-8185-5bb5fe2f4271 still in use: Unable to complete operation on network cb710cee-c8b9-4f72-8185-5bb5fe2f4271. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-89995a00-0223-4789-b8b8-13a52efac3ac'] 2026-03-25 16:02:38,262 - WARNING - Deleting VN ctest-vn-32454924 failed..Will retry 2026-03-25 16:02:40,426 - DEBUG - Response for deleting network () 2026-03-25 16:02:40,426 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/61ab65b4-eddb-400f-b98e-d2dc3568fbd2 2026-03-25 16:02:40,435 - DEBUG - Response Code: 404 2026-03-25 16:02:40,435 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-03-25 16:02:40,442 - DEBUG - Requesting: http://10.0.0.242:8082/domain/c357ed48-130c-47be-8475-a8fb3f45bc45 2026-03-25 16:02:40,499 - DEBUG - Requesting: http://10.0.0.242:8082/project/0e5e3e42-fbd3-42e6-9340-3a68c1339341 2026-03-25 16:02:40,578 - INFO - Validated that VN ctest-vn-32454924 is not found in API Server 2026-03-25 16:02:40,596 - DEBUG - VN ctest-vn-32454924 is not present in Agent 10.0.0.242 2026-03-25 16:02:40,596 - INFO - Validated that VN ctest-vn-32454924 is not in any agent 2026-03-25 16:02:40,619 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-32454924 info 2026-03-25 16:02:40,619 - INFO - Deleting VN ctest-vn-02334686 2026-03-25 16:02:40,761 - DEBUG - Response for deleting network () 2026-03-25 16:02:40,761 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/09a1cf46-01e6-4c54-904e-e88755c2c482 2026-03-25 16:02:40,771 - DEBUG - Response Code: 404 2026-03-25 16:02:40,771 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-03-25 16:02:40,777 - DEBUG - Requesting: http://10.0.0.242:8082/domain/c357ed48-130c-47be-8475-a8fb3f45bc45 2026-03-25 16:02:40,831 - DEBUG - Requesting: http://10.0.0.242:8082/project/0e5e3e42-fbd3-42e6-9340-3a68c1339341 2026-03-25 16:02:40,915 - INFO - Validated that VN ctest-vn-02334686 is not found in API Server 2026-03-25 16:02:40,933 - DEBUG - VN ctest-vn-02334686 is not present in Agent 10.0.0.242 2026-03-25 16:02:40,933 - INFO - Validated that VN ctest-vn-02334686 is not in any agent 2026-03-25 16:02:40,956 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-02334686 info 2026-03-25 16:02:41,266 - DEBUG - No XMPP flaps were noticed during the test
2026-03-25 16:02:41,266 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:34]
2026-03-25 16:02:41,266 - INFO - -------------------------------------------------------------------------------- 2026-03-25 16:02:42,081 - INFO - Deleted project: ctest-TestBasicPolicy-28605879, ID : 0e5e3e42-fbd3-42e6-9340-3a68c1339341