2025-08-07 02:16:51,348 - INFO - Domain Default found not creating 2025-08-07 02:16:51,490 - INFO - Project ctest-TestBasicPolicy-23611705 not found, creating it 2025-08-07 02:16:51,946 - INFO - Created Project:ctest-TestBasicPolicy-23611705, ID : 9381d31a-0454-4f5b-93b3-915e26f6adaa 2025-08-07 02:16:53,614 - INFO - ================================================================================ 2025-08-07 02:16:53,614 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-07 02:16:53,614 - 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-07 02:16:53,882 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.20.0.14': '0'}} with 2025-08-07 02:16:53,882 - INFO - Initial checks done. Running the testcase now 2025-08-07 02:16:53,882 - INFO - 2025-08-07 02:16:54,504 - DEBUG - Response for create_network : {'network': {'id': 'c2a20f78-85ef-434b-9b44-2faf68c412b2', 'name': 'ctest-vn-67251749', 'tenant_id': '9381d31a04544f5b93b3915e26f6adaa', 'project_id': '9381d31a04544f5b93b3915e26f6adaa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23611705', 'ctest-vn-67251749'], 'port_security_enabled': True, 'description': ''}} 2025-08-07 02:16:54,676 - DEBUG - Response for create_subnet : {'subnet': {'id': '962c5e84-5fec-4811-bc0b-19baa2702ab4', 'name': '', 'tenant_id': '9381d31a04544f5b93b3915e26f6adaa', 'network_id': 'c2a20f78-85ef-434b-9b44-2faf68c412b2', 'ip_version': 4, 'cidr': '29.254.105.64/26', 'allocation_pools': [{'start': '29.254.105.66', 'end': '29.254.105.126'}], 'gateway_ip': '29.254.105.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '29.254.105.66', 'tags': [], 'project_id': '9381d31a04544f5b93b3915e26f6adaa'}} 2025-08-07 02:16:54,696 - INFO - Created VN ctest-vn-67251749 2025-08-07 02:16:54,749 - DEBUG - VN ctest-vn-67251749 UUID is c2a20f78-85ef-434b-9b44-2faf68c412b2 2025-08-07 02:16:55,060 - DEBUG - Response for create_network : {'network': {'id': 'd85a48b2-1fca-432b-81de-f0fef88b09d7', 'name': 'ctest-vn-27951499', 'tenant_id': '9381d31a04544f5b93b3915e26f6adaa', 'project_id': '9381d31a04544f5b93b3915e26f6adaa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23611705', 'ctest-vn-27951499'], 'port_security_enabled': True, 'description': ''}} 2025-08-07 02:16:55,257 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd8ebe862-59be-455a-9616-93204978b13e', 'name': '', 'tenant_id': '9381d31a04544f5b93b3915e26f6adaa', 'network_id': 'd85a48b2-1fca-432b-81de-f0fef88b09d7', 'ip_version': 4, 'cidr': '19.187.21.64/26', 'allocation_pools': [{'start': '19.187.21.66', 'end': '19.187.21.126'}], 'gateway_ip': '19.187.21.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '19.187.21.66', 'tags': [], 'project_id': '9381d31a04544f5b93b3915e26f6adaa'}} 2025-08-07 02:16:55,276 - INFO - Created VN ctest-vn-27951499 2025-08-07 02:16:55,333 - DEBUG - VN ctest-vn-27951499 UUID is d85a48b2-1fca-432b-81de-f0fef88b09d7 2025-08-07 02:16:55,450 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-23611705:ctest-vn-67251749, 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-23611705:ctest-vn-27951499, 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-07 02:16:55,754 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c2a20f78-85ef-434b-9b44-2faf68c412b2', 'name': 'ctest-vn-67251749', 'tenant_id': '9381d31a04544f5b93b3915e26f6adaa', 'project_id': '9381d31a04544f5b93b3915e26f6adaa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['962c5e84-5fec-4811-bc0b-19baa2702ab4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23611705', 'ctest-vn-67251749'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-23611705', 'ctest-policy-allow-all-26393564']], 'subnet_ipam': [{'subnet_cidr': '29.254.105.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-07 02:16:56,040 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd85a48b2-1fca-432b-81de-f0fef88b09d7', 'name': 'ctest-vn-27951499', 'tenant_id': '9381d31a04544f5b93b3915e26f6adaa', 'project_id': '9381d31a04544f5b93b3915e26f6adaa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d8ebe862-59be-455a-9616-93204978b13e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23611705', 'ctest-vn-27951499'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-23611705', 'ctest-policy-allow-all-26393564']], 'subnet_ipam': [{'subnet_cidr': '19.187.21.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-07 02:16:56,189 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2025-08-07 02:16:56,524 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2025-08-07 02:16:56,554 - DEBUG - Requesting: http://10.0.0.129:8082/domain/aef09b26-fe29-4a53-8b7e-dc2c9f7c9d2d 2025-08-07 02:16:56,569 - DEBUG - Requesting: http://10.0.0.129:8082/project/9381d31a-0454-4f5b-93b3-915e26f6adaa 2025-08-07 02:16:56,644 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/c2a20f78-85ef-434b-9b44-2faf68c412b2 2025-08-07 02:16:56,657 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/c2a20f78-85ef-434b-9b44-2faf68c412b2 2025-08-07 02:16:56,668 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/c3702dd0-3b45-4813-a940-d72745db962b 2025-08-07 02:16:56,677 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/c3702dd0-3b45-4813-a940-d72745db962b 2025-08-07 02:16:56,686 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/6bc57859-c5fd-4105-a406-fbfa090ff125 2025-08-07 02:16:56,693 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-07 02:16:56,693 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/c2a20f78-85ef-434b-9b44-2faf68c412b2 2025-08-07 02:16:56,703 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/c3702dd0-3b45-4813-a940-d72745db962b 2025-08-07 02:16:56,718 - INFO - Verified VN network id 11 for VN c2a20f78-85ef-434b-9b44-2faf68c412b2 2025-08-07 02:16:56,718 - INFO - Verifications in API Server for VN ctest-vn-67251749 passed 2025-08-07 02:16:56,718 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/c2a20f78-85ef-434b-9b44-2faf68c412b2 2025-08-07 02:16:56,731 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/c3702dd0-3b45-4813-a940-d72745db962b 2025-08-07 02:16:56,739 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/c3702dd0-3b45-4813-a940-d72745db962b 2025-08-07 02:16:56,746 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/6bc57859-c5fd-4105-a406-fbfa090ff125 2025-08-07 02:16:56,758 - DEBUG - Control-node 10.0.0.129 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-23611705:ctest-vn-67251749', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-23611705', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14024789199902688075', 'uuid-lslong': '11188119804718617266'}, 'enable': 'true', 'created': '2025-08-07T02:16:54', 'last-modified': '2025-08-07T02:16:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.030704'} 2025-08-07 02:16:56,766 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-07 02:16:56,766 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-67251749 passed 2025-08-07 02:16:56,766 - DEBUG - ====Verifying policy data for ctest-vn-67251749 in API_Server ====== 2025-08-07 02:16:56,766 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2025-08-07 02:16:56,772 - DEBUG - Requesting: http://10.0.0.129:8082/domain/aef09b26-fe29-4a53-8b7e-dc2c9f7c9d2d 2025-08-07 02:16:56,784 - DEBUG - Requesting: http://10.0.0.129:8082/project/9381d31a-0454-4f5b-93b3-915e26f6adaa 2025-08-07 02:16:56,862 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/c2a20f78-85ef-434b-9b44-2faf68c412b2 2025-08-07 02:16:56,873 - DEBUG - ==>Verifying data for policy with id: 2216b43d-1706-4226-9119-17c5e81a48db, fqn: ['default-domain', 'ctest-TestBasicPolicy-23611705', 'ctest-policy-allow-all-26393564'] 2025-08-07 02:16:56,873 - INFO - VN ctest-vn-67251749 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-07 02:16:56,873 - DEBUG - Verifying the vn in opserver 2025-08-07 02:16:56,873 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-23611705:ctest-vn-67251749 virtual network link through opserver 10.0.0.129 2025-08-07 02:16:56,873 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks 2025-08-07 02:16:57,206 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks 2025-08-07 02:16:57,263 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-23611705:ctest-vn-67251749', 'href': 'http://10.0.0.129:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-23611705:ctest-vn-67251749?flat'} 2025-08-07 02:16:57,263 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-23611705:ctest-vn-67251749 is found in opserver 2025-08-07 02:16:57,275 - DEBUG - Do not have enough data to verify VN in agent 2025-08-07 02:16:57,280 - DEBUG - VRF ids for VN ctest-vn-67251749: {} 2025-08-07 02:16:57,280 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2025-08-07 02:16:57,286 - DEBUG - Requesting: http://10.0.0.129:8082/domain/aef09b26-fe29-4a53-8b7e-dc2c9f7c9d2d 2025-08-07 02:16:57,299 - DEBUG - Requesting: http://10.0.0.129:8082/project/9381d31a-0454-4f5b-93b3-915e26f6adaa 2025-08-07 02:16:57,376 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/d85a48b2-1fca-432b-81de-f0fef88b09d7 2025-08-07 02:16:57,393 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/d85a48b2-1fca-432b-81de-f0fef88b09d7 2025-08-07 02:16:57,405 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/37afdfc1-25ec-4d39-99b8-80584248cefe 2025-08-07 02:16:57,413 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/37afdfc1-25ec-4d39-99b8-80584248cefe 2025-08-07 02:16:57,423 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/dc010fea-06c6-45d5-95c5-82e00a3201c9 2025-08-07 02:16:57,430 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-07 02:16:57,430 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/d85a48b2-1fca-432b-81de-f0fef88b09d7 2025-08-07 02:16:57,440 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/37afdfc1-25ec-4d39-99b8-80584248cefe 2025-08-07 02:16:57,456 - INFO - Verified VN network id 12 for VN d85a48b2-1fca-432b-81de-f0fef88b09d7 2025-08-07 02:16:57,456 - INFO - Verifications in API Server for VN ctest-vn-27951499 passed 2025-08-07 02:16:57,456 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/d85a48b2-1fca-432b-81de-f0fef88b09d7 2025-08-07 02:16:57,467 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/37afdfc1-25ec-4d39-99b8-80584248cefe 2025-08-07 02:16:57,477 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/37afdfc1-25ec-4d39-99b8-80584248cefe 2025-08-07 02:16:57,485 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/dc010fea-06c6-45d5-95c5-82e00a3201c9 2025-08-07 02:16:57,498 - DEBUG - Control-node 10.0.0.129 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-23611705:ctest-vn-27951499', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-23611705', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15589852989971120939', 'uuid-lslong': '9358182053604690391'}, 'enable': 'true', 'created': '2025-08-07T02:16:55', 'last-modified': '2025-08-07T02:16:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.533198'} 2025-08-07 02:16:57,505 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-07 02:16:57,505 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-27951499 passed 2025-08-07 02:16:57,505 - DEBUG - ====Verifying policy data for ctest-vn-27951499 in API_Server ====== 2025-08-07 02:16:57,505 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2025-08-07 02:16:57,511 - DEBUG - Requesting: http://10.0.0.129:8082/domain/aef09b26-fe29-4a53-8b7e-dc2c9f7c9d2d 2025-08-07 02:16:57,523 - DEBUG - Requesting: http://10.0.0.129:8082/project/9381d31a-0454-4f5b-93b3-915e26f6adaa 2025-08-07 02:16:57,599 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/d85a48b2-1fca-432b-81de-f0fef88b09d7 2025-08-07 02:16:57,610 - DEBUG - ==>Verifying data for policy with id: 2216b43d-1706-4226-9119-17c5e81a48db, fqn: ['default-domain', 'ctest-TestBasicPolicy-23611705', 'ctest-policy-allow-all-26393564'] 2025-08-07 02:16:57,610 - INFO - VN ctest-vn-27951499 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-07 02:16:57,611 - DEBUG - Verifying the vn in opserver 2025-08-07 02:16:57,611 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-23611705:ctest-vn-27951499 virtual network link through opserver 10.0.0.129 2025-08-07 02:16:57,611 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks 2025-08-07 02:16:57,622 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-23611705:ctest-vn-27951499', 'href': 'http://10.0.0.129:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-23611705:ctest-vn-27951499?flat'} 2025-08-07 02:16:57,622 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-23611705:ctest-vn-27951499 is found in opserver 2025-08-07 02:16:57,633 - DEBUG - Do not have enough data to verify VN in agent 2025-08-07 02:16:57,639 - DEBUG - VRF ids for VN ctest-vn-27951499: {} 2025-08-07 02:16:57,699 - DEBUG - Services list from nova: [, , ] 2025-08-07 02:16:58,783 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3766-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3766-1) 2025-08-07 02:16:59,999 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3766-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3766-1) 2025-08-07 02:16:59,999 - INFO - Waiting for VM ctest-TestBasicPolicy-23611705-46959831 to be up.. 2025-08-07 02:17:00,082 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-07 02:17:05,161 - DEBUG - VM is in ACTIVE state now 2025-08-07 02:17:05,161 - INFO - VM name : ctest-TestBasicPolicy-23611705-46959831 2025-08-07 02:17:05,259 - DEBUG - VM ctest-TestBasicPolicy-23611705-46959831 ID is 5d278fad-73ab-4cfb-8287-8f265e6f0c90 2025-08-07 02:17:05,281 - DEBUG - VM ctest-TestBasicPolicy-23611705-46959831 launched on Node cn-jenkins-deploy-platform-ansible-os-3766-1 2025-08-07 02:17:05,363 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/5d278fad-73ab-4cfb-8287-8f265e6f0c90 2025-08-07 02:17:05,375 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/21b4e519-33a4-4ed1-bbb4-a6bcc75cf737 2025-08-07 02:17:08,630 - 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 1010ms') 2025-08-07 02:17:08,630 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-23611705-46959831 failed! 2025-08-07 02:17:08,685 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-23611705:ctest-vn-67251749 is 29.254.105.65 and allocation pool is NOT set 2025-08-07 02:17:10,746 - 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=10.4 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 1002ms\r\nrtt min/avg/max/mdev = 0.470/5.446/10.422/4.976 ms') 2025-08-07 02:17:10,746 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-23611705-46959831 passed 2025-08-07 02:17:10,897 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 02:17:10,897 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-23611705-46959831, IP 29.254.105.67, Port 22 2025-08-07 02:17:11,053 - DEBUG - VM ctest-TestBasicPolicy-23611705-46959831 is ready for SSH connections 2025-08-07 02:17:11,053 - INFO - Waiting for VM ctest-TestBasicPolicy-23611705-57944248 to be up.. 2025-08-07 02:17:11,136 - DEBUG - VM is in ACTIVE state now 2025-08-07 02:17:11,136 - INFO - VM name : ctest-TestBasicPolicy-23611705-57944248 2025-08-07 02:17:11,219 - DEBUG - VM ctest-TestBasicPolicy-23611705-57944248 ID is 6a9431eb-f568-4909-b4ce-25114509d8da 2025-08-07 02:17:11,219 - DEBUG - VM ctest-TestBasicPolicy-23611705-57944248 launched on Node cn-jenkins-deploy-platform-ansible-os-3766-1 2025-08-07 02:17:11,306 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/6a9431eb-f568-4909-b4ce-25114509d8da 2025-08-07 02:17:11,316 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/50f15bcf-22db-4e6d-b2d9-6a0c2dc21fbd 2025-08-07 02:17:12,577 - 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.97 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.578 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.578/2.273/3.968/1.695 ms') 2025-08-07 02:17:12,577 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-23611705-57944248 passed 2025-08-07 02:17:12,733 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 02:17:12,733 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-23611705-57944248, IP 19.187.21.67, Port 22 2025-08-07 02:17:12,897 - DEBUG - VM ctest-TestBasicPolicy-23611705-57944248 is ready for SSH connections 2025-08-07 02:17:12,897 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 02:17:12,897 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 19.187.21.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2025-08-07 02:17:12,897 - DEBUG - ping -s 56 -c 3 -W 1 19.187.21.67 2025-08-07 02:17:17,046 - DEBUG - PING 19.187.21.67 (19.187.21.67): 56 data bytes 64 bytes from 19.187.21.67: seq=0 ttl=63 time=3.840 ms 64 bytes from 19.187.21.67: seq=1 ttl=63 time=0.916 ms 64 bytes from 19.187.21.67: seq=2 ttl=63 time=0.834 ms --- 19.187.21.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.834/1.863/3.840 ms 2025-08-07 02:17:17,046 - INFO - Ping to IP 19.187.21.67 from VM ctest-TestBasicPolicy-23611705-46959831 passed 2025-08-07 02:17:17,237 - DEBUG - Policy Update Response {"network-policy": {"uuid": "2216b43d-1706-4226-9119-17c5e81a48db", "href": "http://10.0.0.129:8082/network-policy/2216b43d-1706-4226-9119-17c5e81a48db"}} 2025-08-07 02:17:17,237 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 02:17:17,237 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 19.187.21.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2025-08-07 02:17:17,237 - DEBUG - ping -s 56 -c 3 -W 1 19.187.21.67 2025-08-07 02:17:20,459 - DEBUG - PING 19.187.21.67 (19.187.21.67): 56 data bytes --- 19.187.21.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-07 02:17:20,459 - WARNING - Ping to IP 19.187.21.67 from VM ctest-TestBasicPolicy-23611705-46959831 failed 2025-08-07 02:17:20,459 - INFO - Deleting VM ctest-TestBasicPolicy-23611705-57944248 2025-08-07 02:17:20,527 - INFO - Deleting VM ctest-TestBasicPolicy-23611705-46959831 2025-08-07 02:17:20,962 - INFO - Deleted policy ctest-policy-allow-all-26393564 2025-08-07 02:17:20,962 - INFO - Deleting VN ctest-vn-27951499 2025-08-07 02:17:21,011 - DEBUG - VN d85a48b2-1fca-432b-81de-f0fef88b09d7 still in use: Unable to complete operation on network d85a48b2-1fca-432b-81de-f0fef88b09d7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-35a90d63-921e-4225-bc47-d0883009f89c'] 2025-08-07 02:17:21,011 - WARNING - Deleting VN ctest-vn-27951499 failed..Will retry 2025-08-07 02:17:23,114 - DEBUG - Response for deleting network () 2025-08-07 02:17:23,114 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/37afdfc1-25ec-4d39-99b8-80584248cefe 2025-08-07 02:17:23,122 - DEBUG - Response Code: 404 2025-08-07 02:17:23,122 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2025-08-07 02:17:23,128 - DEBUG - Requesting: http://10.0.0.129:8082/domain/aef09b26-fe29-4a53-8b7e-dc2c9f7c9d2d 2025-08-07 02:17:23,184 - DEBUG - Requesting: http://10.0.0.129:8082/project/9381d31a-0454-4f5b-93b3-915e26f6adaa 2025-08-07 02:17:23,260 - INFO - Validated that VN ctest-vn-27951499 is not found in API Server 2025-08-07 02:17:23,272 - DEBUG - VN ctest-vn-27951499 is not present in Agent 10.0.0.129 2025-08-07 02:17:23,272 - INFO - Validated that VN ctest-vn-27951499 is not in any agent 2025-08-07 02:17:23,289 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-27951499 info 2025-08-07 02:17:23,289 - INFO - Deleting VN ctest-vn-67251749 2025-08-07 02:17:23,394 - DEBUG - Response for deleting network () 2025-08-07 02:17:23,394 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/c3702dd0-3b45-4813-a940-d72745db962b 2025-08-07 02:17:23,405 - DEBUG - Response Code: 404 2025-08-07 02:17:23,405 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2025-08-07 02:17:23,411 - DEBUG - Requesting: http://10.0.0.129:8082/domain/aef09b26-fe29-4a53-8b7e-dc2c9f7c9d2d 2025-08-07 02:17:23,467 - DEBUG - Requesting: http://10.0.0.129:8082/project/9381d31a-0454-4f5b-93b3-915e26f6adaa 2025-08-07 02:17:23,546 - INFO - Validated that VN ctest-vn-67251749 is not found in API Server 2025-08-07 02:17:23,558 - DEBUG - VN ctest-vn-67251749 is not present in Agent 10.0.0.129 2025-08-07 02:17:23,558 - INFO - Validated that VN ctest-vn-67251749 is not in any agent 2025-08-07 02:17:23,576 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-67251749 info 2025-08-07 02:17:23,847 - DEBUG - No XMPP flaps were noticed during the test 2025-08-07 02:17:23,847 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-08-07 02:17:23,847 - INFO - -------------------------------------------------------------------------------- 2025-08-07 02:17:24,601 - INFO - Deleted project: ctest-TestBasicPolicy-23611705, ID : 9381d31a-0454-4f5b-93b3-915e26f6adaa