2025-10-22 14:11:16,196 - INFO - Domain Default found not creating 2025-10-22 14:11:16,352 - INFO - Project ctest-TestBasicPolicy-21970071 not found, creating it 2025-10-22 14:11:16,887 - INFO - Created Project:ctest-TestBasicPolicy-21970071, ID : d8c5b16c-0667-444f-b81c-9fecb345c2ab 2025-10-22 14:11:18,437 - INFO - ================================================================================ 2025-10-22 14:11:18,437 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-22 14:11:18,437 - 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-22 14:11:18,700 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.14': '0'}} with 2025-10-22 14:11:18,700 - INFO - Initial checks done. Running the testcase now 2025-10-22 14:11:18,700 - INFO - 2025-10-22 14:11:19,284 - DEBUG - Response for create_network : {'network': {'id': '02e5627b-5ec6-426e-aa19-d188b718a3cc', 'name': 'ctest-vn-26753199', 'tenant_id': 'd8c5b16c0667444fb81c9fecb345c2ab', 'project_id': 'd8c5b16c0667444fb81c9fecb345c2ab', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21970071', 'ctest-vn-26753199'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 14:11:19,477 - DEBUG - Response for create_subnet : {'subnet': {'id': '6f9009e2-9fa8-418a-a017-37946fa081fb', 'name': '', 'tenant_id': 'd8c5b16c0667444fb81c9fecb345c2ab', 'network_id': '02e5627b-5ec6-426e-aa19-d188b718a3cc', 'ip_version': 4, 'cidr': '63.65.83.192/26', 'allocation_pools': [{'start': '63.65.83.194', 'end': '63.65.83.254'}], 'gateway_ip': '63.65.83.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '63.65.83.194', 'tags': [], 'project_id': 'd8c5b16c0667444fb81c9fecb345c2ab'}} 2025-10-22 14:11:19,496 - INFO - Created VN ctest-vn-26753199 2025-10-22 14:11:19,550 - DEBUG - VN ctest-vn-26753199 UUID is 02e5627b-5ec6-426e-aa19-d188b718a3cc 2025-10-22 14:11:19,880 - DEBUG - Response for create_network : {'network': {'id': 'c6cce31e-d3a8-4772-8804-5520d261ede1', 'name': 'ctest-vn-55364311', 'tenant_id': 'd8c5b16c0667444fb81c9fecb345c2ab', 'project_id': 'd8c5b16c0667444fb81c9fecb345c2ab', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21970071', 'ctest-vn-55364311'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 14:11:20,090 - DEBUG - Response for create_subnet : {'subnet': {'id': '89dda742-d509-43d0-a173-cf456b28f17a', 'name': '', 'tenant_id': 'd8c5b16c0667444fb81c9fecb345c2ab', 'network_id': 'c6cce31e-d3a8-4772-8804-5520d261ede1', 'ip_version': 4, 'cidr': '112.87.253.64/26', 'allocation_pools': [{'start': '112.87.253.66', 'end': '112.87.253.126'}], 'gateway_ip': '112.87.253.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '112.87.253.66', 'tags': [], 'project_id': 'd8c5b16c0667444fb81c9fecb345c2ab'}} 2025-10-22 14:11:20,111 - INFO - Created VN ctest-vn-55364311 2025-10-22 14:11:20,166 - DEBUG - VN ctest-vn-55364311 UUID is c6cce31e-d3a8-4772-8804-5520d261ede1 2025-10-22 14:11:20,286 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-21970071:ctest-vn-26753199, 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-21970071:ctest-vn-55364311, 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-22 14:11:20,589 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '02e5627b-5ec6-426e-aa19-d188b718a3cc', 'name': 'ctest-vn-26753199', 'tenant_id': 'd8c5b16c0667444fb81c9fecb345c2ab', 'project_id': 'd8c5b16c0667444fb81c9fecb345c2ab', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6f9009e2-9fa8-418a-a017-37946fa081fb'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21970071', 'ctest-vn-26753199'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-21970071', 'ctest-policy-allow-all-07644949']], 'subnet_ipam': [{'subnet_cidr': '63.65.83.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-22 14:11:20,871 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c6cce31e-d3a8-4772-8804-5520d261ede1', 'name': 'ctest-vn-55364311', 'tenant_id': 'd8c5b16c0667444fb81c9fecb345c2ab', 'project_id': 'd8c5b16c0667444fb81c9fecb345c2ab', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['89dda742-d509-43d0-a173-cf456b28f17a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21970071', 'ctest-vn-55364311'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-21970071', 'ctest-policy-allow-all-07644949']], 'subnet_ipam': [{'subnet_cidr': '112.87.253.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-22 14:11:21,026 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-22 14:11:21,363 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-22 14:11:21,395 - DEBUG - Requesting: http://10.0.0.249:8082/domain/a3cb75b1-b54f-4ecb-be13-4fb4e99472a3 2025-10-22 14:11:21,407 - DEBUG - Requesting: http://10.0.0.249:8082/project/d8c5b16c-0667-444f-b81c-9fecb345c2ab 2025-10-22 14:11:21,481 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/02e5627b-5ec6-426e-aa19-d188b718a3cc 2025-10-22 14:11:21,492 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/02e5627b-5ec6-426e-aa19-d188b718a3cc 2025-10-22 14:11:21,502 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/3b10ad36-f224-414b-ac73-b7bfaa8fd4df 2025-10-22 14:11:21,510 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/3b10ad36-f224-414b-ac73-b7bfaa8fd4df 2025-10-22 14:11:21,517 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/fd87a6bb-978a-464b-8b7a-57b6acf64d29 2025-10-22 14:11:21,524 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-22 14:11:21,524 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/02e5627b-5ec6-426e-aa19-d188b718a3cc 2025-10-22 14:11:21,534 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/3b10ad36-f224-414b-ac73-b7bfaa8fd4df 2025-10-22 14:11:21,549 - INFO - Verified VN network id 12 for VN 02e5627b-5ec6-426e-aa19-d188b718a3cc 2025-10-22 14:11:21,549 - INFO - Verifications in API Server for VN ctest-vn-26753199 passed 2025-10-22 14:11:21,549 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/02e5627b-5ec6-426e-aa19-d188b718a3cc 2025-10-22 14:11:21,558 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/3b10ad36-f224-414b-ac73-b7bfaa8fd4df 2025-10-22 14:11:21,565 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/3b10ad36-f224-414b-ac73-b7bfaa8fd4df 2025-10-22 14:11:21,573 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/fd87a6bb-978a-464b-8b7a-57b6acf64d29 2025-10-22 14:11:21,586 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-21970071:ctest-vn-26753199', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-21970071', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '208681239753146990', 'uuid-lslong': '12257058245983118284'}, 'enable': 'true', 'created': '2025-10-22T14:11:19', 'last-modified': '2025-10-22T14:11:20', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.021764'} 2025-10-22 14:11:21,592 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-22 14:11:21,592 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-26753199 passed 2025-10-22 14:11:21,592 - DEBUG - ====Verifying policy data for ctest-vn-26753199 in API_Server ====== 2025-10-22 14:11:21,592 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-22 14:11:21,598 - DEBUG - Requesting: http://10.0.0.249:8082/domain/a3cb75b1-b54f-4ecb-be13-4fb4e99472a3 2025-10-22 14:11:21,612 - DEBUG - Requesting: http://10.0.0.249:8082/project/d8c5b16c-0667-444f-b81c-9fecb345c2ab 2025-10-22 14:11:21,684 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/02e5627b-5ec6-426e-aa19-d188b718a3cc 2025-10-22 14:11:21,695 - DEBUG - ==>Verifying data for policy with id: 39325fb0-3c98-4b74-86f0-8dc332cf9538, fqn: ['default-domain', 'ctest-TestBasicPolicy-21970071', 'ctest-policy-allow-all-07644949'] 2025-10-22 14:11:21,695 - INFO - VN ctest-vn-26753199 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-22 14:11:21,695 - DEBUG - Verifying the vn in opserver 2025-10-22 14:11:21,695 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-21970071:ctest-vn-26753199 virtual network link through opserver 10.0.0.249 2025-10-22 14:11:21,695 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-10-22 14:11:22,029 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-10-22 14:11:22,176 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-21970071:ctest-vn-26753199', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-21970071:ctest-vn-26753199?flat'} 2025-10-22 14:11:22,176 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-21970071:ctest-vn-26753199 is found in opserver 2025-10-22 14:11:22,185 - DEBUG - Do not have enough data to verify VN in agent 2025-10-22 14:11:22,190 - DEBUG - VRF ids for VN ctest-vn-26753199: {} 2025-10-22 14:11:22,190 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-22 14:11:22,210 - DEBUG - Requesting: http://10.0.0.249:8082/domain/a3cb75b1-b54f-4ecb-be13-4fb4e99472a3 2025-10-22 14:11:22,257 - DEBUG - Requesting: http://10.0.0.249:8082/project/d8c5b16c-0667-444f-b81c-9fecb345c2ab 2025-10-22 14:11:22,352 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/c6cce31e-d3a8-4772-8804-5520d261ede1 2025-10-22 14:11:22,376 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/c6cce31e-d3a8-4772-8804-5520d261ede1 2025-10-22 14:11:22,389 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/918507ab-d1a0-49e5-a513-aadb7fa0b09b 2025-10-22 14:11:22,403 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/918507ab-d1a0-49e5-a513-aadb7fa0b09b 2025-10-22 14:11:22,413 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/27350293-72d3-475e-ac43-71f139f678eb 2025-10-22 14:11:22,429 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-22 14:11:22,429 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/c6cce31e-d3a8-4772-8804-5520d261ede1 2025-10-22 14:11:22,452 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/918507ab-d1a0-49e5-a513-aadb7fa0b09b 2025-10-22 14:11:22,482 - INFO - Verified VN network id 13 for VN c6cce31e-d3a8-4772-8804-5520d261ede1 2025-10-22 14:11:22,483 - INFO - Verifications in API Server for VN ctest-vn-55364311 passed 2025-10-22 14:11:22,483 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/c6cce31e-d3a8-4772-8804-5520d261ede1 2025-10-22 14:11:22,502 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/918507ab-d1a0-49e5-a513-aadb7fa0b09b 2025-10-22 14:11:22,521 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/918507ab-d1a0-49e5-a513-aadb7fa0b09b 2025-10-22 14:11:22,534 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/27350293-72d3-475e-ac43-71f139f678eb 2025-10-22 14:11:22,551 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-21970071:ctest-vn-55364311', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-21970071', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14325074236298250098', 'uuid-lslong': '9801052288521989601'}, 'enable': 'true', 'created': '2025-10-22T14:11:19', 'last-modified': '2025-10-22T14:11:20', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.748767'} 2025-10-22 14:11:22,557 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-22 14:11:22,557 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-55364311 passed 2025-10-22 14:11:22,557 - DEBUG - ====Verifying policy data for ctest-vn-55364311 in API_Server ====== 2025-10-22 14:11:22,557 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-22 14:11:22,567 - DEBUG - Requesting: http://10.0.0.249:8082/domain/a3cb75b1-b54f-4ecb-be13-4fb4e99472a3 2025-10-22 14:11:22,645 - DEBUG - Requesting: http://10.0.0.249:8082/project/d8c5b16c-0667-444f-b81c-9fecb345c2ab 2025-10-22 14:11:22,799 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/c6cce31e-d3a8-4772-8804-5520d261ede1 2025-10-22 14:11:22,822 - DEBUG - ==>Verifying data for policy with id: 39325fb0-3c98-4b74-86f0-8dc332cf9538, fqn: ['default-domain', 'ctest-TestBasicPolicy-21970071', 'ctest-policy-allow-all-07644949'] 2025-10-22 14:11:22,822 - INFO - VN ctest-vn-55364311 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-22 14:11:22,822 - DEBUG - Verifying the vn in opserver 2025-10-22 14:11:22,822 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-21970071:ctest-vn-55364311 virtual network link through opserver 10.0.0.249 2025-10-22 14:11:22,822 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-10-22 14:11:22,835 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-21970071:ctest-vn-55364311', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-21970071:ctest-vn-55364311?flat'} 2025-10-22 14:11:22,835 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-21970071:ctest-vn-55364311 is found in opserver 2025-10-22 14:11:22,845 - DEBUG - Do not have enough data to verify VN in agent 2025-10-22 14:11:22,850 - DEBUG - VRF ids for VN ctest-vn-55364311: {} 2025-10-22 14:11:22,940 - DEBUG - Services list from nova: [, , ] 2025-10-22 14:11:24,099 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4431-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4431-1) 2025-10-22 14:11:25,350 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4431-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4431-1) 2025-10-22 14:11:25,350 - INFO - Waiting for VM ctest-TestBasicPolicy-21970071-46283671 to be up.. 2025-10-22 14:11:25,438 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-22 14:11:30,522 - DEBUG - VM is in ACTIVE state now 2025-10-22 14:11:30,522 - INFO - VM name : ctest-TestBasicPolicy-21970071-46283671 2025-10-22 14:11:30,605 - DEBUG - VM ctest-TestBasicPolicy-21970071-46283671 ID is e6ee9030-68c3-4803-b35b-6eb1f5fe0eee 2025-10-22 14:11:30,628 - DEBUG - VM ctest-TestBasicPolicy-21970071-46283671 launched on Node cn-jenkins-deploy-platform-ansible-os-4431-1 2025-10-22 14:11:30,712 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/e6ee9030-68c3-4803-b35b-6eb1f5fe0eee 2025-10-22 14:11:30,721 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/66f92af9-3e97-4161-ad12-47acd9c2828a 2025-10-22 14:11:33,983 - 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 1025ms') 2025-10-22 14:11:33,983 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-21970071-46283671 failed! 2025-10-22 14:11:34,042 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-21970071:ctest-vn-26753199 is 63.65.83.193 and allocation pool is NOT set 2025-10-22 14:11:36,104 - 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.74 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.390 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.390/4.064/7.739/3.674 ms') 2025-10-22 14:11:36,104 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-21970071-46283671 passed 2025-10-22 14:11:36,258 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 14:11:36,258 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-21970071-46283671, IP 63.65.83.195, Port 22 2025-10-22 14:11:36,428 - DEBUG - VM ctest-TestBasicPolicy-21970071-46283671 is ready for SSH connections 2025-10-22 14:11:36,428 - INFO - Waiting for VM ctest-TestBasicPolicy-21970071-83742133 to be up.. 2025-10-22 14:11:36,520 - DEBUG - VM is in ACTIVE state now 2025-10-22 14:11:36,520 - INFO - VM name : ctest-TestBasicPolicy-21970071-83742133 2025-10-22 14:11:36,596 - DEBUG - VM ctest-TestBasicPolicy-21970071-83742133 ID is 5ba7e876-b148-488a-9a19-ee5b61a45cdc 2025-10-22 14:11:36,596 - DEBUG - VM ctest-TestBasicPolicy-21970071-83742133 launched on Node cn-jenkins-deploy-platform-ansible-os-4431-1 2025-10-22 14:11:36,677 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/5ba7e876-b148-488a-9a19-ee5b61a45cdc 2025-10-22 14:11:36,688 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/89277782-b7b9-4fb3-a0ba-20c19d37da73 2025-10-22 14:11:37,946 - 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.33 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.39 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 = 1.386/2.856/4.327/1.470 ms') 2025-10-22 14:11:37,946 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-21970071-83742133 passed 2025-10-22 14:11:38,094 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 14:11:38,094 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-21970071-83742133, IP 112.87.253.67, Port 22 2025-10-22 14:11:38,159 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-10-22 14:11:38,243 - DEBUG - VM ctest-TestBasicPolicy-21970071-83742133 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-22 14:11:43,244 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 14:11:43,244 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-21970071-83742133, IP 112.87.253.67, Port 22 2025-10-22 14:11:43,419 - DEBUG - VM ctest-TestBasicPolicy-21970071-83742133 is ready for SSH connections 2025-10-22 14:11:43,419 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 14:11:43,419 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 112.87.253.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-10-22 14:11:43,420 - DEBUG - ping -s 56 -c 3 -W 1 112.87.253.67 2025-10-22 14:11:47,499 - DEBUG - PING 112.87.253.67 (112.87.253.67): 56 data bytes 64 bytes from 112.87.253.67: seq=0 ttl=63 time=5.080 ms 64 bytes from 112.87.253.67: seq=1 ttl=63 time=0.922 ms 64 bytes from 112.87.253.67: seq=2 ttl=63 time=0.988 ms --- 112.87.253.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.922/2.330/5.080 ms 2025-10-22 14:11:47,499 - INFO - Ping to IP 112.87.253.67 from VM ctest-TestBasicPolicy-21970071-46283671 passed 2025-10-22 14:11:47,677 - DEBUG - Policy Update Response {"network-policy": {"uuid": "39325fb0-3c98-4b74-86f0-8dc332cf9538", "href": "http://10.0.0.249:8082/network-policy/39325fb0-3c98-4b74-86f0-8dc332cf9538"}} 2025-10-22 14:11:47,678 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 14:11:47,678 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 112.87.253.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-10-22 14:11:47,678 - DEBUG - ping -s 56 -c 3 -W 1 112.87.253.67 2025-10-22 14:11:50,908 - DEBUG - PING 112.87.253.67 (112.87.253.67): 56 data bytes --- 112.87.253.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-22 14:11:50,908 - WARNING - Ping to IP 112.87.253.67 from VM ctest-TestBasicPolicy-21970071-46283671 failed 2025-10-22 14:11:50,909 - INFO - Deleting VM ctest-TestBasicPolicy-21970071-83742133 2025-10-22 14:11:50,988 - INFO - Deleting VM ctest-TestBasicPolicy-21970071-46283671 2025-10-22 14:11:51,438 - INFO - Deleted policy ctest-policy-allow-all-07644949 2025-10-22 14:11:51,438 - INFO - Deleting VN ctest-vn-55364311 2025-10-22 14:11:51,475 - DEBUG - VN c6cce31e-d3a8-4772-8804-5520d261ede1 still in use: Unable to complete operation on network c6cce31e-d3a8-4772-8804-5520d261ede1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-75599326-cbc4-4d30-a5cc-13a991b13751'] 2025-10-22 14:11:51,475 - WARNING - Deleting VN ctest-vn-55364311 failed..Will retry 2025-10-22 14:11:53,587 - DEBUG - Response for deleting network () 2025-10-22 14:11:53,587 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/918507ab-d1a0-49e5-a513-aadb7fa0b09b 2025-10-22 14:11:53,594 - DEBUG - Response Code: 404 2025-10-22 14:11:53,594 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-22 14:11:53,600 - DEBUG - Requesting: http://10.0.0.249:8082/domain/a3cb75b1-b54f-4ecb-be13-4fb4e99472a3 2025-10-22 14:11:53,656 - DEBUG - Requesting: http://10.0.0.249:8082/project/d8c5b16c-0667-444f-b81c-9fecb345c2ab 2025-10-22 14:11:53,727 - INFO - Validated that VN ctest-vn-55364311 is not found in API Server 2025-10-22 14:11:53,737 - DEBUG - VN ctest-vn-55364311 is not present in Agent 10.0.0.249 2025-10-22 14:11:53,737 - INFO - Validated that VN ctest-vn-55364311 is not in any agent 2025-10-22 14:11:53,752 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-55364311 info 2025-10-22 14:11:53,752 - INFO - Deleting VN ctest-vn-26753199 2025-10-22 14:11:53,852 - DEBUG - Response for deleting network () 2025-10-22 14:11:53,853 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/3b10ad36-f224-414b-ac73-b7bfaa8fd4df 2025-10-22 14:11:53,864 - DEBUG - Response Code: 404 2025-10-22 14:11:53,864 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-22 14:11:53,871 - DEBUG - Requesting: http://10.0.0.249:8082/domain/a3cb75b1-b54f-4ecb-be13-4fb4e99472a3 2025-10-22 14:11:53,927 - DEBUG - Requesting: http://10.0.0.249:8082/project/d8c5b16c-0667-444f-b81c-9fecb345c2ab 2025-10-22 14:11:53,994 - INFO - Validated that VN ctest-vn-26753199 is not found in API Server 2025-10-22 14:11:54,004 - DEBUG - VN ctest-vn-26753199 is not present in Agent 10.0.0.249 2025-10-22 14:11:54,004 - INFO - Validated that VN ctest-vn-26753199 is not in any agent 2025-10-22 14:11:54,020 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-26753199 info 2025-10-22 14:11:54,275 - DEBUG - No XMPP flaps were noticed during the test 2025-10-22 14:11:54,275 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:36] 2025-10-22 14:11:54,275 - INFO - -------------------------------------------------------------------------------- 2025-10-22 14:11:55,004 - INFO - Deleted project: ctest-TestBasicPolicy-21970071, ID : d8c5b16c-0667-444f-b81c-9fecb345c2ab