2026-09-02 05:45:54,822 - INFO - Domain Default found not creating 2026-09-02 05:45:55,017 - INFO - Project ctest-TestBasicPolicy-49223254 not found, creating it 2026-09-02 05:45:55,530 - INFO - Created Project:ctest-TestBasicPolicy-49223254, ID : eee49780-66ec-45c0-8564-8f74c3e52698 2026-09-02 05:45:57,358 - INFO - ================================================================================ 2026-09-02 05:45:57,358 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-09-02 05:45:57,359 - 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-02 05:45:57,637 - DEBUG - Nothing to compare xmpp stats {'10.0.0.248': {'10.20.0.25': '0'}} with 2026-09-02 05:45:57,637 - INFO - Initial checks done. Running the testcase now 2026-09-02 05:45:57,638 - INFO - 2026-09-02 05:45:58,308 - DEBUG - Response for create_network : {'network': {'id': '356d9d2b-5fe7-4dcd-9e9c-808d2d288e4f', 'name': 'ctest-vn-75531591', 'tenant_id': 'eee4978066ec45c085648f74c3e52698', 'project_id': 'eee4978066ec45c085648f74c3e52698', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49223254', 'ctest-vn-75531591'], 'port_security_enabled': True, 'description': ''}} 2026-09-02 05:45:58,534 - DEBUG - Response for create_subnet : {'subnet': {'id': '29df4260-669b-4851-ad78-b6476a7b4303', 'name': '', 'tenant_id': 'eee4978066ec45c085648f74c3e52698', 'network_id': '356d9d2b-5fe7-4dcd-9e9c-808d2d288e4f', 'ip_version': 4, 'cidr': '73.204.244.128/26', 'allocation_pools': [{'start': '73.204.244.130', 'end': '73.204.244.190'}], 'gateway_ip': '73.204.244.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '73.204.244.130', 'tags': [], 'project_id': 'eee4978066ec45c085648f74c3e52698'}} 2026-09-02 05:45:58,553 - INFO - Created VN ctest-vn-75531591 2026-09-02 05:45:58,606 - DEBUG - VN ctest-vn-75531591 UUID is 356d9d2b-5fe7-4dcd-9e9c-808d2d288e4f 2026-09-02 05:45:58,954 - DEBUG - Response for create_network : {'network': {'id': 'df88de67-584d-44b0-8fc1-b9d710f17577', 'name': 'ctest-vn-44914078', 'tenant_id': 'eee4978066ec45c085648f74c3e52698', 'project_id': 'eee4978066ec45c085648f74c3e52698', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49223254', 'ctest-vn-44914078'], 'port_security_enabled': True, 'description': ''}} 2026-09-02 05:45:59,208 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd38aa7dd-9c7e-4e88-84ec-ed956981805a', 'name': '', 'tenant_id': 'eee4978066ec45c085648f74c3e52698', 'network_id': 'df88de67-584d-44b0-8fc1-b9d710f17577', 'ip_version': 4, 'cidr': '107.229.131.128/26', 'allocation_pools': [{'start': '107.229.131.130', 'end': '107.229.131.190'}], 'gateway_ip': '107.229.131.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '107.229.131.130', 'tags': [], 'project_id': 'eee4978066ec45c085648f74c3e52698'}} 2026-09-02 05:45:59,230 - INFO - Created VN ctest-vn-44914078 2026-09-02 05:45:59,286 - DEBUG - VN ctest-vn-44914078 UUID is df88de67-584d-44b0-8fc1-b9d710f17577 2026-09-02 05:45:59,407 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-49223254:ctest-vn-75531591, 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-49223254:ctest-vn-44914078, 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-02 05:45:59,746 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '356d9d2b-5fe7-4dcd-9e9c-808d2d288e4f', 'name': 'ctest-vn-75531591', 'tenant_id': 'eee4978066ec45c085648f74c3e52698', 'project_id': 'eee4978066ec45c085648f74c3e52698', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['29df4260-669b-4851-ad78-b6476a7b4303'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49223254', 'ctest-vn-75531591'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-49223254', 'ctest-policy-allow-all-07083695']], 'subnet_ipam': [{'subnet_cidr': '73.204.244.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-02 05:46:00,003 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'df88de67-584d-44b0-8fc1-b9d710f17577', 'name': 'ctest-vn-44914078', 'tenant_id': 'eee4978066ec45c085648f74c3e52698', 'project_id': 'eee4978066ec45c085648f74c3e52698', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['d38aa7dd-9c7e-4e88-84ec-ed956981805a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49223254', 'ctest-vn-44914078'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-49223254', 'ctest-policy-allow-all-07083695']], 'subnet_ipam': [{'subnet_cidr': '107.229.131.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-02 05:46:00,178 - DEBUG - Requesting: http://10.0.0.248:8082/domains 2026-09-02 05:46:00,559 - DEBUG - Requesting: http://10.0.0.248:8082/domains 2026-09-02 05:46:00,594 - DEBUG - Requesting: http://10.0.0.248:8082/domain/bdf94108-fb6d-4a9c-b6bc-d43eb5fdac8f 2026-09-02 05:46:00,611 - DEBUG - Requesting: http://10.0.0.248:8082/project/eee49780-66ec-45c0-8564-8f74c3e52698 2026-09-02 05:46:00,706 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/356d9d2b-5fe7-4dcd-9e9c-808d2d288e4f 2026-09-02 05:46:00,721 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/356d9d2b-5fe7-4dcd-9e9c-808d2d288e4f 2026-09-02 05:46:00,732 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/e8e8d24f-2df4-4a9a-82e7-9c97fbb310d1 2026-09-02 05:46:00,742 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/e8e8d24f-2df4-4a9a-82e7-9c97fbb310d1 2026-09-02 05:46:00,751 - DEBUG - Requesting: http://10.0.0.248:8082/route-target/87c271e6-17df-4b91-9dfe-284f06fb036d 2026-09-02 05:46:00,760 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-02 05:46:00,760 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/356d9d2b-5fe7-4dcd-9e9c-808d2d288e4f 2026-09-02 05:46:00,771 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/e8e8d24f-2df4-4a9a-82e7-9c97fbb310d1 2026-09-02 05:46:00,789 - INFO - Verified VN network id 12 for VN 356d9d2b-5fe7-4dcd-9e9c-808d2d288e4f 2026-09-02 05:46:00,789 - INFO - Verifications in API Server for VN ctest-vn-75531591 passed 2026-09-02 05:46:00,789 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/356d9d2b-5fe7-4dcd-9e9c-808d2d288e4f 2026-09-02 05:46:00,803 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/e8e8d24f-2df4-4a9a-82e7-9c97fbb310d1 2026-09-02 05:46:00,812 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/e8e8d24f-2df4-4a9a-82e7-9c97fbb310d1 2026-09-02 05:46:00,822 - DEBUG - Requesting: http://10.0.0.248:8082/route-target/87c271e6-17df-4b91-9dfe-284f06fb036d 2026-09-02 05:46:00,838 - DEBUG - Control-node 10.0.0.248 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-49223254:ctest-vn-75531591', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-49223254', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3849906066089790925', 'uuid-lslong': '11429151298195852879'}, 'enable': 'true', 'created': '2026-09-02T05:45:58', 'last-modified': '2026-09-02T05:45:59', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.128904'} 2026-09-02 05:46:00,846 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-02 05:46:00,846 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-75531591 passed 2026-09-02 05:46:00,846 - DEBUG - ====Verifying policy data for ctest-vn-75531591 in API_Server ====== 2026-09-02 05:46:00,846 - DEBUG - Requesting: http://10.0.0.248:8082/domains 2026-09-02 05:46:00,853 - DEBUG - Requesting: http://10.0.0.248:8082/domain/bdf94108-fb6d-4a9c-b6bc-d43eb5fdac8f 2026-09-02 05:46:00,866 - DEBUG - Requesting: http://10.0.0.248:8082/project/eee49780-66ec-45c0-8564-8f74c3e52698 2026-09-02 05:46:00,952 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/356d9d2b-5fe7-4dcd-9e9c-808d2d288e4f 2026-09-02 05:46:00,964 - DEBUG - ==>Verifying data for policy with id: 87a5e2aa-3515-4e9a-b89c-1ab46e988090, fqn: ['default-domain', 'ctest-TestBasicPolicy-49223254', 'ctest-policy-allow-all-07083695'] 2026-09-02 05:46:00,964 - INFO - VN ctest-vn-75531591 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-02 05:46:00,964 - DEBUG - Verifying the vn in opserver 2026-09-02 05:46:00,964 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-49223254:ctest-vn-75531591 virtual network link through opserver 10.0.0.248 2026-09-02 05:46:00,964 - DEBUG - Requesting: http://10.0.0.248:8081/analytics/uves/virtual-networks 2026-09-02 05:46:01,346 - DEBUG - Requesting: http://10.0.0.248:8081/analytics/uves/virtual-networks 2026-09-02 05:46:01,427 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-49223254:ctest-vn-75531591', 'href': 'http://10.0.0.248:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-49223254:ctest-vn-75531591?flat'} 2026-09-02 05:46:01,427 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-49223254:ctest-vn-75531591 is found in opserver 2026-09-02 05:46:01,443 - DEBUG - Do not have enough data to verify VN in agent 2026-09-02 05:46:01,451 - DEBUG - VRF ids for VN ctest-vn-75531591: {} 2026-09-02 05:46:01,451 - DEBUG - Requesting: http://10.0.0.248:8082/domains 2026-09-02 05:46:01,459 - DEBUG - Requesting: http://10.0.0.248:8082/domain/bdf94108-fb6d-4a9c-b6bc-d43eb5fdac8f 2026-09-02 05:46:01,474 - DEBUG - Requesting: http://10.0.0.248:8082/project/eee49780-66ec-45c0-8564-8f74c3e52698 2026-09-02 05:46:01,557 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/df88de67-584d-44b0-8fc1-b9d710f17577 2026-09-02 05:46:01,573 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/df88de67-584d-44b0-8fc1-b9d710f17577 2026-09-02 05:46:01,587 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/891d40cf-0082-4358-8dc0-b4068835c4bf 2026-09-02 05:46:01,598 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/891d40cf-0082-4358-8dc0-b4068835c4bf 2026-09-02 05:46:01,607 - DEBUG - Requesting: http://10.0.0.248:8082/route-target/ef3d13fc-ddba-40c9-8da4-64f01566e995 2026-09-02 05:46:01,615 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-02 05:46:01,615 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/df88de67-584d-44b0-8fc1-b9d710f17577 2026-09-02 05:46:01,627 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/891d40cf-0082-4358-8dc0-b4068835c4bf 2026-09-02 05:46:01,656 - INFO - Verified VN network id 13 for VN df88de67-584d-44b0-8fc1-b9d710f17577 2026-09-02 05:46:01,656 - INFO - Verifications in API Server for VN ctest-vn-44914078 passed 2026-09-02 05:46:01,657 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/df88de67-584d-44b0-8fc1-b9d710f17577 2026-09-02 05:46:01,670 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/891d40cf-0082-4358-8dc0-b4068835c4bf 2026-09-02 05:46:01,679 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/891d40cf-0082-4358-8dc0-b4068835c4bf 2026-09-02 05:46:01,690 - DEBUG - Requesting: http://10.0.0.248:8082/route-target/ef3d13fc-ddba-40c9-8da4-64f01566e995 2026-09-02 05:46:01,713 - DEBUG - Control-node 10.0.0.248 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-49223254:ctest-vn-44914078', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-49223254', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16107368602735035568', 'uuid-lslong': '10358764951282218359'}, 'enable': 'true', 'created': '2026-09-02T05:45:58', 'last-modified': '2026-09-02T05:45:59', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.746913'} 2026-09-02 05:46:01,722 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-02 05:46:01,722 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-44914078 passed 2026-09-02 05:46:01,722 - DEBUG - ====Verifying policy data for ctest-vn-44914078 in API_Server ====== 2026-09-02 05:46:01,722 - DEBUG - Requesting: http://10.0.0.248:8082/domains 2026-09-02 05:46:01,731 - DEBUG - Requesting: http://10.0.0.248:8082/domain/bdf94108-fb6d-4a9c-b6bc-d43eb5fdac8f 2026-09-02 05:46:01,746 - DEBUG - Requesting: http://10.0.0.248:8082/project/eee49780-66ec-45c0-8564-8f74c3e52698 2026-09-02 05:46:01,825 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/df88de67-584d-44b0-8fc1-b9d710f17577 2026-09-02 05:46:01,842 - DEBUG - ==>Verifying data for policy with id: 87a5e2aa-3515-4e9a-b89c-1ab46e988090, fqn: ['default-domain', 'ctest-TestBasicPolicy-49223254', 'ctest-policy-allow-all-07083695'] 2026-09-02 05:46:01,842 - INFO - VN ctest-vn-44914078 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-02 05:46:01,842 - DEBUG - Verifying the vn in opserver 2026-09-02 05:46:01,842 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-49223254:ctest-vn-44914078 virtual network link through opserver 10.0.0.248 2026-09-02 05:46:01,842 - DEBUG - Requesting: http://10.0.0.248:8081/analytics/uves/virtual-networks 2026-09-02 05:46:01,858 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-49223254:ctest-vn-44914078', 'href': 'http://10.0.0.248:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-49223254:ctest-vn-44914078?flat'} 2026-09-02 05:46:01,858 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-49223254:ctest-vn-44914078 is found in opserver 2026-09-02 05:46:01,875 - DEBUG - Do not have enough data to verify VN in agent 2026-09-02 05:46:01,880 - DEBUG - VRF ids for VN ctest-vn-44914078: {} 2026-09-02 05:46:01,953 - DEBUG - Services list from nova: [, , ] 2026-09-02 05:46:02,548 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6246-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6246-1) 2026-09-02 05:46:03,049 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6246-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6246-1) 2026-09-02 05:46:03,049 - INFO - Waiting for VM ctest-TestBasicPolicy-49223254-55692562 to be up.. 2026-09-02 05:46:03,109 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-02 05:46:08,201 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-02 05:46:13,303 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-02 05:46:18,404 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-02 05:46:23,498 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-02 05:46:28,629 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-02 05:46:33,724 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-02 05:46:38,818 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-02 05:46:43,906 - DEBUG - VM is in ACTIVE state now 2026-09-02 05:46:43,906 - INFO - VM name : ctest-TestBasicPolicy-49223254-55692562 2026-09-02 05:46:44,011 - DEBUG - VM ctest-TestBasicPolicy-49223254-55692562 ID is d347a3f4-18af-4d65-9ece-3a5937aab9be 2026-09-02 05:46:44,057 - DEBUG - VM ctest-TestBasicPolicy-49223254-55692562 launched on Node cn-jenkins-deploy-platform-ansible-os-6246-1 2026-09-02 05:46:44,165 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-machine/d347a3f4-18af-4d65-9ece-3a5937aab9be 2026-09-02 05:46:44,177 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-machine-interface/7bc3d3a7-9156-4553-9f3d-a13d97340db8 2026-09-02 05:46:47,473 - 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-09-02 05:46:47,473 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-49223254-55692562 failed! 2026-09-02 05:46:47,530 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-49223254:ctest-vn-75531591 is 73.204.244.129 and allocation pool is NOT set 2026-09-02 05:46:49,602 - 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=3.84 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.557 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.557/2.198/3.840/1.641 ms') 2026-09-02 05:46:49,602 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-49223254-55692562 passed 2026-09-02 05:46:49,758 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-02 05:46:49,759 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-49223254-55692562, IP 73.204.244.131, Port 22 2026-09-02 05:46:49,928 - DEBUG - VM ctest-TestBasicPolicy-49223254-55692562 is ready for SSH connections 2026-09-02 05:46:49,929 - INFO - Waiting for VM ctest-TestBasicPolicy-49223254-48444859 to be up.. 2026-09-02 05:46:50,013 - DEBUG - VM is in ACTIVE state now 2026-09-02 05:46:50,013 - INFO - VM name : ctest-TestBasicPolicy-49223254-48444859 2026-09-02 05:46:50,095 - DEBUG - VM ctest-TestBasicPolicy-49223254-48444859 ID is 27590dbb-1e84-4c94-a054-2a8f22be061b 2026-09-02 05:46:50,095 - DEBUG - VM ctest-TestBasicPolicy-49223254-48444859 launched on Node cn-jenkins-deploy-platform-ansible-os-6246-1 2026-09-02 05:46:50,176 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-machine/27590dbb-1e84-4c94-a054-2a8f22be061b 2026-09-02 05:46:50,186 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-machine-interface/a827e597-9f48-47bb-8013-f1630f312b92 2026-09-02 05:46:53,455 - 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=2 ttl=63 time=4.32 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1020ms\r\nrtt min/avg/max/mdev = 4.318/4.318/4.318/0.000 ms') 2026-09-02 05:46:53,455 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-49223254-48444859 passed 2026-09-02 05:46:53,610 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-02 05:46:53,611 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-49223254-48444859, IP 107.229.131.131, Port 22 2026-09-02 05:46:53,676 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-09-02 05:46:53,759 - DEBUG - VM ctest-TestBasicPolicy-49223254-48444859 is NOT ready for SSH connections, VM status: ACTIVE 2026-09-02 05:46:58,759 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-02 05:46:58,760 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-49223254-48444859, IP 107.229.131.131, Port 22 2026-09-02 05:46:58,932 - DEBUG - VM ctest-TestBasicPolicy-49223254-48444859 is ready for SSH connections 2026-09-02 05:46:58,932 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-02 05:46:58,932 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 107.229.131.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.248, gateway password: c0ntrail123 2026-09-02 05:46:58,933 - DEBUG - ping -s 56 -c 3 -W 1 107.229.131.131 2026-09-02 05:47:03,012 - DEBUG - PING 107.229.131.131 (107.229.131.131): 56 data bytes 64 bytes from 107.229.131.131: seq=0 ttl=63 time=5.090 ms 64 bytes from 107.229.131.131: seq=1 ttl=63 time=1.390 ms 64 bytes from 107.229.131.131: seq=2 ttl=63 time=3.903 ms --- 107.229.131.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.390/3.461/5.090 ms 2026-09-02 05:47:03,013 - INFO - Ping to IP 107.229.131.131 from VM ctest-TestBasicPolicy-49223254-55692562 passed 2026-09-02 05:47:03,218 - DEBUG - Policy Update Response {"network-policy": {"uuid": "87a5e2aa-3515-4e9a-b89c-1ab46e988090", "href": "http://10.0.0.248:8082/network-policy/87a5e2aa-3515-4e9a-b89c-1ab46e988090"}} 2026-09-02 05:47:03,218 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-02 05:47:03,218 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 107.229.131.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.248, gateway password: c0ntrail123 2026-09-02 05:47:03,219 - DEBUG - ping -s 56 -c 3 -W 1 107.229.131.131 2026-09-02 05:47:06,358 - DEBUG - PING 107.229.131.131 (107.229.131.131): 56 data bytes 64 bytes from 107.229.131.131: seq=0 ttl=63 time=2.391 ms --- 107.229.131.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 2.391/2.391/2.391 ms 2026-09-02 05:47:06,358 - WARNING - Ping to IP 107.229.131.131 from VM ctest-TestBasicPolicy-49223254-55692562 failed 2026-09-02 05:47:06,359 - INFO - Deleting VM ctest-TestBasicPolicy-49223254-48444859 2026-09-02 05:47:06,441 - INFO - Deleting VM ctest-TestBasicPolicy-49223254-55692562 2026-09-02 05:47:06,920 - INFO - Deleted policy ctest-policy-allow-all-07083695 2026-09-02 05:47:06,920 - INFO - Deleting VN ctest-vn-44914078 2026-09-02 05:47:06,979 - DEBUG - VN df88de67-584d-44b0-8fc1-b9d710f17577 still in use: Unable to complete operation on network df88de67-584d-44b0-8fc1-b9d710f17577. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9896f73a-eda1-4d23-a191-6f53caa6b767'] 2026-09-02 05:47:06,979 - WARNING - Deleting VN ctest-vn-44914078 failed..Will retry 2026-09-02 05:47:09,111 - DEBUG - Response for deleting network () 2026-09-02 05:47:09,111 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/891d40cf-0082-4358-8dc0-b4068835c4bf 2026-09-02 05:47:09,120 - DEBUG - Response Code: 404 2026-09-02 05:47:09,121 - DEBUG - Requesting: http://10.0.0.248:8082/domains 2026-09-02 05:47:09,130 - DEBUG - Requesting: http://10.0.0.248:8082/domain/bdf94108-fb6d-4a9c-b6bc-d43eb5fdac8f 2026-09-02 05:47:09,185 - DEBUG - Requesting: http://10.0.0.248:8082/project/eee49780-66ec-45c0-8564-8f74c3e52698 2026-09-02 05:47:09,264 - INFO - Validated that VN ctest-vn-44914078 is not found in API Server 2026-09-02 05:47:09,279 - DEBUG - VN ctest-vn-44914078 is not present in Agent 10.0.0.248 2026-09-02 05:47:09,279 - INFO - Validated that VN ctest-vn-44914078 is not in any agent 2026-09-02 05:47:09,304 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-44914078 info 2026-09-02 05:47:09,304 - INFO - Deleting VN ctest-vn-75531591 2026-09-02 05:47:09,459 - DEBUG - Response for deleting network () 2026-09-02 05:47:09,460 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/e8e8d24f-2df4-4a9a-82e7-9c97fbb310d1 2026-09-02 05:47:09,470 - DEBUG - Response Code: 404 2026-09-02 05:47:09,470 - DEBUG - Requesting: http://10.0.0.248:8082/domains 2026-09-02 05:47:09,477 - DEBUG - Requesting: http://10.0.0.248:8082/domain/bdf94108-fb6d-4a9c-b6bc-d43eb5fdac8f 2026-09-02 05:47:09,533 - DEBUG - Requesting: http://10.0.0.248:8082/project/eee49780-66ec-45c0-8564-8f74c3e52698 2026-09-02 05:47:09,632 - INFO - Validated that VN ctest-vn-75531591 is not found in API Server 2026-09-02 05:47:09,648 - DEBUG - VN ctest-vn-75531591 is not present in Agent 10.0.0.248 2026-09-02 05:47:09,648 - INFO - Validated that VN ctest-vn-75531591 is not in any agent 2026-09-02 05:47:09,673 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-75531591 info 2026-09-02 05:47:09,952 - DEBUG - No XMPP flaps were noticed during the test
2026-09-02 05:47:09,952 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:12]
2026-09-02 05:47:09,952 - INFO - -------------------------------------------------------------------------------- 2026-09-02 05:47:10,773 - INFO - Deleted project: ctest-TestBasicPolicy-49223254, ID : eee49780-66ec-45c0-8564-8f74c3e52698