2026-02-23 19:06:06,759 - INFO - Domain Default found not creating 2026-02-23 19:06:06,945 - INFO - Project ctest-TestBasicPolicy-09760989 not found, creating it 2026-02-23 19:06:07,386 - INFO - Created Project:ctest-TestBasicPolicy-09760989, ID : b1d96bb6-5066-437a-a3c5-b47f44ea6c6e 2026-02-23 19:06:08,889 - INFO - ================================================================================ 2026-02-23 19:06:08,889 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-23 19:06:08,889 - 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-23 19:06:09,159 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2026-02-23 19:06:09,159 - INFO - Initial checks done. Running the testcase now 2026-02-23 19:06:09,159 - INFO - 2026-02-23 19:06:09,729 - DEBUG - Response for create_network : {'network': {'id': '404bcd51-f432-413d-a562-d887baf8dd7e', 'name': 'ctest-vn-51437201', 'tenant_id': 'b1d96bb65066437aa3c5b47f44ea6c6e', 'project_id': 'b1d96bb65066437aa3c5b47f44ea6c6e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09760989', 'ctest-vn-51437201'], 'port_security_enabled': True, 'description': ''}} 2026-02-23 19:06:09,931 - DEBUG - Response for create_subnet : {'subnet': {'id': '4fafaf5f-cce7-4edf-970d-432fb6bf4f1c', 'name': '', 'tenant_id': 'b1d96bb65066437aa3c5b47f44ea6c6e', 'network_id': '404bcd51-f432-413d-a562-d887baf8dd7e', 'ip_version': 4, 'cidr': '51.96.189.64/26', 'allocation_pools': [{'start': '51.96.189.66', 'end': '51.96.189.126'}], 'gateway_ip': '51.96.189.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '51.96.189.66', 'tags': [], 'project_id': 'b1d96bb65066437aa3c5b47f44ea6c6e'}} 2026-02-23 19:06:09,952 - INFO - Created VN ctest-vn-51437201 2026-02-23 19:06:10,002 - DEBUG - VN ctest-vn-51437201 UUID is 404bcd51-f432-413d-a562-d887baf8dd7e 2026-02-23 19:06:10,317 - DEBUG - Response for create_network : {'network': {'id': 'c2e55939-3109-49a8-92b1-7de3d74c1023', 'name': 'ctest-vn-57419559', 'tenant_id': 'b1d96bb65066437aa3c5b47f44ea6c6e', 'project_id': 'b1d96bb65066437aa3c5b47f44ea6c6e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09760989', 'ctest-vn-57419559'], 'port_security_enabled': True, 'description': ''}} 2026-02-23 19:06:10,506 - DEBUG - Response for create_subnet : {'subnet': {'id': '88fa6857-2ee6-4379-bd26-82003442daa6', 'name': '', 'tenant_id': 'b1d96bb65066437aa3c5b47f44ea6c6e', 'network_id': 'c2e55939-3109-49a8-92b1-7de3d74c1023', 'ip_version': 4, 'cidr': '124.3.41.128/26', 'allocation_pools': [{'start': '124.3.41.130', 'end': '124.3.41.190'}], 'gateway_ip': '124.3.41.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '124.3.41.130', 'tags': [], 'project_id': 'b1d96bb65066437aa3c5b47f44ea6c6e'}} 2026-02-23 19:06:10,524 - INFO - Created VN ctest-vn-57419559 2026-02-23 19:06:10,574 - DEBUG - VN ctest-vn-57419559 UUID is c2e55939-3109-49a8-92b1-7de3d74c1023 2026-02-23 19:06:10,689 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-09760989:ctest-vn-51437201, 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-09760989:ctest-vn-57419559, 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-23 19:06:11,003 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '404bcd51-f432-413d-a562-d887baf8dd7e', 'name': 'ctest-vn-51437201', 'tenant_id': 'b1d96bb65066437aa3c5b47f44ea6c6e', 'project_id': 'b1d96bb65066437aa3c5b47f44ea6c6e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4fafaf5f-cce7-4edf-970d-432fb6bf4f1c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09760989', 'ctest-vn-51437201'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-09760989', 'ctest-policy-allow-all-01832316']], 'subnet_ipam': [{'subnet_cidr': '51.96.189.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-23 19:06:11,237 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c2e55939-3109-49a8-92b1-7de3d74c1023', 'name': 'ctest-vn-57419559', 'tenant_id': 'b1d96bb65066437aa3c5b47f44ea6c6e', 'project_id': 'b1d96bb65066437aa3c5b47f44ea6c6e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['88fa6857-2ee6-4379-bd26-82003442daa6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09760989', 'ctest-vn-57419559'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-09760989', 'ctest-policy-allow-all-01832316']], 'subnet_ipam': [{'subnet_cidr': '124.3.41.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-23 19:06:11,362 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-23 19:06:11,725 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-23 19:06:11,755 - DEBUG - Requesting: http://10.0.0.38:8082/domain/df73923b-f7bc-4dd3-a681-5519cdc0c4dc 2026-02-23 19:06:11,768 - DEBUG - Requesting: http://10.0.0.38:8082/project/b1d96bb6-5066-437a-a3c5-b47f44ea6c6e 2026-02-23 19:06:11,864 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/404bcd51-f432-413d-a562-d887baf8dd7e 2026-02-23 19:06:11,876 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/404bcd51-f432-413d-a562-d887baf8dd7e 2026-02-23 19:06:11,886 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0deb5248-c3b9-4d5d-863c-a9bcb7f639a9 2026-02-23 19:06:11,895 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0deb5248-c3b9-4d5d-863c-a9bcb7f639a9 2026-02-23 19:06:11,903 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/c66f8947-99c9-48f2-a676-2dd9f23765af 2026-02-23 19:06:11,911 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-23 19:06:11,911 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/404bcd51-f432-413d-a562-d887baf8dd7e 2026-02-23 19:06:11,919 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0deb5248-c3b9-4d5d-863c-a9bcb7f639a9 2026-02-23 19:06:11,939 - INFO - Verified VN network id 9 for VN 404bcd51-f432-413d-a562-d887baf8dd7e 2026-02-23 19:06:11,939 - INFO - Verifications in API Server for VN ctest-vn-51437201 passed 2026-02-23 19:06:11,939 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/404bcd51-f432-413d-a562-d887baf8dd7e 2026-02-23 19:06:11,952 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0deb5248-c3b9-4d5d-863c-a9bcb7f639a9 2026-02-23 19:06:11,960 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0deb5248-c3b9-4d5d-863c-a9bcb7f639a9 2026-02-23 19:06:11,968 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/c66f8947-99c9-48f2-a676-2dd9f23765af 2026-02-23 19:06:11,982 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-09760989:ctest-vn-51437201', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-09760989', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4633022393553666365', 'uuid-lslong': '11917325641444810110'}, 'enable': 'true', 'created': '2026-02-23T19:06:09', 'last-modified': '2026-02-23T19:06:10', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.006991'} 2026-02-23 19:06:11,992 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-23 19:06:11,992 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-51437201 passed 2026-02-23 19:06:11,992 - DEBUG - ====Verifying policy data for ctest-vn-51437201 in API_Server ====== 2026-02-23 19:06:11,992 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-23 19:06:12,000 - DEBUG - Requesting: http://10.0.0.38:8082/domain/df73923b-f7bc-4dd3-a681-5519cdc0c4dc 2026-02-23 19:06:12,014 - DEBUG - Requesting: http://10.0.0.38:8082/project/b1d96bb6-5066-437a-a3c5-b47f44ea6c6e 2026-02-23 19:06:12,092 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/404bcd51-f432-413d-a562-d887baf8dd7e 2026-02-23 19:06:12,107 - DEBUG - ==>Verifying data for policy with id: 7d7507c3-71a4-48b0-a745-36592c6ea1f3, fqn: ['default-domain', 'ctest-TestBasicPolicy-09760989', 'ctest-policy-allow-all-01832316'] 2026-02-23 19:06:12,107 - INFO - VN ctest-vn-51437201 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-23 19:06:12,107 - DEBUG - Verifying the vn in opserver 2026-02-23 19:06:12,107 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-09760989:ctest-vn-51437201 virtual network link through opserver 10.0.0.38 2026-02-23 19:06:12,108 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-02-23 19:06:12,400 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-02-23 19:06:12,489 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-09760989:ctest-vn-51437201', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-09760989:ctest-vn-51437201?flat'} 2026-02-23 19:06:12,489 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-09760989:ctest-vn-51437201 is found in opserver 2026-02-23 19:06:12,501 - DEBUG - Do not have enough data to verify VN in agent 2026-02-23 19:06:12,507 - DEBUG - VRF ids for VN ctest-vn-51437201: {} 2026-02-23 19:06:12,508 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-23 19:06:12,514 - DEBUG - Requesting: http://10.0.0.38:8082/domain/df73923b-f7bc-4dd3-a681-5519cdc0c4dc 2026-02-23 19:06:12,527 - DEBUG - Requesting: http://10.0.0.38:8082/project/b1d96bb6-5066-437a-a3c5-b47f44ea6c6e 2026-02-23 19:06:12,607 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c2e55939-3109-49a8-92b1-7de3d74c1023 2026-02-23 19:06:12,623 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c2e55939-3109-49a8-92b1-7de3d74c1023 2026-02-23 19:06:12,634 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f7c15eee-a5c4-47bb-8752-081b92194bbb 2026-02-23 19:06:12,642 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f7c15eee-a5c4-47bb-8752-081b92194bbb 2026-02-23 19:06:12,648 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/e2b1109e-95d5-4016-baaf-3cb07f5edccd 2026-02-23 19:06:12,656 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-23 19:06:12,656 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c2e55939-3109-49a8-92b1-7de3d74c1023 2026-02-23 19:06:12,665 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f7c15eee-a5c4-47bb-8752-081b92194bbb 2026-02-23 19:06:12,681 - INFO - Verified VN network id 10 for VN c2e55939-3109-49a8-92b1-7de3d74c1023 2026-02-23 19:06:12,681 - INFO - Verifications in API Server for VN ctest-vn-57419559 passed 2026-02-23 19:06:12,681 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c2e55939-3109-49a8-92b1-7de3d74c1023 2026-02-23 19:06:12,691 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f7c15eee-a5c4-47bb-8752-081b92194bbb 2026-02-23 19:06:12,698 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f7c15eee-a5c4-47bb-8752-081b92194bbb 2026-02-23 19:06:12,707 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/e2b1109e-95d5-4016-baaf-3cb07f5edccd 2026-02-23 19:06:12,718 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-09760989:ctest-vn-57419559', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-09760989', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14043729115195460008', 'uuid-lslong': '10570368217938399267'}, 'enable': 'true', 'created': '2026-02-23T19:06:10', 'last-modified': '2026-02-23T19:06:11', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.492470'} 2026-02-23 19:06:12,734 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-23 19:06:12,734 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-57419559 passed 2026-02-23 19:06:12,734 - DEBUG - ====Verifying policy data for ctest-vn-57419559 in API_Server ====== 2026-02-23 19:06:12,734 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-23 19:06:12,742 - DEBUG - Requesting: http://10.0.0.38:8082/domain/df73923b-f7bc-4dd3-a681-5519cdc0c4dc 2026-02-23 19:06:12,752 - DEBUG - Requesting: http://10.0.0.38:8082/project/b1d96bb6-5066-437a-a3c5-b47f44ea6c6e 2026-02-23 19:06:12,827 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c2e55939-3109-49a8-92b1-7de3d74c1023 2026-02-23 19:06:12,836 - DEBUG - ==>Verifying data for policy with id: 7d7507c3-71a4-48b0-a745-36592c6ea1f3, fqn: ['default-domain', 'ctest-TestBasicPolicy-09760989', 'ctest-policy-allow-all-01832316'] 2026-02-23 19:06:12,836 - INFO - VN ctest-vn-57419559 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-23 19:06:12,836 - DEBUG - Verifying the vn in opserver 2026-02-23 19:06:12,836 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-09760989:ctest-vn-57419559 virtual network link through opserver 10.0.0.38 2026-02-23 19:06:12,836 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-02-23 19:06:12,848 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-09760989:ctest-vn-57419559', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-09760989:ctest-vn-57419559?flat'} 2026-02-23 19:06:12,848 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-09760989:ctest-vn-57419559 is found in opserver 2026-02-23 19:06:12,860 - DEBUG - Do not have enough data to verify VN in agent 2026-02-23 19:06:12,865 - DEBUG - VRF ids for VN ctest-vn-57419559: {} 2026-02-23 19:06:12,941 - DEBUG - Services list from nova: [, , ] 2026-02-23 19:06:14,037 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5390-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5390-1) 2026-02-23 19:06:15,331 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5390-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5390-1) 2026-02-23 19:06:15,331 - INFO - Waiting for VM ctest-TestBasicPolicy-09760989-46979067 to be up.. 2026-02-23 19:06:15,421 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-23 19:06:20,501 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-23 19:06:25,577 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-23 19:06:30,664 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-23 19:06:35,752 - DEBUG - VM is in ACTIVE state now 2026-02-23 19:06:35,752 - INFO - VM name : ctest-TestBasicPolicy-09760989-46979067 2026-02-23 19:06:35,837 - DEBUG - VM ctest-TestBasicPolicy-09760989-46979067 ID is 9bff511d-64bd-4646-94c1-4b4aa3ab650d 2026-02-23 19:06:35,859 - DEBUG - VM ctest-TestBasicPolicy-09760989-46979067 launched on Node cn-jenkins-deploy-platform-ansible-os-5390-1 2026-02-23 19:06:35,954 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/9bff511d-64bd-4646-94c1-4b4aa3ab650d 2026-02-23 19:06:35,963 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/d3031615-70d7-432e-ba39-eb582603013e 2026-02-23 19:06:39,236 - 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 1027ms') 2026-02-23 19:06:39,236 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-09760989-46979067 failed! 2026-02-23 19:06:39,296 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-09760989:ctest-vn-51437201 is 51.96.189.65 and allocation pool is NOT set 2026-02-23 19:06:43,367 - 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 1009ms') 2026-02-23 19:06:43,367 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-09760989-46979067 failed! 2026-02-23 19:06:43,426 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-09760989:ctest-vn-51437201 is 51.96.189.65 and allocation pool is NOT set 2026-02-23 19:06:45,488 - 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=5.71 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.524 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.524/3.117/5.711/2.593 ms') 2026-02-23 19:06:45,488 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-09760989-46979067 passed 2026-02-23 19:06:45,642 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-23 19:06:45,642 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-09760989-46979067, IP 51.96.189.67, Port 22 2026-02-23 19:06:45,820 - DEBUG - VM ctest-TestBasicPolicy-09760989-46979067 is ready for SSH connections 2026-02-23 19:06:45,820 - INFO - Waiting for VM ctest-TestBasicPolicy-09760989-97586860 to be up.. 2026-02-23 19:06:45,948 - DEBUG - VM is in ACTIVE state now 2026-02-23 19:06:45,948 - INFO - VM name : ctest-TestBasicPolicy-09760989-97586860 2026-02-23 19:06:46,162 - DEBUG - VM ctest-TestBasicPolicy-09760989-97586860 ID is 83538376-50ac-4247-8f30-98949fac9677 2026-02-23 19:06:46,162 - DEBUG - VM ctest-TestBasicPolicy-09760989-97586860 launched on Node cn-jenkins-deploy-platform-ansible-os-5390-1 2026-02-23 19:06:46,252 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/83538376-50ac-4247-8f30-98949fac9677 2026-02-23 19:06:46,260 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/da3a4735-3fc1-4804-a548-6bdad64394b2 2026-02-23 19:06:47,510 - 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.44 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.501 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 = 0.501/2.470/4.439/1.969 ms') 2026-02-23 19:06:47,511 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-09760989-97586860 passed 2026-02-23 19:06:47,662 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-23 19:06:47,662 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-09760989-97586860, IP 124.3.41.131, Port 22 2026-02-23 19:06:47,832 - DEBUG - VM ctest-TestBasicPolicy-09760989-97586860 is ready for SSH connections 2026-02-23 19:06:47,832 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-23 19:06:47,832 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 124.3.41.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-02-23 19:06:47,832 - DEBUG - ping -s 56 -c 3 -W 1 124.3.41.131 2026-02-23 19:06:51,953 - DEBUG - PING 124.3.41.131 (124.3.41.131): 56 data bytes 64 bytes from 124.3.41.131: seq=0 ttl=63 time=4.541 ms 64 bytes from 124.3.41.131: seq=1 ttl=63 time=1.107 ms 64 bytes from 124.3.41.131: seq=2 ttl=63 time=1.768 ms --- 124.3.41.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.107/2.472/4.541 ms 2026-02-23 19:06:51,953 - INFO - Ping to IP 124.3.41.131 from VM ctest-TestBasicPolicy-09760989-46979067 passed 2026-02-23 19:06:52,166 - DEBUG - Policy Update Response {"network-policy": {"uuid": "7d7507c3-71a4-48b0-a745-36592c6ea1f3", "href": "http://10.0.0.38:8082/network-policy/7d7507c3-71a4-48b0-a745-36592c6ea1f3"}} 2026-02-23 19:06:52,166 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-23 19:06:52,166 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 124.3.41.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-02-23 19:06:52,166 - DEBUG - ping -s 56 -c 3 -W 1 124.3.41.131 2026-02-23 19:06:55,393 - DEBUG - PING 124.3.41.131 (124.3.41.131): 56 data bytes --- 124.3.41.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-23 19:06:55,394 - WARNING - Ping to IP 124.3.41.131 from VM ctest-TestBasicPolicy-09760989-46979067 failed 2026-02-23 19:06:55,394 - INFO - Deleting VM ctest-TestBasicPolicy-09760989-97586860 2026-02-23 19:06:55,473 - INFO - Deleting VM ctest-TestBasicPolicy-09760989-46979067 2026-02-23 19:06:55,896 - INFO - Deleted policy ctest-policy-allow-all-01832316 2026-02-23 19:06:55,896 - INFO - Deleting VN ctest-vn-57419559 2026-02-23 19:06:55,935 - DEBUG - VN c2e55939-3109-49a8-92b1-7de3d74c1023 still in use: Unable to complete operation on network c2e55939-3109-49a8-92b1-7de3d74c1023. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3ccfd73a-57b7-4779-818a-8a40f8c3c06c'] 2026-02-23 19:06:55,935 - WARNING - Deleting VN ctest-vn-57419559 failed..Will retry 2026-02-23 19:06:58,058 - DEBUG - Response for deleting network () 2026-02-23 19:06:58,058 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f7c15eee-a5c4-47bb-8752-081b92194bbb 2026-02-23 19:06:58,067 - DEBUG - Response Code: 404 2026-02-23 19:06:58,067 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-23 19:06:58,074 - DEBUG - Requesting: http://10.0.0.38:8082/domain/df73923b-f7bc-4dd3-a681-5519cdc0c4dc 2026-02-23 19:06:58,132 - DEBUG - Requesting: http://10.0.0.38:8082/project/b1d96bb6-5066-437a-a3c5-b47f44ea6c6e 2026-02-23 19:06:58,204 - INFO - Validated that VN ctest-vn-57419559 is not found in API Server 2026-02-23 19:06:58,215 - DEBUG - VN ctest-vn-57419559 is not present in Agent 10.0.0.38 2026-02-23 19:06:58,215 - INFO - Validated that VN ctest-vn-57419559 is not in any agent 2026-02-23 19:06:58,228 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-57419559 info 2026-02-23 19:06:58,228 - INFO - Deleting VN ctest-vn-51437201 2026-02-23 19:06:58,347 - DEBUG - Response for deleting network () 2026-02-23 19:06:58,347 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0deb5248-c3b9-4d5d-863c-a9bcb7f639a9 2026-02-23 19:06:58,352 - DEBUG - Response Code: 404 2026-02-23 19:06:58,352 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-23 19:06:58,364 - DEBUG - Requesting: http://10.0.0.38:8082/domain/df73923b-f7bc-4dd3-a681-5519cdc0c4dc 2026-02-23 19:06:58,423 - DEBUG - Requesting: http://10.0.0.38:8082/project/b1d96bb6-5066-437a-a3c5-b47f44ea6c6e 2026-02-23 19:06:58,500 - INFO - Validated that VN ctest-vn-51437201 is not found in API Server 2026-02-23 19:06:58,510 - DEBUG - VN ctest-vn-51437201 is not present in Agent 10.0.0.38 2026-02-23 19:06:58,510 - INFO - Validated that VN ctest-vn-51437201 is not in any agent 2026-02-23 19:06:58,526 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-51437201 info 2026-02-23 19:06:58,788 - DEBUG - No XMPP flaps were noticed during the test 2026-02-23 19:06:58,788 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:50] 2026-02-23 19:06:58,788 - INFO - -------------------------------------------------------------------------------- 2026-02-23 19:06:59,577 - INFO - Deleted project: ctest-TestBasicPolicy-09760989, ID : b1d96bb6-5066-437a-a3c5-b47f44ea6c6e