2026-05-04 02:11:42,647 - INFO - Domain Default found not creating 2026-05-04 02:11:42,848 - INFO - Project ctest-TestBasicPolicy-82380988 not found, creating it 2026-05-04 02:11:43,308 - INFO - Created Project:ctest-TestBasicPolicy-82380988, ID : 6b418545-2697-43de-8308-3976a54299ba 2026-05-04 02:11:44,840 - INFO - ================================================================================ 2026-05-04 02:11:44,840 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-05-04 02:11:44,840 - 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-05-04 02:11:45,110 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2026-05-04 02:11:45,110 - INFO - Initial checks done. Running the testcase now 2026-05-04 02:11:45,110 - INFO - 2026-05-04 02:11:45,673 - DEBUG - Response for create_network : {'network': {'id': '75138332-21a7-42bd-a2b1-e7c55503c627', 'name': 'ctest-vn-79936094', 'tenant_id': '6b418545269743de83083976a54299ba', 'project_id': '6b418545269743de83083976a54299ba', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82380988', 'ctest-vn-79936094'], 'port_security_enabled': True, 'description': ''}} 2026-05-04 02:11:45,875 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cb56ec8e-d015-4e5f-8eb6-acc36ee46844', 'name': '', 'tenant_id': '6b418545269743de83083976a54299ba', 'network_id': '75138332-21a7-42bd-a2b1-e7c55503c627', 'ip_version': 4, 'cidr': '51.146.44.64/26', 'allocation_pools': [{'start': '51.146.44.66', 'end': '51.146.44.126'}], 'gateway_ip': '51.146.44.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '51.146.44.66', 'tags': [], 'project_id': '6b418545269743de83083976a54299ba'}} 2026-05-04 02:11:45,892 - INFO - Created VN ctest-vn-79936094 2026-05-04 02:11:45,946 - DEBUG - VN ctest-vn-79936094 UUID is 75138332-21a7-42bd-a2b1-e7c55503c627 2026-05-04 02:11:46,238 - DEBUG - Response for create_network : {'network': {'id': '45f4ea79-5b74-4c2a-9ef3-98dea5fed1b0', 'name': 'ctest-vn-66738884', 'tenant_id': '6b418545269743de83083976a54299ba', 'project_id': '6b418545269743de83083976a54299ba', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82380988', 'ctest-vn-66738884'], 'port_security_enabled': True, 'description': ''}} 2026-05-04 02:11:46,412 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e370d332-62e8-40db-94c4-8e77a291db0d', 'name': '', 'tenant_id': '6b418545269743de83083976a54299ba', 'network_id': '45f4ea79-5b74-4c2a-9ef3-98dea5fed1b0', 'ip_version': 4, 'cidr': '185.164.120.128/26', 'allocation_pools': [{'start': '185.164.120.130', 'end': '185.164.120.190'}], 'gateway_ip': '185.164.120.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '185.164.120.130', 'tags': [], 'project_id': '6b418545269743de83083976a54299ba'}} 2026-05-04 02:11:46,437 - INFO - Created VN ctest-vn-66738884 2026-05-04 02:11:46,490 - DEBUG - VN ctest-vn-66738884 UUID is 45f4ea79-5b74-4c2a-9ef3-98dea5fed1b0 2026-05-04 02:11:46,616 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-82380988:ctest-vn-79936094, 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-82380988:ctest-vn-66738884, 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-05-04 02:11:46,910 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '75138332-21a7-42bd-a2b1-e7c55503c627', 'name': 'ctest-vn-79936094', 'tenant_id': '6b418545269743de83083976a54299ba', 'project_id': '6b418545269743de83083976a54299ba', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['cb56ec8e-d015-4e5f-8eb6-acc36ee46844'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82380988', 'ctest-vn-79936094'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-82380988', 'ctest-policy-allow-all-40317581']], 'subnet_ipam': [{'subnet_cidr': '51.146.44.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-04 02:11:47,143 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '45f4ea79-5b74-4c2a-9ef3-98dea5fed1b0', 'name': 'ctest-vn-66738884', 'tenant_id': '6b418545269743de83083976a54299ba', 'project_id': '6b418545269743de83083976a54299ba', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e370d332-62e8-40db-94c4-8e77a291db0d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82380988', 'ctest-vn-66738884'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-82380988', 'ctest-policy-allow-all-40317581']], 'subnet_ipam': [{'subnet_cidr': '185.164.120.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-04 02:11:47,306 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-05-04 02:11:47,608 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-05-04 02:11:47,645 - DEBUG - Requesting: http://10.0.0.33:8082/domain/5048bc41-f41f-4082-8e88-2243b78708f3 2026-05-04 02:11:47,658 - DEBUG - Requesting: http://10.0.0.33:8082/project/6b418545-2697-43de-8308-3976a54299ba 2026-05-04 02:11:47,728 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/75138332-21a7-42bd-a2b1-e7c55503c627 2026-05-04 02:11:47,739 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/75138332-21a7-42bd-a2b1-e7c55503c627 2026-05-04 02:11:47,748 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/2d3b288e-700f-49dc-878e-0bf40f5c8ed1 2026-05-04 02:11:47,755 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/2d3b288e-700f-49dc-878e-0bf40f5c8ed1 2026-05-04 02:11:47,762 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/6072b152-9fb9-467e-bc63-3d4f47cda057 2026-05-04 02:11:47,769 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-04 02:11:47,769 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/75138332-21a7-42bd-a2b1-e7c55503c627 2026-05-04 02:11:47,777 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/2d3b288e-700f-49dc-878e-0bf40f5c8ed1 2026-05-04 02:11:47,794 - INFO - Verified VN network id 11 for VN 75138332-21a7-42bd-a2b1-e7c55503c627 2026-05-04 02:11:47,794 - INFO - Verifications in API Server for VN ctest-vn-79936094 passed 2026-05-04 02:11:47,794 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/75138332-21a7-42bd-a2b1-e7c55503c627 2026-05-04 02:11:47,805 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/2d3b288e-700f-49dc-878e-0bf40f5c8ed1 2026-05-04 02:11:47,812 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/2d3b288e-700f-49dc-878e-0bf40f5c8ed1 2026-05-04 02:11:47,822 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/6072b152-9fb9-467e-bc63-3d4f47cda057 2026-05-04 02:11:47,835 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-82380988:ctest-vn-79936094', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-82380988', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8436230778331284157', 'uuid-lslong': '11723406139742996007'}, 'enable': 'true', 'created': '2026-05-04T02:11:45', 'last-modified': '2026-05-04T02:11:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.943396'} 2026-05-04 02:11:47,841 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-04 02:11:47,841 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-79936094 passed 2026-05-04 02:11:47,841 - DEBUG - ====Verifying policy data for ctest-vn-79936094 in API_Server ====== 2026-05-04 02:11:47,841 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-05-04 02:11:47,847 - DEBUG - Requesting: http://10.0.0.33:8082/domain/5048bc41-f41f-4082-8e88-2243b78708f3 2026-05-04 02:11:47,858 - DEBUG - Requesting: http://10.0.0.33:8082/project/6b418545-2697-43de-8308-3976a54299ba 2026-05-04 02:11:47,934 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/75138332-21a7-42bd-a2b1-e7c55503c627 2026-05-04 02:11:47,943 - DEBUG - ==>Verifying data for policy with id: a39ba2ec-ebab-4880-8036-c33cd33d889c, fqn: ['default-domain', 'ctest-TestBasicPolicy-82380988', 'ctest-policy-allow-all-40317581'] 2026-05-04 02:11:47,943 - INFO - VN ctest-vn-79936094 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-04 02:11:47,943 - DEBUG - Verifying the vn in opserver 2026-05-04 02:11:47,943 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-82380988:ctest-vn-79936094 virtual network link through opserver 10.0.0.33 2026-05-04 02:11:47,943 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-05-04 02:11:48,238 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-05-04 02:11:48,302 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-82380988:ctest-vn-79936094', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-82380988:ctest-vn-79936094?flat'} 2026-05-04 02:11:48,302 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-82380988:ctest-vn-79936094 is found in opserver 2026-05-04 02:11:48,314 - DEBUG - Do not have enough data to verify VN in agent 2026-05-04 02:11:48,319 - DEBUG - VRF ids for VN ctest-vn-79936094: {} 2026-05-04 02:11:48,319 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-05-04 02:11:48,324 - DEBUG - Requesting: http://10.0.0.33:8082/domain/5048bc41-f41f-4082-8e88-2243b78708f3 2026-05-04 02:11:48,334 - DEBUG - Requesting: http://10.0.0.33:8082/project/6b418545-2697-43de-8308-3976a54299ba 2026-05-04 02:11:48,406 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/45f4ea79-5b74-4c2a-9ef3-98dea5fed1b0 2026-05-04 02:11:48,417 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/45f4ea79-5b74-4c2a-9ef3-98dea5fed1b0 2026-05-04 02:11:48,426 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/5d206c00-2014-4ca0-a3e9-031e90f17fe7 2026-05-04 02:11:48,432 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/5d206c00-2014-4ca0-a3e9-031e90f17fe7 2026-05-04 02:11:48,438 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/2d57ef0f-9636-4465-84e6-51c142e339c6 2026-05-04 02:11:48,444 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-04 02:11:48,444 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/45f4ea79-5b74-4c2a-9ef3-98dea5fed1b0 2026-05-04 02:11:48,455 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/5d206c00-2014-4ca0-a3e9-031e90f17fe7 2026-05-04 02:11:48,470 - INFO - Verified VN network id 12 for VN 45f4ea79-5b74-4c2a-9ef3-98dea5fed1b0 2026-05-04 02:11:48,470 - INFO - Verifications in API Server for VN ctest-vn-66738884 passed 2026-05-04 02:11:48,470 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/45f4ea79-5b74-4c2a-9ef3-98dea5fed1b0 2026-05-04 02:11:48,479 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/5d206c00-2014-4ca0-a3e9-031e90f17fe7 2026-05-04 02:11:48,487 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/5d206c00-2014-4ca0-a3e9-031e90f17fe7 2026-05-04 02:11:48,495 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/2d57ef0f-9636-4465-84e6-51c142e339c6 2026-05-04 02:11:48,508 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-82380988:ctest-vn-66738884', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-82380988', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5040911689880718378', 'uuid-lslong': '11453666359368405424'}, 'enable': 'true', 'created': '2026-05-04T02:11:46', 'last-modified': '2026-05-04T02:11:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.381642'} 2026-05-04 02:11:48,514 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-04 02:11:48,514 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-66738884 passed 2026-05-04 02:11:48,514 - DEBUG - ====Verifying policy data for ctest-vn-66738884 in API_Server ====== 2026-05-04 02:11:48,514 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-05-04 02:11:48,521 - DEBUG - Requesting: http://10.0.0.33:8082/domain/5048bc41-f41f-4082-8e88-2243b78708f3 2026-05-04 02:11:48,532 - DEBUG - Requesting: http://10.0.0.33:8082/project/6b418545-2697-43de-8308-3976a54299ba 2026-05-04 02:11:48,607 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/45f4ea79-5b74-4c2a-9ef3-98dea5fed1b0 2026-05-04 02:11:48,615 - DEBUG - ==>Verifying data for policy with id: a39ba2ec-ebab-4880-8036-c33cd33d889c, fqn: ['default-domain', 'ctest-TestBasicPolicy-82380988', 'ctest-policy-allow-all-40317581'] 2026-05-04 02:11:48,616 - INFO - VN ctest-vn-66738884 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-04 02:11:48,616 - DEBUG - Verifying the vn in opserver 2026-05-04 02:11:48,616 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-82380988:ctest-vn-66738884 virtual network link through opserver 10.0.0.33 2026-05-04 02:11:48,616 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-05-04 02:11:48,626 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-82380988:ctest-vn-66738884', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-82380988:ctest-vn-66738884?flat'} 2026-05-04 02:11:48,626 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-82380988:ctest-vn-66738884 is found in opserver 2026-05-04 02:11:48,636 - DEBUG - Do not have enough data to verify VN in agent 2026-05-04 02:11:48,640 - DEBUG - VRF ids for VN ctest-vn-66738884: {} 2026-05-04 02:11:48,701 - DEBUG - Services list from nova: [, , ] 2026-05-04 02:11:49,755 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5737-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5737-1) 2026-05-04 02:11:50,934 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5737-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5737-1) 2026-05-04 02:11:50,935 - INFO - Waiting for VM ctest-TestBasicPolicy-82380988-38854415 to be up.. 2026-05-04 02:11:51,030 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-04 02:11:56,118 - DEBUG - VM is in ACTIVE state now 2026-05-04 02:11:56,118 - INFO - VM name : ctest-TestBasicPolicy-82380988-38854415 2026-05-04 02:11:56,203 - DEBUG - VM ctest-TestBasicPolicy-82380988-38854415 ID is ca63ff12-72f4-4798-bc9e-d60ff2b126f8 2026-05-04 02:11:56,224 - DEBUG - VM ctest-TestBasicPolicy-82380988-38854415 launched on Node cn-jenkins-deploy-platform-ansible-os-5737-1 2026-05-04 02:11:56,306 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/ca63ff12-72f4-4798-bc9e-d60ff2b126f8 2026-05-04 02:11:56,316 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/d347adff-e71b-4ddc-8270-d60d2df83bf3 2026-05-04 02:11:59,575 - 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') 2026-05-04 02:11:59,575 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-82380988-38854415 failed! 2026-05-04 02:11:59,638 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-82380988:ctest-vn-79936094 is 51.146.44.65 and allocation pool is NOT set 2026-05-04 02:12:01,708 - 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.75 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.839 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.839/4.292/7.745/3.453 ms') 2026-05-04 02:12:01,708 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-82380988-38854415 passed 2026-05-04 02:12:01,862 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-04 02:12:01,862 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-82380988-38854415, IP 51.146.44.67, Port 22 2026-05-04 02:12:02,028 - DEBUG - VM ctest-TestBasicPolicy-82380988-38854415 is ready for SSH connections 2026-05-04 02:12:02,028 - INFO - Waiting for VM ctest-TestBasicPolicy-82380988-95523187 to be up.. 2026-05-04 02:12:02,122 - DEBUG - VM is in ACTIVE state now 2026-05-04 02:12:02,123 - INFO - VM name : ctest-TestBasicPolicy-82380988-95523187 2026-05-04 02:12:02,208 - DEBUG - VM ctest-TestBasicPolicy-82380988-95523187 ID is 9be51bc0-add6-4409-a180-1e924fb538a6 2026-05-04 02:12:02,208 - DEBUG - VM ctest-TestBasicPolicy-82380988-95523187 launched on Node cn-jenkins-deploy-platform-ansible-os-5737-1 2026-05-04 02:12:02,298 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/9be51bc0-add6-4409-a180-1e924fb538a6 2026-05-04 02:12:02,308 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/b91cf159-813b-41fe-bb3a-5a66d1d4dd7e 2026-05-04 02:12:03,553 - 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=13.1 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.31 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.311/7.209/13.108/5.898 ms') 2026-05-04 02:12:03,553 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-82380988-95523187 passed 2026-05-04 02:12:03,702 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-04 02:12:03,702 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-82380988-95523187, IP 185.164.120.131, Port 22 2026-05-04 02:12:03,868 - DEBUG - VM ctest-TestBasicPolicy-82380988-95523187 is ready for SSH connections 2026-05-04 02:12:03,868 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-04 02:12:03,868 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 185.164.120.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-05-04 02:12:03,868 - DEBUG - ping -s 56 -c 3 -W 1 185.164.120.131 2026-05-04 02:12:07,915 - DEBUG - PING 185.164.120.131 (185.164.120.131): 56 data bytes 64 bytes from 185.164.120.131: seq=0 ttl=63 time=3.953 ms 64 bytes from 185.164.120.131: seq=1 ttl=63 time=1.141 ms 64 bytes from 185.164.120.131: seq=2 ttl=63 time=0.998 ms --- 185.164.120.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.998/2.030/3.953 ms 2026-05-04 02:12:07,915 - INFO - Ping to IP 185.164.120.131 from VM ctest-TestBasicPolicy-82380988-38854415 passed 2026-05-04 02:12:08,093 - DEBUG - Policy Update Response {"network-policy": {"uuid": "a39ba2ec-ebab-4880-8036-c33cd33d889c", "href": "http://10.0.0.33:8082/network-policy/a39ba2ec-ebab-4880-8036-c33cd33d889c"}} 2026-05-04 02:12:08,093 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-04 02:12:08,094 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 185.164.120.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-05-04 02:12:08,094 - DEBUG - ping -s 56 -c 3 -W 1 185.164.120.131 2026-05-04 02:12:11,309 - DEBUG - PING 185.164.120.131 (185.164.120.131): 56 data bytes --- 185.164.120.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-05-04 02:12:11,310 - WARNING - Ping to IP 185.164.120.131 from VM ctest-TestBasicPolicy-82380988-38854415 failed 2026-05-04 02:12:11,310 - INFO - Deleting VM ctest-TestBasicPolicy-82380988-95523187 2026-05-04 02:12:11,382 - INFO - Deleting VM ctest-TestBasicPolicy-82380988-38854415 2026-05-04 02:12:11,777 - INFO - Deleted policy ctest-policy-allow-all-40317581 2026-05-04 02:12:11,777 - INFO - Deleting VN ctest-vn-66738884 2026-05-04 02:12:11,816 - DEBUG - VN 45f4ea79-5b74-4c2a-9ef3-98dea5fed1b0 still in use: Unable to complete operation on network 45f4ea79-5b74-4c2a-9ef3-98dea5fed1b0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e9a81e55-07e7-4405-85bf-5373de9cb2c0'] 2026-05-04 02:12:11,817 - WARNING - Deleting VN ctest-vn-66738884 failed..Will retry 2026-05-04 02:12:13,957 - DEBUG - Response for deleting network () 2026-05-04 02:12:13,957 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/5d206c00-2014-4ca0-a3e9-031e90f17fe7 2026-05-04 02:12:13,965 - DEBUG - Response Code: 404 2026-05-04 02:12:13,965 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-05-04 02:12:13,972 - DEBUG - Requesting: http://10.0.0.33:8082/domain/5048bc41-f41f-4082-8e88-2243b78708f3 2026-05-04 02:12:14,036 - DEBUG - Requesting: http://10.0.0.33:8082/project/6b418545-2697-43de-8308-3976a54299ba 2026-05-04 02:12:14,116 - INFO - Validated that VN ctest-vn-66738884 is not found in API Server 2026-05-04 02:12:14,127 - DEBUG - VN ctest-vn-66738884 is not present in Agent 10.0.0.33 2026-05-04 02:12:14,127 - INFO - Validated that VN ctest-vn-66738884 is not in any agent 2026-05-04 02:12:14,144 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-66738884 info 2026-05-04 02:12:14,145 - INFO - Deleting VN ctest-vn-79936094 2026-05-04 02:12:14,265 - DEBUG - Response for deleting network () 2026-05-04 02:12:14,265 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/2d3b288e-700f-49dc-878e-0bf40f5c8ed1 2026-05-04 02:12:14,271 - DEBUG - Response Code: 404 2026-05-04 02:12:14,271 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-05-04 02:12:14,277 - DEBUG - Requesting: http://10.0.0.33:8082/domain/5048bc41-f41f-4082-8e88-2243b78708f3 2026-05-04 02:12:14,331 - DEBUG - Requesting: http://10.0.0.33:8082/project/6b418545-2697-43de-8308-3976a54299ba 2026-05-04 02:12:14,400 - INFO - Validated that VN ctest-vn-79936094 is not found in API Server 2026-05-04 02:12:14,409 - DEBUG - VN ctest-vn-79936094 is not present in Agent 10.0.0.33 2026-05-04 02:12:14,409 - INFO - Validated that VN ctest-vn-79936094 is not in any agent 2026-05-04 02:12:14,424 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-79936094 info 2026-05-04 02:12:14,679 - DEBUG - No XMPP flaps were noticed during the test
2026-05-04 02:12:14,679 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2026-05-04 02:12:14,679 - INFO - -------------------------------------------------------------------------------- 2026-05-04 02:12:15,385 - INFO - Deleted project: ctest-TestBasicPolicy-82380988, ID : 6b418545-2697-43de-8308-3976a54299ba