2026-07-29 15:03:46,320 - INFO - Domain Default found not creating 2026-07-29 15:03:46,558 - INFO - Project ctest-TestBasicPolicy-00437373 not found, creating it 2026-07-29 15:03:47,148 - INFO - Created Project:ctest-TestBasicPolicy-00437373, ID : 244333e5-b54c-492e-8826-068ff5605ade 2026-07-29 15:03:49,144 - INFO - ================================================================================ 2026-07-29 15:03:49,144 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-07-29 15:03:49,144 - 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-07-29 15:03:49,418 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.25': '0'}} with 2026-07-29 15:03:49,418 - INFO - Initial checks done. Running the testcase now 2026-07-29 15:03:49,418 - INFO - 2026-07-29 15:03:50,202 - DEBUG - Response for create_network : {'network': {'id': 'd4fbfcfb-593d-4a05-b765-95e5b9b92696', 'name': 'ctest-vn-69454916', 'tenant_id': '244333e5b54c492e8826068ff5605ade', 'project_id': '244333e5b54c492e8826068ff5605ade', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00437373', 'ctest-vn-69454916'], 'port_security_enabled': True, 'description': ''}} 2026-07-29 15:03:50,439 - DEBUG - Response for create_subnet : {'subnet': {'id': '2fc12e8e-bd91-424c-a472-687553cc8751', 'name': '', 'tenant_id': '244333e5b54c492e8826068ff5605ade', 'network_id': 'd4fbfcfb-593d-4a05-b765-95e5b9b92696', 'ip_version': 4, 'cidr': '145.252.37.0/26', 'allocation_pools': [{'start': '145.252.37.2', 'end': '145.252.37.62'}], 'gateway_ip': '145.252.37.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '145.252.37.2', 'tags': [], 'project_id': '244333e5b54c492e8826068ff5605ade'}} 2026-07-29 15:03:50,464 - INFO - Created VN ctest-vn-69454916 2026-07-29 15:03:50,520 - DEBUG - VN ctest-vn-69454916 UUID is d4fbfcfb-593d-4a05-b765-95e5b9b92696 2026-07-29 15:03:50,890 - DEBUG - Response for create_network : {'network': {'id': '4ab79746-c7d2-4596-869a-038d1539cb60', 'name': 'ctest-vn-20262945', 'tenant_id': '244333e5b54c492e8826068ff5605ade', 'project_id': '244333e5b54c492e8826068ff5605ade', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00437373', 'ctest-vn-20262945'], 'port_security_enabled': True, 'description': ''}} 2026-07-29 15:03:51,161 - DEBUG - Response for create_subnet : {'subnet': {'id': '4df79d3f-5316-456f-8bb9-e562fcebfc2c', 'name': '', 'tenant_id': '244333e5b54c492e8826068ff5605ade', 'network_id': '4ab79746-c7d2-4596-869a-038d1539cb60', 'ip_version': 4, 'cidr': '197.255.200.128/26', 'allocation_pools': [{'start': '197.255.200.130', 'end': '197.255.200.190'}], 'gateway_ip': '197.255.200.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '197.255.200.130', 'tags': [], 'project_id': '244333e5b54c492e8826068ff5605ade'}} 2026-07-29 15:03:51,185 - INFO - Created VN ctest-vn-20262945 2026-07-29 15:03:51,240 - DEBUG - VN ctest-vn-20262945 UUID is 4ab79746-c7d2-4596-869a-038d1539cb60 2026-07-29 15:03:51,369 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-00437373:ctest-vn-69454916, 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-00437373:ctest-vn-20262945, 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-07-29 15:03:51,739 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd4fbfcfb-593d-4a05-b765-95e5b9b92696', 'name': 'ctest-vn-69454916', 'tenant_id': '244333e5b54c492e8826068ff5605ade', 'project_id': '244333e5b54c492e8826068ff5605ade', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2fc12e8e-bd91-424c-a472-687553cc8751'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00437373', 'ctest-vn-69454916'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-00437373', 'ctest-policy-allow-all-76967135']], 'subnet_ipam': [{'subnet_cidr': '145.252.37.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-07-29 15:03:52,018 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4ab79746-c7d2-4596-869a-038d1539cb60', 'name': 'ctest-vn-20262945', 'tenant_id': '244333e5b54c492e8826068ff5605ade', 'project_id': '244333e5b54c492e8826068ff5605ade', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4df79d3f-5316-456f-8bb9-e562fcebfc2c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00437373', 'ctest-vn-20262945'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-00437373', 'ctest-policy-allow-all-76967135']], 'subnet_ipam': [{'subnet_cidr': '197.255.200.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-07-29 15:03:52,196 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-07-29 15:03:52,593 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-07-29 15:03:52,628 - DEBUG - Requesting: http://10.0.0.22:8082/domain/f6235a01-974f-4b35-91af-124d5216d0d3 2026-07-29 15:03:52,646 - DEBUG - Requesting: http://10.0.0.22:8082/project/244333e5-b54c-492e-8826-068ff5605ade 2026-07-29 15:03:52,743 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/d4fbfcfb-593d-4a05-b765-95e5b9b92696 2026-07-29 15:03:52,761 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/d4fbfcfb-593d-4a05-b765-95e5b9b92696 2026-07-29 15:03:52,774 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/1b2d5e0a-3ea6-4207-b1ee-b002ebcdebdb 2026-07-29 15:03:52,786 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/1b2d5e0a-3ea6-4207-b1ee-b002ebcdebdb 2026-07-29 15:03:52,795 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/5b885dc0-d582-4e85-b57c-1c4f70ada051 2026-07-29 15:03:52,806 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-07-29 15:03:52,806 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/d4fbfcfb-593d-4a05-b765-95e5b9b92696 2026-07-29 15:03:52,822 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/1b2d5e0a-3ea6-4207-b1ee-b002ebcdebdb 2026-07-29 15:03:52,844 - INFO - Verified VN network id 11 for VN d4fbfcfb-593d-4a05-b765-95e5b9b92696 2026-07-29 15:03:52,845 - INFO - Verifications in API Server for VN ctest-vn-69454916 passed 2026-07-29 15:03:52,845 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/d4fbfcfb-593d-4a05-b765-95e5b9b92696 2026-07-29 15:03:52,857 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/1b2d5e0a-3ea6-4207-b1ee-b002ebcdebdb 2026-07-29 15:03:52,868 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/1b2d5e0a-3ea6-4207-b1ee-b002ebcdebdb 2026-07-29 15:03:52,880 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/5b885dc0-d582-4e85-b57c-1c4f70ada051 2026-07-29 15:03:52,898 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-00437373:ctest-vn-69454916', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-00437373', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15347138311659276805', 'uuid-lslong': '13215133495484556950'}, 'enable': 'true', 'created': '2026-07-29T15:03:50', 'last-modified': '2026-07-29T15:03:51', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.196483'} 2026-07-29 15:03:52,909 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-07-29 15:03:52,909 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-69454916 passed 2026-07-29 15:03:52,910 - DEBUG - ====Verifying policy data for ctest-vn-69454916 in API_Server ====== 2026-07-29 15:03:52,910 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-07-29 15:03:52,916 - DEBUG - Requesting: http://10.0.0.22:8082/domain/f6235a01-974f-4b35-91af-124d5216d0d3 2026-07-29 15:03:52,930 - DEBUG - Requesting: http://10.0.0.22:8082/project/244333e5-b54c-492e-8826-068ff5605ade 2026-07-29 15:03:53,015 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/d4fbfcfb-593d-4a05-b765-95e5b9b92696 2026-07-29 15:03:53,028 - DEBUG - ==>Verifying data for policy with id: 65b9c76e-6646-4cd0-9aa4-6d6b8b1efad7, fqn: ['default-domain', 'ctest-TestBasicPolicy-00437373', 'ctest-policy-allow-all-76967135'] 2026-07-29 15:03:53,028 - INFO - VN ctest-vn-69454916 Policy verification: verify_vn_policy_in_api_server, status: True 2026-07-29 15:03:53,028 - DEBUG - Verifying the vn in opserver 2026-07-29 15:03:53,028 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-00437373:ctest-vn-69454916 virtual network link through opserver 10.0.0.22 2026-07-29 15:03:53,029 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-07-29 15:03:53,428 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-07-29 15:03:53,499 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-00437373:ctest-vn-69454916', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-00437373:ctest-vn-69454916?flat'} 2026-07-29 15:03:53,499 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-00437373:ctest-vn-69454916 is found in opserver 2026-07-29 15:03:53,511 - DEBUG - Do not have enough data to verify VN in agent 2026-07-29 15:03:53,518 - DEBUG - VRF ids for VN ctest-vn-69454916: {} 2026-07-29 15:03:53,518 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-07-29 15:03:53,524 - DEBUG - Requesting: http://10.0.0.22:8082/domain/f6235a01-974f-4b35-91af-124d5216d0d3 2026-07-29 15:03:53,537 - DEBUG - Requesting: http://10.0.0.22:8082/project/244333e5-b54c-492e-8826-068ff5605ade 2026-07-29 15:03:53,644 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/4ab79746-c7d2-4596-869a-038d1539cb60 2026-07-29 15:03:53,663 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/4ab79746-c7d2-4596-869a-038d1539cb60 2026-07-29 15:03:53,676 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/7d68793d-06fe-44e4-b743-85c293123c88 2026-07-29 15:03:53,686 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/7d68793d-06fe-44e4-b743-85c293123c88 2026-07-29 15:03:53,695 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/1692d6f4-8320-4e4f-a23a-e320332ecae8 2026-07-29 15:03:53,704 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-07-29 15:03:53,704 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/4ab79746-c7d2-4596-869a-038d1539cb60 2026-07-29 15:03:53,716 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/7d68793d-06fe-44e4-b743-85c293123c88 2026-07-29 15:03:53,739 - INFO - Verified VN network id 12 for VN 4ab79746-c7d2-4596-869a-038d1539cb60 2026-07-29 15:03:53,739 - INFO - Verifications in API Server for VN ctest-vn-20262945 passed 2026-07-29 15:03:53,739 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/4ab79746-c7d2-4596-869a-038d1539cb60 2026-07-29 15:03:53,754 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/7d68793d-06fe-44e4-b743-85c293123c88 2026-07-29 15:03:53,765 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/7d68793d-06fe-44e4-b743-85c293123c88 2026-07-29 15:03:53,777 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/1692d6f4-8320-4e4f-a23a-e320332ecae8 2026-07-29 15:03:53,796 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-00437373:ctest-vn-20262945', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-00437373', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5383938209800668566', 'uuid-lslong': '9699068651977165664'}, 'enable': 'true', 'created': '2026-07-29T15:03:50', 'last-modified': '2026-07-29T15:03:51', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.813296'} 2026-07-29 15:03:53,805 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-07-29 15:03:53,805 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-20262945 passed 2026-07-29 15:03:53,805 - DEBUG - ====Verifying policy data for ctest-vn-20262945 in API_Server ====== 2026-07-29 15:03:53,805 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-07-29 15:03:53,821 - DEBUG - Requesting: http://10.0.0.22:8082/domain/f6235a01-974f-4b35-91af-124d5216d0d3 2026-07-29 15:03:53,837 - DEBUG - Requesting: http://10.0.0.22:8082/project/244333e5-b54c-492e-8826-068ff5605ade 2026-07-29 15:03:53,931 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/4ab79746-c7d2-4596-869a-038d1539cb60 2026-07-29 15:03:53,945 - DEBUG - ==>Verifying data for policy with id: 65b9c76e-6646-4cd0-9aa4-6d6b8b1efad7, fqn: ['default-domain', 'ctest-TestBasicPolicy-00437373', 'ctest-policy-allow-all-76967135'] 2026-07-29 15:03:53,945 - INFO - VN ctest-vn-20262945 Policy verification: verify_vn_policy_in_api_server, status: True 2026-07-29 15:03:53,945 - DEBUG - Verifying the vn in opserver 2026-07-29 15:03:53,945 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-00437373:ctest-vn-20262945 virtual network link through opserver 10.0.0.22 2026-07-29 15:03:53,945 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-07-29 15:03:53,961 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-00437373:ctest-vn-20262945', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-00437373:ctest-vn-20262945?flat'} 2026-07-29 15:03:53,961 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-00437373:ctest-vn-20262945 is found in opserver 2026-07-29 15:03:53,977 - DEBUG - Do not have enough data to verify VN in agent 2026-07-29 15:03:53,986 - DEBUG - VRF ids for VN ctest-vn-20262945: {} 2026-07-29 15:03:54,072 - DEBUG - Services list from nova: [, , ] 2026-07-29 15:03:54,673 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6119-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6119-1) 2026-07-29 15:03:55,318 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6119-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6119-1) 2026-07-29 15:03:55,318 - INFO - Waiting for VM ctest-TestBasicPolicy-00437373-03364981 to be up.. 2026-07-29 15:03:55,383 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-29 15:04:00,504 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-29 15:04:05,621 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-29 15:04:10,731 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-29 15:04:15,838 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-29 15:04:20,953 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-29 15:04:26,074 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-29 15:04:31,183 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-29 15:04:36,294 - DEBUG - VM is in ACTIVE state now 2026-07-29 15:04:36,295 - INFO - VM name : ctest-TestBasicPolicy-00437373-03364981 2026-07-29 15:04:36,397 - DEBUG - VM ctest-TestBasicPolicy-00437373-03364981 ID is b7fb9657-7ac0-4097-9a44-8c8d25f1076d 2026-07-29 15:04:36,427 - DEBUG - VM ctest-TestBasicPolicy-00437373-03364981 launched on Node cn-jenkins-deploy-platform-ansible-os-6119-1 2026-07-29 15:04:36,558 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/b7fb9657-7ac0-4097-9a44-8c8d25f1076d 2026-07-29 15:04:36,570 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/f19a6b21-0499-4e8c-9b08-d8b1325388e5 2026-07-29 15:04:39,846 - 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 1015ms') 2026-07-29 15:04:39,847 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-00437373-03364981 failed! 2026-07-29 15:04:39,912 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-00437373:ctest-vn-69454916 is 145.252.37.1 and allocation pool is NOT set 2026-07-29 15:04:44,007 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=9.55 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1030ms\r\nrtt min/avg/max/mdev = 9.552/9.552/9.552/0.000 ms') 2026-07-29 15:04:44,007 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-00437373-03364981 passed 2026-07-29 15:04:44,164 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-29 15:04:44,164 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-00437373-03364981, IP 145.252.37.3, Port 22 2026-07-29 15:04:44,334 - DEBUG - VM ctest-TestBasicPolicy-00437373-03364981 is ready for SSH connections 2026-07-29 15:04:44,334 - INFO - Waiting for VM ctest-TestBasicPolicy-00437373-59461849 to be up.. 2026-07-29 15:04:44,438 - DEBUG - VM is in ACTIVE state now 2026-07-29 15:04:44,438 - INFO - VM name : ctest-TestBasicPolicy-00437373-59461849 2026-07-29 15:04:44,538 - DEBUG - VM ctest-TestBasicPolicy-00437373-59461849 ID is e85528f7-7b3a-42e8-ba2d-6e3fbd6fb849 2026-07-29 15:04:44,538 - DEBUG - VM ctest-TestBasicPolicy-00437373-59461849 launched on Node cn-jenkins-deploy-platform-ansible-os-6119-1 2026-07-29 15:04:44,630 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/e85528f7-7b3a-42e8-ba2d-6e3fbd6fb849 2026-07-29 15:04:44,642 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/03622dc8-60ca-4c70-aafd-c5eb5fc55158 2026-07-29 15:04:47,914 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1012ms') 2026-07-29 15:04:47,914 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-00437373-59461849 failed! 2026-07-29 15:04:47,972 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-00437373:ctest-vn-20262945 is 197.255.200.129 and allocation pool is NOT set 2026-07-29 15:04:50,049 - 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.44 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.592 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.592/2.514/4.436/1.922 ms') 2026-07-29 15:04:50,049 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-00437373-59461849 passed 2026-07-29 15:04:50,204 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-29 15:04:50,204 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-00437373-59461849, IP 197.255.200.131, Port 22 2026-07-29 15:04:50,375 - DEBUG - VM ctest-TestBasicPolicy-00437373-59461849 is ready for SSH connections 2026-07-29 15:04:50,375 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-29 15:04:50,375 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 197.255.200.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-07-29 15:04:50,375 - DEBUG - ping -s 56 -c 3 -W 1 197.255.200.131 2026-07-29 15:04:54,541 - DEBUG - PING 197.255.200.131 (197.255.200.131): 56 data bytes 64 bytes from 197.255.200.131: seq=0 ttl=63 time=5.486 ms 64 bytes from 197.255.200.131: seq=1 ttl=63 time=1.144 ms 64 bytes from 197.255.200.131: seq=2 ttl=63 time=1.113 ms --- 197.255.200.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.113/2.581/5.486 ms 2026-07-29 15:04:54,541 - INFO - Ping to IP 197.255.200.131 from VM ctest-TestBasicPolicy-00437373-03364981 passed 2026-07-29 15:04:54,764 - DEBUG - Policy Update Response {"network-policy": {"uuid": "65b9c76e-6646-4cd0-9aa4-6d6b8b1efad7", "href": "http://10.0.0.22:8082/network-policy/65b9c76e-6646-4cd0-9aa4-6d6b8b1efad7"}} 2026-07-29 15:04:54,764 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-29 15:04:54,764 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 197.255.200.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-07-29 15:04:54,764 - DEBUG - ping -s 56 -c 3 -W 1 197.255.200.131 2026-07-29 15:04:57,913 - DEBUG - PING 197.255.200.131 (197.255.200.131): 56 data bytes 64 bytes from 197.255.200.131: seq=0 ttl=63 time=1.901 ms --- 197.255.200.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.901/1.901/1.901 ms 2026-07-29 15:04:57,913 - WARNING - Ping to IP 197.255.200.131 from VM ctest-TestBasicPolicy-00437373-03364981 failed 2026-07-29 15:04:57,913 - INFO - Deleting VM ctest-TestBasicPolicy-00437373-59461849 2026-07-29 15:04:58,011 - INFO - Deleting VM ctest-TestBasicPolicy-00437373-03364981 2026-07-29 15:04:58,456 - INFO - Deleted policy ctest-policy-allow-all-76967135 2026-07-29 15:04:58,456 - INFO - Deleting VN ctest-vn-20262945 2026-07-29 15:04:58,497 - DEBUG - VN 4ab79746-c7d2-4596-869a-038d1539cb60 still in use: Unable to complete operation on network 4ab79746-c7d2-4596-869a-038d1539cb60. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b96e0cfe-6d63-4a6b-941a-3f93ff9aef09'] 2026-07-29 15:04:58,497 - WARNING - Deleting VN ctest-vn-20262945 failed..Will retry 2026-07-29 15:05:00,628 - DEBUG - Response for deleting network () 2026-07-29 15:05:00,628 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/7d68793d-06fe-44e4-b743-85c293123c88 2026-07-29 15:05:00,638 - DEBUG - Response Code: 404 2026-07-29 15:05:00,639 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-07-29 15:05:00,652 - DEBUG - Requesting: http://10.0.0.22:8082/domain/f6235a01-974f-4b35-91af-124d5216d0d3 2026-07-29 15:05:00,713 - DEBUG - Requesting: http://10.0.0.22:8082/project/244333e5-b54c-492e-8826-068ff5605ade 2026-07-29 15:05:00,799 - INFO - Validated that VN ctest-vn-20262945 is not found in API Server 2026-07-29 15:05:00,815 - DEBUG - VN ctest-vn-20262945 is not present in Agent 10.0.0.22 2026-07-29 15:05:00,815 - INFO - Validated that VN ctest-vn-20262945 is not in any agent 2026-07-29 15:05:00,835 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-20262945 info 2026-07-29 15:05:00,835 - INFO - Deleting VN ctest-vn-69454916 2026-07-29 15:05:00,994 - DEBUG - Response for deleting network () 2026-07-29 15:05:00,994 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/1b2d5e0a-3ea6-4207-b1ee-b002ebcdebdb 2026-07-29 15:05:01,013 - DEBUG - Response Code: 404 2026-07-29 15:05:01,013 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-07-29 15:05:01,022 - DEBUG - Requesting: http://10.0.0.22:8082/domain/f6235a01-974f-4b35-91af-124d5216d0d3 2026-07-29 15:05:01,082 - DEBUG - Requesting: http://10.0.0.22:8082/project/244333e5-b54c-492e-8826-068ff5605ade 2026-07-29 15:05:01,165 - INFO - Validated that VN ctest-vn-69454916 is not found in API Server 2026-07-29 15:05:01,180 - DEBUG - VN ctest-vn-69454916 is not present in Agent 10.0.0.22 2026-07-29 15:05:01,180 - INFO - Validated that VN ctest-vn-69454916 is not in any agent 2026-07-29 15:05:01,202 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-69454916 info 2026-07-29 15:05:01,483 - DEBUG - No XMPP flaps were noticed during the test
2026-07-29 15:05:01,483 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:12]
2026-07-29 15:05:01,483 - INFO - -------------------------------------------------------------------------------- 2026-07-29 15:05:02,344 - INFO - Deleted project: ctest-TestBasicPolicy-00437373, ID : 244333e5-b54c-492e-8826-068ff5605ade