2026-09-16 10:06:56,251 - INFO - Domain Default found not creating 2026-09-16 10:06:56,413 - INFO - Project ctest-TestBasicPolicy-19223999 not found, creating it 2026-09-16 10:06:56,885 - INFO - Created Project:ctest-TestBasicPolicy-19223999, ID : a48be44b-9dfa-47e7-af64-2b7a04a87406 2026-09-16 10:06:58,438 - INFO - ================================================================================ 2026-09-16 10:06:58,438 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-09-16 10:06:58,438 - 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-09-16 10:06:58,692 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-09-16 10:06:58,692 - INFO - Initial checks done. Running the testcase now 2026-09-16 10:06:58,692 - INFO - 2026-09-16 10:06:59,277 - DEBUG - Response for create_network : {'network': {'id': 'ce0c5101-aa80-4f2c-9a95-f6874e6c4e37', 'name': 'ctest-vn-05574303', 'tenant_id': 'a48be44b9dfa47e7af642b7a04a87406', 'project_id': 'a48be44b9dfa47e7af642b7a04a87406', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19223999', 'ctest-vn-05574303'], 'port_security_enabled': True, 'description': ''}} 2026-09-16 10:06:59,469 - DEBUG - Response for create_subnet : {'subnet': {'id': '96723660-99e2-414b-ab8d-29a6d3268706', 'name': '', 'tenant_id': 'a48be44b9dfa47e7af642b7a04a87406', 'network_id': 'ce0c5101-aa80-4f2c-9a95-f6874e6c4e37', 'ip_version': 4, 'cidr': '55.211.72.64/26', 'allocation_pools': [{'start': '55.211.72.66', 'end': '55.211.72.126'}], 'gateway_ip': '55.211.72.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '55.211.72.66', 'tags': [], 'project_id': 'a48be44b9dfa47e7af642b7a04a87406'}} 2026-09-16 10:06:59,488 - INFO - Created VN ctest-vn-05574303 2026-09-16 10:06:59,542 - DEBUG - VN ctest-vn-05574303 UUID is ce0c5101-aa80-4f2c-9a95-f6874e6c4e37 2026-09-16 10:06:59,837 - DEBUG - Response for create_network : {'network': {'id': 'f99b5034-53b8-4ed7-a2c2-5a6d42f82aa4', 'name': 'ctest-vn-50509555', 'tenant_id': 'a48be44b9dfa47e7af642b7a04a87406', 'project_id': 'a48be44b9dfa47e7af642b7a04a87406', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19223999', 'ctest-vn-50509555'], 'port_security_enabled': True, 'description': ''}} 2026-09-16 10:06:59,994 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c48cec49-a9a1-4705-9a02-8c637606db22', 'name': '', 'tenant_id': 'a48be44b9dfa47e7af642b7a04a87406', 'network_id': 'f99b5034-53b8-4ed7-a2c2-5a6d42f82aa4', 'ip_version': 4, 'cidr': '109.171.213.0/26', 'allocation_pools': [{'start': '109.171.213.2', 'end': '109.171.213.62'}], 'gateway_ip': '109.171.213.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '109.171.213.2', 'tags': [], 'project_id': 'a48be44b9dfa47e7af642b7a04a87406'}} 2026-09-16 10:07:00,012 - INFO - Created VN ctest-vn-50509555 2026-09-16 10:07:00,066 - DEBUG - VN ctest-vn-50509555 UUID is f99b5034-53b8-4ed7-a2c2-5a6d42f82aa4 2026-09-16 10:07:00,218 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-19223999:ctest-vn-05574303, 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-19223999:ctest-vn-50509555, 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-09-16 10:07:00,544 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ce0c5101-aa80-4f2c-9a95-f6874e6c4e37', 'name': 'ctest-vn-05574303', 'tenant_id': 'a48be44b9dfa47e7af642b7a04a87406', 'project_id': 'a48be44b9dfa47e7af642b7a04a87406', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['96723660-99e2-414b-ab8d-29a6d3268706'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19223999', 'ctest-vn-05574303'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-19223999', 'ctest-policy-allow-all-33323084']], 'subnet_ipam': [{'subnet_cidr': '55.211.72.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-16 10:07:00,783 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f99b5034-53b8-4ed7-a2c2-5a6d42f82aa4', 'name': 'ctest-vn-50509555', 'tenant_id': 'a48be44b9dfa47e7af642b7a04a87406', 'project_id': 'a48be44b9dfa47e7af642b7a04a87406', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['c48cec49-a9a1-4705-9a02-8c637606db22'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19223999', 'ctest-vn-50509555'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-19223999', 'ctest-policy-allow-all-33323084']], 'subnet_ipam': [{'subnet_cidr': '109.171.213.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-16 10:07:00,958 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-09-16 10:07:01,280 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-09-16 10:07:01,310 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ec404a61-98b3-41d3-a6a2-1e8651b4729a 2026-09-16 10:07:01,323 - DEBUG - Requesting: http://10.0.0.38:8082/project/a48be44b-9dfa-47e7-af64-2b7a04a87406 2026-09-16 10:07:01,401 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ce0c5101-aa80-4f2c-9a95-f6874e6c4e37 2026-09-16 10:07:01,413 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ce0c5101-aa80-4f2c-9a95-f6874e6c4e37 2026-09-16 10:07:01,422 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c97cc867-f860-4c91-93b5-6d6a742d0648 2026-09-16 10:07:01,430 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c97cc867-f860-4c91-93b5-6d6a742d0648 2026-09-16 10:07:01,437 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/69bb847b-928d-4891-a739-1bdae4c03662 2026-09-16 10:07:01,444 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-16 10:07:01,444 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ce0c5101-aa80-4f2c-9a95-f6874e6c4e37 2026-09-16 10:07:01,452 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c97cc867-f860-4c91-93b5-6d6a742d0648 2026-09-16 10:07:01,469 - INFO - Verified VN network id 12 for VN ce0c5101-aa80-4f2c-9a95-f6874e6c4e37 2026-09-16 10:07:01,469 - INFO - Verifications in API Server for VN ctest-vn-05574303 passed 2026-09-16 10:07:01,469 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ce0c5101-aa80-4f2c-9a95-f6874e6c4e37 2026-09-16 10:07:01,484 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c97cc867-f860-4c91-93b5-6d6a742d0648 2026-09-16 10:07:01,492 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c97cc867-f860-4c91-93b5-6d6a742d0648 2026-09-16 10:07:01,502 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/69bb847b-928d-4891-a739-1bdae4c03662 2026-09-16 10:07:01,518 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-19223999:ctest-vn-05574303', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-19223999', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14847331139131035436', 'uuid-lslong': '11139080314367528503'}, 'enable': 'true', 'created': '2026-09-16T10:06:59', 'last-modified': '2026-09-16T10:07:00', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.001057'} 2026-09-16 10:07:01,524 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-16 10:07:01,525 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-05574303 passed 2026-09-16 10:07:01,525 - DEBUG - ====Verifying policy data for ctest-vn-05574303 in API_Server ====== 2026-09-16 10:07:01,525 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-09-16 10:07:01,534 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ec404a61-98b3-41d3-a6a2-1e8651b4729a 2026-09-16 10:07:01,547 - DEBUG - Requesting: http://10.0.0.38:8082/project/a48be44b-9dfa-47e7-af64-2b7a04a87406 2026-09-16 10:07:01,623 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ce0c5101-aa80-4f2c-9a95-f6874e6c4e37 2026-09-16 10:07:01,636 - DEBUG - ==>Verifying data for policy with id: 54946582-5f1a-4ee1-8c01-9d6e81190b4d, fqn: ['default-domain', 'ctest-TestBasicPolicy-19223999', 'ctest-policy-allow-all-33323084'] 2026-09-16 10:07:01,636 - INFO - VN ctest-vn-05574303 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-16 10:07:01,636 - DEBUG - Verifying the vn in opserver 2026-09-16 10:07:01,636 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-19223999:ctest-vn-05574303 virtual network link through opserver 10.0.0.38 2026-09-16 10:07:01,636 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-09-16 10:07:01,961 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-09-16 10:07:02,017 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-19223999:ctest-vn-05574303', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-19223999:ctest-vn-05574303?flat'} 2026-09-16 10:07:02,017 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-19223999:ctest-vn-05574303 is found in opserver 2026-09-16 10:07:02,026 - DEBUG - Do not have enough data to verify VN in agent 2026-09-16 10:07:02,031 - DEBUG - VRF ids for VN ctest-vn-05574303: {} 2026-09-16 10:07:02,031 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-09-16 10:07:02,037 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ec404a61-98b3-41d3-a6a2-1e8651b4729a 2026-09-16 10:07:02,047 - DEBUG - Requesting: http://10.0.0.38:8082/project/a48be44b-9dfa-47e7-af64-2b7a04a87406 2026-09-16 10:07:02,122 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f99b5034-53b8-4ed7-a2c2-5a6d42f82aa4 2026-09-16 10:07:02,136 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f99b5034-53b8-4ed7-a2c2-5a6d42f82aa4 2026-09-16 10:07:02,146 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/afb65d15-ceeb-4b3d-bb4c-57b8ab9ee088 2026-09-16 10:07:02,153 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/afb65d15-ceeb-4b3d-bb4c-57b8ab9ee088 2026-09-16 10:07:02,160 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/0f4e7603-088f-4565-a62e-3293e7d5d55a 2026-09-16 10:07:02,168 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-16 10:07:02,168 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f99b5034-53b8-4ed7-a2c2-5a6d42f82aa4 2026-09-16 10:07:02,178 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/afb65d15-ceeb-4b3d-bb4c-57b8ab9ee088 2026-09-16 10:07:02,192 - INFO - Verified VN network id 13 for VN f99b5034-53b8-4ed7-a2c2-5a6d42f82aa4 2026-09-16 10:07:02,192 - INFO - Verifications in API Server for VN ctest-vn-50509555 passed 2026-09-16 10:07:02,193 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f99b5034-53b8-4ed7-a2c2-5a6d42f82aa4 2026-09-16 10:07:02,203 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/afb65d15-ceeb-4b3d-bb4c-57b8ab9ee088 2026-09-16 10:07:02,211 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/afb65d15-ceeb-4b3d-bb4c-57b8ab9ee088 2026-09-16 10:07:02,218 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/0f4e7603-088f-4565-a62e-3293e7d5d55a 2026-09-16 10:07:02,231 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-19223999:ctest-vn-50509555', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-19223999', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17986057722507316951', 'uuid-lslong': '11728035804947688100'}, 'enable': 'true', 'created': '2026-09-16T10:06:59', 'last-modified': '2026-09-16T10:07:00', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.475441'} 2026-09-16 10:07:02,259 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-16 10:07:02,259 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-50509555 passed 2026-09-16 10:07:02,259 - DEBUG - ====Verifying policy data for ctest-vn-50509555 in API_Server ====== 2026-09-16 10:07:02,259 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-09-16 10:07:02,266 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ec404a61-98b3-41d3-a6a2-1e8651b4729a 2026-09-16 10:07:02,277 - DEBUG - Requesting: http://10.0.0.38:8082/project/a48be44b-9dfa-47e7-af64-2b7a04a87406 2026-09-16 10:07:02,358 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f99b5034-53b8-4ed7-a2c2-5a6d42f82aa4 2026-09-16 10:07:02,369 - DEBUG - ==>Verifying data for policy with id: 54946582-5f1a-4ee1-8c01-9d6e81190b4d, fqn: ['default-domain', 'ctest-TestBasicPolicy-19223999', 'ctest-policy-allow-all-33323084'] 2026-09-16 10:07:02,369 - INFO - VN ctest-vn-50509555 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-16 10:07:02,369 - DEBUG - Verifying the vn in opserver 2026-09-16 10:07:02,369 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-19223999:ctest-vn-50509555 virtual network link through opserver 10.0.0.38 2026-09-16 10:07:02,369 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-09-16 10:07:02,380 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-19223999:ctest-vn-50509555', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-19223999:ctest-vn-50509555?flat'} 2026-09-16 10:07:02,380 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-19223999:ctest-vn-50509555 is found in opserver 2026-09-16 10:07:02,390 - DEBUG - Do not have enough data to verify VN in agent 2026-09-16 10:07:02,395 - DEBUG - VRF ids for VN ctest-vn-50509555: {} 2026-09-16 10:07:02,460 - DEBUG - Services list from nova: [, , ] 2026-09-16 10:07:02,889 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6289-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6289-1) 2026-09-16 10:07:03,275 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6289-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6289-1) 2026-09-16 10:07:03,275 - INFO - Waiting for VM ctest-TestBasicPolicy-19223999-45373169 to be up.. 2026-09-16 10:07:03,313 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-16 10:07:08,390 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-16 10:07:13,466 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-16 10:07:18,553 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-16 10:07:23,629 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-16 10:07:28,707 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-16 10:07:33,785 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-16 10:07:38,877 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-16 10:07:43,968 - DEBUG - VM is in ACTIVE state now 2026-09-16 10:07:43,968 - INFO - VM name : ctest-TestBasicPolicy-19223999-45373169 2026-09-16 10:07:44,054 - DEBUG - VM ctest-TestBasicPolicy-19223999-45373169 ID is bce75542-a01c-4fa4-b8d6-db9595d1a8c7 2026-09-16 10:07:44,077 - DEBUG - VM ctest-TestBasicPolicy-19223999-45373169 launched on Node cn-jenkins-deploy-platform-ansible-os-6289-1 2026-09-16 10:07:44,148 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/bce75542-a01c-4fa4-b8d6-db9595d1a8c7 2026-09-16 10:07:44,157 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/1b7da46d-7ada-4428-935a-f5b40969fc93 2026-09-16 10:07:47,416 - 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=5.10 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1014ms\r\nrtt min/avg/max/mdev = 5.100/5.100/5.100/0.000 ms') 2026-09-16 10:07:47,416 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-19223999-45373169 passed 2026-09-16 10:07:47,574 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-16 10:07:47,574 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-19223999-45373169, IP 55.211.72.67, Port 22 2026-09-16 10:07:47,640 - 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-09-16 10:07:47,720 - DEBUG - VM ctest-TestBasicPolicy-19223999-45373169 is NOT ready for SSH connections, VM status: ACTIVE 2026-09-16 10:07:52,721 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-16 10:07:52,721 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-19223999-45373169, IP 55.211.72.67, Port 22 2026-09-16 10:07:52,877 - DEBUG - VM ctest-TestBasicPolicy-19223999-45373169 is ready for SSH connections 2026-09-16 10:07:52,877 - INFO - Waiting for VM ctest-TestBasicPolicy-19223999-50790798 to be up.. 2026-09-16 10:07:52,951 - DEBUG - VM is in ACTIVE state now 2026-09-16 10:07:52,951 - INFO - VM name : ctest-TestBasicPolicy-19223999-50790798 2026-09-16 10:07:53,036 - DEBUG - VM ctest-TestBasicPolicy-19223999-50790798 ID is a02bf127-7404-4b30-98a8-36a7f1b49431 2026-09-16 10:07:53,037 - DEBUG - VM ctest-TestBasicPolicy-19223999-50790798 launched on Node cn-jenkins-deploy-platform-ansible-os-6289-1 2026-09-16 10:07:53,119 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/a02bf127-7404-4b30-98a8-36a7f1b49431 2026-09-16 10:07:53,128 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/587ab447-bfb9-4682-88e4-b9ef47dadc07 2026-09-16 10:07:54,376 - 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=3.92 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.511 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.511/2.213/3.915/1.702 ms') 2026-09-16 10:07:54,376 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-19223999-50790798 passed 2026-09-16 10:07:54,530 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-16 10:07:54,530 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-19223999-50790798, IP 109.171.213.3, Port 22 2026-09-16 10:07:54,695 - DEBUG - VM ctest-TestBasicPolicy-19223999-50790798 is ready for SSH connections 2026-09-16 10:07:54,695 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-16 10:07:54,695 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 109.171.213.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-09-16 10:07:54,696 - DEBUG - ping -s 56 -c 3 -W 1 109.171.213.3 2026-09-16 10:07:58,626 - DEBUG - PING 109.171.213.3 (109.171.213.3): 56 data bytes 64 bytes from 109.171.213.3: seq=0 ttl=63 time=3.874 ms 64 bytes from 109.171.213.3: seq=1 ttl=63 time=1.433 ms 64 bytes from 109.171.213.3: seq=2 ttl=63 time=0.949 ms --- 109.171.213.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.949/2.085/3.874 ms 2026-09-16 10:07:58,626 - INFO - Ping to IP 109.171.213.3 from VM ctest-TestBasicPolicy-19223999-45373169 passed 2026-09-16 10:07:58,809 - DEBUG - Policy Update Response {"network-policy": {"uuid": "54946582-5f1a-4ee1-8c01-9d6e81190b4d", "href": "http://10.0.0.38:8082/network-policy/54946582-5f1a-4ee1-8c01-9d6e81190b4d"}} 2026-09-16 10:07:58,810 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-16 10:07:58,810 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 109.171.213.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-09-16 10:07:58,810 - DEBUG - ping -s 56 -c 3 -W 1 109.171.213.3 2026-09-16 10:08:01,943 - DEBUG - PING 109.171.213.3 (109.171.213.3): 56 data bytes 64 bytes from 109.171.213.3: seq=0 ttl=63 time=1.813 ms --- 109.171.213.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.813/1.813/1.813 ms 2026-09-16 10:08:01,943 - WARNING - Ping to IP 109.171.213.3 from VM ctest-TestBasicPolicy-19223999-45373169 failed 2026-09-16 10:08:01,944 - INFO - Deleting VM ctest-TestBasicPolicy-19223999-50790798 2026-09-16 10:08:02,016 - INFO - Deleting VM ctest-TestBasicPolicy-19223999-45373169 2026-09-16 10:08:02,416 - INFO - Deleted policy ctest-policy-allow-all-33323084 2026-09-16 10:08:02,416 - INFO - Deleting VN ctest-vn-50509555 2026-09-16 10:08:02,455 - DEBUG - VN f99b5034-53b8-4ed7-a2c2-5a6d42f82aa4 still in use: Unable to complete operation on network f99b5034-53b8-4ed7-a2c2-5a6d42f82aa4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-69124963-3b37-4d8f-bcbe-1ba8e073e01e'] 2026-09-16 10:08:02,456 - WARNING - Deleting VN ctest-vn-50509555 failed..Will retry 2026-09-16 10:08:04,562 - DEBUG - Response for deleting network () 2026-09-16 10:08:04,563 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/afb65d15-ceeb-4b3d-bb4c-57b8ab9ee088 2026-09-16 10:08:04,572 - DEBUG - Response Code: 404 2026-09-16 10:08:04,572 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-09-16 10:08:04,579 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ec404a61-98b3-41d3-a6a2-1e8651b4729a 2026-09-16 10:08:04,633 - DEBUG - Requesting: http://10.0.0.38:8082/project/a48be44b-9dfa-47e7-af64-2b7a04a87406 2026-09-16 10:08:04,708 - INFO - Validated that VN ctest-vn-50509555 is not found in API Server 2026-09-16 10:08:04,718 - DEBUG - VN ctest-vn-50509555 is not present in Agent 10.0.0.38 2026-09-16 10:08:04,718 - INFO - Validated that VN ctest-vn-50509555 is not in any agent 2026-09-16 10:08:04,733 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-50509555 info 2026-09-16 10:08:04,734 - INFO - Deleting VN ctest-vn-05574303 2026-09-16 10:08:04,840 - DEBUG - Response for deleting network () 2026-09-16 10:08:04,840 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c97cc867-f860-4c91-93b5-6d6a742d0648 2026-09-16 10:08:04,855 - DEBUG - Response Code: 404 2026-09-16 10:08:04,855 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-09-16 10:08:04,861 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ec404a61-98b3-41d3-a6a2-1e8651b4729a 2026-09-16 10:08:04,916 - DEBUG - Requesting: http://10.0.0.38:8082/project/a48be44b-9dfa-47e7-af64-2b7a04a87406 2026-09-16 10:08:04,997 - INFO - Validated that VN ctest-vn-05574303 is not found in API Server 2026-09-16 10:08:05,011 - DEBUG - VN ctest-vn-05574303 is not present in Agent 10.0.0.38 2026-09-16 10:08:05,011 - INFO - Validated that VN ctest-vn-05574303 is not in any agent 2026-09-16 10:08:05,029 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-05574303 info 2026-09-16 10:08:05,287 - DEBUG - No XMPP flaps were noticed during the test 2026-09-16 10:08:05,287 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:07] 2026-09-16 10:08:05,287 - INFO - -------------------------------------------------------------------------------- 2026-09-16 10:08:06,012 - INFO - Deleted project: ctest-TestBasicPolicy-19223999, ID : a48be44b-9dfa-47e7-af64-2b7a04a87406