2025-06-19 10:37:25,812 - INFO - Domain Default found not creating 2025-06-19 10:37:25,969 - INFO - Project ctest-TestBasicPolicy-26197193 not found, creating it 2025-06-19 10:37:26,467 - INFO - Created Project:ctest-TestBasicPolicy-26197193, ID : ee5700df-c711-4cd5-a6fb-9ea52f487f26 2025-06-19 10:37:28,121 - INFO - ================================================================================ 2025-06-19 10:37:28,121 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-19 10:37:28,121 - 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 2025-06-19 10:37:28,377 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.254': '0'}} with 2025-06-19 10:37:28,377 - INFO - Initial checks done. Running the testcase now 2025-06-19 10:37:28,378 - INFO - 2025-06-19 10:37:29,012 - DEBUG - Response for create_network : {'network': {'id': 'fc23a607-36bc-4b0d-a0ae-2a024e7e586a', 'name': 'ctest-vn-15969004', 'tenant_id': 'ee5700dfc7114cd5a6fb9ea52f487f26', 'project_id': 'ee5700dfc7114cd5a6fb9ea52f487f26', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-26197193', 'ctest-vn-15969004'], 'port_security_enabled': True, 'description': ''}} 2025-06-19 10:37:29,214 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b6455c26-7aa0-4edf-bbd6-ec0322f69fa5', 'name': '', 'tenant_id': 'ee5700dfc7114cd5a6fb9ea52f487f26', 'network_id': 'fc23a607-36bc-4b0d-a0ae-2a024e7e586a', 'ip_version': 4, 'cidr': '89.214.168.128/26', 'allocation_pools': [{'start': '89.214.168.130', 'end': '89.214.168.190'}], 'gateway_ip': '89.214.168.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '89.214.168.130', 'tags': [], 'project_id': 'ee5700dfc7114cd5a6fb9ea52f487f26'}} 2025-06-19 10:37:29,235 - INFO - Created VN ctest-vn-15969004 2025-06-19 10:37:29,291 - DEBUG - VN ctest-vn-15969004 UUID is fc23a607-36bc-4b0d-a0ae-2a024e7e586a 2025-06-19 10:37:29,598 - DEBUG - Response for create_network : {'network': {'id': '5cfc3b3c-a1ca-4a8a-875e-ae6b993fca52', 'name': 'ctest-vn-47103736', 'tenant_id': 'ee5700dfc7114cd5a6fb9ea52f487f26', 'project_id': 'ee5700dfc7114cd5a6fb9ea52f487f26', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-26197193', 'ctest-vn-47103736'], 'port_security_enabled': True, 'description': ''}} 2025-06-19 10:37:29,844 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a490d773-a025-42ec-87da-38f0b0b2c7d7', 'name': '', 'tenant_id': 'ee5700dfc7114cd5a6fb9ea52f487f26', 'network_id': '5cfc3b3c-a1ca-4a8a-875e-ae6b993fca52', 'ip_version': 4, 'cidr': '99.62.225.128/26', 'allocation_pools': [{'start': '99.62.225.130', 'end': '99.62.225.190'}], 'gateway_ip': '99.62.225.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '99.62.225.130', 'tags': [], 'project_id': 'ee5700dfc7114cd5a6fb9ea52f487f26'}} 2025-06-19 10:37:29,863 - INFO - Created VN ctest-vn-47103736 2025-06-19 10:37:29,919 - DEBUG - VN ctest-vn-47103736 UUID is 5cfc3b3c-a1ca-4a8a-875e-ae6b993fca52 2025-06-19 10:37:30,042 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-26197193:ctest-vn-15969004, 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-26197193:ctest-vn-47103736, 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] 2025-06-19 10:37:30,344 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fc23a607-36bc-4b0d-a0ae-2a024e7e586a', 'name': 'ctest-vn-15969004', 'tenant_id': 'ee5700dfc7114cd5a6fb9ea52f487f26', 'project_id': 'ee5700dfc7114cd5a6fb9ea52f487f26', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b6455c26-7aa0-4edf-bbd6-ec0322f69fa5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-26197193', 'ctest-vn-15969004'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-26197193', 'ctest-policy-allow-all-24374537']], 'subnet_ipam': [{'subnet_cidr': '89.214.168.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-19 10:37:30,597 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5cfc3b3c-a1ca-4a8a-875e-ae6b993fca52', 'name': 'ctest-vn-47103736', 'tenant_id': 'ee5700dfc7114cd5a6fb9ea52f487f26', 'project_id': 'ee5700dfc7114cd5a6fb9ea52f487f26', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a490d773-a025-42ec-87da-38f0b0b2c7d7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-26197193', 'ctest-vn-47103736'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-26197193', 'ctest-policy-allow-all-24374537']], 'subnet_ipam': [{'subnet_cidr': '99.62.225.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-19 10:37:30,771 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-06-19 10:37:31,110 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-06-19 10:37:31,148 - DEBUG - Requesting: http://10.0.0.242:8082/domain/e42f806f-f7e0-480d-887e-4f703f083240 2025-06-19 10:37:31,165 - DEBUG - Requesting: http://10.0.0.242:8082/project/ee5700df-c711-4cd5-a6fb-9ea52f487f26 2025-06-19 10:37:31,250 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/fc23a607-36bc-4b0d-a0ae-2a024e7e586a 2025-06-19 10:37:31,264 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/fc23a607-36bc-4b0d-a0ae-2a024e7e586a 2025-06-19 10:37:31,279 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/1e7bcd31-df04-44e2-8f20-6c618c8d1716 2025-06-19 10:37:31,289 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/1e7bcd31-df04-44e2-8f20-6c618c8d1716 2025-06-19 10:37:31,299 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/8aef3c5c-5ff6-413f-963c-f8e6d3fab23a 2025-06-19 10:37:31,307 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-19 10:37:31,307 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/fc23a607-36bc-4b0d-a0ae-2a024e7e586a 2025-06-19 10:37:31,318 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/1e7bcd31-df04-44e2-8f20-6c618c8d1716 2025-06-19 10:37:31,338 - INFO - Verified VN network id 8 for VN fc23a607-36bc-4b0d-a0ae-2a024e7e586a 2025-06-19 10:37:31,338 - INFO - Verifications in API Server for VN ctest-vn-15969004 passed 2025-06-19 10:37:31,338 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/fc23a607-36bc-4b0d-a0ae-2a024e7e586a 2025-06-19 10:37:31,350 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/1e7bcd31-df04-44e2-8f20-6c618c8d1716 2025-06-19 10:37:31,359 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/1e7bcd31-df04-44e2-8f20-6c618c8d1716 2025-06-19 10:37:31,369 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/8aef3c5c-5ff6-413f-963c-f8e6d3fab23a 2025-06-19 10:37:31,384 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-26197193:ctest-vn-15969004', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-26197193', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18168547871656004365', 'uuid-lslong': '11578237881411328106'}, 'enable': 'true', 'created': '2025-06-19T10:37:28', 'last-modified': '2025-06-19T10:37:30', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.062738'} 2025-06-19 10:37:31,391 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-19 10:37:31,391 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-15969004 passed 2025-06-19 10:37:31,391 - DEBUG - ====Verifying policy data for ctest-vn-15969004 in API_Server ====== 2025-06-19 10:37:31,392 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-06-19 10:37:31,399 - DEBUG - Requesting: http://10.0.0.242:8082/domain/e42f806f-f7e0-480d-887e-4f703f083240 2025-06-19 10:37:31,417 - DEBUG - Requesting: http://10.0.0.242:8082/project/ee5700df-c711-4cd5-a6fb-9ea52f487f26 2025-06-19 10:37:31,507 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/fc23a607-36bc-4b0d-a0ae-2a024e7e586a 2025-06-19 10:37:31,519 - DEBUG - ==>Verifying data for policy with id: 064ebfdf-0b84-4fab-a651-0d7a2d494bc8, fqn: ['default-domain', 'ctest-TestBasicPolicy-26197193', 'ctest-policy-allow-all-24374537'] 2025-06-19 10:37:31,519 - INFO - VN ctest-vn-15969004 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-19 10:37:31,519 - DEBUG - Verifying the vn in opserver 2025-06-19 10:37:31,520 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-26197193:ctest-vn-15969004 virtual network link through opserver 10.0.0.242 2025-06-19 10:37:31,520 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-06-19 10:37:31,862 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-06-19 10:37:31,924 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-26197193:ctest-vn-15969004', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-26197193:ctest-vn-15969004?flat'} 2025-06-19 10:37:31,924 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-26197193:ctest-vn-15969004 is found in opserver 2025-06-19 10:37:31,936 - DEBUG - Do not have enough data to verify VN in agent 2025-06-19 10:37:31,942 - DEBUG - VRF ids for VN ctest-vn-15969004: {} 2025-06-19 10:37:31,942 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-06-19 10:37:31,949 - DEBUG - Requesting: http://10.0.0.242:8082/domain/e42f806f-f7e0-480d-887e-4f703f083240 2025-06-19 10:37:31,962 - DEBUG - Requesting: http://10.0.0.242:8082/project/ee5700df-c711-4cd5-a6fb-9ea52f487f26 2025-06-19 10:37:32,036 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/5cfc3b3c-a1ca-4a8a-875e-ae6b993fca52 2025-06-19 10:37:32,051 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/5cfc3b3c-a1ca-4a8a-875e-ae6b993fca52 2025-06-19 10:37:32,063 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/f6cd62d1-c05c-419b-bfbe-f05651cedcc7 2025-06-19 10:37:32,072 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/f6cd62d1-c05c-419b-bfbe-f05651cedcc7 2025-06-19 10:37:32,083 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/cde91c2a-6880-454a-b3bc-e0b140f0761f 2025-06-19 10:37:32,092 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-19 10:37:32,093 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/5cfc3b3c-a1ca-4a8a-875e-ae6b993fca52 2025-06-19 10:37:32,107 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/f6cd62d1-c05c-419b-bfbe-f05651cedcc7 2025-06-19 10:37:32,127 - INFO - Verified VN network id 9 for VN 5cfc3b3c-a1ca-4a8a-875e-ae6b993fca52 2025-06-19 10:37:32,127 - INFO - Verifications in API Server for VN ctest-vn-47103736 passed 2025-06-19 10:37:32,127 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/5cfc3b3c-a1ca-4a8a-875e-ae6b993fca52 2025-06-19 10:37:32,141 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/f6cd62d1-c05c-419b-bfbe-f05651cedcc7 2025-06-19 10:37:32,151 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/f6cd62d1-c05c-419b-bfbe-f05651cedcc7 2025-06-19 10:37:32,162 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/cde91c2a-6880-454a-b3bc-e0b140f0761f 2025-06-19 10:37:32,186 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-26197193:ctest-vn-47103736', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-26197193', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6700295477218921098', 'uuid-lslong': '9754425620086901330'}, 'enable': 'true', 'created': '2025-06-19T10:37:29', 'last-modified': '2025-06-19T10:37:30', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.612725'} 2025-06-19 10:37:32,194 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-19 10:37:32,194 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-47103736 passed 2025-06-19 10:37:32,195 - DEBUG - ====Verifying policy data for ctest-vn-47103736 in API_Server ====== 2025-06-19 10:37:32,195 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-06-19 10:37:32,202 - DEBUG - Requesting: http://10.0.0.242:8082/domain/e42f806f-f7e0-480d-887e-4f703f083240 2025-06-19 10:37:32,218 - DEBUG - Requesting: http://10.0.0.242:8082/project/ee5700df-c711-4cd5-a6fb-9ea52f487f26 2025-06-19 10:37:32,299 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/5cfc3b3c-a1ca-4a8a-875e-ae6b993fca52 2025-06-19 10:37:32,310 - DEBUG - ==>Verifying data for policy with id: 064ebfdf-0b84-4fab-a651-0d7a2d494bc8, fqn: ['default-domain', 'ctest-TestBasicPolicy-26197193', 'ctest-policy-allow-all-24374537'] 2025-06-19 10:37:32,311 - INFO - VN ctest-vn-47103736 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-19 10:37:32,311 - DEBUG - Verifying the vn in opserver 2025-06-19 10:37:32,311 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-26197193:ctest-vn-47103736 virtual network link through opserver 10.0.0.242 2025-06-19 10:37:32,311 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-06-19 10:37:32,323 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-26197193:ctest-vn-47103736', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-26197193:ctest-vn-47103736?flat'} 2025-06-19 10:37:32,323 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-26197193:ctest-vn-47103736 is found in opserver 2025-06-19 10:37:32,336 - DEBUG - Do not have enough data to verify VN in agent 2025-06-19 10:37:32,342 - DEBUG - VRF ids for VN ctest-vn-47103736: {} 2025-06-19 10:37:32,404 - DEBUG - Services list from nova: [, , ] 2025-06-19 10:37:33,555 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3489-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3489-1) 2025-06-19 10:37:34,931 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3489-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3489-1) 2025-06-19 10:37:34,931 - INFO - Waiting for VM ctest-TestBasicPolicy-26197193-86506543 to be up.. 2025-06-19 10:37:35,024 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-19 10:37:40,119 - DEBUG - VM is in ACTIVE state now 2025-06-19 10:37:40,119 - INFO - VM name : ctest-TestBasicPolicy-26197193-86506543 2025-06-19 10:37:40,202 - DEBUG - VM ctest-TestBasicPolicy-26197193-86506543 ID is ba07d05c-c1b9-4450-8f15-46dffe2dca28 2025-06-19 10:37:40,224 - DEBUG - VM ctest-TestBasicPolicy-26197193-86506543 launched on Node cn-jenkins-deploy-platform-ansible-os-3489-1 2025-06-19 10:37:40,305 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/ba07d05c-c1b9-4450-8f15-46dffe2dca28 2025-06-19 10:37:40,314 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/4bcfb145-da69-4ddf-ac80-f5e70fc44e5f 2025-06-19 10:37:43,563 - 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 1002ms') 2025-06-19 10:37:43,563 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-26197193-86506543 failed! 2025-06-19 10:37:43,623 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-26197193:ctest-vn-15969004 is 89.214.168.129 and allocation pool is NOT set 2025-06-19 10:37:45,683 - 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=7.77 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.05 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 3.053/5.411/7.769/2.358 ms') 2025-06-19 10:37:45,683 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-26197193-86506543 passed 2025-06-19 10:37:45,843 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-19 10:37:45,843 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-26197193-86506543, IP 89.214.168.131, Port 22 2025-06-19 10:37:46,009 - DEBUG - VM ctest-TestBasicPolicy-26197193-86506543 is ready for SSH connections 2025-06-19 10:37:46,009 - INFO - Waiting for VM ctest-TestBasicPolicy-26197193-79549208 to be up.. 2025-06-19 10:37:46,106 - DEBUG - VM is in ACTIVE state now 2025-06-19 10:37:46,106 - INFO - VM name : ctest-TestBasicPolicy-26197193-79549208 2025-06-19 10:37:46,192 - DEBUG - VM ctest-TestBasicPolicy-26197193-79549208 ID is c84d1f74-5ae8-40b5-99d0-e2c89297f9f6 2025-06-19 10:37:46,193 - DEBUG - VM ctest-TestBasicPolicy-26197193-79549208 launched on Node cn-jenkins-deploy-platform-ansible-os-3489-1 2025-06-19 10:37:46,284 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/c84d1f74-5ae8-40b5-99d0-e2c89297f9f6 2025-06-19 10:37:46,293 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/ce3df834-910f-41ca-97cf-1d577175b9a6 2025-06-19 10:37:47,553 - 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=4.93 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.37 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 = 2.374/3.653/4.932/1.279 ms') 2025-06-19 10:37:47,553 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-26197193-79549208 passed 2025-06-19 10:37:47,711 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-19 10:37:47,711 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-26197193-79549208, IP 99.62.225.131, Port 22 2025-06-19 10:37:47,876 - DEBUG - VM ctest-TestBasicPolicy-26197193-79549208 is ready for SSH connections 2025-06-19 10:37:47,876 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-19 10:37:47,877 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 99.62.225.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-06-19 10:37:47,877 - DEBUG - ping -s 56 -c 3 -W 1 99.62.225.131 2025-06-19 10:37:51,610 - DEBUG - PING 99.62.225.131 (99.62.225.131): 56 data bytes 64 bytes from 99.62.225.131: seq=0 ttl=63 time=5.234 ms 64 bytes from 99.62.225.131: seq=1 ttl=63 time=0.882 ms 64 bytes from 99.62.225.131: seq=2 ttl=63 time=0.759 ms --- 99.62.225.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.759/2.291/5.234 ms 2025-06-19 10:37:51,610 - INFO - Ping to IP 99.62.225.131 from VM ctest-TestBasicPolicy-26197193-86506543 passed 2025-06-19 10:37:51,798 - DEBUG - Policy Update Response {"network-policy": {"uuid": "064ebfdf-0b84-4fab-a651-0d7a2d494bc8", "href": "http://10.0.0.242:8082/network-policy/064ebfdf-0b84-4fab-a651-0d7a2d494bc8"}} 2025-06-19 10:37:51,799 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-19 10:37:51,799 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 99.62.225.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-06-19 10:37:51,799 - DEBUG - ping -s 56 -c 3 -W 1 99.62.225.131 2025-06-19 10:37:55,033 - DEBUG - PING 99.62.225.131 (99.62.225.131): 56 data bytes 64 bytes from 99.62.225.131: seq=0 ttl=63 time=1.935 ms --- 99.62.225.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.935/1.935/1.935 ms 2025-06-19 10:37:55,033 - WARNING - Ping to IP 99.62.225.131 from VM ctest-TestBasicPolicy-26197193-86506543 failed 2025-06-19 10:37:55,034 - INFO - Deleting VM ctest-TestBasicPolicy-26197193-79549208 2025-06-19 10:37:55,101 - INFO - Deleting VM ctest-TestBasicPolicy-26197193-86506543 2025-06-19 10:37:55,541 - INFO - Deleted policy ctest-policy-allow-all-24374537 2025-06-19 10:37:55,541 - INFO - Deleting VN ctest-vn-47103736 2025-06-19 10:37:55,581 - DEBUG - VN 5cfc3b3c-a1ca-4a8a-875e-ae6b993fca52 still in use: Unable to complete operation on network 5cfc3b3c-a1ca-4a8a-875e-ae6b993fca52. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6b25d4a7-7edc-4ffd-9a21-291b620fcc42'] 2025-06-19 10:37:55,581 - WARNING - Deleting VN ctest-vn-47103736 failed..Will retry 2025-06-19 10:37:57,687 - DEBUG - Response for deleting network () 2025-06-19 10:37:57,687 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/f6cd62d1-c05c-419b-bfbe-f05651cedcc7 2025-06-19 10:37:57,695 - DEBUG - Response Code: 404 2025-06-19 10:37:57,696 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-06-19 10:37:57,703 - DEBUG - Requesting: http://10.0.0.242:8082/domain/e42f806f-f7e0-480d-887e-4f703f083240 2025-06-19 10:37:57,757 - DEBUG - Requesting: http://10.0.0.242:8082/project/ee5700df-c711-4cd5-a6fb-9ea52f487f26 2025-06-19 10:37:57,832 - INFO - Validated that VN ctest-vn-47103736 is not found in API Server 2025-06-19 10:37:57,845 - DEBUG - VN ctest-vn-47103736 is not present in Agent 10.0.0.242 2025-06-19 10:37:57,845 - INFO - Validated that VN ctest-vn-47103736 is not in any agent 2025-06-19 10:37:57,864 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-47103736 info 2025-06-19 10:37:57,864 - INFO - Deleting VN ctest-vn-15969004 2025-06-19 10:37:57,997 - DEBUG - Response for deleting network () 2025-06-19 10:37:57,998 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/1e7bcd31-df04-44e2-8f20-6c618c8d1716 2025-06-19 10:37:58,008 - DEBUG - Response Code: 404 2025-06-19 10:37:58,008 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-06-19 10:37:58,015 - DEBUG - Requesting: http://10.0.0.242:8082/domain/e42f806f-f7e0-480d-887e-4f703f083240 2025-06-19 10:37:58,072 - DEBUG - Requesting: http://10.0.0.242:8082/project/ee5700df-c711-4cd5-a6fb-9ea52f487f26 2025-06-19 10:37:58,148 - INFO - Validated that VN ctest-vn-15969004 is not found in API Server 2025-06-19 10:37:58,160 - DEBUG - VN ctest-vn-15969004 is not present in Agent 10.0.0.242 2025-06-19 10:37:58,160 - INFO - Validated that VN ctest-vn-15969004 is not in any agent 2025-06-19 10:37:58,177 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-15969004 info 2025-06-19 10:37:58,433 - DEBUG - No XMPP flaps were noticed during the test 2025-06-19 10:37:58,433 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-06-19 10:37:58,434 - INFO - -------------------------------------------------------------------------------- 2025-06-19 10:37:59,184 - INFO - Deleted project: ctest-TestBasicPolicy-26197193, ID : ee5700df-c711-4cd5-a6fb-9ea52f487f26