2026-02-06 16:03:54,766 - INFO - Domain Default found not creating 2026-02-06 16:03:55,027 - INFO - Project ctest-TestBasicPolicy-46304766 not found, creating it 2026-02-06 16:03:55,622 - INFO - Created Project:ctest-TestBasicPolicy-46304766, ID : e9a8191f-906f-406a-8ac8-dbf25d1ea7ff 2026-02-06 16:03:57,761 - INFO - ================================================================================ 2026-02-06 16:03:57,762 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-06 16:03:57,762 - 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-06 16:03:58,078 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-02-06 16:03:58,079 - INFO - Initial checks done. Running the testcase now 2026-02-06 16:03:58,079 - INFO - 2026-02-06 16:03:58,985 - DEBUG - Response for create_network : {'network': {'id': '18dfb898-d40e-4bac-ae72-e2ed8b184f27', 'name': 'ctest-vn-09452362', 'tenant_id': 'e9a8191f906f406a8ac8dbf25d1ea7ff', 'project_id': 'e9a8191f906f406a8ac8dbf25d1ea7ff', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46304766', 'ctest-vn-09452362'], 'port_security_enabled': True, 'description': ''}} 2026-02-06 16:03:59,155 - DEBUG - Response for create_subnet : {'subnet': {'id': '15dc535a-656e-4c48-bd39-a36b55e8608e', 'name': '', 'tenant_id': 'e9a8191f906f406a8ac8dbf25d1ea7ff', 'network_id': '18dfb898-d40e-4bac-ae72-e2ed8b184f27', 'ip_version': 4, 'cidr': '191.131.70.192/26', 'allocation_pools': [{'start': '191.131.70.194', 'end': '191.131.70.254'}], 'gateway_ip': '191.131.70.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '191.131.70.194', 'tags': [], 'project_id': 'e9a8191f906f406a8ac8dbf25d1ea7ff'}} 2026-02-06 16:03:59,171 - INFO - Created VN ctest-vn-09452362 2026-02-06 16:03:59,222 - DEBUG - VN ctest-vn-09452362 UUID is 18dfb898-d40e-4bac-ae72-e2ed8b184f27 2026-02-06 16:03:59,689 - DEBUG - Response for create_network : {'network': {'id': 'cd8b4eb5-2b5a-4c5d-b26c-bcdc3796f76a', 'name': 'ctest-vn-08802478', 'tenant_id': 'e9a8191f906f406a8ac8dbf25d1ea7ff', 'project_id': 'e9a8191f906f406a8ac8dbf25d1ea7ff', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46304766', 'ctest-vn-08802478'], 'port_security_enabled': True, 'description': ''}} 2026-02-06 16:03:59,924 - DEBUG - Response for create_subnet : {'subnet': {'id': '811ca736-80eb-4c95-bfe0-be55776158fb', 'name': '', 'tenant_id': 'e9a8191f906f406a8ac8dbf25d1ea7ff', 'network_id': 'cd8b4eb5-2b5a-4c5d-b26c-bcdc3796f76a', 'ip_version': 4, 'cidr': '101.232.87.64/26', 'allocation_pools': [{'start': '101.232.87.66', 'end': '101.232.87.126'}], 'gateway_ip': '101.232.87.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '101.232.87.66', 'tags': [], 'project_id': 'e9a8191f906f406a8ac8dbf25d1ea7ff'}} 2026-02-06 16:03:59,947 - INFO - Created VN ctest-vn-08802478 2026-02-06 16:04:00,007 - DEBUG - VN ctest-vn-08802478 UUID is cd8b4eb5-2b5a-4c5d-b26c-bcdc3796f76a 2026-02-06 16:04:00,140 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-46304766:ctest-vn-09452362, 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-46304766:ctest-vn-08802478, 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-06 16:04:00,507 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '18dfb898-d40e-4bac-ae72-e2ed8b184f27', 'name': 'ctest-vn-09452362', 'tenant_id': 'e9a8191f906f406a8ac8dbf25d1ea7ff', 'project_id': 'e9a8191f906f406a8ac8dbf25d1ea7ff', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['15dc535a-656e-4c48-bd39-a36b55e8608e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46304766', 'ctest-vn-09452362'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-46304766', 'ctest-policy-allow-all-33985216']], 'subnet_ipam': [{'subnet_cidr': '191.131.70.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-06 16:04:00,827 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'cd8b4eb5-2b5a-4c5d-b26c-bcdc3796f76a', 'name': 'ctest-vn-08802478', 'tenant_id': 'e9a8191f906f406a8ac8dbf25d1ea7ff', 'project_id': 'e9a8191f906f406a8ac8dbf25d1ea7ff', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['811ca736-80eb-4c95-bfe0-be55776158fb'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46304766', 'ctest-vn-08802478'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-46304766', 'ctest-policy-allow-all-33985216']], 'subnet_ipam': [{'subnet_cidr': '101.232.87.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-06 16:04:01,014 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-06 16:04:01,322 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-06 16:04:01,366 - DEBUG - Requesting: http://10.0.0.38:8082/domain/30264be5-7555-4ae9-a06d-0d029a729512 2026-02-06 16:04:01,398 - DEBUG - Requesting: http://10.0.0.38:8082/project/e9a8191f-906f-406a-8ac8-dbf25d1ea7ff 2026-02-06 16:04:01,518 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/18dfb898-d40e-4bac-ae72-e2ed8b184f27 2026-02-06 16:04:01,538 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/18dfb898-d40e-4bac-ae72-e2ed8b184f27 2026-02-06 16:04:01,561 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/47959e08-befb-468b-9ef9-5fceeee186e7 2026-02-06 16:04:01,577 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/47959e08-befb-468b-9ef9-5fceeee186e7 2026-02-06 16:04:01,594 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/75274c76-91c3-4bce-9f6f-12488c0e9a77 2026-02-06 16:04:01,615 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-06 16:04:01,615 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/18dfb898-d40e-4bac-ae72-e2ed8b184f27 2026-02-06 16:04:01,638 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/47959e08-befb-468b-9ef9-5fceeee186e7 2026-02-06 16:04:01,668 - INFO - Verified VN network id 11 for VN 18dfb898-d40e-4bac-ae72-e2ed8b184f27 2026-02-06 16:04:01,668 - INFO - Verifications in API Server for VN ctest-vn-09452362 passed 2026-02-06 16:04:01,669 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/18dfb898-d40e-4bac-ae72-e2ed8b184f27 2026-02-06 16:04:01,691 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/47959e08-befb-468b-9ef9-5fceeee186e7 2026-02-06 16:04:01,705 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/47959e08-befb-468b-9ef9-5fceeee186e7 2026-02-06 16:04:01,725 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/75274c76-91c3-4bce-9f6f-12488c0e9a77 2026-02-06 16:04:01,764 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-46304766:ctest-vn-09452362', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-46304766', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1792354143248993196', 'uuid-lslong': '12570359019813228327'}, 'enable': 'true', 'created': '2026-02-06T16:03:58', 'last-modified': '2026-02-06T16:04:00', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.275713'} 2026-02-06 16:04:01,780 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-06 16:04:01,781 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-09452362 passed 2026-02-06 16:04:01,781 - DEBUG - ====Verifying policy data for ctest-vn-09452362 in API_Server ====== 2026-02-06 16:04:01,782 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-06 16:04:01,796 - DEBUG - Requesting: http://10.0.0.38:8082/domain/30264be5-7555-4ae9-a06d-0d029a729512 2026-02-06 16:04:01,829 - DEBUG - Requesting: http://10.0.0.38:8082/project/e9a8191f-906f-406a-8ac8-dbf25d1ea7ff 2026-02-06 16:04:01,954 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/18dfb898-d40e-4bac-ae72-e2ed8b184f27 2026-02-06 16:04:01,973 - DEBUG - ==>Verifying data for policy with id: bec9a266-b5e9-46a7-94b2-0c71dd9ada1c, fqn: ['default-domain', 'ctest-TestBasicPolicy-46304766', 'ctest-policy-allow-all-33985216'] 2026-02-06 16:04:01,973 - INFO - VN ctest-vn-09452362 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-06 16:04:01,974 - DEBUG - Verifying the vn in opserver 2026-02-06 16:04:01,974 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-46304766:ctest-vn-09452362 virtual network link through opserver 10.0.0.38 2026-02-06 16:04:01,974 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-02-06 16:04:02,310 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-02-06 16:04:02,392 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-46304766:ctest-vn-09452362', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-46304766:ctest-vn-09452362?flat'} 2026-02-06 16:04:02,392 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-46304766:ctest-vn-09452362 is found in opserver 2026-02-06 16:04:02,410 - DEBUG - Do not have enough data to verify VN in agent 2026-02-06 16:04:02,415 - DEBUG - VRF ids for VN ctest-vn-09452362: {} 2026-02-06 16:04:02,415 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-06 16:04:02,423 - DEBUG - Requesting: http://10.0.0.38:8082/domain/30264be5-7555-4ae9-a06d-0d029a729512 2026-02-06 16:04:02,443 - DEBUG - Requesting: http://10.0.0.38:8082/project/e9a8191f-906f-406a-8ac8-dbf25d1ea7ff 2026-02-06 16:04:02,545 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/cd8b4eb5-2b5a-4c5d-b26c-bcdc3796f76a 2026-02-06 16:04:02,570 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/cd8b4eb5-2b5a-4c5d-b26c-bcdc3796f76a 2026-02-06 16:04:02,581 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/71126ded-8291-4339-9b60-cf6f70efdebc 2026-02-06 16:04:02,590 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/71126ded-8291-4339-9b60-cf6f70efdebc 2026-02-06 16:04:02,601 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/f559c693-64d8-4e78-97c3-87f76a7c5e58 2026-02-06 16:04:02,612 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-06 16:04:02,612 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/cd8b4eb5-2b5a-4c5d-b26c-bcdc3796f76a 2026-02-06 16:04:02,628 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/71126ded-8291-4339-9b60-cf6f70efdebc 2026-02-06 16:04:02,647 - INFO - Verified VN network id 12 for VN cd8b4eb5-2b5a-4c5d-b26c-bcdc3796f76a 2026-02-06 16:04:02,647 - INFO - Verifications in API Server for VN ctest-vn-08802478 passed 2026-02-06 16:04:02,647 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/cd8b4eb5-2b5a-4c5d-b26c-bcdc3796f76a 2026-02-06 16:04:02,663 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/71126ded-8291-4339-9b60-cf6f70efdebc 2026-02-06 16:04:02,674 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/71126ded-8291-4339-9b60-cf6f70efdebc 2026-02-06 16:04:02,688 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/f559c693-64d8-4e78-97c3-87f76a7c5e58 2026-02-06 16:04:02,704 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-46304766:ctest-vn-08802478', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-46304766', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14811018339561393245', 'uuid-lslong': '12856858690247391082'}, 'enable': 'true', 'created': '2026-02-06T16:03:59', 'last-modified': '2026-02-06T16:04:00', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.918584'} 2026-02-06 16:04:02,712 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-06 16:04:02,712 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-08802478 passed 2026-02-06 16:04:02,712 - DEBUG - ====Verifying policy data for ctest-vn-08802478 in API_Server ====== 2026-02-06 16:04:02,712 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-06 16:04:02,719 - DEBUG - Requesting: http://10.0.0.38:8082/domain/30264be5-7555-4ae9-a06d-0d029a729512 2026-02-06 16:04:02,736 - DEBUG - Requesting: http://10.0.0.38:8082/project/e9a8191f-906f-406a-8ac8-dbf25d1ea7ff 2026-02-06 16:04:02,816 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/cd8b4eb5-2b5a-4c5d-b26c-bcdc3796f76a 2026-02-06 16:04:02,835 - DEBUG - ==>Verifying data for policy with id: bec9a266-b5e9-46a7-94b2-0c71dd9ada1c, fqn: ['default-domain', 'ctest-TestBasicPolicy-46304766', 'ctest-policy-allow-all-33985216'] 2026-02-06 16:04:02,835 - INFO - VN ctest-vn-08802478 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-06 16:04:02,835 - DEBUG - Verifying the vn in opserver 2026-02-06 16:04:02,835 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-46304766:ctest-vn-08802478 virtual network link through opserver 10.0.0.38 2026-02-06 16:04:02,835 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-02-06 16:04:02,854 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-46304766:ctest-vn-08802478', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-46304766:ctest-vn-08802478?flat'} 2026-02-06 16:04:02,854 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-46304766:ctest-vn-08802478 is found in opserver 2026-02-06 16:04:02,875 - DEBUG - Do not have enough data to verify VN in agent 2026-02-06 16:04:02,881 - DEBUG - VRF ids for VN ctest-vn-08802478: {} 2026-02-06 16:04:03,019 - DEBUG - Services list from nova: [, , ] 2026-02-06 16:04:04,510 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5227-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5227-1) 2026-02-06 16:04:05,998 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5227-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5227-1) 2026-02-06 16:04:05,998 - INFO - Waiting for VM ctest-TestBasicPolicy-46304766-18919717 to be up.. 2026-02-06 16:04:06,098 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-06 16:04:11,253 - DEBUG - VM is in ACTIVE state now 2026-02-06 16:04:11,253 - INFO - VM name : ctest-TestBasicPolicy-46304766-18919717 2026-02-06 16:04:11,367 - DEBUG - VM ctest-TestBasicPolicy-46304766-18919717 ID is 3889515d-b65b-44a7-b530-fd7058bc4cbe 2026-02-06 16:04:11,398 - DEBUG - VM ctest-TestBasicPolicy-46304766-18919717 launched on Node cn-jenkins-deploy-platform-ansible-os-5227-1 2026-02-06 16:04:11,479 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/3889515d-b65b-44a7-b530-fd7058bc4cbe 2026-02-06 16:04:11,489 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/1576c696-de44-4fde-bc62-20a3f28b5bec 2026-02-06 16:04:14,783 - 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 1018ms') 2026-02-06 16:04:14,783 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-46304766-18919717 failed! 2026-02-06 16:04:14,854 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-46304766:ctest-vn-09452362 is 191.131.70.193 and allocation pool is NOT set 2026-02-06 16:04:16,937 - 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=9.61 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.68 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.684/5.646/9.609/3.962 ms') 2026-02-06 16:04:16,938 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-46304766-18919717 passed 2026-02-06 16:04:17,119 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-06 16:04:17,119 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-46304766-18919717, IP 191.131.70.195, Port 22 2026-02-06 16:04:17,220 - 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-06 16:04:17,349 - DEBUG - VM ctest-TestBasicPolicy-46304766-18919717 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-06 16:04:22,351 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-06 16:04:22,351 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-46304766-18919717, IP 191.131.70.195, Port 22 2026-02-06 16:04:22,553 - DEBUG - VM ctest-TestBasicPolicy-46304766-18919717 is ready for SSH connections 2026-02-06 16:04:22,554 - INFO - Waiting for VM ctest-TestBasicPolicy-46304766-09380643 to be up.. 2026-02-06 16:04:22,704 - DEBUG - VM is in ACTIVE state now 2026-02-06 16:04:22,704 - INFO - VM name : ctest-TestBasicPolicy-46304766-09380643 2026-02-06 16:04:22,844 - DEBUG - VM ctest-TestBasicPolicy-46304766-09380643 ID is 9d24961d-1047-4429-b1a0-7bbad7292d4c 2026-02-06 16:04:22,844 - DEBUG - VM ctest-TestBasicPolicy-46304766-09380643 launched on Node cn-jenkins-deploy-platform-ansible-os-5227-1 2026-02-06 16:04:23,085 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/9d24961d-1047-4429-b1a0-7bbad7292d4c 2026-02-06 16:04:23,110 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/53c5ab3d-d36e-4046-885d-69572e5e9d24 2026-02-06 16:04:24,461 - 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=9.68 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.02 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.021/5.348/9.675/4.327 ms') 2026-02-06 16:04:24,462 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-46304766-09380643 passed 2026-02-06 16:04:24,639 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-06 16:04:24,639 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-46304766-09380643, IP 101.232.87.67, Port 22 2026-02-06 16:04:24,846 - DEBUG - VM ctest-TestBasicPolicy-46304766-09380643 is ready for SSH connections 2026-02-06 16:04:24,847 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-06 16:04:24,847 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 101.232.87.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-02-06 16:04:24,847 - DEBUG - ping -s 56 -c 3 -W 1 101.232.87.67 2026-02-06 16:04:29,417 - DEBUG - PING 101.232.87.67 (101.232.87.67): 56 data bytes 64 bytes from 101.232.87.67: seq=0 ttl=63 time=3.645 ms 64 bytes from 101.232.87.67: seq=1 ttl=63 time=1.820 ms 64 bytes from 101.232.87.67: seq=2 ttl=63 time=1.709 ms --- 101.232.87.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.709/2.391/3.645 ms 2026-02-06 16:04:29,417 - INFO - Ping to IP 101.232.87.67 from VM ctest-TestBasicPolicy-46304766-18919717 passed 2026-02-06 16:04:29,642 - DEBUG - Policy Update Response {"network-policy": {"uuid": "bec9a266-b5e9-46a7-94b2-0c71dd9ada1c", "href": "http://10.0.0.38:8082/network-policy/bec9a266-b5e9-46a7-94b2-0c71dd9ada1c"}} 2026-02-06 16:04:29,643 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-06 16:04:29,643 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 101.232.87.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-02-06 16:04:29,644 - DEBUG - ping -s 56 -c 3 -W 1 101.232.87.67 2026-02-06 16:04:32,942 - DEBUG - PING 101.232.87.67 (101.232.87.67): 56 data bytes 64 bytes from 101.232.87.67: seq=0 ttl=63 time=4.180 ms --- 101.232.87.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 4.180/4.180/4.180 ms 2026-02-06 16:04:32,943 - WARNING - Ping to IP 101.232.87.67 from VM ctest-TestBasicPolicy-46304766-18919717 failed 2026-02-06 16:04:32,943 - INFO - Deleting VM ctest-TestBasicPolicy-46304766-09380643 2026-02-06 16:04:33,102 - INFO - Deleting VM ctest-TestBasicPolicy-46304766-18919717 2026-02-06 16:04:33,789 - INFO - Deleted policy ctest-policy-allow-all-33985216 2026-02-06 16:04:33,789 - INFO - Deleting VN ctest-vn-08802478 2026-02-06 16:04:33,843 - DEBUG - VN cd8b4eb5-2b5a-4c5d-b26c-bcdc3796f76a still in use: Unable to complete operation on network cd8b4eb5-2b5a-4c5d-b26c-bcdc3796f76a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c2309bc8-166f-44a9-a178-1c635c51e3aa'] 2026-02-06 16:04:33,843 - WARNING - Deleting VN ctest-vn-08802478 failed..Will retry 2026-02-06 16:04:36,066 - DEBUG - Response for deleting network () 2026-02-06 16:04:36,066 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/71126ded-8291-4339-9b60-cf6f70efdebc 2026-02-06 16:04:36,077 - DEBUG - Response Code: 404 2026-02-06 16:04:36,078 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-06 16:04:36,085 - DEBUG - Requesting: http://10.0.0.38:8082/domain/30264be5-7555-4ae9-a06d-0d029a729512 2026-02-06 16:04:36,146 - DEBUG - Requesting: http://10.0.0.38:8082/project/e9a8191f-906f-406a-8ac8-dbf25d1ea7ff 2026-02-06 16:04:36,235 - INFO - Validated that VN ctest-vn-08802478 is not found in API Server 2026-02-06 16:04:36,255 - DEBUG - VN ctest-vn-08802478 is not present in Agent 10.0.0.38 2026-02-06 16:04:36,255 - INFO - Validated that VN ctest-vn-08802478 is not in any agent 2026-02-06 16:04:36,289 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-08802478 info 2026-02-06 16:04:36,289 - INFO - Deleting VN ctest-vn-09452362 2026-02-06 16:04:36,488 - DEBUG - Response for deleting network () 2026-02-06 16:04:36,488 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/47959e08-befb-468b-9ef9-5fceeee186e7 2026-02-06 16:04:36,499 - DEBUG - Response Code: 404 2026-02-06 16:04:36,499 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-06 16:04:36,505 - DEBUG - Requesting: http://10.0.0.38:8082/domain/30264be5-7555-4ae9-a06d-0d029a729512 2026-02-06 16:04:36,565 - DEBUG - Requesting: http://10.0.0.38:8082/project/e9a8191f-906f-406a-8ac8-dbf25d1ea7ff 2026-02-06 16:04:36,665 - INFO - Validated that VN ctest-vn-09452362 is not found in API Server 2026-02-06 16:04:36,682 - DEBUG - VN ctest-vn-09452362 is not present in Agent 10.0.0.38 2026-02-06 16:04:36,682 - INFO - Validated that VN ctest-vn-09452362 is not in any agent 2026-02-06 16:04:36,706 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-09452362 info 2026-02-06 16:04:37,024 - DEBUG - No XMPP flaps were noticed during the test
2026-02-06 16:04:37,024 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:40]
2026-02-06 16:04:37,024 - INFO - -------------------------------------------------------------------------------- 2026-02-06 16:04:37,947 - INFO - Deleted project: ctest-TestBasicPolicy-46304766, ID : e9a8191f-906f-406a-8ac8-dbf25d1ea7ff