2026-09-16 13:08:52,899 - INFO - Domain Default found not creating 2026-09-16 13:08:53,157 - INFO - Project ctest-TestBasicPolicy-60636128 not found, creating it 2026-09-16 13:08:53,740 - INFO - Created Project:ctest-TestBasicPolicy-60636128, ID : f993ddea-433b-42aa-80cd-3d93c75335a5 2026-09-16 13:08:55,777 - INFO - ================================================================================ 2026-09-16 13:08:55,777 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-09-16 13:08:55,777 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2026-09-16 13:08:56,070 - DEBUG - Nothing to compare xmpp stats {'10.0.0.190': {'10.20.0.25': '0'}} with 2026-09-16 13:08:56,071 - INFO - Initial checks done. Running the testcase now 2026-09-16 13:08:56,071 - INFO - 2026-09-16 13:08:56,864 - DEBUG - Response for create_network : {'network': {'id': '14a2e895-91b3-4341-8a19-c94942b4487a', 'name': 'ctest-vn-97570752', 'tenant_id': 'f993ddea433b42aa80cd3d93c75335a5', 'project_id': 'f993ddea433b42aa80cd3d93c75335a5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-60636128', 'ctest-vn-97570752'], 'port_security_enabled': True, 'description': ''}} 2026-09-16 13:08:57,124 - DEBUG - Response for create_subnet : {'subnet': {'id': '7dc10371-cd4e-4b5e-87d9-cdbc240c5b89', 'name': '', 'tenant_id': 'f993ddea433b42aa80cd3d93c75335a5', 'network_id': '14a2e895-91b3-4341-8a19-c94942b4487a', 'ip_version': 4, 'cidr': '114.96.127.128/26', 'allocation_pools': [{'start': '114.96.127.130', 'end': '114.96.127.190'}], 'gateway_ip': '114.96.127.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '114.96.127.130', 'tags': [], 'project_id': 'f993ddea433b42aa80cd3d93c75335a5'}} 2026-09-16 13:08:57,156 - INFO - Created VN ctest-vn-97570752 2026-09-16 13:08:57,213 - DEBUG - VN ctest-vn-97570752 UUID is 14a2e895-91b3-4341-8a19-c94942b4487a 2026-09-16 13:08:57,637 - DEBUG - Response for create_network : {'network': {'id': 'fcf091da-f440-4815-aebe-1808c7501eee', 'name': 'ctest-vn-62793485', 'tenant_id': 'f993ddea433b42aa80cd3d93c75335a5', 'project_id': 'f993ddea433b42aa80cd3d93c75335a5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-60636128', 'ctest-vn-62793485'], 'port_security_enabled': True, 'description': ''}} 2026-09-16 13:08:57,861 - DEBUG - Response for create_subnet : {'subnet': {'id': '1400c95b-bd01-434d-a4d9-fee9161c34ae', 'name': '', 'tenant_id': 'f993ddea433b42aa80cd3d93c75335a5', 'network_id': 'fcf091da-f440-4815-aebe-1808c7501eee', 'ip_version': 4, 'cidr': '203.185.94.192/26', 'allocation_pools': [{'start': '203.185.94.194', 'end': '203.185.94.254'}], 'gateway_ip': '203.185.94.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '203.185.94.194', 'tags': [], 'project_id': 'f993ddea433b42aa80cd3d93c75335a5'}} 2026-09-16 13:08:57,887 - INFO - Created VN ctest-vn-62793485 2026-09-16 13:08:57,945 - DEBUG - VN ctest-vn-62793485 UUID is fcf091da-f440-4815-aebe-1808c7501eee 2026-09-16 13:08:58,088 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-60636128:ctest-vn-97570752, 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-60636128:ctest-vn-62793485, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2026-09-16 13:08:58,525 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '14a2e895-91b3-4341-8a19-c94942b4487a', 'name': 'ctest-vn-97570752', 'tenant_id': 'f993ddea433b42aa80cd3d93c75335a5', 'project_id': 'f993ddea433b42aa80cd3d93c75335a5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['7dc10371-cd4e-4b5e-87d9-cdbc240c5b89'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-60636128', 'ctest-vn-97570752'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-60636128', 'ctest-policy-allow-all-37050007']], 'subnet_ipam': [{'subnet_cidr': '114.96.127.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-16 13:08:58,842 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fcf091da-f440-4815-aebe-1808c7501eee', 'name': 'ctest-vn-62793485', 'tenant_id': 'f993ddea433b42aa80cd3d93c75335a5', 'project_id': 'f993ddea433b42aa80cd3d93c75335a5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['1400c95b-bd01-434d-a4d9-fee9161c34ae'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-60636128', 'ctest-vn-62793485'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-60636128', 'ctest-policy-allow-all-37050007']], 'subnet_ipam': [{'subnet_cidr': '203.185.94.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-16 13:08:59,029 - DEBUG - Requesting: http://10.0.0.190:8082/domains 2026-09-16 13:08:59,445 - DEBUG - Requesting: http://10.0.0.190:8082/domains 2026-09-16 13:08:59,490 - DEBUG - Requesting: http://10.0.0.190:8082/domain/94f8371a-4366-4cb0-9580-6eeef52ea88e 2026-09-16 13:08:59,510 - DEBUG - Requesting: http://10.0.0.190:8082/project/f993ddea-433b-42aa-80cd-3d93c75335a5 2026-09-16 13:08:59,607 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/14a2e895-91b3-4341-8a19-c94942b4487a 2026-09-16 13:08:59,630 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/14a2e895-91b3-4341-8a19-c94942b4487a 2026-09-16 13:08:59,653 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/7848ea89-f1d6-46ee-be0d-c0fabdfdcec2 2026-09-16 13:08:59,682 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/7848ea89-f1d6-46ee-be0d-c0fabdfdcec2 2026-09-16 13:08:59,701 - DEBUG - Requesting: http://10.0.0.190:8082/route-target/eb3ad7ce-fa1a-4c23-b070-d4684e16cb27 2026-09-16 13:08:59,715 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-16 13:08:59,715 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/14a2e895-91b3-4341-8a19-c94942b4487a 2026-09-16 13:08:59,732 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/7848ea89-f1d6-46ee-be0d-c0fabdfdcec2 2026-09-16 13:08:59,757 - INFO - Verified VN network id 12 for VN 14a2e895-91b3-4341-8a19-c94942b4487a 2026-09-16 13:08:59,758 - INFO - Verifications in API Server for VN ctest-vn-97570752 passed 2026-09-16 13:08:59,758 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/14a2e895-91b3-4341-8a19-c94942b4487a 2026-09-16 13:08:59,775 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/7848ea89-f1d6-46ee-be0d-c0fabdfdcec2 2026-09-16 13:08:59,792 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/7848ea89-f1d6-46ee-be0d-c0fabdfdcec2 2026-09-16 13:08:59,806 - DEBUG - Requesting: http://10.0.0.190:8082/route-target/eb3ad7ce-fa1a-4c23-b070-d4684e16cb27 2026-09-16 13:08:59,826 - DEBUG - Control-node 10.0.0.190 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-60636128:ctest-vn-97570752', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-60636128', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1487006556077900609', 'uuid-lslong': '9951206168140728442'}, 'enable': 'true', 'created': '2026-09-16T13:08:56', 'last-modified': '2026-09-16T13:08:58', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.350292'} 2026-09-16 13:08:59,838 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-16 13:08:59,838 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-97570752 passed 2026-09-16 13:08:59,838 - DEBUG - ====Verifying policy data for ctest-vn-97570752 in API_Server ====== 2026-09-16 13:08:59,838 - DEBUG - Requesting: http://10.0.0.190:8082/domains 2026-09-16 13:08:59,848 - DEBUG - Requesting: http://10.0.0.190:8082/domain/94f8371a-4366-4cb0-9580-6eeef52ea88e 2026-09-16 13:08:59,869 - DEBUG - Requesting: http://10.0.0.190:8082/project/f993ddea-433b-42aa-80cd-3d93c75335a5 2026-09-16 13:08:59,983 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/14a2e895-91b3-4341-8a19-c94942b4487a 2026-09-16 13:09:00,007 - DEBUG - ==>Verifying data for policy with id: 24e86c03-e9e5-4cc6-8f84-d25f5772d057, fqn: ['default-domain', 'ctest-TestBasicPolicy-60636128', 'ctest-policy-allow-all-37050007'] 2026-09-16 13:09:00,007 - INFO - VN ctest-vn-97570752 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-16 13:09:00,008 - DEBUG - Verifying the vn in opserver 2026-09-16 13:09:00,008 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-60636128:ctest-vn-97570752 virtual network link through opserver 10.0.0.190 2026-09-16 13:09:00,008 - DEBUG - Requesting: http://10.0.0.190:8081/analytics/uves/virtual-networks 2026-09-16 13:09:00,404 - DEBUG - Requesting: http://10.0.0.190:8081/analytics/uves/virtual-networks 2026-09-16 13:09:00,485 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-60636128:ctest-vn-97570752', 'href': 'http://10.0.0.190:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-60636128:ctest-vn-97570752?flat'} 2026-09-16 13:09:00,485 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-60636128:ctest-vn-97570752 is found in opserver 2026-09-16 13:09:00,501 - DEBUG - Do not have enough data to verify VN in agent 2026-09-16 13:09:00,508 - DEBUG - VRF ids for VN ctest-vn-97570752: {} 2026-09-16 13:09:00,508 - DEBUG - Requesting: http://10.0.0.190:8082/domains 2026-09-16 13:09:00,516 - DEBUG - Requesting: http://10.0.0.190:8082/domain/94f8371a-4366-4cb0-9580-6eeef52ea88e 2026-09-16 13:09:00,532 - DEBUG - Requesting: http://10.0.0.190:8082/project/f993ddea-433b-42aa-80cd-3d93c75335a5 2026-09-16 13:09:00,629 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/fcf091da-f440-4815-aebe-1808c7501eee 2026-09-16 13:09:00,650 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/fcf091da-f440-4815-aebe-1808c7501eee 2026-09-16 13:09:00,666 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/5aa48357-1729-4d75-97a1-070c72b368ff 2026-09-16 13:09:00,677 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/5aa48357-1729-4d75-97a1-070c72b368ff 2026-09-16 13:09:00,688 - DEBUG - Requesting: http://10.0.0.190:8082/route-target/69536d17-bf9c-4a19-a03f-5d17457cb2ce 2026-09-16 13:09:00,699 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-16 13:09:00,699 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/fcf091da-f440-4815-aebe-1808c7501eee 2026-09-16 13:09:00,716 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/5aa48357-1729-4d75-97a1-070c72b368ff 2026-09-16 13:09:00,743 - INFO - Verified VN network id 13 for VN fcf091da-f440-4815-aebe-1808c7501eee 2026-09-16 13:09:00,743 - INFO - Verifications in API Server for VN ctest-vn-62793485 passed 2026-09-16 13:09:00,743 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/fcf091da-f440-4815-aebe-1808c7501eee 2026-09-16 13:09:00,805 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/5aa48357-1729-4d75-97a1-070c72b368ff 2026-09-16 13:09:00,831 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/5aa48357-1729-4d75-97a1-070c72b368ff 2026-09-16 13:09:00,843 - DEBUG - Requesting: http://10.0.0.190:8082/route-target/69536d17-bf9c-4a19-a03f-5d17457cb2ce 2026-09-16 13:09:00,864 - DEBUG - Control-node 10.0.0.190 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-60636128:ctest-vn-62793485', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-60636128', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18226228061555148821', 'uuid-lslong': '12591528034157207278'}, 'enable': 'true', 'created': '2026-09-16T13:08:57', 'last-modified': '2026-09-16T13:08:58', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.055650'} 2026-09-16 13:09:00,874 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-16 13:09:00,874 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-62793485 passed 2026-09-16 13:09:00,875 - DEBUG - ====Verifying policy data for ctest-vn-62793485 in API_Server ====== 2026-09-16 13:09:00,875 - DEBUG - Requesting: http://10.0.0.190:8082/domains 2026-09-16 13:09:00,884 - DEBUG - Requesting: http://10.0.0.190:8082/domain/94f8371a-4366-4cb0-9580-6eeef52ea88e 2026-09-16 13:09:00,900 - DEBUG - Requesting: http://10.0.0.190:8082/project/f993ddea-433b-42aa-80cd-3d93c75335a5 2026-09-16 13:09:01,001 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/fcf091da-f440-4815-aebe-1808c7501eee 2026-09-16 13:09:01,016 - DEBUG - ==>Verifying data for policy with id: 24e86c03-e9e5-4cc6-8f84-d25f5772d057, fqn: ['default-domain', 'ctest-TestBasicPolicy-60636128', 'ctest-policy-allow-all-37050007'] 2026-09-16 13:09:01,016 - INFO - VN ctest-vn-62793485 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-16 13:09:01,017 - DEBUG - Verifying the vn in opserver 2026-09-16 13:09:01,017 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-60636128:ctest-vn-62793485 virtual network link through opserver 10.0.0.190 2026-09-16 13:09:01,017 - DEBUG - Requesting: http://10.0.0.190:8081/analytics/uves/virtual-networks 2026-09-16 13:09:01,033 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-60636128:ctest-vn-62793485', 'href': 'http://10.0.0.190:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-60636128:ctest-vn-62793485?flat'} 2026-09-16 13:09:01,033 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-60636128:ctest-vn-62793485 is found in opserver 2026-09-16 13:09:01,050 - DEBUG - Do not have enough data to verify VN in agent 2026-09-16 13:09:01,057 - DEBUG - VRF ids for VN ctest-vn-62793485: {} 2026-09-16 13:09:01,144 - DEBUG - Services list from nova: [, , ] 2026-09-16 13:09:01,596 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6290-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6290-1) 2026-09-16 13:09:02,157 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6290-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6290-1) 2026-09-16 13:09:02,157 - INFO - Waiting for VM ctest-TestBasicPolicy-60636128-39076940 to be up.. 2026-09-16 13:09:02,233 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-16 13:09:07,333 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-16 13:09:12,448 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-16 13:09:17,562 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-16 13:09:22,670 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-16 13:09:27,791 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-16 13:09:32,916 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-16 13:09:38,019 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-16 13:09:43,142 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-16 13:09:48,267 - DEBUG - VM is in ACTIVE state now 2026-09-16 13:09:48,267 - INFO - VM name : ctest-TestBasicPolicy-60636128-39076940 2026-09-16 13:09:48,412 - DEBUG - VM ctest-TestBasicPolicy-60636128-39076940 ID is c393dfe4-c1ea-4179-a714-764a4bf030f8 2026-09-16 13:09:48,444 - DEBUG - VM ctest-TestBasicPolicy-60636128-39076940 launched on Node cn-jenkins-deploy-platform-ansible-os-6290-1 2026-09-16 13:09:48,546 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine/c393dfe4-c1ea-4179-a714-764a4bf030f8 2026-09-16 13:09:48,557 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine-interface/1b1d83d2-85f3-458a-9db7-68e4d8cb69da 2026-09-16 13:09:51,843 - 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 1012ms') 2026-09-16 13:09:51,843 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-60636128-39076940 failed! 2026-09-16 13:09:51,913 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-60636128:ctest-vn-97570752 is 114.96.127.129 and allocation pool is NOT set 2026-09-16 13:09:53,984 - 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=4.49 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.871 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.871/2.681/4.492/1.810 ms') 2026-09-16 13:09:53,984 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-60636128-39076940 passed 2026-09-16 13:09:54,144 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-16 13:09:54,145 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-60636128-39076940, IP 114.96.127.131, Port 22 2026-09-16 13:09:54,335 - DEBUG - VM ctest-TestBasicPolicy-60636128-39076940 is ready for SSH connections 2026-09-16 13:09:54,335 - INFO - Waiting for VM ctest-TestBasicPolicy-60636128-78309816 to be up.. 2026-09-16 13:09:54,440 - DEBUG - VM is in ACTIVE state now 2026-09-16 13:09:54,440 - INFO - VM name : ctest-TestBasicPolicy-60636128-78309816 2026-09-16 13:09:54,537 - DEBUG - VM ctest-TestBasicPolicy-60636128-78309816 ID is 1d115a53-d3ff-4147-a33c-07a420f8d344 2026-09-16 13:09:54,537 - DEBUG - VM ctest-TestBasicPolicy-60636128-78309816 launched on Node cn-jenkins-deploy-platform-ansible-os-6290-1 2026-09-16 13:09:54,634 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine/1d115a53-d3ff-4147-a33c-07a420f8d344 2026-09-16 13:09:54,645 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine-interface/9286bce2-1a42-4355-abdc-a998f272c5d2 2026-09-16 13:09:55,912 - 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=5.62 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.72 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 = 1.720/3.668/5.616/1.948 ms') 2026-09-16 13:09:55,912 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-60636128-78309816 passed 2026-09-16 13:09:56,081 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-16 13:09:56,081 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-60636128-78309816, IP 203.185.94.195, Port 22 2026-09-16 13:09:56,147 - 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-16 13:09:56,259 - DEBUG - VM ctest-TestBasicPolicy-60636128-78309816 is NOT ready for SSH connections, VM status: ACTIVE 2026-09-16 13:10:01,270 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-16 13:10:01,270 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-60636128-78309816, IP 203.185.94.195, Port 22 2026-09-16 13:10:01,447 - DEBUG - VM ctest-TestBasicPolicy-60636128-78309816 is ready for SSH connections 2026-09-16 13:10:01,447 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-16 13:10:01,448 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 203.185.94.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.190, gateway password: c0ntrail123 2026-09-16 13:10:01,448 - DEBUG - ping -s 56 -c 3 -W 1 203.185.94.195 2026-09-16 13:10:05,709 - DEBUG - PING 203.185.94.195 (203.185.94.195): 56 data bytes 64 bytes from 203.185.94.195: seq=0 ttl=63 time=5.505 ms 64 bytes from 203.185.94.195: seq=1 ttl=63 time=1.559 ms 64 bytes from 203.185.94.195: seq=2 ttl=63 time=1.411 ms --- 203.185.94.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.411/2.825/5.505 ms 2026-09-16 13:10:05,710 - INFO - Ping to IP 203.185.94.195 from VM ctest-TestBasicPolicy-60636128-39076940 passed 2026-09-16 13:10:05,920 - DEBUG - Policy Update Response {"network-policy": {"uuid": "24e86c03-e9e5-4cc6-8f84-d25f5772d057", "href": "http://10.0.0.190:8082/network-policy/24e86c03-e9e5-4cc6-8f84-d25f5772d057"}} 2026-09-16 13:10:05,921 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-16 13:10:05,921 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 203.185.94.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.190, gateway password: c0ntrail123 2026-09-16 13:10:05,921 - DEBUG - ping -s 56 -c 3 -W 1 203.185.94.195 2026-09-16 13:10:09,085 - DEBUG - PING 203.185.94.195 (203.185.94.195): 56 data bytes 64 bytes from 203.185.94.195: seq=0 ttl=63 time=2.560 ms --- 203.185.94.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 2.560/2.560/2.560 ms 2026-09-16 13:10:09,085 - WARNING - Ping to IP 203.185.94.195 from VM ctest-TestBasicPolicy-60636128-39076940 failed 2026-09-16 13:10:09,085 - INFO - Deleting VM ctest-TestBasicPolicy-60636128-78309816 2026-09-16 13:10:09,205 - INFO - Deleting VM ctest-TestBasicPolicy-60636128-39076940 2026-09-16 13:10:09,802 - INFO - Deleted policy ctest-policy-allow-all-37050007 2026-09-16 13:10:09,802 - INFO - Deleting VN ctest-vn-62793485 2026-09-16 13:10:09,857 - DEBUG - VN fcf091da-f440-4815-aebe-1808c7501eee still in use: Unable to complete operation on network fcf091da-f440-4815-aebe-1808c7501eee. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-befbf426-5633-4cf3-af15-53276dd3a68b'] 2026-09-16 13:10:09,857 - WARNING - Deleting VN ctest-vn-62793485 failed..Will retry 2026-09-16 13:10:12,053 - DEBUG - Response for deleting network () 2026-09-16 13:10:12,053 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/5aa48357-1729-4d75-97a1-070c72b368ff 2026-09-16 13:10:12,063 - DEBUG - Response Code: 404 2026-09-16 13:10:12,063 - DEBUG - Requesting: http://10.0.0.190:8082/domains 2026-09-16 13:10:12,080 - DEBUG - Requesting: http://10.0.0.190:8082/domain/94f8371a-4366-4cb0-9580-6eeef52ea88e 2026-09-16 13:10:12,100 - DEBUG - Requesting: http://10.0.0.190:8082/project/f993ddea-433b-42aa-80cd-3d93c75335a5 2026-09-16 13:10:12,200 - INFO - Validated that VN ctest-vn-62793485 is not found in API Server 2026-09-16 13:10:12,222 - DEBUG - VN ctest-vn-62793485 is not present in Agent 10.0.0.190 2026-09-16 13:10:12,223 - INFO - Validated that VN ctest-vn-62793485 is not in any agent 2026-09-16 13:10:12,250 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-62793485 info 2026-09-16 13:10:12,251 - INFO - Deleting VN ctest-vn-97570752 2026-09-16 13:10:12,418 - DEBUG - Response for deleting network () 2026-09-16 13:10:12,418 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/7848ea89-f1d6-46ee-be0d-c0fabdfdcec2 2026-09-16 13:10:12,431 - DEBUG - Response Code: 404 2026-09-16 13:10:12,431 - DEBUG - Requesting: http://10.0.0.190:8082/domains 2026-09-16 13:10:12,439 - DEBUG - Requesting: http://10.0.0.190:8082/domain/94f8371a-4366-4cb0-9580-6eeef52ea88e 2026-09-16 13:10:12,456 - DEBUG - Requesting: http://10.0.0.190:8082/project/f993ddea-433b-42aa-80cd-3d93c75335a5 2026-09-16 13:10:12,551 - INFO - Validated that VN ctest-vn-97570752 is not found in API Server 2026-09-16 13:10:12,569 - DEBUG - VN ctest-vn-97570752 is not present in Agent 10.0.0.190 2026-09-16 13:10:12,570 - INFO - Validated that VN ctest-vn-97570752 is not in any agent 2026-09-16 13:10:12,594 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-97570752 info 2026-09-16 13:10:12,874 - DEBUG - No XMPP flaps were noticed during the test 2026-09-16 13:10:12,874 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:17] 2026-09-16 13:10:12,874 - INFO - -------------------------------------------------------------------------------- 2026-09-16 13:10:13,684 - INFO - Deleted project: ctest-TestBasicPolicy-60636128, ID : f993ddea-433b-42aa-80cd-3d93c75335a5