2026-11-01 00:53:57,610 - INFO - Domain Default found not creating 2026-11-01 00:53:57,760 - INFO - Project ctest-TestBasicPolicy-29722440 not found, creating it 2026-11-01 00:53:58,230 - INFO - Created Project:ctest-TestBasicPolicy-29722440, ID : a923471e-d7af-4e8d-92ee-72d10d050ef1 2026-11-01 00:53:59,905 - INFO - ================================================================================ 2026-11-01 00:53:59,905 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-11-01 00:53:59,905 - 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-11-01 00:54:00,164 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.254': '0'}} with 2026-11-01 00:54:00,164 - INFO - Initial checks done. Running the testcase now 2026-11-01 00:54:00,165 - INFO - 2026-11-01 00:54:00,781 - DEBUG - Response for create_network : {'network': {'id': '1778dbd8-1698-4f2d-b4d4-26b4dbf604f1', 'name': 'ctest-vn-09141698', 'tenant_id': 'a923471ed7af4e8d92ee72d10d050ef1', 'project_id': 'a923471ed7af4e8d92ee72d10d050ef1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29722440', 'ctest-vn-09141698'], 'port_security_enabled': True, 'description': ''}} 2026-11-01 00:54:00,944 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bc91c7be-2a70-4e9f-ba53-4c9598f50d0f', 'name': '', 'tenant_id': 'a923471ed7af4e8d92ee72d10d050ef1', 'network_id': '1778dbd8-1698-4f2d-b4d4-26b4dbf604f1', 'ip_version': 4, 'cidr': '134.247.103.64/26', 'allocation_pools': [{'start': '134.247.103.66', 'end': '134.247.103.126'}], 'gateway_ip': '134.247.103.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '134.247.103.66', 'tags': [], 'project_id': 'a923471ed7af4e8d92ee72d10d050ef1'}} 2026-11-01 00:54:00,959 - INFO - Created VN ctest-vn-09141698 2026-11-01 00:54:01,009 - DEBUG - VN ctest-vn-09141698 UUID is 1778dbd8-1698-4f2d-b4d4-26b4dbf604f1 2026-11-01 00:54:01,351 - DEBUG - Response for create_network : {'network': {'id': 'aaad9ba0-d70f-4ca4-bd51-f53e6cf2b414', 'name': 'ctest-vn-99309218', 'tenant_id': 'a923471ed7af4e8d92ee72d10d050ef1', 'project_id': 'a923471ed7af4e8d92ee72d10d050ef1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29722440', 'ctest-vn-99309218'], 'port_security_enabled': True, 'description': ''}} 2026-11-01 00:54:01,559 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a076852f-ee2e-41bf-b046-879206102399', 'name': '', 'tenant_id': 'a923471ed7af4e8d92ee72d10d050ef1', 'network_id': 'aaad9ba0-d70f-4ca4-bd51-f53e6cf2b414', 'ip_version': 4, 'cidr': '137.160.11.0/26', 'allocation_pools': [{'start': '137.160.11.2', 'end': '137.160.11.62'}], 'gateway_ip': '137.160.11.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '137.160.11.2', 'tags': [], 'project_id': 'a923471ed7af4e8d92ee72d10d050ef1'}} 2026-11-01 00:54:01,575 - INFO - Created VN ctest-vn-99309218 2026-11-01 00:54:01,625 - DEBUG - VN ctest-vn-99309218 UUID is aaad9ba0-d70f-4ca4-bd51-f53e6cf2b414 2026-11-01 00:54:01,765 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-29722440:ctest-vn-09141698, 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-29722440:ctest-vn-99309218, 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-11-01 00:54:02,074 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1778dbd8-1698-4f2d-b4d4-26b4dbf604f1', 'name': 'ctest-vn-09141698', 'tenant_id': 'a923471ed7af4e8d92ee72d10d050ef1', 'project_id': 'a923471ed7af4e8d92ee72d10d050ef1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['bc91c7be-2a70-4e9f-ba53-4c9598f50d0f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29722440', 'ctest-vn-09141698'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-29722440', 'ctest-policy-allow-all-01448130']], 'subnet_ipam': [{'subnet_cidr': '134.247.103.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-11-01 00:54:02,317 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'aaad9ba0-d70f-4ca4-bd51-f53e6cf2b414', 'name': 'ctest-vn-99309218', 'tenant_id': 'a923471ed7af4e8d92ee72d10d050ef1', 'project_id': 'a923471ed7af4e8d92ee72d10d050ef1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['a076852f-ee2e-41bf-b046-879206102399'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29722440', 'ctest-vn-99309218'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-29722440', 'ctest-policy-allow-all-01448130']], 'subnet_ipam': [{'subnet_cidr': '137.160.11.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-11-01 00:54:02,493 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-11-01 00:54:02,854 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-11-01 00:54:02,879 - DEBUG - Requesting: http://10.0.0.33:8082/domain/3e5ea63c-1e1e-4e45-a3b8-04755df0e67b 2026-11-01 00:54:02,891 - DEBUG - Requesting: http://10.0.0.33:8082/project/a923471e-d7af-4e8d-92ee-72d10d050ef1 2026-11-01 00:54:02,965 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/1778dbd8-1698-4f2d-b4d4-26b4dbf604f1 2026-11-01 00:54:02,976 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/1778dbd8-1698-4f2d-b4d4-26b4dbf604f1 2026-11-01 00:54:02,985 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/5764c6e6-ae17-4b2d-bcb7-69c73f58db4b 2026-11-01 00:54:02,992 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/5764c6e6-ae17-4b2d-bcb7-69c73f58db4b 2026-11-01 00:54:02,999 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/2083a75d-7f51-415d-81c6-bf974c27d884 2026-11-01 00:54:03,004 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-11-01 00:54:03,004 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/1778dbd8-1698-4f2d-b4d4-26b4dbf604f1 2026-11-01 00:54:03,012 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/5764c6e6-ae17-4b2d-bcb7-69c73f58db4b 2026-11-01 00:54:03,025 - INFO - Verified VN network id 11 for VN 1778dbd8-1698-4f2d-b4d4-26b4dbf604f1 2026-11-01 00:54:03,025 - INFO - Verifications in API Server for VN ctest-vn-09141698 passed 2026-11-01 00:54:03,025 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/1778dbd8-1698-4f2d-b4d4-26b4dbf604f1 2026-11-01 00:54:03,033 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/5764c6e6-ae17-4b2d-bcb7-69c73f58db4b 2026-11-01 00:54:03,038 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/5764c6e6-ae17-4b2d-bcb7-69c73f58db4b 2026-11-01 00:54:03,044 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/2083a75d-7f51-415d-81c6-bf974c27d884 2026-11-01 00:54:03,054 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-29722440:ctest-vn-09141698', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-29722440', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1691343381216120621', 'uuid-lslong': '13030082180115989745'}, 'enable': 'true', 'created': '2026-11-01T00:54:00', 'last-modified': '2026-11-01T00:54:02', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.012905'} 2026-11-01 00:54:03,059 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-11-01 00:54:03,060 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-09141698 passed 2026-11-01 00:54:03,060 - DEBUG - ====Verifying policy data for ctest-vn-09141698 in API_Server ====== 2026-11-01 00:54:03,060 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-11-01 00:54:03,064 - DEBUG - Requesting: http://10.0.0.33:8082/domain/3e5ea63c-1e1e-4e45-a3b8-04755df0e67b 2026-11-01 00:54:03,073 - DEBUG - Requesting: http://10.0.0.33:8082/project/a923471e-d7af-4e8d-92ee-72d10d050ef1 2026-11-01 00:54:03,144 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/1778dbd8-1698-4f2d-b4d4-26b4dbf604f1 2026-11-01 00:54:03,153 - DEBUG - ==>Verifying data for policy with id: c5140c6d-57e4-401f-9e96-140965ca5cef, fqn: ['default-domain', 'ctest-TestBasicPolicy-29722440', 'ctest-policy-allow-all-01448130'] 2026-11-01 00:54:03,153 - INFO - VN ctest-vn-09141698 Policy verification: verify_vn_policy_in_api_server, status: True 2026-11-01 00:54:03,153 - DEBUG - Verifying the vn in opserver 2026-11-01 00:54:03,153 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-29722440:ctest-vn-09141698 virtual network link through opserver 10.0.0.33 2026-11-01 00:54:03,153 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-11-01 00:54:03,514 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-11-01 00:54:03,566 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-29722440:ctest-vn-09141698', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-29722440:ctest-vn-09141698?flat'} 2026-11-01 00:54:03,566 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-29722440:ctest-vn-09141698 is found in opserver 2026-11-01 00:54:03,577 - DEBUG - Do not have enough data to verify VN in agent 2026-11-01 00:54:03,582 - DEBUG - VRF ids for VN ctest-vn-09141698: {} 2026-11-01 00:54:03,582 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-11-01 00:54:03,587 - DEBUG - Requesting: http://10.0.0.33:8082/domain/3e5ea63c-1e1e-4e45-a3b8-04755df0e67b 2026-11-01 00:54:03,597 - DEBUG - Requesting: http://10.0.0.33:8082/project/a923471e-d7af-4e8d-92ee-72d10d050ef1 2026-11-01 00:54:03,672 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/aaad9ba0-d70f-4ca4-bd51-f53e6cf2b414 2026-11-01 00:54:03,683 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/aaad9ba0-d70f-4ca4-bd51-f53e6cf2b414 2026-11-01 00:54:03,691 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/4bfd9140-4331-4a87-b186-9621858a3292 2026-11-01 00:54:03,697 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/4bfd9140-4331-4a87-b186-9621858a3292 2026-11-01 00:54:03,702 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/210924ab-e839-4e34-8d33-ea1eb8f89e75 2026-11-01 00:54:03,707 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-11-01 00:54:03,708 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/aaad9ba0-d70f-4ca4-bd51-f53e6cf2b414 2026-11-01 00:54:03,715 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/4bfd9140-4331-4a87-b186-9621858a3292 2026-11-01 00:54:03,728 - INFO - Verified VN network id 12 for VN aaad9ba0-d70f-4ca4-bd51-f53e6cf2b414 2026-11-01 00:54:03,728 - INFO - Verifications in API Server for VN ctest-vn-99309218 passed 2026-11-01 00:54:03,728 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/aaad9ba0-d70f-4ca4-bd51-f53e6cf2b414 2026-11-01 00:54:03,738 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/4bfd9140-4331-4a87-b186-9621858a3292 2026-11-01 00:54:03,747 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/4bfd9140-4331-4a87-b186-9621858a3292 2026-11-01 00:54:03,752 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/210924ab-e839-4e34-8d33-ea1eb8f89e75 2026-11-01 00:54:03,763 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-29722440:ctest-vn-99309218', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-29722440', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12298657272523869348', 'uuid-lslong': '13641954394746565652'}, 'enable': 'true', 'created': '2026-11-01T00:54:01', 'last-modified': '2026-11-01T00:54:02', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.477306'} 2026-11-01 00:54:03,768 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-11-01 00:54:03,769 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-99309218 passed 2026-11-01 00:54:03,769 - DEBUG - ====Verifying policy data for ctest-vn-99309218 in API_Server ====== 2026-11-01 00:54:03,769 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-11-01 00:54:03,774 - DEBUG - Requesting: http://10.0.0.33:8082/domain/3e5ea63c-1e1e-4e45-a3b8-04755df0e67b 2026-11-01 00:54:03,783 - DEBUG - Requesting: http://10.0.0.33:8082/project/a923471e-d7af-4e8d-92ee-72d10d050ef1 2026-11-01 00:54:03,856 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/aaad9ba0-d70f-4ca4-bd51-f53e6cf2b414 2026-11-01 00:54:03,865 - DEBUG - ==>Verifying data for policy with id: c5140c6d-57e4-401f-9e96-140965ca5cef, fqn: ['default-domain', 'ctest-TestBasicPolicy-29722440', 'ctest-policy-allow-all-01448130'] 2026-11-01 00:54:03,865 - INFO - VN ctest-vn-99309218 Policy verification: verify_vn_policy_in_api_server, status: True 2026-11-01 00:54:03,865 - DEBUG - Verifying the vn in opserver 2026-11-01 00:54:03,865 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-29722440:ctest-vn-99309218 virtual network link through opserver 10.0.0.33 2026-11-01 00:54:03,865 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-11-01 00:54:03,874 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-29722440:ctest-vn-99309218', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-29722440:ctest-vn-99309218?flat'} 2026-11-01 00:54:03,874 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-29722440:ctest-vn-99309218 is found in opserver 2026-11-01 00:54:03,886 - DEBUG - Do not have enough data to verify VN in agent 2026-11-01 00:54:03,892 - DEBUG - VRF ids for VN ctest-vn-99309218: {} 2026-11-01 00:54:03,947 - DEBUG - Services list from nova: [, , ] 2026-11-01 00:54:04,378 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6457-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6457-1) 2026-11-01 00:54:04,721 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6457-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6457-1) 2026-11-01 00:54:04,721 - INFO - Waiting for VM ctest-TestBasicPolicy-29722440-31851923 to be up.. 2026-11-01 00:54:04,753 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-01 00:54:09,825 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-01 00:54:14,897 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-01 00:54:19,966 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-01 00:54:25,037 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-01 00:54:30,105 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-01 00:54:35,179 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-01 00:54:40,244 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-01 00:54:45,319 - DEBUG - VM is in ACTIVE state now 2026-11-01 00:54:45,319 - INFO - VM name : ctest-TestBasicPolicy-29722440-31851923 2026-11-01 00:54:45,383 - DEBUG - VM ctest-TestBasicPolicy-29722440-31851923 ID is 08efd509-fc1b-4171-944a-5f4ba5904500 2026-11-01 00:54:45,401 - DEBUG - VM ctest-TestBasicPolicy-29722440-31851923 launched on Node cn-jenkins-deploy-platform-ansible-os-6457-1 2026-11-01 00:54:45,463 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/08efd509-fc1b-4171-944a-5f4ba5904500 2026-11-01 00:54:45,470 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/d700934c-1429-4b31-8303-a56d680a8758 2026-11-01 00:54:48,723 - 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 1026ms') 2026-11-01 00:54:48,723 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-29722440-31851923 failed! 2026-11-01 00:54:48,777 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-29722440:ctest-vn-09141698 is 134.247.103.65 and allocation pool is NOT set 2026-11-01 00:54:50,838 - 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.41 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.434 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 = 0.434/1.921/3.409/1.487 ms') 2026-11-01 00:54:50,839 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-29722440-31851923 passed 2026-11-01 00:54:50,985 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-01 00:54:50,985 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-29722440-31851923, IP 134.247.103.67, Port 22 2026-11-01 00:54:51,140 - DEBUG - VM ctest-TestBasicPolicy-29722440-31851923 is ready for SSH connections 2026-11-01 00:54:51,140 - INFO - Waiting for VM ctest-TestBasicPolicy-29722440-43660115 to be up.. 2026-11-01 00:54:51,206 - DEBUG - VM is in ACTIVE state now 2026-11-01 00:54:51,206 - INFO - VM name : ctest-TestBasicPolicy-29722440-43660115 2026-11-01 00:54:51,277 - DEBUG - VM ctest-TestBasicPolicy-29722440-43660115 ID is 5607e7b9-65ab-4afb-b575-b94eb503e888 2026-11-01 00:54:51,277 - DEBUG - VM ctest-TestBasicPolicy-29722440-43660115 launched on Node cn-jenkins-deploy-platform-ansible-os-6457-1 2026-11-01 00:54:51,338 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/5607e7b9-65ab-4afb-b575-b94eb503e888 2026-11-01 00:54:51,344 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/10c84509-fa21-4424-b914-9caa729c23fc 2026-11-01 00:54:52,573 - 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=3.16 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.318 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.318/1.738/3.159/1.420 ms') 2026-11-01 00:54:52,573 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-29722440-43660115 passed 2026-11-01 00:54:52,725 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-01 00:54:52,725 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-29722440-43660115, IP 137.160.11.3, Port 22 2026-11-01 00:54:52,884 - DEBUG - VM ctest-TestBasicPolicy-29722440-43660115 is ready for SSH connections 2026-11-01 00:54:52,884 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-01 00:54:52,884 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 137.160.11.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-11-01 00:54:52,885 - DEBUG - ping -s 56 -c 3 -W 1 137.160.11.3 2026-11-01 00:54:56,840 - DEBUG - PING 137.160.11.3 (137.160.11.3): 56 data bytes 64 bytes from 137.160.11.3: seq=0 ttl=63 time=4.137 ms 64 bytes from 137.160.11.3: seq=1 ttl=63 time=0.825 ms 64 bytes from 137.160.11.3: seq=2 ttl=63 time=0.907 ms --- 137.160.11.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.825/1.956/4.137 ms 2026-11-01 00:54:56,840 - INFO - Ping to IP 137.160.11.3 from VM ctest-TestBasicPolicy-29722440-31851923 passed 2026-11-01 00:54:57,057 - DEBUG - Policy Update Response {"network-policy": {"uuid": "c5140c6d-57e4-401f-9e96-140965ca5cef", "href": "http://10.0.0.33:8082/network-policy/c5140c6d-57e4-401f-9e96-140965ca5cef"}} 2026-11-01 00:54:57,058 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-01 00:54:57,058 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 137.160.11.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-11-01 00:54:57,058 - DEBUG - ping -s 56 -c 3 -W 1 137.160.11.3 2026-11-01 00:55:00,188 - DEBUG - PING 137.160.11.3 (137.160.11.3): 56 data bytes 64 bytes from 137.160.11.3: seq=0 ttl=63 time=1.797 ms --- 137.160.11.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.797/1.797/1.797 ms 2026-11-01 00:55:00,188 - WARNING - Ping to IP 137.160.11.3 from VM ctest-TestBasicPolicy-29722440-31851923 failed 2026-11-01 00:55:00,189 - INFO - Deleting VM ctest-TestBasicPolicy-29722440-43660115 2026-11-01 00:55:00,252 - INFO - Deleting VM ctest-TestBasicPolicy-29722440-31851923 2026-11-01 00:55:00,703 - INFO - Deleted policy ctest-policy-allow-all-01448130 2026-11-01 00:55:00,703 - INFO - Deleting VN ctest-vn-99309218 2026-11-01 00:55:00,728 - DEBUG - VN aaad9ba0-d70f-4ca4-bd51-f53e6cf2b414 still in use: Unable to complete operation on network aaad9ba0-d70f-4ca4-bd51-f53e6cf2b414. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4f45eabd-4824-4707-a3f1-60bcb39e4c6c'] 2026-11-01 00:55:00,729 - WARNING - Deleting VN ctest-vn-99309218 failed..Will retry 2026-11-01 00:55:02,760 - DEBUG - VN aaad9ba0-d70f-4ca4-bd51-f53e6cf2b414 still in use: Unable to complete operation on network aaad9ba0-d70f-4ca4-bd51-f53e6cf2b414. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-171819e6-36a4-4547-a56f-b03789bc2780'] 2026-11-01 00:55:02,760 - WARNING - Deleting VN ctest-vn-99309218 failed..Will retry 2026-11-01 00:55:04,851 - DEBUG - Response for deleting network () 2026-11-01 00:55:04,851 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/4bfd9140-4331-4a87-b186-9621858a3292 2026-11-01 00:55:04,856 - DEBUG - Response Code: 404 2026-11-01 00:55:04,857 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-11-01 00:55:04,868 - DEBUG - Requesting: http://10.0.0.33:8082/domain/3e5ea63c-1e1e-4e45-a3b8-04755df0e67b 2026-11-01 00:55:04,923 - DEBUG - Requesting: http://10.0.0.33:8082/project/a923471e-d7af-4e8d-92ee-72d10d050ef1 2026-11-01 00:55:04,992 - INFO - Validated that VN ctest-vn-99309218 is not found in API Server 2026-11-01 00:55:05,002 - DEBUG - VN ctest-vn-99309218 is not present in Agent 10.0.0.33 2026-11-01 00:55:05,002 - INFO - Validated that VN ctest-vn-99309218 is not in any agent 2026-11-01 00:55:05,014 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-99309218 info 2026-11-01 00:55:05,015 - INFO - Deleting VN ctest-vn-09141698 2026-11-01 00:55:05,108 - DEBUG - Response for deleting network () 2026-11-01 00:55:05,108 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/5764c6e6-ae17-4b2d-bcb7-69c73f58db4b 2026-11-01 00:55:05,112 - DEBUG - Response Code: 404 2026-11-01 00:55:05,112 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-11-01 00:55:05,117 - DEBUG - Requesting: http://10.0.0.33:8082/domain/3e5ea63c-1e1e-4e45-a3b8-04755df0e67b 2026-11-01 00:55:05,169 - DEBUG - Requesting: http://10.0.0.33:8082/project/a923471e-d7af-4e8d-92ee-72d10d050ef1 2026-11-01 00:55:05,241 - INFO - Validated that VN ctest-vn-09141698 is not found in API Server 2026-11-01 00:55:05,251 - DEBUG - VN ctest-vn-09141698 is not present in Agent 10.0.0.33 2026-11-01 00:55:05,251 - INFO - Validated that VN ctest-vn-09141698 is not in any agent 2026-11-01 00:55:05,265 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-09141698 info 2026-11-01 00:55:05,523 - DEBUG - No XMPP flaps were noticed during the test
2026-11-01 00:55:05,523 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:06]
2026-11-01 00:55:05,523 - INFO - -------------------------------------------------------------------------------- 2026-11-01 00:55:06,736 - INFO - Deleted project: ctest-TestBasicPolicy-29722440, ID : a923471e-d7af-4e8d-92ee-72d10d050ef1