2026-02-02 16:52:42,134 - INFO - Domain Default found not creating 2026-02-02 16:52:42,318 - INFO - Project ctest-TestBasicPolicy-61569418 not found, creating it 2026-02-02 16:52:42,774 - INFO - Created Project:ctest-TestBasicPolicy-61569418, ID : 0a61b0ab-7914-4d91-b99b-d3ca1ff53c80 2026-02-02 16:52:44,217 - INFO - ================================================================================ 2026-02-02 16:52:44,218 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-02 16:52:44,218 - 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-02-02 16:52:44,472 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2026-02-02 16:52:44,472 - INFO - Initial checks done. Running the testcase now 2026-02-02 16:52:44,472 - INFO - 2026-02-02 16:52:45,008 - DEBUG - Response for create_network : {'network': {'id': 'ccc513b9-9097-44fe-80f3-4a4b2e8dc9ff', 'name': 'ctest-vn-37518416', 'tenant_id': '0a61b0ab79144d91b99bd3ca1ff53c80', 'project_id': '0a61b0ab79144d91b99bd3ca1ff53c80', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61569418', 'ctest-vn-37518416'], 'port_security_enabled': True, 'description': ''}} 2026-02-02 16:52:45,192 - DEBUG - Response for create_subnet : {'subnet': {'id': '5c920ec1-21bd-4d4c-97db-d4b9a042eb5f', 'name': '', 'tenant_id': '0a61b0ab79144d91b99bd3ca1ff53c80', 'network_id': 'ccc513b9-9097-44fe-80f3-4a4b2e8dc9ff', 'ip_version': 4, 'cidr': '108.64.230.128/26', 'allocation_pools': [{'start': '108.64.230.130', 'end': '108.64.230.190'}], 'gateway_ip': '108.64.230.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '108.64.230.130', 'tags': [], 'project_id': '0a61b0ab79144d91b99bd3ca1ff53c80'}} 2026-02-02 16:52:45,208 - INFO - Created VN ctest-vn-37518416 2026-02-02 16:52:45,259 - DEBUG - VN ctest-vn-37518416 UUID is ccc513b9-9097-44fe-80f3-4a4b2e8dc9ff 2026-02-02 16:52:45,558 - DEBUG - Response for create_network : {'network': {'id': 'e4546398-bf2d-49c0-ab1f-c17f2eb00f45', 'name': 'ctest-vn-57557351', 'tenant_id': '0a61b0ab79144d91b99bd3ca1ff53c80', 'project_id': '0a61b0ab79144d91b99bd3ca1ff53c80', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61569418', 'ctest-vn-57557351'], 'port_security_enabled': True, 'description': ''}} 2026-02-02 16:52:45,700 - DEBUG - Response for create_subnet : {'subnet': {'id': '27c1bd81-121e-41a8-8417-4fc2b01a19b1', 'name': '', 'tenant_id': '0a61b0ab79144d91b99bd3ca1ff53c80', 'network_id': 'e4546398-bf2d-49c0-ab1f-c17f2eb00f45', 'ip_version': 4, 'cidr': '177.90.129.64/26', 'allocation_pools': [{'start': '177.90.129.66', 'end': '177.90.129.126'}], 'gateway_ip': '177.90.129.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '177.90.129.66', 'tags': [], 'project_id': '0a61b0ab79144d91b99bd3ca1ff53c80'}} 2026-02-02 16:52:45,717 - INFO - Created VN ctest-vn-57557351 2026-02-02 16:52:45,767 - DEBUG - VN ctest-vn-57557351 UUID is e4546398-bf2d-49c0-ab1f-c17f2eb00f45 2026-02-02 16:52:45,923 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-61569418:ctest-vn-37518416, 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-61569418:ctest-vn-57557351, 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-02-02 16:52:46,203 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ccc513b9-9097-44fe-80f3-4a4b2e8dc9ff', 'name': 'ctest-vn-37518416', 'tenant_id': '0a61b0ab79144d91b99bd3ca1ff53c80', 'project_id': '0a61b0ab79144d91b99bd3ca1ff53c80', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5c920ec1-21bd-4d4c-97db-d4b9a042eb5f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61569418', 'ctest-vn-37518416'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-61569418', 'ctest-policy-allow-all-15827269']], 'subnet_ipam': [{'subnet_cidr': '108.64.230.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-02 16:52:46,417 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e4546398-bf2d-49c0-ab1f-c17f2eb00f45', 'name': 'ctest-vn-57557351', 'tenant_id': '0a61b0ab79144d91b99bd3ca1ff53c80', 'project_id': '0a61b0ab79144d91b99bd3ca1ff53c80', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['27c1bd81-121e-41a8-8417-4fc2b01a19b1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61569418', 'ctest-vn-57557351'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-61569418', 'ctest-policy-allow-all-15827269']], 'subnet_ipam': [{'subnet_cidr': '177.90.129.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-02 16:52:46,584 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-02 16:52:46,881 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-02 16:52:46,914 - DEBUG - Requesting: http://10.0.0.38:8082/domain/cad9a506-2f0b-4656-8997-c3b8e9881859 2026-02-02 16:52:46,924 - DEBUG - Requesting: http://10.0.0.38:8082/project/0a61b0ab-7914-4d91-b99b-d3ca1ff53c80 2026-02-02 16:52:46,991 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ccc513b9-9097-44fe-80f3-4a4b2e8dc9ff 2026-02-02 16:52:47,001 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ccc513b9-9097-44fe-80f3-4a4b2e8dc9ff 2026-02-02 16:52:47,009 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9ea082b6-df2d-4764-afa2-2eaae8dfef46 2026-02-02 16:52:47,015 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9ea082b6-df2d-4764-afa2-2eaae8dfef46 2026-02-02 16:52:47,022 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/91f0f96c-8197-4f3e-9250-b13b5df6d2e3 2026-02-02 16:52:47,028 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-02 16:52:47,028 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ccc513b9-9097-44fe-80f3-4a4b2e8dc9ff 2026-02-02 16:52:47,036 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9ea082b6-df2d-4764-afa2-2eaae8dfef46 2026-02-02 16:52:47,048 - INFO - Verified VN network id 11 for VN ccc513b9-9097-44fe-80f3-4a4b2e8dc9ff 2026-02-02 16:52:47,049 - INFO - Verifications in API Server for VN ctest-vn-37518416 passed 2026-02-02 16:52:47,049 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ccc513b9-9097-44fe-80f3-4a4b2e8dc9ff 2026-02-02 16:52:47,056 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9ea082b6-df2d-4764-afa2-2eaae8dfef46 2026-02-02 16:52:47,063 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9ea082b6-df2d-4764-afa2-2eaae8dfef46 2026-02-02 16:52:47,070 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/91f0f96c-8197-4f3e-9250-b13b5df6d2e3 2026-02-02 16:52:47,080 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-61569418:ctest-vn-37518416', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-61569418', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14755221441865008382', 'uuid-lslong': '9291852142959512063'}, 'enable': 'true', 'created': '2026-02-02T16:52:44', 'last-modified': '2026-02-02T16:52:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.894593'} 2026-02-02 16:52:47,085 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-02 16:52:47,085 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-37518416 passed 2026-02-02 16:52:47,086 - DEBUG - ====Verifying policy data for ctest-vn-37518416 in API_Server ====== 2026-02-02 16:52:47,086 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-02 16:52:47,091 - DEBUG - Requesting: http://10.0.0.38:8082/domain/cad9a506-2f0b-4656-8997-c3b8e9881859 2026-02-02 16:52:47,111 - DEBUG - Requesting: http://10.0.0.38:8082/project/0a61b0ab-7914-4d91-b99b-d3ca1ff53c80 2026-02-02 16:52:47,178 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ccc513b9-9097-44fe-80f3-4a4b2e8dc9ff 2026-02-02 16:52:47,187 - DEBUG - ==>Verifying data for policy with id: c32b4dda-73f8-498a-9179-359cd9123912, fqn: ['default-domain', 'ctest-TestBasicPolicy-61569418', 'ctest-policy-allow-all-15827269'] 2026-02-02 16:52:47,187 - INFO - VN ctest-vn-37518416 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-02 16:52:47,187 - DEBUG - Verifying the vn in opserver 2026-02-02 16:52:47,187 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-61569418:ctest-vn-37518416 virtual network link through opserver 10.0.0.38 2026-02-02 16:52:47,187 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-02-02 16:52:47,476 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-02-02 16:52:47,534 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-61569418:ctest-vn-37518416', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-61569418:ctest-vn-37518416?flat'} 2026-02-02 16:52:47,534 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-61569418:ctest-vn-37518416 is found in opserver 2026-02-02 16:52:47,542 - DEBUG - Do not have enough data to verify VN in agent 2026-02-02 16:52:47,546 - DEBUG - VRF ids for VN ctest-vn-37518416: {} 2026-02-02 16:52:47,546 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-02 16:52:47,551 - DEBUG - Requesting: http://10.0.0.38:8082/domain/cad9a506-2f0b-4656-8997-c3b8e9881859 2026-02-02 16:52:47,561 - DEBUG - Requesting: http://10.0.0.38:8082/project/0a61b0ab-7914-4d91-b99b-d3ca1ff53c80 2026-02-02 16:52:47,629 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e4546398-bf2d-49c0-ab1f-c17f2eb00f45 2026-02-02 16:52:47,640 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e4546398-bf2d-49c0-ab1f-c17f2eb00f45 2026-02-02 16:52:47,649 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/bc49efd1-5352-4bb4-8eec-66fefe803f0a 2026-02-02 16:52:47,655 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/bc49efd1-5352-4bb4-8eec-66fefe803f0a 2026-02-02 16:52:47,661 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/06bdee38-5056-4f9d-8fe6-ff55560b8f74 2026-02-02 16:52:47,668 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-02 16:52:47,668 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e4546398-bf2d-49c0-ab1f-c17f2eb00f45 2026-02-02 16:52:47,675 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/bc49efd1-5352-4bb4-8eec-66fefe803f0a 2026-02-02 16:52:47,687 - INFO - Verified VN network id 12 for VN e4546398-bf2d-49c0-ab1f-c17f2eb00f45 2026-02-02 16:52:47,687 - INFO - Verifications in API Server for VN ctest-vn-57557351 passed 2026-02-02 16:52:47,687 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e4546398-bf2d-49c0-ab1f-c17f2eb00f45 2026-02-02 16:52:47,695 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/bc49efd1-5352-4bb4-8eec-66fefe803f0a 2026-02-02 16:52:47,701 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/bc49efd1-5352-4bb4-8eec-66fefe803f0a 2026-02-02 16:52:47,707 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/06bdee38-5056-4f9d-8fe6-ff55560b8f74 2026-02-02 16:52:47,718 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-61569418:ctest-vn-57557351', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-61569418', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16452884846384859584', 'uuid-lslong': '12330787056752004933'}, 'enable': 'true', 'created': '2026-02-02T16:52:45', 'last-modified': '2026-02-02T16:52:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.318197'} 2026-02-02 16:52:47,723 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-02 16:52:47,723 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-57557351 passed 2026-02-02 16:52:47,724 - DEBUG - ====Verifying policy data for ctest-vn-57557351 in API_Server ====== 2026-02-02 16:52:47,724 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-02 16:52:47,735 - DEBUG - Requesting: http://10.0.0.38:8082/domain/cad9a506-2f0b-4656-8997-c3b8e9881859 2026-02-02 16:52:47,744 - DEBUG - Requesting: http://10.0.0.38:8082/project/0a61b0ab-7914-4d91-b99b-d3ca1ff53c80 2026-02-02 16:52:47,813 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e4546398-bf2d-49c0-ab1f-c17f2eb00f45 2026-02-02 16:52:47,821 - DEBUG - ==>Verifying data for policy with id: c32b4dda-73f8-498a-9179-359cd9123912, fqn: ['default-domain', 'ctest-TestBasicPolicy-61569418', 'ctest-policy-allow-all-15827269'] 2026-02-02 16:52:47,821 - INFO - VN ctest-vn-57557351 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-02 16:52:47,821 - DEBUG - Verifying the vn in opserver 2026-02-02 16:52:47,821 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-61569418:ctest-vn-57557351 virtual network link through opserver 10.0.0.38 2026-02-02 16:52:47,821 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-02-02 16:52:47,830 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-61569418:ctest-vn-57557351', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-61569418:ctest-vn-57557351?flat'} 2026-02-02 16:52:47,830 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-61569418:ctest-vn-57557351 is found in opserver 2026-02-02 16:52:47,840 - DEBUG - Do not have enough data to verify VN in agent 2026-02-02 16:52:47,845 - DEBUG - VRF ids for VN ctest-vn-57557351: {} 2026-02-02 16:52:47,899 - DEBUG - Services list from nova: [, , ] 2026-02-02 16:52:48,889 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5175-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5175-1) 2026-02-02 16:52:50,035 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5175-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5175-1) 2026-02-02 16:52:50,036 - INFO - Waiting for VM ctest-TestBasicPolicy-61569418-82945442 to be up.. 2026-02-02 16:52:50,110 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-02 16:52:55,178 - DEBUG - VM is in ACTIVE state now 2026-02-02 16:52:55,179 - INFO - VM name : ctest-TestBasicPolicy-61569418-82945442 2026-02-02 16:52:55,244 - DEBUG - VM ctest-TestBasicPolicy-61569418-82945442 ID is 4b090b54-bce0-4276-8e54-e59702f72a33 2026-02-02 16:52:55,262 - DEBUG - VM ctest-TestBasicPolicy-61569418-82945442 launched on Node cn-jenkins-deploy-platform-ansible-os-5175-1 2026-02-02 16:52:55,326 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/4b090b54-bce0-4276-8e54-e59702f72a33 2026-02-02 16:52:55,333 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/a1985a8f-4f76-4601-8a75-d7c82ccd1d3d 2026-02-02 16:52:58,586 - 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 1028ms') 2026-02-02 16:52:58,586 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-61569418-82945442 failed! 2026-02-02 16:52:58,639 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-61569418:ctest-vn-37518416 is 108.64.230.129 and allocation pool is NOT set 2026-02-02 16:53:00,695 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=2.69 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.427 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.427/1.556/2.686/1.129 ms') 2026-02-02 16:53:00,695 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-61569418-82945442 passed 2026-02-02 16:53:00,859 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 16:53:00,859 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-61569418-82945442, IP 108.64.230.131, Port 22 2026-02-02 16:53:01,023 - DEBUG - VM ctest-TestBasicPolicy-61569418-82945442 is ready for SSH connections 2026-02-02 16:53:01,023 - INFO - Waiting for VM ctest-TestBasicPolicy-61569418-36713215 to be up.. 2026-02-02 16:53:01,101 - DEBUG - VM is in ACTIVE state now 2026-02-02 16:53:01,101 - INFO - VM name : ctest-TestBasicPolicy-61569418-36713215 2026-02-02 16:53:01,172 - DEBUG - VM ctest-TestBasicPolicy-61569418-36713215 ID is 487aefbb-68dc-455a-96c3-3a5c32455973 2026-02-02 16:53:01,172 - DEBUG - VM ctest-TestBasicPolicy-61569418-36713215 launched on Node cn-jenkins-deploy-platform-ansible-os-5175-1 2026-02-02 16:53:01,245 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/487aefbb-68dc-455a-96c3-3a5c32455973 2026-02-02 16:53:01,253 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/8d0d30ad-24b8-428a-912b-98f2bb769a83 2026-02-02 16:53:02,482 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=2.65 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.429 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 = 0.429/1.540/2.652/1.111 ms') 2026-02-02 16:53:02,482 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-61569418-36713215 passed 2026-02-02 16:53:02,631 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 16:53:02,631 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-61569418-36713215, IP 177.90.129.67, Port 22 2026-02-02 16:53:02,787 - DEBUG - VM ctest-TestBasicPolicy-61569418-36713215 is ready for SSH connections 2026-02-02 16:53:02,787 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 16:53:02,787 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 177.90.129.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-02-02 16:53:02,787 - DEBUG - ping -s 56 -c 3 -W 1 177.90.129.67 2026-02-02 16:53:06,456 - DEBUG - PING 177.90.129.67 (177.90.129.67): 56 data bytes 64 bytes from 177.90.129.67: seq=0 ttl=63 time=3.377 ms 64 bytes from 177.90.129.67: seq=1 ttl=63 time=0.814 ms 64 bytes from 177.90.129.67: seq=2 ttl=63 time=1.047 ms --- 177.90.129.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.814/1.746/3.377 ms 2026-02-02 16:53:06,456 - INFO - Ping to IP 177.90.129.67 from VM ctest-TestBasicPolicy-61569418-82945442 passed 2026-02-02 16:53:06,631 - DEBUG - Policy Update Response {"network-policy": {"uuid": "c32b4dda-73f8-498a-9179-359cd9123912", "href": "http://10.0.0.38:8082/network-policy/c32b4dda-73f8-498a-9179-359cd9123912"}} 2026-02-02 16:53:06,631 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 16:53:06,631 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 177.90.129.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-02-02 16:53:06,631 - DEBUG - ping -s 56 -c 3 -W 1 177.90.129.67 2026-02-02 16:53:09,837 - DEBUG - PING 177.90.129.67 (177.90.129.67): 56 data bytes --- 177.90.129.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-02 16:53:09,837 - WARNING - Ping to IP 177.90.129.67 from VM ctest-TestBasicPolicy-61569418-82945442 failed 2026-02-02 16:53:09,838 - INFO - Deleting VM ctest-TestBasicPolicy-61569418-36713215 2026-02-02 16:53:09,904 - INFO - Deleting VM ctest-TestBasicPolicy-61569418-82945442 2026-02-02 16:53:10,235 - INFO - Deleted policy ctest-policy-allow-all-15827269 2026-02-02 16:53:10,235 - INFO - Deleting VN ctest-vn-57557351 2026-02-02 16:53:10,269 - DEBUG - VN e4546398-bf2d-49c0-ab1f-c17f2eb00f45 still in use: Unable to complete operation on network e4546398-bf2d-49c0-ab1f-c17f2eb00f45. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-dcfa0c5a-3edc-4f68-8e69-5f80fc6e32f3'] 2026-02-02 16:53:10,269 - WARNING - Deleting VN ctest-vn-57557351 failed..Will retry 2026-02-02 16:53:12,359 - DEBUG - Response for deleting network () 2026-02-02 16:53:12,359 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/bc49efd1-5352-4bb4-8eec-66fefe803f0a 2026-02-02 16:53:12,365 - DEBUG - Response Code: 404 2026-02-02 16:53:12,365 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-02 16:53:12,369 - DEBUG - Requesting: http://10.0.0.38:8082/domain/cad9a506-2f0b-4656-8997-c3b8e9881859 2026-02-02 16:53:12,420 - DEBUG - Requesting: http://10.0.0.38:8082/project/0a61b0ab-7914-4d91-b99b-d3ca1ff53c80 2026-02-02 16:53:12,488 - INFO - Validated that VN ctest-vn-57557351 is not found in API Server 2026-02-02 16:53:12,496 - DEBUG - VN ctest-vn-57557351 is not present in Agent 10.0.0.38 2026-02-02 16:53:12,496 - INFO - Validated that VN ctest-vn-57557351 is not in any agent 2026-02-02 16:53:12,507 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-57557351 info 2026-02-02 16:53:12,507 - INFO - Deleting VN ctest-vn-37518416 2026-02-02 16:53:12,593 - DEBUG - Response for deleting network () 2026-02-02 16:53:12,593 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9ea082b6-df2d-4764-afa2-2eaae8dfef46 2026-02-02 16:53:12,599 - DEBUG - Response Code: 404 2026-02-02 16:53:12,599 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-02 16:53:12,603 - DEBUG - Requesting: http://10.0.0.38:8082/domain/cad9a506-2f0b-4656-8997-c3b8e9881859 2026-02-02 16:53:12,656 - DEBUG - Requesting: http://10.0.0.38:8082/project/0a61b0ab-7914-4d91-b99b-d3ca1ff53c80 2026-02-02 16:53:12,722 - INFO - Validated that VN ctest-vn-37518416 is not found in API Server 2026-02-02 16:53:12,730 - DEBUG - VN ctest-vn-37518416 is not present in Agent 10.0.0.38 2026-02-02 16:53:12,730 - INFO - Validated that VN ctest-vn-37518416 is not in any agent 2026-02-02 16:53:12,741 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-37518416 info 2026-02-02 16:53:12,996 - DEBUG - No XMPP flaps were noticed during the test 2026-02-02 16:53:12,996 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:28] 2026-02-02 16:53:12,996 - INFO - -------------------------------------------------------------------------------- 2026-02-02 16:53:13,676 - INFO - Deleted project: ctest-TestBasicPolicy-61569418, ID : 0a61b0ab-7914-4d91-b99b-d3ca1ff53c80