2026-03-27 14:57:09,042 - INFO - Domain Default found not creating 2026-03-27 14:57:09,308 - INFO - Project ctest-TestBasicPolicy-07616344 not found, creating it 2026-03-27 14:57:09,825 - INFO - Created Project:ctest-TestBasicPolicy-07616344, ID : e22d178c-afba-4cdd-9580-75205697ab62 2026-03-27 14:57:11,864 - INFO - ================================================================================ 2026-03-27 14:57:11,865 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-03-27 14:57:11,865 - 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-03-27 14:57:12,158 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with 2026-03-27 14:57:12,158 - INFO - Initial checks done. Running the testcase now 2026-03-27 14:57:12,158 - INFO - 2026-03-27 14:57:12,852 - DEBUG - Response for create_network : {'network': {'id': 'e2fcf95b-2dc5-4c30-92be-cb37597add7e', 'name': 'ctest-vn-23098135', 'tenant_id': 'e22d178cafba4cdd958075205697ab62', 'project_id': 'e22d178cafba4cdd958075205697ab62', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07616344', 'ctest-vn-23098135'], 'port_security_enabled': True, 'description': ''}} 2026-03-27 14:57:13,099 - DEBUG - Response for create_subnet : {'subnet': {'id': '0567feaf-d326-4432-8227-364cedbda2f2', 'name': '', 'tenant_id': 'e22d178cafba4cdd958075205697ab62', 'network_id': 'e2fcf95b-2dc5-4c30-92be-cb37597add7e', 'ip_version': 4, 'cidr': '15.146.245.64/26', 'allocation_pools': [{'start': '15.146.245.66', 'end': '15.146.245.126'}], 'gateway_ip': '15.146.245.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '15.146.245.66', 'tags': [], 'project_id': 'e22d178cafba4cdd958075205697ab62'}} 2026-03-27 14:57:13,123 - INFO - Created VN ctest-vn-23098135 2026-03-27 14:57:13,178 - DEBUG - VN ctest-vn-23098135 UUID is e2fcf95b-2dc5-4c30-92be-cb37597add7e 2026-03-27 14:57:13,525 - DEBUG - Response for create_network : {'network': {'id': 'e924662e-af77-40a5-9a91-5804b1301128', 'name': 'ctest-vn-75751627', 'tenant_id': 'e22d178cafba4cdd958075205697ab62', 'project_id': 'e22d178cafba4cdd958075205697ab62', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07616344', 'ctest-vn-75751627'], 'port_security_enabled': True, 'description': ''}} 2026-03-27 14:57:13,691 - DEBUG - Response for create_subnet : {'subnet': {'id': '807e7143-1d97-4961-8142-be061a6b1901', 'name': '', 'tenant_id': 'e22d178cafba4cdd958075205697ab62', 'network_id': 'e924662e-af77-40a5-9a91-5804b1301128', 'ip_version': 4, 'cidr': '13.73.61.64/26', 'allocation_pools': [{'start': '13.73.61.66', 'end': '13.73.61.126'}], 'gateway_ip': '13.73.61.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '13.73.61.66', 'tags': [], 'project_id': 'e22d178cafba4cdd958075205697ab62'}} 2026-03-27 14:57:13,717 - INFO - Created VN ctest-vn-75751627 2026-03-27 14:57:13,770 - DEBUG - VN ctest-vn-75751627 UUID is e924662e-af77-40a5-9a91-5804b1301128 2026-03-27 14:57:13,915 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-07616344:ctest-vn-23098135, 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-07616344:ctest-vn-75751627, 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-03-27 14:57:14,241 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e2fcf95b-2dc5-4c30-92be-cb37597add7e', 'name': 'ctest-vn-23098135', 'tenant_id': 'e22d178cafba4cdd958075205697ab62', 'project_id': 'e22d178cafba4cdd958075205697ab62', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0567feaf-d326-4432-8227-364cedbda2f2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07616344', 'ctest-vn-23098135'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-07616344', 'ctest-policy-allow-all-49003901']], 'subnet_ipam': [{'subnet_cidr': '15.146.245.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-27 14:57:14,515 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e924662e-af77-40a5-9a91-5804b1301128', 'name': 'ctest-vn-75751627', 'tenant_id': 'e22d178cafba4cdd958075205697ab62', 'project_id': 'e22d178cafba4cdd958075205697ab62', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['807e7143-1d97-4961-8142-be061a6b1901'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07616344', 'ctest-vn-75751627'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-07616344', 'ctest-policy-allow-all-49003901']], 'subnet_ipam': [{'subnet_cidr': '13.73.61.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-27 14:57:14,698 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-03-27 14:57:15,026 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-03-27 14:57:15,110 - DEBUG - Requesting: http://10.0.0.22:8082/domain/a6c6215d-220f-4fc1-b385-dc637161bd4f 2026-03-27 14:57:15,135 - DEBUG - Requesting: http://10.0.0.22:8082/project/e22d178c-afba-4cdd-9580-75205697ab62 2026-03-27 14:57:15,228 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/e2fcf95b-2dc5-4c30-92be-cb37597add7e 2026-03-27 14:57:15,244 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/e2fcf95b-2dc5-4c30-92be-cb37597add7e 2026-03-27 14:57:15,258 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/e0ac0bef-627a-4975-b351-5d69b8ab3949 2026-03-27 14:57:15,267 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/e0ac0bef-627a-4975-b351-5d69b8ab3949 2026-03-27 14:57:15,274 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/851fde6e-1c79-480a-8415-749d2f3c52c5 2026-03-27 14:57:15,282 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-27 14:57:15,282 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/e2fcf95b-2dc5-4c30-92be-cb37597add7e 2026-03-27 14:57:15,293 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/e0ac0bef-627a-4975-b351-5d69b8ab3949 2026-03-27 14:57:15,310 - INFO - Verified VN network id 9 for VN e2fcf95b-2dc5-4c30-92be-cb37597add7e 2026-03-27 14:57:15,310 - INFO - Verifications in API Server for VN ctest-vn-23098135 passed 2026-03-27 14:57:15,310 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/e2fcf95b-2dc5-4c30-92be-cb37597add7e 2026-03-27 14:57:15,321 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/e0ac0bef-627a-4975-b351-5d69b8ab3949 2026-03-27 14:57:15,331 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/e0ac0bef-627a-4975-b351-5d69b8ab3949 2026-03-27 14:57:15,340 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/851fde6e-1c79-480a-8415-749d2f3c52c5 2026-03-27 14:57:15,359 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-07616344:ctest-vn-23098135', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-07616344', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16356222116708043824', 'uuid-lslong': '10574112413697367422'}, 'enable': 'true', 'created': '2026-03-27T14:57:12', 'last-modified': '2026-03-27T14:57:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.138136'} 2026-03-27 14:57:15,367 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-27 14:57:15,367 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-23098135 passed 2026-03-27 14:57:15,367 - DEBUG - ====Verifying policy data for ctest-vn-23098135 in API_Server ====== 2026-03-27 14:57:15,367 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-03-27 14:57:15,374 - DEBUG - Requesting: http://10.0.0.22:8082/domain/a6c6215d-220f-4fc1-b385-dc637161bd4f 2026-03-27 14:57:15,390 - DEBUG - Requesting: http://10.0.0.22:8082/project/e22d178c-afba-4cdd-9580-75205697ab62 2026-03-27 14:57:15,470 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/e2fcf95b-2dc5-4c30-92be-cb37597add7e 2026-03-27 14:57:15,482 - DEBUG - ==>Verifying data for policy with id: 42823755-d6b8-4e6e-b14f-653e9740ee57, fqn: ['default-domain', 'ctest-TestBasicPolicy-07616344', 'ctest-policy-allow-all-49003901'] 2026-03-27 14:57:15,483 - INFO - VN ctest-vn-23098135 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-27 14:57:15,483 - DEBUG - Verifying the vn in opserver 2026-03-27 14:57:15,483 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-07616344:ctest-vn-23098135 virtual network link through opserver 10.0.0.22 2026-03-27 14:57:15,484 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-03-27 14:57:15,817 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-03-27 14:57:15,903 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-07616344:ctest-vn-23098135', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-07616344:ctest-vn-23098135?flat'} 2026-03-27 14:57:15,903 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-07616344:ctest-vn-23098135 is found in opserver 2026-03-27 14:57:15,914 - DEBUG - Do not have enough data to verify VN in agent 2026-03-27 14:57:15,920 - DEBUG - VRF ids for VN ctest-vn-23098135: {} 2026-03-27 14:57:15,920 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-03-27 14:57:15,927 - DEBUG - Requesting: http://10.0.0.22:8082/domain/a6c6215d-220f-4fc1-b385-dc637161bd4f 2026-03-27 14:57:15,939 - DEBUG - Requesting: http://10.0.0.22:8082/project/e22d178c-afba-4cdd-9580-75205697ab62 2026-03-27 14:57:16,030 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/e924662e-af77-40a5-9a91-5804b1301128 2026-03-27 14:57:16,051 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/e924662e-af77-40a5-9a91-5804b1301128 2026-03-27 14:57:16,067 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/45cecb1d-2ce5-4ce3-a63c-b4f787a66bec 2026-03-27 14:57:16,078 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/45cecb1d-2ce5-4ce3-a63c-b4f787a66bec 2026-03-27 14:57:16,087 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/e48b5d87-b127-4564-9098-65c3bb16961a 2026-03-27 14:57:16,098 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-27 14:57:16,098 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/e924662e-af77-40a5-9a91-5804b1301128 2026-03-27 14:57:16,109 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/45cecb1d-2ce5-4ce3-a63c-b4f787a66bec 2026-03-27 14:57:16,130 - INFO - Verified VN network id 10 for VN e924662e-af77-40a5-9a91-5804b1301128 2026-03-27 14:57:16,130 - INFO - Verifications in API Server for VN ctest-vn-75751627 passed 2026-03-27 14:57:16,131 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/e924662e-af77-40a5-9a91-5804b1301128 2026-03-27 14:57:16,146 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/45cecb1d-2ce5-4ce3-a63c-b4f787a66bec 2026-03-27 14:57:16,160 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/45cecb1d-2ce5-4ce3-a63c-b4f787a66bec 2026-03-27 14:57:16,171 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/e48b5d87-b127-4564-9098-65c3bb16961a 2026-03-27 14:57:16,191 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-07616344:ctest-vn-75751627', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-07616344', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16799664860697149605', 'uuid-lslong': '11137780130639778088'}, 'enable': 'true', 'created': '2026-03-27T14:57:13', 'last-modified': '2026-03-27T14:57:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.713834'} 2026-03-27 14:57:16,199 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-27 14:57:16,199 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-75751627 passed 2026-03-27 14:57:16,200 - DEBUG - ====Verifying policy data for ctest-vn-75751627 in API_Server ====== 2026-03-27 14:57:16,200 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-03-27 14:57:16,210 - DEBUG - Requesting: http://10.0.0.22:8082/domain/a6c6215d-220f-4fc1-b385-dc637161bd4f 2026-03-27 14:57:16,231 - DEBUG - Requesting: http://10.0.0.22:8082/project/e22d178c-afba-4cdd-9580-75205697ab62 2026-03-27 14:57:16,314 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/e924662e-af77-40a5-9a91-5804b1301128 2026-03-27 14:57:16,325 - DEBUG - ==>Verifying data for policy with id: 42823755-d6b8-4e6e-b14f-653e9740ee57, fqn: ['default-domain', 'ctest-TestBasicPolicy-07616344', 'ctest-policy-allow-all-49003901'] 2026-03-27 14:57:16,325 - INFO - VN ctest-vn-75751627 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-27 14:57:16,325 - DEBUG - Verifying the vn in opserver 2026-03-27 14:57:16,325 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-07616344:ctest-vn-75751627 virtual network link through opserver 10.0.0.22 2026-03-27 14:57:16,325 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-03-27 14:57:16,337 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-07616344:ctest-vn-75751627', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-07616344:ctest-vn-75751627?flat'} 2026-03-27 14:57:16,337 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-07616344:ctest-vn-75751627 is found in opserver 2026-03-27 14:57:16,349 - DEBUG - Do not have enough data to verify VN in agent 2026-03-27 14:57:16,355 - DEBUG - VRF ids for VN ctest-vn-75751627: {} 2026-03-27 14:57:16,427 - DEBUG - Services list from nova: [, , ] 2026-03-27 14:57:17,690 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5555-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5555-1) 2026-03-27 14:57:19,024 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5555-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5555-1) 2026-03-27 14:57:19,024 - INFO - Waiting for VM ctest-TestBasicPolicy-07616344-38005170 to be up.. 2026-03-27 14:57:19,120 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-27 14:57:24,246 - DEBUG - VM is in ACTIVE state now 2026-03-27 14:57:24,246 - INFO - VM name : ctest-TestBasicPolicy-07616344-38005170 2026-03-27 14:57:24,353 - DEBUG - VM ctest-TestBasicPolicy-07616344-38005170 ID is 89c3389a-a953-4ecd-ab0c-602c025e4a49 2026-03-27 14:57:24,380 - DEBUG - VM ctest-TestBasicPolicy-07616344-38005170 launched on Node cn-jenkins-deploy-platform-ansible-os-5555-1 2026-03-27 14:57:24,487 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/89c3389a-a953-4ecd-ab0c-602c025e4a49 2026-03-27 14:57:24,496 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/39b6b012-31b2-465a-9007-228bd8f55adb 2026-03-27 14:57:27,752 - 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 1008ms') 2026-03-27 14:57:27,753 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-07616344-38005170 failed! 2026-03-27 14:57:27,810 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-07616344:ctest-vn-23098135 is 15.146.245.65 and allocation pool is NOT set 2026-03-27 14:57:31,874 - 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 1004ms') 2026-03-27 14:57:31,874 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-07616344-38005170 failed! 2026-03-27 14:57:31,934 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-07616344:ctest-vn-23098135 is 15.146.245.65 and allocation pool is NOT set 2026-03-27 14:57:34,002 - 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=3.98 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.530 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.530/2.256/3.982/1.726 ms') 2026-03-27 14:57:34,002 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-07616344-38005170 passed 2026-03-27 14:57:34,158 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-27 14:57:34,158 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-07616344-38005170, IP 15.146.245.67, Port 22 2026-03-27 14:57:34,327 - DEBUG - VM ctest-TestBasicPolicy-07616344-38005170 is ready for SSH connections 2026-03-27 14:57:34,328 - INFO - Waiting for VM ctest-TestBasicPolicy-07616344-88622496 to be up.. 2026-03-27 14:57:34,430 - DEBUG - VM is in ACTIVE state now 2026-03-27 14:57:34,431 - INFO - VM name : ctest-TestBasicPolicy-07616344-88622496 2026-03-27 14:57:34,527 - DEBUG - VM ctest-TestBasicPolicy-07616344-88622496 ID is 9b698b79-d955-434b-af70-f23b340a4523 2026-03-27 14:57:34,527 - DEBUG - VM ctest-TestBasicPolicy-07616344-88622496 launched on Node cn-jenkins-deploy-platform-ansible-os-5555-1 2026-03-27 14:57:34,632 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/9b698b79-d955-434b-af70-f23b340a4523 2026-03-27 14:57:34,643 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/fe94ad0e-6543-4289-ac90-7aaa42b47983 2026-03-27 14:57:35,903 - 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.87 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.623 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.623/2.748/4.873/2.125 ms') 2026-03-27 14:57:35,903 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-07616344-88622496 passed 2026-03-27 14:57:36,062 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-27 14:57:36,062 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-07616344-88622496, IP 13.73.61.67, Port 22 2026-03-27 14:57:36,244 - DEBUG - VM ctest-TestBasicPolicy-07616344-88622496 is ready for SSH connections 2026-03-27 14:57:36,244 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-27 14:57:36,244 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 13.73.61.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-03-27 14:57:36,244 - DEBUG - ping -s 56 -c 3 -W 1 13.73.61.67 2026-03-27 14:57:40,486 - DEBUG - PING 13.73.61.67 (13.73.61.67): 56 data bytes 64 bytes from 13.73.61.67: seq=0 ttl=63 time=4.220 ms 64 bytes from 13.73.61.67: seq=1 ttl=63 time=1.104 ms 64 bytes from 13.73.61.67: seq=2 ttl=63 time=1.265 ms --- 13.73.61.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.104/2.196/4.220 ms 2026-03-27 14:57:40,486 - INFO - Ping to IP 13.73.61.67 from VM ctest-TestBasicPolicy-07616344-38005170 passed 2026-03-27 14:57:40,686 - DEBUG - Policy Update Response {"network-policy": {"uuid": "42823755-d6b8-4e6e-b14f-653e9740ee57", "href": "http://10.0.0.22:8082/network-policy/42823755-d6b8-4e6e-b14f-653e9740ee57"}} 2026-03-27 14:57:40,686 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-27 14:57:40,686 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 13.73.61.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-03-27 14:57:40,686 - DEBUG - ping -s 56 -c 3 -W 1 13.73.61.67 2026-03-27 14:57:43,963 - DEBUG - PING 13.73.61.67 (13.73.61.67): 56 data bytes --- 13.73.61.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-03-27 14:57:43,964 - WARNING - Ping to IP 13.73.61.67 from VM ctest-TestBasicPolicy-07616344-38005170 failed 2026-03-27 14:57:43,964 - INFO - Deleting VM ctest-TestBasicPolicy-07616344-88622496 2026-03-27 14:57:44,048 - INFO - Deleting VM ctest-TestBasicPolicy-07616344-38005170 2026-03-27 14:57:44,510 - INFO - Deleted policy ctest-policy-allow-all-49003901 2026-03-27 14:57:44,510 - INFO - Deleting VN ctest-vn-75751627 2026-03-27 14:57:44,555 - DEBUG - VN e924662e-af77-40a5-9a91-5804b1301128 still in use: Unable to complete operation on network e924662e-af77-40a5-9a91-5804b1301128. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-efecff15-56e2-4bbc-aa4e-a9c15d0f9634'] 2026-03-27 14:57:44,556 - WARNING - Deleting VN ctest-vn-75751627 failed..Will retry 2026-03-27 14:57:46,761 - DEBUG - Response for deleting network () 2026-03-27 14:57:46,761 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/45cecb1d-2ce5-4ce3-a63c-b4f787a66bec 2026-03-27 14:57:46,774 - DEBUG - Response Code: 404 2026-03-27 14:57:46,774 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-03-27 14:57:46,782 - DEBUG - Requesting: http://10.0.0.22:8082/domain/a6c6215d-220f-4fc1-b385-dc637161bd4f 2026-03-27 14:57:46,836 - DEBUG - Requesting: http://10.0.0.22:8082/project/e22d178c-afba-4cdd-9580-75205697ab62 2026-03-27 14:57:46,929 - INFO - Validated that VN ctest-vn-75751627 is not found in API Server 2026-03-27 14:57:46,944 - DEBUG - VN ctest-vn-75751627 is not present in Agent 10.0.0.22 2026-03-27 14:57:46,944 - INFO - Validated that VN ctest-vn-75751627 is not in any agent 2026-03-27 14:57:46,962 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-75751627 info 2026-03-27 14:57:46,962 - INFO - Deleting VN ctest-vn-23098135 2026-03-27 14:57:47,111 - DEBUG - Response for deleting network () 2026-03-27 14:57:47,111 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/e0ac0bef-627a-4975-b351-5d69b8ab3949 2026-03-27 14:57:47,123 - DEBUG - Response Code: 404 2026-03-27 14:57:47,123 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-03-27 14:57:47,130 - DEBUG - Requesting: http://10.0.0.22:8082/domain/a6c6215d-220f-4fc1-b385-dc637161bd4f 2026-03-27 14:57:47,189 - DEBUG - Requesting: http://10.0.0.22:8082/project/e22d178c-afba-4cdd-9580-75205697ab62 2026-03-27 14:57:47,283 - INFO - Validated that VN ctest-vn-23098135 is not found in API Server 2026-03-27 14:57:47,299 - DEBUG - VN ctest-vn-23098135 is not present in Agent 10.0.0.22 2026-03-27 14:57:47,299 - INFO - Validated that VN ctest-vn-23098135 is not in any agent 2026-03-27 14:57:47,321 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-23098135 info 2026-03-27 14:57:47,610 - DEBUG - No XMPP flaps were noticed during the test
2026-03-27 14:57:47,610 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:36]
2026-03-27 14:57:47,610 - INFO - -------------------------------------------------------------------------------- 2026-03-27 14:57:48,428 - INFO - Deleted project: ctest-TestBasicPolicy-07616344, ID : e22d178c-afba-4cdd-9580-75205697ab62