2026-08-24 02:28:05,635 - INFO - Domain Default found not creating 2026-08-24 02:28:05,805 - INFO - Project ctest-TestBasicPolicy-49429271 not found, creating it 2026-08-24 02:28:06,309 - INFO - Created Project:ctest-TestBasicPolicy-49429271, ID : 6fb2cce0-55e6-4d69-8edf-e643872c989d 2026-08-24 02:28:07,920 - INFO - ================================================================================ 2026-08-24 02:28:07,920 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-08-24 02:28:07,921 - 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-08-24 02:28:08,190 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-08-24 02:28:08,190 - INFO - Initial checks done. Running the testcase now 2026-08-24 02:28:08,190 - INFO - 2026-08-24 02:28:08,774 - DEBUG - Response for create_network : {'network': {'id': '9d7f633b-b689-4f8e-a93a-fde1fecd2d94', 'name': 'ctest-vn-28468139', 'tenant_id': '6fb2cce055e64d698edfe643872c989d', 'project_id': '6fb2cce055e64d698edfe643872c989d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49429271', 'ctest-vn-28468139'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-08-24 02:28:08,943 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a74ba190-0b29-4df0-b81b-e4c8d02e25dd', 'name': '', 'tenant_id': '6fb2cce055e64d698edfe643872c989d', 'network_id': '9d7f633b-b689-4f8e-a93a-fde1fecd2d94', 'ip_version': 4, 'cidr': '204.66.143.128/26', 'allocation_pools': [{'start': '204.66.143.130', 'end': '204.66.143.190'}], 'gateway_ip': '204.66.143.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-08-24T02:28:08.891744', 'updated_at': '2026-08-24T02:28:08.891744', 'dns_server_address': '204.66.143.130', 'tags': [], 'project_id': '6fb2cce055e64d698edfe643872c989d'}} 2026-08-24 02:28:08,961 - INFO - Created VN ctest-vn-28468139 2026-08-24 02:28:09,014 - DEBUG - VN ctest-vn-28468139 UUID is 9d7f633b-b689-4f8e-a93a-fde1fecd2d94 2026-08-24 02:28:09,310 - DEBUG - Response for create_network : {'network': {'id': '5de0bbd0-1d59-4ae8-9cdc-2e34427580c1', 'name': 'ctest-vn-40507357', 'tenant_id': '6fb2cce055e64d698edfe643872c989d', 'project_id': '6fb2cce055e64d698edfe643872c989d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49429271', 'ctest-vn-40507357'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-08-24 02:28:09,501 - DEBUG - Response for create_subnet : {'subnet': {'id': '1a341caa-c197-4343-b042-0aa6cfd71679', 'name': '', 'tenant_id': '6fb2cce055e64d698edfe643872c989d', 'network_id': '5de0bbd0-1d59-4ae8-9cdc-2e34427580c1', 'ip_version': 4, 'cidr': '187.64.17.192/26', 'allocation_pools': [{'start': '187.64.17.194', 'end': '187.64.17.254'}], 'gateway_ip': '187.64.17.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-08-24T02:28:09.434458', 'updated_at': '2026-08-24T02:28:09.434458', 'dns_server_address': '187.64.17.194', 'tags': [], 'project_id': '6fb2cce055e64d698edfe643872c989d'}} 2026-08-24 02:28:09,519 - INFO - Created VN ctest-vn-40507357 2026-08-24 02:28:09,569 - DEBUG - VN ctest-vn-40507357 UUID is 5de0bbd0-1d59-4ae8-9cdc-2e34427580c1 2026-08-24 02:28:09,717 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-49429271:ctest-vn-28468139, 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-49429271:ctest-vn-40507357, 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-08-24 02:28:10,014 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9d7f633b-b689-4f8e-a93a-fde1fecd2d94', 'name': 'ctest-vn-28468139', 'tenant_id': '6fb2cce055e64d698edfe643872c989d', 'project_id': '6fb2cce055e64d698edfe643872c989d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a74ba190-0b29-4df0-b81b-e4c8d02e25dd'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49429271', 'ctest-vn-28468139'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-49429271', 'ctest-policy-allow-all-44907373']], 'subnet_ipam': [{'subnet_cidr': '204.66.143.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2026-08-24T02:28:08.743315', 'updated_at': '2026-08-24T02:28:08.902612'}} 2026-08-24 02:28:10,241 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5de0bbd0-1d59-4ae8-9cdc-2e34427580c1', 'name': 'ctest-vn-40507357', 'tenant_id': '6fb2cce055e64d698edfe643872c989d', 'project_id': '6fb2cce055e64d698edfe643872c989d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1a341caa-c197-4343-b042-0aa6cfd71679'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49429271', 'ctest-vn-40507357'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-49429271', 'ctest-policy-allow-all-44907373']], 'subnet_ipam': [{'subnet_cidr': '187.64.17.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2026-08-24T02:28:09.275419', 'updated_at': '2026-08-24T02:28:09.447513'}} 2026-08-24 02:28:10,401 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-08-24 02:28:10,723 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-08-24 02:28:10,750 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d70d8749-785a-46c7-989f-4684afa6070a 2026-08-24 02:28:10,764 - DEBUG - Requesting: http://10.0.0.38:8082/project/6fb2cce0-55e6-4d69-8edf-e643872c989d 2026-08-24 02:28:10,845 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9d7f633b-b689-4f8e-a93a-fde1fecd2d94 2026-08-24 02:28:10,861 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9d7f633b-b689-4f8e-a93a-fde1fecd2d94 2026-08-24 02:28:10,871 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9e205555-89b8-4ca9-ad9e-7b6626b4170e 2026-08-24 02:28:10,878 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9e205555-89b8-4ca9-ad9e-7b6626b4170e 2026-08-24 02:28:10,885 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/e5dc8ab3-f547-479b-865d-8f35e364f309 2026-08-24 02:28:10,892 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-24 02:28:10,892 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9d7f633b-b689-4f8e-a93a-fde1fecd2d94 2026-08-24 02:28:10,901 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9e205555-89b8-4ca9-ad9e-7b6626b4170e 2026-08-24 02:28:10,914 - INFO - Verified VN network id 11 for VN 9d7f633b-b689-4f8e-a93a-fde1fecd2d94 2026-08-24 02:28:10,914 - INFO - Verifications in API Server for VN ctest-vn-28468139 passed 2026-08-24 02:28:10,914 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9d7f633b-b689-4f8e-a93a-fde1fecd2d94 2026-08-24 02:28:10,927 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9e205555-89b8-4ca9-ad9e-7b6626b4170e 2026-08-24 02:28:10,935 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9e205555-89b8-4ca9-ad9e-7b6626b4170e 2026-08-24 02:28:10,941 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/e5dc8ab3-f547-479b-865d-8f35e364f309 2026-08-24 02:28:10,956 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-49429271:ctest-vn-28468139', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-49429271', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11348898694113611662', 'uuid-lslong': '12194338088143367572'}, 'enable': 'true', 'created': '2026-08-24T02:28:08', 'last-modified': '2026-08-24T02:28:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.957217'} 2026-08-24 02:28:10,964 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-24 02:28:10,964 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-28468139 passed 2026-08-24 02:28:10,964 - DEBUG - ====Verifying policy data for ctest-vn-28468139 in API_Server ====== 2026-08-24 02:28:10,964 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-08-24 02:28:10,971 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d70d8749-785a-46c7-989f-4684afa6070a 2026-08-24 02:28:10,983 - DEBUG - Requesting: http://10.0.0.38:8082/project/6fb2cce0-55e6-4d69-8edf-e643872c989d 2026-08-24 02:28:11,065 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9d7f633b-b689-4f8e-a93a-fde1fecd2d94 2026-08-24 02:28:11,077 - DEBUG - ==>Verifying data for policy with id: d4a8b7a6-1078-4079-a112-89eb278ba4ea, fqn: ['default-domain', 'ctest-TestBasicPolicy-49429271', 'ctest-policy-allow-all-44907373'] 2026-08-24 02:28:11,077 - INFO - VN ctest-vn-28468139 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-24 02:28:11,077 - DEBUG - Verifying the vn in opserver 2026-08-24 02:28:11,077 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-49429271:ctest-vn-28468139 virtual network link through opserver 10.0.0.38 2026-08-24 02:28:11,077 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-08-24 02:28:11,404 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-08-24 02:28:11,462 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-49429271:ctest-vn-28468139', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-49429271:ctest-vn-28468139?flat'} 2026-08-24 02:28:11,462 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-49429271:ctest-vn-28468139 is found in opserver 2026-08-24 02:28:11,473 - DEBUG - Do not have enough data to verify VN in agent 2026-08-24 02:28:11,479 - DEBUG - VRF ids for VN ctest-vn-28468139: {} 2026-08-24 02:28:11,479 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-08-24 02:28:11,486 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d70d8749-785a-46c7-989f-4684afa6070a 2026-08-24 02:28:11,499 - DEBUG - Requesting: http://10.0.0.38:8082/project/6fb2cce0-55e6-4d69-8edf-e643872c989d 2026-08-24 02:28:11,569 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5de0bbd0-1d59-4ae8-9cdc-2e34427580c1 2026-08-24 02:28:11,582 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5de0bbd0-1d59-4ae8-9cdc-2e34427580c1 2026-08-24 02:28:11,591 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c1fd2276-67a8-41b4-a42d-ed5ebcdd5c57 2026-08-24 02:28:11,600 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c1fd2276-67a8-41b4-a42d-ed5ebcdd5c57 2026-08-24 02:28:11,608 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/7f89d164-67eb-40f4-8b27-82101ea8fe50 2026-08-24 02:28:11,615 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-24 02:28:11,615 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5de0bbd0-1d59-4ae8-9cdc-2e34427580c1 2026-08-24 02:28:11,625 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c1fd2276-67a8-41b4-a42d-ed5ebcdd5c57 2026-08-24 02:28:11,641 - INFO - Verified VN network id 12 for VN 5de0bbd0-1d59-4ae8-9cdc-2e34427580c1 2026-08-24 02:28:11,641 - INFO - Verifications in API Server for VN ctest-vn-40507357 passed 2026-08-24 02:28:11,641 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5de0bbd0-1d59-4ae8-9cdc-2e34427580c1 2026-08-24 02:28:11,652 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c1fd2276-67a8-41b4-a42d-ed5ebcdd5c57 2026-08-24 02:28:11,660 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c1fd2276-67a8-41b4-a42d-ed5ebcdd5c57 2026-08-24 02:28:11,669 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/7f89d164-67eb-40f4-8b27-82101ea8fe50 2026-08-24 02:28:11,683 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-49429271:ctest-vn-40507357', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-49429271', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6764613142830467816', 'uuid-lslong': '11302959966781276353'}, 'enable': 'true', 'created': '2026-08-24T02:28:09', 'last-modified': '2026-08-24T02:28:10', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.467798'} 2026-08-24 02:28:11,689 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-24 02:28:11,689 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-40507357 passed 2026-08-24 02:28:11,689 - DEBUG - ====Verifying policy data for ctest-vn-40507357 in API_Server ====== 2026-08-24 02:28:11,689 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-08-24 02:28:11,694 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d70d8749-785a-46c7-989f-4684afa6070a 2026-08-24 02:28:11,705 - DEBUG - Requesting: http://10.0.0.38:8082/project/6fb2cce0-55e6-4d69-8edf-e643872c989d 2026-08-24 02:28:11,783 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5de0bbd0-1d59-4ae8-9cdc-2e34427580c1 2026-08-24 02:28:11,793 - DEBUG - ==>Verifying data for policy with id: d4a8b7a6-1078-4079-a112-89eb278ba4ea, fqn: ['default-domain', 'ctest-TestBasicPolicy-49429271', 'ctest-policy-allow-all-44907373'] 2026-08-24 02:28:11,793 - INFO - VN ctest-vn-40507357 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-24 02:28:11,793 - DEBUG - Verifying the vn in opserver 2026-08-24 02:28:11,794 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-49429271:ctest-vn-40507357 virtual network link through opserver 10.0.0.38 2026-08-24 02:28:11,794 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-08-24 02:28:11,804 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-49429271:ctest-vn-40507357', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-49429271:ctest-vn-40507357?flat'} 2026-08-24 02:28:11,804 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-49429271:ctest-vn-40507357 is found in opserver 2026-08-24 02:28:11,816 - DEBUG - Do not have enough data to verify VN in agent 2026-08-24 02:28:11,821 - DEBUG - VRF ids for VN ctest-vn-40507357: {} 2026-08-24 02:28:11,876 - DEBUG - Services list from nova: [, , ] 2026-08-24 02:28:12,307 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6210-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6210-1) 2026-08-24 02:28:12,731 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6210-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6210-1) 2026-08-24 02:28:12,731 - INFO - Waiting for VM ctest-TestBasicPolicy-49429271-88875499 to be up.. 2026-08-24 02:28:12,770 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-24 02:28:17,849 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-24 02:28:22,925 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-24 02:28:28,009 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-24 02:28:33,088 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-24 02:28:38,168 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-24 02:28:43,254 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-24 02:28:48,339 - DEBUG - VM is in ACTIVE state now 2026-08-24 02:28:48,339 - INFO - VM name : ctest-TestBasicPolicy-49429271-88875499 2026-08-24 02:28:48,416 - DEBUG - VM ctest-TestBasicPolicy-49429271-88875499 ID is 41c29ec0-38f3-4288-b0bc-957a4c492bf1 2026-08-24 02:28:48,440 - DEBUG - VM ctest-TestBasicPolicy-49429271-88875499 launched on Node cn-jenkins-deploy-platform-ansible-os-6210-1 2026-08-24 02:28:48,513 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/41c29ec0-38f3-4288-b0bc-957a4c492bf1 2026-08-24 02:28:48,522 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/7d108578-6f92-4398-b823-497d9c852b16 2026-08-24 02:28:51,785 - 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 1020ms') 2026-08-24 02:28:51,786 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-49429271-88875499 failed! 2026-08-24 02:28:51,842 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-49429271:ctest-vn-28468139 is 204.66.143.129 and allocation pool is NOT set 2026-08-24 02:28:55,914 - 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=2 ttl=63 time=4.71 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1009ms\r\nrtt min/avg/max/mdev = 4.712/4.712/4.712/0.000 ms') 2026-08-24 02:28:55,914 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-49429271-88875499 passed 2026-08-24 02:28:56,070 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-24 02:28:56,070 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-49429271-88875499, IP 204.66.143.131, Port 22 2026-08-24 02:28:56,235 - DEBUG - VM ctest-TestBasicPolicy-49429271-88875499 is ready for SSH connections 2026-08-24 02:28:56,236 - INFO - Waiting for VM ctest-TestBasicPolicy-49429271-51840625 to be up.. 2026-08-24 02:28:56,317 - DEBUG - VM is in ACTIVE state now 2026-08-24 02:28:56,318 - INFO - VM name : ctest-TestBasicPolicy-49429271-51840625 2026-08-24 02:28:56,404 - DEBUG - VM ctest-TestBasicPolicy-49429271-51840625 ID is 236983a9-1b0e-4404-87ac-a090379f1a7a 2026-08-24 02:28:56,404 - DEBUG - VM ctest-TestBasicPolicy-49429271-51840625 launched on Node cn-jenkins-deploy-platform-ansible-os-6210-1 2026-08-24 02:28:56,479 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/236983a9-1b0e-4404-87ac-a090379f1a7a 2026-08-24 02:28:56,488 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/c89a2ca3-4438-4fb5-be38-21d4108180ad 2026-08-24 02:28:59,760 - 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.26 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1016ms\r\nrtt min/avg/max/mdev = 4.261/4.261/4.261/0.000 ms') 2026-08-24 02:28:59,760 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-49429271-51840625 passed 2026-08-24 02:28:59,914 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-24 02:28:59,914 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-49429271-51840625, IP 187.64.17.195, Port 22 2026-08-24 02:29:00,081 - DEBUG - VM ctest-TestBasicPolicy-49429271-51840625 is ready for SSH connections 2026-08-24 02:29:00,081 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-24 02:29:00,081 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 187.64.17.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-08-24 02:29:00,081 - DEBUG - ping -s 56 -c 3 -W 1 187.64.17.195 2026-08-24 02:29:04,013 - DEBUG - PING 187.64.17.195 (187.64.17.195): 56 data bytes 64 bytes from 187.64.17.195: seq=0 ttl=63 time=4.089 ms 64 bytes from 187.64.17.195: seq=1 ttl=63 time=1.127 ms 64 bytes from 187.64.17.195: seq=2 ttl=63 time=0.948 ms --- 187.64.17.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.948/2.054/4.089 ms 2026-08-24 02:29:04,013 - INFO - Ping to IP 187.64.17.195 from VM ctest-TestBasicPolicy-49429271-88875499 passed 2026-08-24 02:29:04,201 - DEBUG - Policy Update Response {"network-policy": {"uuid": "d4a8b7a6-1078-4079-a112-89eb278ba4ea", "href": "http://10.0.0.38:8082/network-policy/d4a8b7a6-1078-4079-a112-89eb278ba4ea"}} 2026-08-24 02:29:04,202 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-24 02:29:04,202 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 187.64.17.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-08-24 02:29:04,202 - DEBUG - ping -s 56 -c 3 -W 1 187.64.17.195 2026-08-24 02:29:07,341 - DEBUG - PING 187.64.17.195 (187.64.17.195): 56 data bytes 64 bytes from 187.64.17.195: seq=0 ttl=63 time=1.541 ms --- 187.64.17.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.541/1.541/1.541 ms 2026-08-24 02:29:07,341 - WARNING - Ping to IP 187.64.17.195 from VM ctest-TestBasicPolicy-49429271-88875499 failed 2026-08-24 02:29:07,341 - INFO - Deleting VM ctest-TestBasicPolicy-49429271-51840625 2026-08-24 02:29:07,428 - INFO - Deleting VM ctest-TestBasicPolicy-49429271-88875499 2026-08-24 02:29:07,831 - INFO - Deleted policy ctest-policy-allow-all-44907373 2026-08-24 02:29:07,831 - INFO - Deleting VN ctest-vn-40507357 2026-08-24 02:29:07,867 - DEBUG - VN 5de0bbd0-1d59-4ae8-9cdc-2e34427580c1 still in use: Unable to complete operation on network 5de0bbd0-1d59-4ae8-9cdc-2e34427580c1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-14c5e6a7-ce70-429f-a5c6-7c424ce7513d'] 2026-08-24 02:29:07,867 - WARNING - Deleting VN ctest-vn-40507357 failed..Will retry 2026-08-24 02:29:09,973 - DEBUG - Response for deleting network () 2026-08-24 02:29:09,973 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c1fd2276-67a8-41b4-a42d-ed5ebcdd5c57 2026-08-24 02:29:09,981 - DEBUG - Response Code: 404 2026-08-24 02:29:09,981 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-08-24 02:29:09,987 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d70d8749-785a-46c7-989f-4684afa6070a 2026-08-24 02:29:10,048 - DEBUG - Requesting: http://10.0.0.38:8082/project/6fb2cce0-55e6-4d69-8edf-e643872c989d 2026-08-24 02:29:10,131 - INFO - Validated that VN ctest-vn-40507357 is not found in API Server 2026-08-24 02:29:10,145 - DEBUG - VN ctest-vn-40507357 is not present in Agent 10.0.0.38 2026-08-24 02:29:10,145 - INFO - Validated that VN ctest-vn-40507357 is not in any agent 2026-08-24 02:29:10,162 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-40507357 info 2026-08-24 02:29:10,162 - INFO - Deleting VN ctest-vn-28468139 2026-08-24 02:29:10,259 - DEBUG - Response for deleting network () 2026-08-24 02:29:10,259 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9e205555-89b8-4ca9-ad9e-7b6626b4170e 2026-08-24 02:29:10,267 - DEBUG - Response Code: 404 2026-08-24 02:29:10,267 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-08-24 02:29:10,273 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d70d8749-785a-46c7-989f-4684afa6070a 2026-08-24 02:29:10,327 - DEBUG - Requesting: http://10.0.0.38:8082/project/6fb2cce0-55e6-4d69-8edf-e643872c989d 2026-08-24 02:29:10,401 - INFO - Validated that VN ctest-vn-28468139 is not found in API Server 2026-08-24 02:29:10,413 - DEBUG - VN ctest-vn-28468139 is not present in Agent 10.0.0.38 2026-08-24 02:29:10,413 - INFO - Validated that VN ctest-vn-28468139 is not in any agent 2026-08-24 02:29:10,429 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-28468139 info 2026-08-24 02:29:10,687 - DEBUG - No XMPP flaps were noticed during the test 2026-08-24 02:29:10,687 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:03] 2026-08-24 02:29:10,687 - INFO - -------------------------------------------------------------------------------- 2026-08-24 02:29:11,420 - INFO - Deleted project: ctest-TestBasicPolicy-49429271, ID : 6fb2cce0-55e6-4d69-8edf-e643872c989d