2026-04-02 17:53:47,975 - INFO - Domain Default found not creating 2026-04-02 17:53:48,140 - INFO - Project ctest-TestBasicPolicy-69001626 not found, creating it 2026-04-02 17:53:48,589 - INFO - Created Project:ctest-TestBasicPolicy-69001626, ID : a1829416-bd27-4681-afd3-5afbde24a789 2026-04-02 17:53:50,068 - INFO - ================================================================================ 2026-04-02 17:53:50,068 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-04-02 17:53:50,068 - 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-04-02 17:53:50,324 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-04-02 17:53:50,324 - INFO - Initial checks done. Running the testcase now 2026-04-02 17:53:50,324 - INFO - 2026-04-02 17:53:50,898 - DEBUG - Response for create_network : {'network': {'id': 'b6823da9-a359-4900-9b12-7ca19373b4a4', 'name': 'ctest-vn-65051078', 'tenant_id': 'a1829416bd274681afd35afbde24a789', 'project_id': 'a1829416bd274681afd35afbde24a789', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-69001626', 'ctest-vn-65051078'], 'port_security_enabled': True, 'description': ''}} 2026-04-02 17:53:51,052 - DEBUG - Response for create_subnet : {'subnet': {'id': '8bbae06b-02f4-49a9-9619-45a40cc4743d', 'name': '', 'tenant_id': 'a1829416bd274681afd35afbde24a789', 'network_id': 'b6823da9-a359-4900-9b12-7ca19373b4a4', 'ip_version': 4, 'cidr': '60.159.35.192/26', 'allocation_pools': [{'start': '60.159.35.194', 'end': '60.159.35.254'}], 'gateway_ip': '60.159.35.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '60.159.35.194', 'tags': [], 'project_id': 'a1829416bd274681afd35afbde24a789'}} 2026-04-02 17:53:51,072 - INFO - Created VN ctest-vn-65051078 2026-04-02 17:53:51,125 - DEBUG - VN ctest-vn-65051078 UUID is b6823da9-a359-4900-9b12-7ca19373b4a4 2026-04-02 17:53:51,425 - DEBUG - Response for create_network : {'network': {'id': '82b08ab1-4f9b-402c-a04d-5149e69136c8', 'name': 'ctest-vn-46642639', 'tenant_id': 'a1829416bd274681afd35afbde24a789', 'project_id': 'a1829416bd274681afd35afbde24a789', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-69001626', 'ctest-vn-46642639'], 'port_security_enabled': True, 'description': ''}} 2026-04-02 17:53:51,612 - DEBUG - Response for create_subnet : {'subnet': {'id': '49bafc85-f83b-4fa1-81af-d946bfaec7e1', 'name': '', 'tenant_id': 'a1829416bd274681afd35afbde24a789', 'network_id': '82b08ab1-4f9b-402c-a04d-5149e69136c8', 'ip_version': 4, 'cidr': '139.17.164.128/26', 'allocation_pools': [{'start': '139.17.164.130', 'end': '139.17.164.190'}], 'gateway_ip': '139.17.164.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '139.17.164.130', 'tags': [], 'project_id': 'a1829416bd274681afd35afbde24a789'}} 2026-04-02 17:53:51,633 - INFO - Created VN ctest-vn-46642639 2026-04-02 17:53:51,685 - DEBUG - VN ctest-vn-46642639 UUID is 82b08ab1-4f9b-402c-a04d-5149e69136c8 2026-04-02 17:53:51,801 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-69001626:ctest-vn-65051078, 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-69001626:ctest-vn-46642639, 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-04-02 17:53:52,108 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b6823da9-a359-4900-9b12-7ca19373b4a4', 'name': 'ctest-vn-65051078', 'tenant_id': 'a1829416bd274681afd35afbde24a789', 'project_id': 'a1829416bd274681afd35afbde24a789', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8bbae06b-02f4-49a9-9619-45a40cc4743d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-69001626', 'ctest-vn-65051078'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-69001626', 'ctest-policy-allow-all-05597045']], 'subnet_ipam': [{'subnet_cidr': '60.159.35.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-02 17:53:52,392 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '82b08ab1-4f9b-402c-a04d-5149e69136c8', 'name': 'ctest-vn-46642639', 'tenant_id': 'a1829416bd274681afd35afbde24a789', 'project_id': 'a1829416bd274681afd35afbde24a789', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['49bafc85-f83b-4fa1-81af-d946bfaec7e1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-69001626', 'ctest-vn-46642639'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-69001626', 'ctest-policy-allow-all-05597045']], 'subnet_ipam': [{'subnet_cidr': '139.17.164.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-02 17:53:52,545 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-02 17:53:52,842 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-02 17:53:52,872 - DEBUG - Requesting: http://10.0.0.50:8082/domain/dfeab000-f59b-47ef-9f0e-fcf45df100a0 2026-04-02 17:53:52,890 - DEBUG - Requesting: http://10.0.0.50:8082/project/a1829416-bd27-4681-afd3-5afbde24a789 2026-04-02 17:53:52,961 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b6823da9-a359-4900-9b12-7ca19373b4a4 2026-04-02 17:53:52,972 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b6823da9-a359-4900-9b12-7ca19373b4a4 2026-04-02 17:53:52,984 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5843462f-760c-49c7-a754-399b653deb0d 2026-04-02 17:53:52,992 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5843462f-760c-49c7-a754-399b653deb0d 2026-04-02 17:53:52,999 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/63fa7592-7d86-478a-9125-8b515bdb2e34 2026-04-02 17:53:53,006 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-02 17:53:53,007 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b6823da9-a359-4900-9b12-7ca19373b4a4 2026-04-02 17:53:53,016 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5843462f-760c-49c7-a754-399b653deb0d 2026-04-02 17:53:53,031 - INFO - Verified VN network id 11 for VN b6823da9-a359-4900-9b12-7ca19373b4a4 2026-04-02 17:53:53,031 - INFO - Verifications in API Server for VN ctest-vn-65051078 passed 2026-04-02 17:53:53,031 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b6823da9-a359-4900-9b12-7ca19373b4a4 2026-04-02 17:53:53,040 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5843462f-760c-49c7-a754-399b653deb0d 2026-04-02 17:53:53,048 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5843462f-760c-49c7-a754-399b653deb0d 2026-04-02 17:53:53,055 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/63fa7592-7d86-478a-9125-8b515bdb2e34 2026-04-02 17:53:53,066 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-69001626:ctest-vn-65051078', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-69001626', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13151141660674574592', 'uuid-lslong': '11174130658865034404'}, 'enable': 'true', 'created': '2026-04-02T17:53:50', 'last-modified': '2026-04-02T17:53:52', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.984125'} 2026-04-02 17:53:53,072 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-02 17:53:53,072 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-65051078 passed 2026-04-02 17:53:53,072 - DEBUG - ====Verifying policy data for ctest-vn-65051078 in API_Server ====== 2026-04-02 17:53:53,072 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-02 17:53:53,078 - DEBUG - Requesting: http://10.0.0.50:8082/domain/dfeab000-f59b-47ef-9f0e-fcf45df100a0 2026-04-02 17:53:53,089 - DEBUG - Requesting: http://10.0.0.50:8082/project/a1829416-bd27-4681-afd3-5afbde24a789 2026-04-02 17:53:53,162 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b6823da9-a359-4900-9b12-7ca19373b4a4 2026-04-02 17:53:53,171 - DEBUG - ==>Verifying data for policy with id: d23c2ddc-1af1-4dd7-bd4a-44d84340949b, fqn: ['default-domain', 'ctest-TestBasicPolicy-69001626', 'ctest-policy-allow-all-05597045'] 2026-04-02 17:53:53,171 - INFO - VN ctest-vn-65051078 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-02 17:53:53,171 - DEBUG - Verifying the vn in opserver 2026-04-02 17:53:53,172 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-69001626:ctest-vn-65051078 virtual network link through opserver 10.0.0.50 2026-04-02 17:53:53,172 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-04-02 17:53:53,466 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-04-02 17:53:53,529 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-69001626:ctest-vn-65051078', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-69001626:ctest-vn-65051078?flat'} 2026-04-02 17:53:53,529 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-69001626:ctest-vn-65051078 is found in opserver 2026-04-02 17:53:53,539 - DEBUG - Do not have enough data to verify VN in agent 2026-04-02 17:53:53,543 - DEBUG - VRF ids for VN ctest-vn-65051078: {} 2026-04-02 17:53:53,543 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-02 17:53:53,549 - DEBUG - Requesting: http://10.0.0.50:8082/domain/dfeab000-f59b-47ef-9f0e-fcf45df100a0 2026-04-02 17:53:53,559 - DEBUG - Requesting: http://10.0.0.50:8082/project/a1829416-bd27-4681-afd3-5afbde24a789 2026-04-02 17:53:53,625 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/82b08ab1-4f9b-402c-a04d-5149e69136c8 2026-04-02 17:53:53,638 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/82b08ab1-4f9b-402c-a04d-5149e69136c8 2026-04-02 17:53:53,648 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3518121c-00a6-4baa-b34b-72c8b9c5dbf8 2026-04-02 17:53:53,656 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3518121c-00a6-4baa-b34b-72c8b9c5dbf8 2026-04-02 17:53:53,663 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/de8bb143-ad84-4656-a97f-91c9bb17f13d 2026-04-02 17:53:53,671 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-02 17:53:53,671 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/82b08ab1-4f9b-402c-a04d-5149e69136c8 2026-04-02 17:53:53,681 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3518121c-00a6-4baa-b34b-72c8b9c5dbf8 2026-04-02 17:53:53,696 - INFO - Verified VN network id 12 for VN 82b08ab1-4f9b-402c-a04d-5149e69136c8 2026-04-02 17:53:53,696 - INFO - Verifications in API Server for VN ctest-vn-46642639 passed 2026-04-02 17:53:53,696 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/82b08ab1-4f9b-402c-a04d-5149e69136c8 2026-04-02 17:53:53,704 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3518121c-00a6-4baa-b34b-72c8b9c5dbf8 2026-04-02 17:53:53,711 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3518121c-00a6-4baa-b34b-72c8b9c5dbf8 2026-04-02 17:53:53,718 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/de8bb143-ad84-4656-a97f-91c9bb17f13d 2026-04-02 17:53:53,729 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-69001626:ctest-vn-46642639', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-69001626', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9417179314981126188', 'uuid-lslong': '11550977997117929160'}, 'enable': 'true', 'created': '2026-04-02T17:53:51', 'last-modified': '2026-04-02T17:53:52', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.405360'} 2026-04-02 17:53:53,734 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-02 17:53:53,734 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-46642639 passed 2026-04-02 17:53:53,735 - DEBUG - ====Verifying policy data for ctest-vn-46642639 in API_Server ====== 2026-04-02 17:53:53,735 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-02 17:53:53,740 - DEBUG - Requesting: http://10.0.0.50:8082/domain/dfeab000-f59b-47ef-9f0e-fcf45df100a0 2026-04-02 17:53:53,750 - DEBUG - Requesting: http://10.0.0.50:8082/project/a1829416-bd27-4681-afd3-5afbde24a789 2026-04-02 17:53:53,818 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/82b08ab1-4f9b-402c-a04d-5149e69136c8 2026-04-02 17:53:53,827 - DEBUG - ==>Verifying data for policy with id: d23c2ddc-1af1-4dd7-bd4a-44d84340949b, fqn: ['default-domain', 'ctest-TestBasicPolicy-69001626', 'ctest-policy-allow-all-05597045'] 2026-04-02 17:53:53,827 - INFO - VN ctest-vn-46642639 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-02 17:53:53,827 - DEBUG - Verifying the vn in opserver 2026-04-02 17:53:53,827 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-69001626:ctest-vn-46642639 virtual network link through opserver 10.0.0.50 2026-04-02 17:53:53,827 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-04-02 17:53:53,836 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-69001626:ctest-vn-46642639', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-69001626:ctest-vn-46642639?flat'} 2026-04-02 17:53:53,836 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-69001626:ctest-vn-46642639 is found in opserver 2026-04-02 17:53:53,845 - DEBUG - Do not have enough data to verify VN in agent 2026-04-02 17:53:53,849 - DEBUG - VRF ids for VN ctest-vn-46642639: {} 2026-04-02 17:53:53,905 - DEBUG - Services list from nova: [, , ] 2026-04-02 17:53:54,934 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5585-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5585-1) 2026-04-02 17:53:56,045 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5585-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5585-1) 2026-04-02 17:53:56,045 - INFO - Waiting for VM ctest-TestBasicPolicy-69001626-84266871 to be up.. 2026-04-02 17:53:56,119 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-02 17:54:01,248 - DEBUG - VM is in ACTIVE state now 2026-04-02 17:54:01,248 - INFO - VM name : ctest-TestBasicPolicy-69001626-84266871 2026-04-02 17:54:01,327 - DEBUG - VM ctest-TestBasicPolicy-69001626-84266871 ID is b7d47ac6-8508-41d6-b43f-1d09881f43fe 2026-04-02 17:54:01,348 - DEBUG - VM ctest-TestBasicPolicy-69001626-84266871 launched on Node cn-jenkins-deploy-platform-ansible-os-5585-1 2026-04-02 17:54:01,423 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/b7d47ac6-8508-41d6-b43f-1d09881f43fe 2026-04-02 17:54:01,431 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/72e401ec-a404-476c-9880-3fe26885cdb1 2026-04-02 17:54:04,705 - 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 1028ms') 2026-04-02 17:54:04,705 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-69001626-84266871 failed! 2026-04-02 17:54:04,761 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-69001626:ctest-vn-65051078 is 60.159.35.193 and allocation pool is NOT set 2026-04-02 17:54:06,824 - 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=6.28 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.48 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 = 3.479/4.878/6.277/1.399 ms') 2026-04-02 17:54:06,824 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-69001626-84266871 passed 2026-04-02 17:54:06,973 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-02 17:54:06,973 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-69001626-84266871, IP 60.159.35.195, Port 22 2026-04-02 17:54:07,039 - 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-04-02 17:54:07,125 - DEBUG - VM ctest-TestBasicPolicy-69001626-84266871 is NOT ready for SSH connections, VM status: ACTIVE 2026-04-02 17:54:12,126 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-02 17:54:12,126 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-69001626-84266871, IP 60.159.35.195, Port 22 2026-04-02 17:54:12,281 - DEBUG - VM ctest-TestBasicPolicy-69001626-84266871 is ready for SSH connections 2026-04-02 17:54:12,281 - INFO - Waiting for VM ctest-TestBasicPolicy-69001626-80085940 to be up.. 2026-04-02 17:54:12,350 - DEBUG - VM is in ACTIVE state now 2026-04-02 17:54:12,350 - INFO - VM name : ctest-TestBasicPolicy-69001626-80085940 2026-04-02 17:54:12,428 - DEBUG - VM ctest-TestBasicPolicy-69001626-80085940 ID is 241e9053-86e5-482a-b96e-ae7e2e799db4 2026-04-02 17:54:12,428 - DEBUG - VM ctest-TestBasicPolicy-69001626-80085940 launched on Node cn-jenkins-deploy-platform-ansible-os-5585-1 2026-04-02 17:54:12,507 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/241e9053-86e5-482a-b96e-ae7e2e799db4 2026-04-02 17:54:12,515 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/21a15393-f4c6-4908-add1-edd07a037503 2026-04-02 17:54:13,751 - 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=2.83 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.462 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.462/1.648/2.834/1.186 ms') 2026-04-02 17:54:13,751 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-69001626-80085940 passed 2026-04-02 17:54:13,898 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-02 17:54:13,898 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-69001626-80085940, IP 139.17.164.131, Port 22 2026-04-02 17:54:14,053 - DEBUG - VM ctest-TestBasicPolicy-69001626-80085940 is ready for SSH connections 2026-04-02 17:54:14,053 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-02 17:54:14,053 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 139.17.164.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-04-02 17:54:14,053 - DEBUG - ping -s 56 -c 3 -W 1 139.17.164.131 2026-04-02 17:54:17,747 - DEBUG - PING 139.17.164.131 (139.17.164.131): 56 data bytes 64 bytes from 139.17.164.131: seq=0 ttl=63 time=3.410 ms 64 bytes from 139.17.164.131: seq=1 ttl=63 time=0.824 ms 64 bytes from 139.17.164.131: seq=2 ttl=63 time=0.710 ms --- 139.17.164.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.710/1.648/3.410 ms 2026-04-02 17:54:17,748 - INFO - Ping to IP 139.17.164.131 from VM ctest-TestBasicPolicy-69001626-84266871 passed 2026-04-02 17:54:17,925 - DEBUG - Policy Update Response {"network-policy": {"uuid": "d23c2ddc-1af1-4dd7-bd4a-44d84340949b", "href": "http://10.0.0.50:8082/network-policy/d23c2ddc-1af1-4dd7-bd4a-44d84340949b"}} 2026-04-02 17:54:17,925 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-02 17:54:17,925 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 139.17.164.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-04-02 17:54:17,925 - DEBUG - ping -s 56 -c 3 -W 1 139.17.164.131 2026-04-02 17:54:21,172 - DEBUG - PING 139.17.164.131 (139.17.164.131): 56 data bytes --- 139.17.164.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-04-02 17:54:21,172 - WARNING - Ping to IP 139.17.164.131 from VM ctest-TestBasicPolicy-69001626-84266871 failed 2026-04-02 17:54:21,172 - INFO - Deleting VM ctest-TestBasicPolicy-69001626-80085940 2026-04-02 17:54:21,287 - INFO - Deleting VM ctest-TestBasicPolicy-69001626-84266871 2026-04-02 17:54:21,687 - INFO - Deleted policy ctest-policy-allow-all-05597045 2026-04-02 17:54:21,688 - INFO - Deleting VN ctest-vn-46642639 2026-04-02 17:54:21,731 - DEBUG - VN 82b08ab1-4f9b-402c-a04d-5149e69136c8 still in use: Unable to complete operation on network 82b08ab1-4f9b-402c-a04d-5149e69136c8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f378e392-f0c9-4f7c-b2ef-c6b9b5214a17'] 2026-04-02 17:54:21,731 - WARNING - Deleting VN ctest-vn-46642639 failed..Will retry 2026-04-02 17:54:23,834 - DEBUG - Response for deleting network () 2026-04-02 17:54:23,834 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3518121c-00a6-4baa-b34b-72c8b9c5dbf8 2026-04-02 17:54:23,840 - DEBUG - Response Code: 404 2026-04-02 17:54:23,840 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-02 17:54:23,844 - DEBUG - Requesting: http://10.0.0.50:8082/domain/dfeab000-f59b-47ef-9f0e-fcf45df100a0 2026-04-02 17:54:23,900 - DEBUG - Requesting: http://10.0.0.50:8082/project/a1829416-bd27-4681-afd3-5afbde24a789 2026-04-02 17:54:23,968 - INFO - Validated that VN ctest-vn-46642639 is not found in API Server 2026-04-02 17:54:23,976 - DEBUG - VN ctest-vn-46642639 is not present in Agent 10.0.0.50 2026-04-02 17:54:23,976 - INFO - Validated that VN ctest-vn-46642639 is not in any agent 2026-04-02 17:54:23,989 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-46642639 info 2026-04-02 17:54:23,989 - INFO - Deleting VN ctest-vn-65051078 2026-04-02 17:54:24,082 - DEBUG - Response for deleting network () 2026-04-02 17:54:24,082 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5843462f-760c-49c7-a754-399b653deb0d 2026-04-02 17:54:24,089 - DEBUG - Response Code: 404 2026-04-02 17:54:24,089 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-02 17:54:24,096 - DEBUG - Requesting: http://10.0.0.50:8082/domain/dfeab000-f59b-47ef-9f0e-fcf45df100a0 2026-04-02 17:54:24,151 - DEBUG - Requesting: http://10.0.0.50:8082/project/a1829416-bd27-4681-afd3-5afbde24a789 2026-04-02 17:54:24,224 - INFO - Validated that VN ctest-vn-65051078 is not found in API Server 2026-04-02 17:54:24,235 - DEBUG - VN ctest-vn-65051078 is not present in Agent 10.0.0.50 2026-04-02 17:54:24,235 - INFO - Validated that VN ctest-vn-65051078 is not in any agent 2026-04-02 17:54:24,249 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-65051078 info 2026-04-02 17:54:24,502 - DEBUG - No XMPP flaps were noticed during the test 2026-04-02 17:54:24,502 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:34] 2026-04-02 17:54:24,502 - INFO - -------------------------------------------------------------------------------- 2026-04-02 17:54:25,183 - INFO - Deleted project: ctest-TestBasicPolicy-69001626, ID : a1829416-bd27-4681-afd3-5afbde24a789