2025-10-31 14:47:22,341 - INFO - Domain Default found not creating 2025-10-31 14:47:22,500 - INFO - Project ctest-TestBasicPolicy-13497072 not found, creating it 2025-10-31 14:47:22,963 - INFO - Created Project:ctest-TestBasicPolicy-13497072, ID : bd5a28a0-e6d3-482e-bd2f-6afa2557826d 2025-10-31 14:47:24,517 - INFO - ================================================================================ 2025-10-31 14:47:24,517 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-31 14:47:24,517 - 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-31 14:47:24,781 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.254': '0'}} with 2025-10-31 14:47:24,781 - INFO - Initial checks done. Running the testcase now 2025-10-31 14:47:24,781 - INFO - 2025-10-31 14:47:25,375 - DEBUG - Response for create_network : {'network': {'id': '722a2a3f-c043-4b9b-883f-6c545bdd24ac', 'name': 'ctest-vn-30184479', 'tenant_id': 'bd5a28a0e6d3482ebd2f6afa2557826d', 'project_id': 'bd5a28a0e6d3482ebd2f6afa2557826d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-13497072', 'ctest-vn-30184479'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 14:47:25,572 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd353bc5a-5135-4d4f-b977-e1037a883628', 'name': '', 'tenant_id': 'bd5a28a0e6d3482ebd2f6afa2557826d', 'network_id': '722a2a3f-c043-4b9b-883f-6c545bdd24ac', 'ip_version': 4, 'cidr': '100.183.138.64/26', 'allocation_pools': [{'start': '100.183.138.66', 'end': '100.183.138.126'}], 'gateway_ip': '100.183.138.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '100.183.138.66', 'tags': [], 'project_id': 'bd5a28a0e6d3482ebd2f6afa2557826d'}} 2025-10-31 14:47:25,590 - INFO - Created VN ctest-vn-30184479 2025-10-31 14:47:25,644 - DEBUG - VN ctest-vn-30184479 UUID is 722a2a3f-c043-4b9b-883f-6c545bdd24ac 2025-10-31 14:47:25,966 - DEBUG - Response for create_network : {'network': {'id': '3f96c937-6dac-4843-9bf4-e425ddd4b137', 'name': 'ctest-vn-35361453', 'tenant_id': 'bd5a28a0e6d3482ebd2f6afa2557826d', 'project_id': 'bd5a28a0e6d3482ebd2f6afa2557826d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-13497072', 'ctest-vn-35361453'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 14:47:26,137 - DEBUG - Response for create_subnet : {'subnet': {'id': '2b96125d-b97c-4120-aa61-dd098c19465a', 'name': '', 'tenant_id': 'bd5a28a0e6d3482ebd2f6afa2557826d', 'network_id': '3f96c937-6dac-4843-9bf4-e425ddd4b137', 'ip_version': 4, 'cidr': '173.26.219.64/26', 'allocation_pools': [{'start': '173.26.219.66', 'end': '173.26.219.126'}], 'gateway_ip': '173.26.219.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '173.26.219.66', 'tags': [], 'project_id': 'bd5a28a0e6d3482ebd2f6afa2557826d'}} 2025-10-31 14:47:26,154 - INFO - Created VN ctest-vn-35361453 2025-10-31 14:47:26,212 - DEBUG - VN ctest-vn-35361453 UUID is 3f96c937-6dac-4843-9bf4-e425ddd4b137 2025-10-31 14:47:26,359 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-13497072:ctest-vn-30184479, 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-13497072:ctest-vn-35361453, 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-31 14:47:26,664 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '722a2a3f-c043-4b9b-883f-6c545bdd24ac', 'name': 'ctest-vn-30184479', 'tenant_id': 'bd5a28a0e6d3482ebd2f6afa2557826d', 'project_id': 'bd5a28a0e6d3482ebd2f6afa2557826d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d353bc5a-5135-4d4f-b977-e1037a883628'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-13497072', 'ctest-vn-30184479'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-13497072', 'ctest-policy-allow-all-62385585']], 'subnet_ipam': [{'subnet_cidr': '100.183.138.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-31 14:47:26,894 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3f96c937-6dac-4843-9bf4-e425ddd4b137', 'name': 'ctest-vn-35361453', 'tenant_id': 'bd5a28a0e6d3482ebd2f6afa2557826d', 'project_id': 'bd5a28a0e6d3482ebd2f6afa2557826d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2b96125d-b97c-4120-aa61-dd098c19465a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-13497072', 'ctest-vn-35361453'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-13497072', 'ctest-policy-allow-all-62385585']], 'subnet_ipam': [{'subnet_cidr': '173.26.219.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-31 14:47:27,060 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-31 14:47:27,394 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-31 14:47:27,421 - DEBUG - Requesting: http://10.0.0.33:8082/domain/35167de3-d7c7-45ca-826a-f8f3a55fa466 2025-10-31 14:47:27,433 - DEBUG - Requesting: http://10.0.0.33:8082/project/bd5a28a0-e6d3-482e-bd2f-6afa2557826d 2025-10-31 14:47:27,503 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/722a2a3f-c043-4b9b-883f-6c545bdd24ac 2025-10-31 14:47:27,513 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/722a2a3f-c043-4b9b-883f-6c545bdd24ac 2025-10-31 14:47:27,521 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/1bfb7f36-ad93-44d5-b8aa-75cd96e1740f 2025-10-31 14:47:27,528 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/1bfb7f36-ad93-44d5-b8aa-75cd96e1740f 2025-10-31 14:47:27,534 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/95c23d61-1180-4039-b749-a943f0f6794b 2025-10-31 14:47:27,540 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-31 14:47:27,540 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/722a2a3f-c043-4b9b-883f-6c545bdd24ac 2025-10-31 14:47:27,548 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/1bfb7f36-ad93-44d5-b8aa-75cd96e1740f 2025-10-31 14:47:27,560 - INFO - Verified VN network id 11 for VN 722a2a3f-c043-4b9b-883f-6c545bdd24ac 2025-10-31 14:47:27,560 - INFO - Verifications in API Server for VN ctest-vn-30184479 passed 2025-10-31 14:47:27,560 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/722a2a3f-c043-4b9b-883f-6c545bdd24ac 2025-10-31 14:47:27,568 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/1bfb7f36-ad93-44d5-b8aa-75cd96e1740f 2025-10-31 14:47:27,574 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/1bfb7f36-ad93-44d5-b8aa-75cd96e1740f 2025-10-31 14:47:27,579 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/95c23d61-1180-4039-b749-a943f0f6794b 2025-10-31 14:47:27,591 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-13497072:ctest-vn-30184479', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-13497072', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8226434122642574235', 'uuid-lslong': '9817684822265242796'}, 'enable': 'true', 'created': '2025-10-31T14:47:25', 'last-modified': '2025-10-31T14:47:26', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.965957'} 2025-10-31 14:47:27,597 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-31 14:47:27,597 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-30184479 passed 2025-10-31 14:47:27,597 - DEBUG - ====Verifying policy data for ctest-vn-30184479 in API_Server ====== 2025-10-31 14:47:27,597 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-31 14:47:27,602 - DEBUG - Requesting: http://10.0.0.33:8082/domain/35167de3-d7c7-45ca-826a-f8f3a55fa466 2025-10-31 14:47:27,612 - DEBUG - Requesting: http://10.0.0.33:8082/project/bd5a28a0-e6d3-482e-bd2f-6afa2557826d 2025-10-31 14:47:27,684 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/722a2a3f-c043-4b9b-883f-6c545bdd24ac 2025-10-31 14:47:27,693 - DEBUG - ==>Verifying data for policy with id: f84705dc-024d-41d3-85f0-4d414a1ca376, fqn: ['default-domain', 'ctest-TestBasicPolicy-13497072', 'ctest-policy-allow-all-62385585'] 2025-10-31 14:47:27,693 - INFO - VN ctest-vn-30184479 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-31 14:47:27,693 - DEBUG - Verifying the vn in opserver 2025-10-31 14:47:27,693 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-13497072:ctest-vn-30184479 virtual network link through opserver 10.0.0.33 2025-10-31 14:47:27,693 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-10-31 14:47:28,023 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-10-31 14:47:28,078 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-13497072:ctest-vn-30184479', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-13497072:ctest-vn-30184479?flat'} 2025-10-31 14:47:28,078 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-13497072:ctest-vn-30184479 is found in opserver 2025-10-31 14:47:28,091 - DEBUG - Do not have enough data to verify VN in agent 2025-10-31 14:47:28,096 - DEBUG - VRF ids for VN ctest-vn-30184479: {} 2025-10-31 14:47:28,096 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-31 14:47:28,101 - DEBUG - Requesting: http://10.0.0.33:8082/domain/35167de3-d7c7-45ca-826a-f8f3a55fa466 2025-10-31 14:47:28,110 - DEBUG - Requesting: http://10.0.0.33:8082/project/bd5a28a0-e6d3-482e-bd2f-6afa2557826d 2025-10-31 14:47:28,177 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/3f96c937-6dac-4843-9bf4-e425ddd4b137 2025-10-31 14:47:28,189 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/3f96c937-6dac-4843-9bf4-e425ddd4b137 2025-10-31 14:47:28,198 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/2cb2fb71-8fa0-47f9-a27b-acf26f5905e9 2025-10-31 14:47:28,205 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/2cb2fb71-8fa0-47f9-a27b-acf26f5905e9 2025-10-31 14:47:28,215 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/392e54e5-059f-4be1-9392-c11bde5528b3 2025-10-31 14:47:28,222 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-31 14:47:28,222 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/3f96c937-6dac-4843-9bf4-e425ddd4b137 2025-10-31 14:47:28,233 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/2cb2fb71-8fa0-47f9-a27b-acf26f5905e9 2025-10-31 14:47:28,248 - INFO - Verified VN network id 12 for VN 3f96c937-6dac-4843-9bf4-e425ddd4b137 2025-10-31 14:47:28,248 - INFO - Verifications in API Server for VN ctest-vn-35361453 passed 2025-10-31 14:47:28,248 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/3f96c937-6dac-4843-9bf4-e425ddd4b137 2025-10-31 14:47:28,260 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/2cb2fb71-8fa0-47f9-a27b-acf26f5905e9 2025-10-31 14:47:28,268 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/2cb2fb71-8fa0-47f9-a27b-acf26f5905e9 2025-10-31 14:47:28,276 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/392e54e5-059f-4be1-9392-c11bde5528b3 2025-10-31 14:47:28,289 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-13497072:ctest-vn-35361453', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-13497072', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4582070910796449859', 'uuid-lslong': '11237857821482856759'}, 'enable': 'true', 'created': '2025-10-31T14:47:25', 'last-modified': '2025-10-31T14:47:26', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.426031'} 2025-10-31 14:47:28,296 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-31 14:47:28,296 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-35361453 passed 2025-10-31 14:47:28,296 - DEBUG - ====Verifying policy data for ctest-vn-35361453 in API_Server ====== 2025-10-31 14:47:28,296 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-31 14:47:28,302 - DEBUG - Requesting: http://10.0.0.33:8082/domain/35167de3-d7c7-45ca-826a-f8f3a55fa466 2025-10-31 14:47:28,314 - DEBUG - Requesting: http://10.0.0.33:8082/project/bd5a28a0-e6d3-482e-bd2f-6afa2557826d 2025-10-31 14:47:28,385 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/3f96c937-6dac-4843-9bf4-e425ddd4b137 2025-10-31 14:47:28,394 - DEBUG - ==>Verifying data for policy with id: f84705dc-024d-41d3-85f0-4d414a1ca376, fqn: ['default-domain', 'ctest-TestBasicPolicy-13497072', 'ctest-policy-allow-all-62385585'] 2025-10-31 14:47:28,394 - INFO - VN ctest-vn-35361453 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-31 14:47:28,394 - DEBUG - Verifying the vn in opserver 2025-10-31 14:47:28,394 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-13497072:ctest-vn-35361453 virtual network link through opserver 10.0.0.33 2025-10-31 14:47:28,394 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-10-31 14:47:28,404 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-13497072:ctest-vn-35361453', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-13497072:ctest-vn-35361453?flat'} 2025-10-31 14:47:28,404 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-13497072:ctest-vn-35361453 is found in opserver 2025-10-31 14:47:28,414 - DEBUG - Do not have enough data to verify VN in agent 2025-10-31 14:47:28,419 - DEBUG - VRF ids for VN ctest-vn-35361453: {} 2025-10-31 14:47:28,490 - DEBUG - Services list from nova: [, , ] 2025-10-31 14:47:29,581 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4578-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4578-1) 2025-10-31 14:47:30,795 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4578-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4578-1) 2025-10-31 14:47:30,795 - INFO - Waiting for VM ctest-TestBasicPolicy-13497072-87169888 to be up.. 2025-10-31 14:47:30,874 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-31 14:47:35,946 - DEBUG - VM is in ACTIVE state now 2025-10-31 14:47:35,946 - INFO - VM name : ctest-TestBasicPolicy-13497072-87169888 2025-10-31 14:47:36,022 - DEBUG - VM ctest-TestBasicPolicy-13497072-87169888 ID is 37452668-a266-4767-abc7-c93450f68039 2025-10-31 14:47:36,042 - DEBUG - VM ctest-TestBasicPolicy-13497072-87169888 launched on Node cn-jenkins-deploy-platform-ansible-os-4578-1 2025-10-31 14:47:36,115 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/37452668-a266-4767-abc7-c93450f68039 2025-10-31 14:47:36,123 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/a268f6e9-1f9e-4cf9-93c5-7ea14cf12738 2025-10-31 14:47:39,381 - 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 1022ms') 2025-10-31 14:47:39,381 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-13497072-87169888 failed! 2025-10-31 14:47:39,436 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-13497072:ctest-vn-30184479 is 100.183.138.65 and allocation pool is NOT set 2025-10-31 14:47:41,494 - 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=7.53 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.469 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.469/4.001/7.533/3.532 ms') 2025-10-31 14:47:41,494 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-13497072-87169888 passed 2025-10-31 14:47:41,644 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 14:47:41,644 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-13497072-87169888, IP 100.183.138.67, Port 22 2025-10-31 14:47:41,803 - DEBUG - VM ctest-TestBasicPolicy-13497072-87169888 is ready for SSH connections 2025-10-31 14:47:41,804 - INFO - Waiting for VM ctest-TestBasicPolicy-13497072-96406691 to be up.. 2025-10-31 14:47:41,883 - DEBUG - VM is in ACTIVE state now 2025-10-31 14:47:41,884 - INFO - VM name : ctest-TestBasicPolicy-13497072-96406691 2025-10-31 14:47:41,961 - DEBUG - VM ctest-TestBasicPolicy-13497072-96406691 ID is 1c914bcd-28b0-47c2-9b38-82421ec3ae0e 2025-10-31 14:47:41,961 - DEBUG - VM ctest-TestBasicPolicy-13497072-96406691 launched on Node cn-jenkins-deploy-platform-ansible-os-4578-1 2025-10-31 14:47:42,032 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/1c914bcd-28b0-47c2-9b38-82421ec3ae0e 2025-10-31 14:47:42,040 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/35fd484f-bdb1-4600-8529-3e9808b269ea 2025-10-31 14:47:43,279 - 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.98 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.914 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.914/2.445/3.977/1.531 ms') 2025-10-31 14:47:43,279 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-13497072-96406691 passed 2025-10-31 14:47:43,432 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 14:47:43,432 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-13497072-96406691, IP 173.26.219.67, Port 22 2025-10-31 14:47:43,599 - DEBUG - VM ctest-TestBasicPolicy-13497072-96406691 is ready for SSH connections 2025-10-31 14:47:43,600 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 14:47:43,600 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 173.26.219.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-31 14:47:43,600 - DEBUG - ping -s 56 -c 3 -W 1 173.26.219.67 2025-10-31 14:47:47,786 - DEBUG - PING 173.26.219.67 (173.26.219.67): 56 data bytes 64 bytes from 173.26.219.67: seq=0 ttl=63 time=3.869 ms 64 bytes from 173.26.219.67: seq=1 ttl=63 time=0.769 ms 64 bytes from 173.26.219.67: seq=2 ttl=63 time=0.838 ms --- 173.26.219.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.769/1.825/3.869 ms 2025-10-31 14:47:47,787 - INFO - Ping to IP 173.26.219.67 from VM ctest-TestBasicPolicy-13497072-87169888 passed 2025-10-31 14:47:47,975 - DEBUG - Policy Update Response {"network-policy": {"uuid": "f84705dc-024d-41d3-85f0-4d414a1ca376", "href": "http://10.0.0.33:8082/network-policy/f84705dc-024d-41d3-85f0-4d414a1ca376"}} 2025-10-31 14:47:47,976 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 14:47:47,976 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 173.26.219.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-31 14:47:47,976 - DEBUG - ping -s 56 -c 3 -W 1 173.26.219.67 2025-10-31 14:47:51,220 - DEBUG - PING 173.26.219.67 (173.26.219.67): 56 data bytes --- 173.26.219.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-31 14:47:51,220 - WARNING - Ping to IP 173.26.219.67 from VM ctest-TestBasicPolicy-13497072-87169888 failed 2025-10-31 14:47:51,220 - INFO - Deleting VM ctest-TestBasicPolicy-13497072-96406691 2025-10-31 14:47:51,297 - INFO - Deleting VM ctest-TestBasicPolicy-13497072-87169888 2025-10-31 14:47:51,680 - INFO - Deleted policy ctest-policy-allow-all-62385585 2025-10-31 14:47:51,681 - INFO - Deleting VN ctest-vn-35361453 2025-10-31 14:47:51,714 - DEBUG - VN 3f96c937-6dac-4843-9bf4-e425ddd4b137 still in use: Unable to complete operation on network 3f96c937-6dac-4843-9bf4-e425ddd4b137. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ab27ed52-5205-45eb-8dca-b91515b6d54a'] 2025-10-31 14:47:51,714 - WARNING - Deleting VN ctest-vn-35361453 failed..Will retry 2025-10-31 14:47:53,810 - DEBUG - Response for deleting network () 2025-10-31 14:47:53,810 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/2cb2fb71-8fa0-47f9-a27b-acf26f5905e9 2025-10-31 14:47:53,816 - DEBUG - Response Code: 404 2025-10-31 14:47:53,816 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-31 14:47:53,821 - DEBUG - Requesting: http://10.0.0.33:8082/domain/35167de3-d7c7-45ca-826a-f8f3a55fa466 2025-10-31 14:47:53,877 - DEBUG - Requesting: http://10.0.0.33:8082/project/bd5a28a0-e6d3-482e-bd2f-6afa2557826d 2025-10-31 14:47:53,944 - INFO - Validated that VN ctest-vn-35361453 is not found in API Server 2025-10-31 14:47:53,954 - DEBUG - VN ctest-vn-35361453 is not present in Agent 10.0.0.33 2025-10-31 14:47:53,954 - INFO - Validated that VN ctest-vn-35361453 is not in any agent 2025-10-31 14:47:53,967 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-35361453 info 2025-10-31 14:47:53,967 - INFO - Deleting VN ctest-vn-30184479 2025-10-31 14:47:54,069 - DEBUG - Response for deleting network () 2025-10-31 14:47:54,069 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/1bfb7f36-ad93-44d5-b8aa-75cd96e1740f 2025-10-31 14:47:54,074 - DEBUG - Response Code: 404 2025-10-31 14:47:54,075 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-31 14:47:54,079 - DEBUG - Requesting: http://10.0.0.33:8082/domain/35167de3-d7c7-45ca-826a-f8f3a55fa466 2025-10-31 14:47:54,134 - DEBUG - Requesting: http://10.0.0.33:8082/project/bd5a28a0-e6d3-482e-bd2f-6afa2557826d 2025-10-31 14:47:54,206 - INFO - Validated that VN ctest-vn-30184479 is not found in API Server 2025-10-31 14:47:54,215 - DEBUG - VN ctest-vn-30184479 is not present in Agent 10.0.0.33 2025-10-31 14:47:54,215 - INFO - Validated that VN ctest-vn-30184479 is not in any agent 2025-10-31 14:47:54,228 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-30184479 info 2025-10-31 14:47:54,487 - DEBUG - No XMPP flaps were noticed during the test 2025-10-31 14:47:54,487 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-10-31 14:47:54,487 - INFO - -------------------------------------------------------------------------------- 2025-10-31 14:47:55,198 - INFO - Deleted project: ctest-TestBasicPolicy-13497072, ID : bd5a28a0-e6d3-482e-bd2f-6afa2557826d