2026-02-03 21:09:48,197 - INFO - Domain Default found not creating 2026-02-03 21:09:48,665 - INFO - Project ctest-TestBasicPolicy-60910289 not found, creating it 2026-02-03 21:09:49,439 - INFO - Created Project:ctest-TestBasicPolicy-60910289, ID : dd1df8ad-2608-422d-8624-218e1969c00b 2026-02-03 21:09:52,364 - INFO - ================================================================================ 2026-02-03 21:09:52,365 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-03 21:09:52,365 - 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-03 21:09:52,668 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-02-03 21:09:52,668 - INFO - Initial checks done. Running the testcase now 2026-02-03 21:09:52,668 - INFO - 2026-02-03 21:09:53,291 - DEBUG - Response for create_network : {'network': {'id': '80a911d7-e314-4411-9049-8530f825c257', 'name': 'ctest-vn-43201857', 'tenant_id': 'dd1df8ad2608422d8624218e1969c00b', 'project_id': 'dd1df8ad2608422d8624218e1969c00b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-60910289', 'ctest-vn-43201857'], 'port_security_enabled': True, 'description': ''}} 2026-02-03 21:09:53,445 - DEBUG - Response for create_subnet : {'subnet': {'id': '174e302f-d0a4-48ab-abc7-25350ffb15fb', 'name': '', 'tenant_id': 'dd1df8ad2608422d8624218e1969c00b', 'network_id': '80a911d7-e314-4411-9049-8530f825c257', 'ip_version': 4, 'cidr': '34.251.231.128/26', 'allocation_pools': [{'start': '34.251.231.130', 'end': '34.251.231.190'}], 'gateway_ip': '34.251.231.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '34.251.231.130', 'tags': [], 'project_id': 'dd1df8ad2608422d8624218e1969c00b'}} 2026-02-03 21:09:53,464 - INFO - Created VN ctest-vn-43201857 2026-02-03 21:09:53,526 - DEBUG - VN ctest-vn-43201857 UUID is 80a911d7-e314-4411-9049-8530f825c257 2026-02-03 21:09:54,000 - DEBUG - Response for create_network : {'network': {'id': '24ccbcf0-ef6f-4ba4-867c-b62132669e51', 'name': 'ctest-vn-79044383', 'tenant_id': 'dd1df8ad2608422d8624218e1969c00b', 'project_id': 'dd1df8ad2608422d8624218e1969c00b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-60910289', 'ctest-vn-79044383'], 'port_security_enabled': True, 'description': ''}} 2026-02-03 21:09:54,285 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ec8b668a-911c-480b-a39c-a9e1479b995b', 'name': '', 'tenant_id': 'dd1df8ad2608422d8624218e1969c00b', 'network_id': '24ccbcf0-ef6f-4ba4-867c-b62132669e51', 'ip_version': 4, 'cidr': '72.241.231.192/26', 'allocation_pools': [{'start': '72.241.231.194', 'end': '72.241.231.254'}], 'gateway_ip': '72.241.231.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '72.241.231.194', 'tags': [], 'project_id': 'dd1df8ad2608422d8624218e1969c00b'}} 2026-02-03 21:09:54,317 - INFO - Created VN ctest-vn-79044383 2026-02-03 21:09:54,375 - DEBUG - VN ctest-vn-79044383 UUID is 24ccbcf0-ef6f-4ba4-867c-b62132669e51 2026-02-03 21:09:54,505 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-60910289:ctest-vn-43201857, 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-60910289:ctest-vn-79044383, 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-03 21:09:54,902 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '80a911d7-e314-4411-9049-8530f825c257', 'name': 'ctest-vn-43201857', 'tenant_id': 'dd1df8ad2608422d8624218e1969c00b', 'project_id': 'dd1df8ad2608422d8624218e1969c00b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['174e302f-d0a4-48ab-abc7-25350ffb15fb'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-60910289', 'ctest-vn-43201857'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-60910289', 'ctest-policy-allow-all-39568146']], 'subnet_ipam': [{'subnet_cidr': '34.251.231.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-03 21:09:55,296 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '24ccbcf0-ef6f-4ba4-867c-b62132669e51', 'name': 'ctest-vn-79044383', 'tenant_id': 'dd1df8ad2608422d8624218e1969c00b', 'project_id': 'dd1df8ad2608422d8624218e1969c00b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ec8b668a-911c-480b-a39c-a9e1479b995b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-60910289', 'ctest-vn-79044383'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-60910289', 'ctest-policy-allow-all-39568146']], 'subnet_ipam': [{'subnet_cidr': '72.241.231.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-03 21:09:55,466 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-03 21:09:55,804 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-03 21:09:55,873 - DEBUG - Requesting: http://10.0.0.38:8082/domain/56850077-a7da-49b3-9fe3-bf5b74d036c3 2026-02-03 21:09:55,899 - DEBUG - Requesting: http://10.0.0.38:8082/project/dd1df8ad-2608-422d-8624-218e1969c00b 2026-02-03 21:09:56,021 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/80a911d7-e314-4411-9049-8530f825c257 2026-02-03 21:09:56,048 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/80a911d7-e314-4411-9049-8530f825c257 2026-02-03 21:09:56,074 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3a8af8e3-411d-4618-abfe-73f9df9e7030 2026-02-03 21:09:56,090 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3a8af8e3-411d-4618-abfe-73f9df9e7030 2026-02-03 21:09:56,114 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/ac25e228-2f39-4ab3-a948-474d6905e519 2026-02-03 21:09:56,126 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-03 21:09:56,126 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/80a911d7-e314-4411-9049-8530f825c257 2026-02-03 21:09:56,140 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3a8af8e3-411d-4618-abfe-73f9df9e7030 2026-02-03 21:09:56,163 - INFO - Verified VN network id 11 for VN 80a911d7-e314-4411-9049-8530f825c257 2026-02-03 21:09:56,163 - INFO - Verifications in API Server for VN ctest-vn-43201857 passed 2026-02-03 21:09:56,163 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/80a911d7-e314-4411-9049-8530f825c257 2026-02-03 21:09:56,177 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3a8af8e3-411d-4618-abfe-73f9df9e7030 2026-02-03 21:09:56,190 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3a8af8e3-411d-4618-abfe-73f9df9e7030 2026-02-03 21:09:56,202 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/ac25e228-2f39-4ab3-a948-474d6905e519 2026-02-03 21:09:56,227 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-60910289:ctest-vn-43201857', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-60910289', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9270960926844273681', 'uuid-lslong': '10396987660129649239'}, 'enable': 'true', 'created': '2026-02-03T21:09:53', 'last-modified': '2026-02-03T21:09:54', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.364498'} 2026-02-03 21:09:56,241 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-03 21:09:56,241 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-43201857 passed 2026-02-03 21:09:56,241 - DEBUG - ====Verifying policy data for ctest-vn-43201857 in API_Server ====== 2026-02-03 21:09:56,241 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-03 21:09:56,252 - DEBUG - Requesting: http://10.0.0.38:8082/domain/56850077-a7da-49b3-9fe3-bf5b74d036c3 2026-02-03 21:09:56,281 - DEBUG - Requesting: http://10.0.0.38:8082/project/dd1df8ad-2608-422d-8624-218e1969c00b 2026-02-03 21:09:56,398 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/80a911d7-e314-4411-9049-8530f825c257 2026-02-03 21:09:56,419 - DEBUG - ==>Verifying data for policy with id: a01531f5-0469-45da-b121-74326976d32c, fqn: ['default-domain', 'ctest-TestBasicPolicy-60910289', 'ctest-policy-allow-all-39568146'] 2026-02-03 21:09:56,419 - INFO - VN ctest-vn-43201857 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-03 21:09:56,419 - DEBUG - Verifying the vn in opserver 2026-02-03 21:09:56,419 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-60910289:ctest-vn-43201857 virtual network link through opserver 10.0.0.38 2026-02-03 21:09:56,420 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-02-03 21:09:56,753 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-02-03 21:09:56,826 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-60910289:ctest-vn-43201857', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-60910289:ctest-vn-43201857?flat'} 2026-02-03 21:09:56,826 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-60910289:ctest-vn-43201857 is found in opserver 2026-02-03 21:09:56,853 - DEBUG - Do not have enough data to verify VN in agent 2026-02-03 21:09:56,864 - DEBUG - VRF ids for VN ctest-vn-43201857: {} 2026-02-03 21:09:56,864 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-03 21:09:56,876 - DEBUG - Requesting: http://10.0.0.38:8082/domain/56850077-a7da-49b3-9fe3-bf5b74d036c3 2026-02-03 21:09:56,901 - DEBUG - Requesting: http://10.0.0.38:8082/project/dd1df8ad-2608-422d-8624-218e1969c00b 2026-02-03 21:09:57,015 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/24ccbcf0-ef6f-4ba4-867c-b62132669e51 2026-02-03 21:09:57,046 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/24ccbcf0-ef6f-4ba4-867c-b62132669e51 2026-02-03 21:09:57,072 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fa394547-9b8f-4933-a89f-cfc278d67f7a 2026-02-03 21:09:57,092 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fa394547-9b8f-4933-a89f-cfc278d67f7a 2026-02-03 21:09:57,110 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/8fcfc049-e9df-4e19-bd87-0e208dfa9d0f 2026-02-03 21:09:57,125 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-03 21:09:57,126 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/24ccbcf0-ef6f-4ba4-867c-b62132669e51 2026-02-03 21:09:57,149 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fa394547-9b8f-4933-a89f-cfc278d67f7a 2026-02-03 21:09:57,186 - INFO - Verified VN network id 12 for VN 24ccbcf0-ef6f-4ba4-867c-b62132669e51 2026-02-03 21:09:57,186 - INFO - Verifications in API Server for VN ctest-vn-79044383 passed 2026-02-03 21:09:57,186 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/24ccbcf0-ef6f-4ba4-867c-b62132669e51 2026-02-03 21:09:57,210 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fa394547-9b8f-4933-a89f-cfc278d67f7a 2026-02-03 21:09:57,224 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fa394547-9b8f-4933-a89f-cfc278d67f7a 2026-02-03 21:09:57,240 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/8fcfc049-e9df-4e19-bd87-0e208dfa9d0f 2026-02-03 21:09:57,268 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-60910289:ctest-vn-79044383', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-60910289', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2651702023609600932', 'uuid-lslong': '9690820751890226769'}, 'enable': 'true', 'created': '2026-02-03T21:09:53', 'last-modified': '2026-02-03T21:09:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.073323'} 2026-02-03 21:09:57,285 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-03 21:09:57,285 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-79044383 passed 2026-02-03 21:09:57,286 - DEBUG - ====Verifying policy data for ctest-vn-79044383 in API_Server ====== 2026-02-03 21:09:57,286 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-03 21:09:57,298 - DEBUG - Requesting: http://10.0.0.38:8082/domain/56850077-a7da-49b3-9fe3-bf5b74d036c3 2026-02-03 21:09:57,325 - DEBUG - Requesting: http://10.0.0.38:8082/project/dd1df8ad-2608-422d-8624-218e1969c00b 2026-02-03 21:09:57,442 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/24ccbcf0-ef6f-4ba4-867c-b62132669e51 2026-02-03 21:09:57,470 - DEBUG - ==>Verifying data for policy with id: a01531f5-0469-45da-b121-74326976d32c, fqn: ['default-domain', 'ctest-TestBasicPolicy-60910289', 'ctest-policy-allow-all-39568146'] 2026-02-03 21:09:57,470 - INFO - VN ctest-vn-79044383 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-03 21:09:57,470 - DEBUG - Verifying the vn in opserver 2026-02-03 21:09:57,471 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-60910289:ctest-vn-79044383 virtual network link through opserver 10.0.0.38 2026-02-03 21:09:57,471 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-02-03 21:09:57,491 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-60910289:ctest-vn-79044383', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-60910289:ctest-vn-79044383?flat'} 2026-02-03 21:09:57,491 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-60910289:ctest-vn-79044383 is found in opserver 2026-02-03 21:09:57,514 - DEBUG - Do not have enough data to verify VN in agent 2026-02-03 21:09:57,526 - DEBUG - VRF ids for VN ctest-vn-79044383: {} 2026-02-03 21:09:57,658 - DEBUG - Services list from nova: [, , ] 2026-02-03 21:09:59,261 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5194-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5194-1) 2026-02-03 21:10:00,712 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5194-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5194-1) 2026-02-03 21:10:00,712 - INFO - Waiting for VM ctest-TestBasicPolicy-60910289-22308058 to be up.. 2026-02-03 21:10:00,821 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-03 21:10:05,991 - DEBUG - VM is in ACTIVE state now 2026-02-03 21:10:05,992 - INFO - VM name : ctest-TestBasicPolicy-60910289-22308058 2026-02-03 21:10:06,127 - DEBUG - VM ctest-TestBasicPolicy-60910289-22308058 ID is 83267f76-3d78-4511-abaf-ec51833bfdd3 2026-02-03 21:10:06,167 - DEBUG - VM ctest-TestBasicPolicy-60910289-22308058 launched on Node cn-jenkins-deploy-platform-ansible-os-5194-1 2026-02-03 21:10:06,342 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/83267f76-3d78-4511-abaf-ec51833bfdd3 2026-02-03 21:10:06,355 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/6bb78042-efc4-4eca-9492-cc99539ee041 2026-02-03 21:10:09,699 - 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 1024ms') 2026-02-03 21:10:09,699 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-60910289-22308058 failed! 2026-02-03 21:10:09,762 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-60910289:ctest-vn-43201857 is 34.251.231.129 and allocation pool is NOT set 2026-02-03 21:10:11,849 - 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=10.1 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.29 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 = 1.286/5.713/10.140/4.427 ms') 2026-02-03 21:10:11,850 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-60910289-22308058 passed 2026-02-03 21:10:12,019 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-03 21:10:12,019 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-60910289-22308058, IP 34.251.231.131, Port 22 2026-02-03 21:10:12,100 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-02-03 21:10:12,272 - DEBUG - VM ctest-TestBasicPolicy-60910289-22308058 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-03 21:10:17,273 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-03 21:10:17,274 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-60910289-22308058, IP 34.251.231.131, Port 22 2026-02-03 21:10:19,044 - DEBUG - VM ctest-TestBasicPolicy-60910289-22308058 is ready for SSH connections 2026-02-03 21:10:19,045 - INFO - Waiting for VM ctest-TestBasicPolicy-60910289-30502968 to be up.. 2026-02-03 21:10:19,217 - DEBUG - VM is in ACTIVE state now 2026-02-03 21:10:19,217 - INFO - VM name : ctest-TestBasicPolicy-60910289-30502968 2026-02-03 21:10:19,358 - DEBUG - VM ctest-TestBasicPolicy-60910289-30502968 ID is 7a697870-cf21-4cac-8eb9-f75f765d101a 2026-02-03 21:10:19,359 - DEBUG - VM ctest-TestBasicPolicy-60910289-30502968 launched on Node cn-jenkins-deploy-platform-ansible-os-5194-1 2026-02-03 21:10:19,498 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/7a697870-cf21-4cac-8eb9-f75f765d101a 2026-02-03 21:10:19,512 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/410406e2-b115-4e13-9c70-b17af6401978 2026-02-03 21:10:20,810 - 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=7.22 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.469 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.469/3.842/7.215/3.373 ms') 2026-02-03 21:10:20,811 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-60910289-30502968 passed 2026-02-03 21:10:20,962 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-03 21:10:20,963 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-60910289-30502968, IP 72.241.231.195, Port 22 2026-02-03 21:10:21,154 - DEBUG - VM ctest-TestBasicPolicy-60910289-30502968 is ready for SSH connections 2026-02-03 21:10:21,154 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-03 21:10:21,154 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 72.241.231.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-02-03 21:10:21,155 - DEBUG - ping -s 56 -c 3 -W 1 72.241.231.195 2026-02-03 21:10:25,685 - DEBUG - PING 72.241.231.195 (72.241.231.195): 56 data bytes 64 bytes from 72.241.231.195: seq=0 ttl=63 time=7.607 ms 64 bytes from 72.241.231.195: seq=1 ttl=63 time=1.771 ms 64 bytes from 72.241.231.195: seq=2 ttl=63 time=2.096 ms --- 72.241.231.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.771/3.824/7.607 ms 2026-02-03 21:10:25,685 - INFO - Ping to IP 72.241.231.195 from VM ctest-TestBasicPolicy-60910289-22308058 passed 2026-02-03 21:10:25,950 - DEBUG - Policy Update Response {"network-policy": {"uuid": "a01531f5-0469-45da-b121-74326976d32c", "href": "http://10.0.0.38:8082/network-policy/a01531f5-0469-45da-b121-74326976d32c"}} 2026-02-03 21:10:25,950 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-03 21:10:25,950 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 72.241.231.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-02-03 21:10:25,950 - DEBUG - ping -s 56 -c 3 -W 1 72.241.231.195 2026-02-03 21:10:29,236 - DEBUG - PING 72.241.231.195 (72.241.231.195): 56 data bytes 64 bytes from 72.241.231.195: seq=0 ttl=63 time=2.116 ms --- 72.241.231.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 2.116/2.116/2.116 ms 2026-02-03 21:10:29,236 - WARNING - Ping to IP 72.241.231.195 from VM ctest-TestBasicPolicy-60910289-22308058 failed 2026-02-03 21:10:29,237 - INFO - Deleting VM ctest-TestBasicPolicy-60910289-30502968 2026-02-03 21:10:29,381 - INFO - Deleting VM ctest-TestBasicPolicy-60910289-22308058 2026-02-03 21:10:30,004 - INFO - Deleted policy ctest-policy-allow-all-39568146 2026-02-03 21:10:30,004 - INFO - Deleting VN ctest-vn-79044383 2026-02-03 21:10:30,044 - DEBUG - VN 24ccbcf0-ef6f-4ba4-867c-b62132669e51 still in use: Unable to complete operation on network 24ccbcf0-ef6f-4ba4-867c-b62132669e51. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a8f1dffb-27c0-4675-bdf7-c00e3843d163'] 2026-02-03 21:10:30,044 - WARNING - Deleting VN ctest-vn-79044383 failed..Will retry 2026-02-03 21:10:32,276 - DEBUG - Response for deleting network () 2026-02-03 21:10:32,277 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fa394547-9b8f-4933-a89f-cfc278d67f7a 2026-02-03 21:10:32,288 - DEBUG - Response Code: 404 2026-02-03 21:10:32,288 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-03 21:10:32,298 - DEBUG - Requesting: http://10.0.0.38:8082/domain/56850077-a7da-49b3-9fe3-bf5b74d036c3 2026-02-03 21:10:32,362 - DEBUG - Requesting: http://10.0.0.38:8082/project/dd1df8ad-2608-422d-8624-218e1969c00b 2026-02-03 21:10:32,468 - INFO - Validated that VN ctest-vn-79044383 is not found in API Server 2026-02-03 21:10:32,486 - DEBUG - VN ctest-vn-79044383 is not present in Agent 10.0.0.38 2026-02-03 21:10:32,486 - INFO - Validated that VN ctest-vn-79044383 is not in any agent 2026-02-03 21:10:32,508 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-79044383 info 2026-02-03 21:10:32,509 - INFO - Deleting VN ctest-vn-43201857 2026-02-03 21:10:32,663 - DEBUG - Response for deleting network () 2026-02-03 21:10:32,663 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3a8af8e3-411d-4618-abfe-73f9df9e7030 2026-02-03 21:10:32,673 - DEBUG - Response Code: 404 2026-02-03 21:10:32,673 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-03 21:10:32,678 - DEBUG - Requesting: http://10.0.0.38:8082/domain/56850077-a7da-49b3-9fe3-bf5b74d036c3 2026-02-03 21:10:32,732 - DEBUG - Requesting: http://10.0.0.38:8082/project/dd1df8ad-2608-422d-8624-218e1969c00b 2026-02-03 21:10:32,816 - INFO - Validated that VN ctest-vn-43201857 is not found in API Server 2026-02-03 21:10:32,828 - DEBUG - VN ctest-vn-43201857 is not present in Agent 10.0.0.38 2026-02-03 21:10:32,828 - INFO - Validated that VN ctest-vn-43201857 is not in any agent 2026-02-03 21:10:32,851 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-43201857 info 2026-02-03 21:10:33,162 - DEBUG - No XMPP flaps were noticed during the test 2026-02-03 21:10:33,162 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:41] 2026-02-03 21:10:33,162 - INFO - -------------------------------------------------------------------------------- 2026-02-03 21:10:34,129 - INFO - Deleted project: ctest-TestBasicPolicy-60910289, ID : dd1df8ad-2608-422d-8624-218e1969c00b