2025-09-04 02:08:54,238 - INFO - Domain Default found not creating 2025-09-04 02:08:54,419 - INFO - Project ctest-TestBasicPolicy-40333652 not found, creating it 2025-09-04 02:08:54,865 - INFO - Created Project:ctest-TestBasicPolicy-40333652, ID : a5c5ae05-8bd6-4e96-a77d-d9a6fc1dddb7 2025-09-04 02:08:56,933 - INFO - ================================================================================ 2025-09-04 02:08:56,933 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-04 02:08:56,933 - 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-09-04 02:08:57,189 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.193': '0'}} with 2025-09-04 02:08:57,189 - INFO - Initial checks done. Running the testcase now 2025-09-04 02:08:57,189 - INFO - 2025-09-04 02:08:57,686 - DEBUG - Response for create_network : {'network': {'id': '90298350-bfdc-4035-af4c-9d8990ed75ab', 'name': 'ctest-vn-85112769', 'tenant_id': 'a5c5ae058bd64e96a77dd9a6fc1dddb7', 'project_id': 'a5c5ae058bd64e96a77dd9a6fc1dddb7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40333652', 'ctest-vn-85112769'], 'port_security_enabled': True, 'description': ''}} 2025-09-04 02:08:57,903 - DEBUG - Response for create_subnet : {'subnet': {'id': '7fd7781d-9f9d-4c33-b825-7d5db54d4cdd', 'name': '', 'tenant_id': 'a5c5ae058bd64e96a77dd9a6fc1dddb7', 'network_id': '90298350-bfdc-4035-af4c-9d8990ed75ab', 'ip_version': 4, 'cidr': '134.33.162.128/26', 'allocation_pools': [{'start': '134.33.162.130', 'end': '134.33.162.190'}], 'gateway_ip': '134.33.162.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '134.33.162.130', 'tags': [], 'project_id': 'a5c5ae058bd64e96a77dd9a6fc1dddb7'}} 2025-09-04 02:08:57,920 - INFO - Created VN ctest-vn-85112769 2025-09-04 02:08:57,972 - DEBUG - VN ctest-vn-85112769 UUID is 90298350-bfdc-4035-af4c-9d8990ed75ab 2025-09-04 02:08:58,262 - DEBUG - Response for create_network : {'network': {'id': '6653ff48-44d5-42fe-a1cb-24eb7aa455c5', 'name': 'ctest-vn-76899084', 'tenant_id': 'a5c5ae058bd64e96a77dd9a6fc1dddb7', 'project_id': 'a5c5ae058bd64e96a77dd9a6fc1dddb7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40333652', 'ctest-vn-76899084'], 'port_security_enabled': True, 'description': ''}} 2025-09-04 02:08:58,435 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ac5c1dc8-2c8b-4da3-a475-4e79d580ae7a', 'name': '', 'tenant_id': 'a5c5ae058bd64e96a77dd9a6fc1dddb7', 'network_id': '6653ff48-44d5-42fe-a1cb-24eb7aa455c5', 'ip_version': 4, 'cidr': '125.54.138.192/26', 'allocation_pools': [{'start': '125.54.138.194', 'end': '125.54.138.254'}], 'gateway_ip': '125.54.138.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '125.54.138.194', 'tags': [], 'project_id': 'a5c5ae058bd64e96a77dd9a6fc1dddb7'}} 2025-09-04 02:08:58,452 - INFO - Created VN ctest-vn-76899084 2025-09-04 02:08:58,504 - DEBUG - VN ctest-vn-76899084 UUID is 6653ff48-44d5-42fe-a1cb-24eb7aa455c5 2025-09-04 02:08:58,656 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-40333652:ctest-vn-85112769, 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-40333652:ctest-vn-76899084, 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-09-04 02:08:58,952 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '90298350-bfdc-4035-af4c-9d8990ed75ab', 'name': 'ctest-vn-85112769', 'tenant_id': 'a5c5ae058bd64e96a77dd9a6fc1dddb7', 'project_id': 'a5c5ae058bd64e96a77dd9a6fc1dddb7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7fd7781d-9f9d-4c33-b825-7d5db54d4cdd'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40333652', 'ctest-vn-85112769'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-40333652', 'ctest-policy-allow-all-39627293']], 'subnet_ipam': [{'subnet_cidr': '134.33.162.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-04 02:08:59,191 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6653ff48-44d5-42fe-a1cb-24eb7aa455c5', 'name': 'ctest-vn-76899084', 'tenant_id': 'a5c5ae058bd64e96a77dd9a6fc1dddb7', 'project_id': 'a5c5ae058bd64e96a77dd9a6fc1dddb7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ac5c1dc8-2c8b-4da3-a475-4e79d580ae7a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40333652', 'ctest-vn-76899084'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-40333652', 'ctest-policy-allow-all-39627293']], 'subnet_ipam': [{'subnet_cidr': '125.54.138.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-04 02:08:59,336 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-04 02:08:59,645 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-04 02:08:59,673 - DEBUG - Requesting: http://10.0.0.254:8082/domain/b154e228-fc16-43c6-8547-be362aebb9a7 2025-09-04 02:08:59,684 - DEBUG - Requesting: http://10.0.0.254:8082/project/a5c5ae05-8bd6-4e96-a77d-d9a6fc1dddb7 2025-09-04 02:08:59,757 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/90298350-bfdc-4035-af4c-9d8990ed75ab 2025-09-04 02:08:59,768 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/90298350-bfdc-4035-af4c-9d8990ed75ab 2025-09-04 02:08:59,777 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/63ca4b3d-8ae8-4f4d-9a00-e8295b759737 2025-09-04 02:08:59,785 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/63ca4b3d-8ae8-4f4d-9a00-e8295b759737 2025-09-04 02:08:59,793 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/5b208bdb-3597-4f2b-b9c2-dbe67a16d284 2025-09-04 02:08:59,798 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-04 02:08:59,798 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/90298350-bfdc-4035-af4c-9d8990ed75ab 2025-09-04 02:08:59,806 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/63ca4b3d-8ae8-4f4d-9a00-e8295b759737 2025-09-04 02:08:59,820 - INFO - Verified VN network id 11 for VN 90298350-bfdc-4035-af4c-9d8990ed75ab 2025-09-04 02:08:59,820 - INFO - Verifications in API Server for VN ctest-vn-85112769 passed 2025-09-04 02:08:59,820 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/90298350-bfdc-4035-af4c-9d8990ed75ab 2025-09-04 02:08:59,829 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/63ca4b3d-8ae8-4f4d-9a00-e8295b759737 2025-09-04 02:08:59,839 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/63ca4b3d-8ae8-4f4d-9a00-e8295b759737 2025-09-04 02:08:59,846 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/5b208bdb-3597-4f2b-b9c2-dbe67a16d284 2025-09-04 02:08:59,858 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-40333652:ctest-vn-85112769', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-40333652', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10387978398346264629', 'uuid-lslong': '12631644269034960299'}, 'enable': 'true', 'created': '2025-09-04T02:08:57', 'last-modified': '2025-09-04T02:08:58', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.930952'} 2025-09-04 02:08:59,864 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-04 02:08:59,864 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-85112769 passed 2025-09-04 02:08:59,865 - DEBUG - ====Verifying policy data for ctest-vn-85112769 in API_Server ====== 2025-09-04 02:08:59,865 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-04 02:08:59,871 - DEBUG - Requesting: http://10.0.0.254:8082/domain/b154e228-fc16-43c6-8547-be362aebb9a7 2025-09-04 02:08:59,882 - DEBUG - Requesting: http://10.0.0.254:8082/project/a5c5ae05-8bd6-4e96-a77d-d9a6fc1dddb7 2025-09-04 02:08:59,954 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/90298350-bfdc-4035-af4c-9d8990ed75ab 2025-09-04 02:08:59,962 - DEBUG - ==>Verifying data for policy with id: d6c4b7a2-d367-4d2f-9775-1b5aa99b7677, fqn: ['default-domain', 'ctest-TestBasicPolicy-40333652', 'ctest-policy-allow-all-39627293'] 2025-09-04 02:08:59,963 - INFO - VN ctest-vn-85112769 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-04 02:08:59,963 - DEBUG - Verifying the vn in opserver 2025-09-04 02:08:59,963 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-40333652:ctest-vn-85112769 virtual network link through opserver 10.0.0.254 2025-09-04 02:08:59,963 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-09-04 02:09:00,267 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-09-04 02:09:00,327 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-40333652:ctest-vn-85112769', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-40333652:ctest-vn-85112769?flat'} 2025-09-04 02:09:00,327 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-40333652:ctest-vn-85112769 is found in opserver 2025-09-04 02:09:00,337 - DEBUG - Do not have enough data to verify VN in agent 2025-09-04 02:09:00,342 - DEBUG - VRF ids for VN ctest-vn-85112769: {} 2025-09-04 02:09:00,342 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-04 02:09:00,348 - DEBUG - Requesting: http://10.0.0.254:8082/domain/b154e228-fc16-43c6-8547-be362aebb9a7 2025-09-04 02:09:00,360 - DEBUG - Requesting: http://10.0.0.254:8082/project/a5c5ae05-8bd6-4e96-a77d-d9a6fc1dddb7 2025-09-04 02:09:00,434 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/6653ff48-44d5-42fe-a1cb-24eb7aa455c5 2025-09-04 02:09:00,446 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/6653ff48-44d5-42fe-a1cb-24eb7aa455c5 2025-09-04 02:09:00,456 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/a80d5a3f-c256-4c83-b916-8815b17bebd3 2025-09-04 02:09:00,464 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/a80d5a3f-c256-4c83-b916-8815b17bebd3 2025-09-04 02:09:00,472 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/0fdade5b-c7b6-4355-a4d8-fe9665945f98 2025-09-04 02:09:00,480 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-04 02:09:00,480 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/6653ff48-44d5-42fe-a1cb-24eb7aa455c5 2025-09-04 02:09:00,490 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/a80d5a3f-c256-4c83-b916-8815b17bebd3 2025-09-04 02:09:00,506 - INFO - Verified VN network id 12 for VN 6653ff48-44d5-42fe-a1cb-24eb7aa455c5 2025-09-04 02:09:00,506 - INFO - Verifications in API Server for VN ctest-vn-76899084 passed 2025-09-04 02:09:00,506 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/6653ff48-44d5-42fe-a1cb-24eb7aa455c5 2025-09-04 02:09:00,516 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/a80d5a3f-c256-4c83-b916-8815b17bebd3 2025-09-04 02:09:00,523 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/a80d5a3f-c256-4c83-b916-8815b17bebd3 2025-09-04 02:09:00,530 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/0fdade5b-c7b6-4355-a4d8-fe9665945f98 2025-09-04 02:09:00,545 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-40333652:ctest-vn-76899084', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-40333652', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7373517700793189118', 'uuid-lslong': '11658452654172165573'}, 'enable': 'true', 'created': '2025-09-04T02:08:58', 'last-modified': '2025-09-04T02:08:59', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.382932'} 2025-09-04 02:09:00,551 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-04 02:09:00,551 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-76899084 passed 2025-09-04 02:09:00,551 - DEBUG - ====Verifying policy data for ctest-vn-76899084 in API_Server ====== 2025-09-04 02:09:00,551 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-04 02:09:00,560 - DEBUG - Requesting: http://10.0.0.254:8082/domain/b154e228-fc16-43c6-8547-be362aebb9a7 2025-09-04 02:09:00,578 - DEBUG - Requesting: http://10.0.0.254:8082/project/a5c5ae05-8bd6-4e96-a77d-d9a6fc1dddb7 2025-09-04 02:09:00,659 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/6653ff48-44d5-42fe-a1cb-24eb7aa455c5 2025-09-04 02:09:00,669 - DEBUG - ==>Verifying data for policy with id: d6c4b7a2-d367-4d2f-9775-1b5aa99b7677, fqn: ['default-domain', 'ctest-TestBasicPolicy-40333652', 'ctest-policy-allow-all-39627293'] 2025-09-04 02:09:00,669 - INFO - VN ctest-vn-76899084 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-04 02:09:00,669 - DEBUG - Verifying the vn in opserver 2025-09-04 02:09:00,669 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-40333652:ctest-vn-76899084 virtual network link through opserver 10.0.0.254 2025-09-04 02:09:00,669 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-09-04 02:09:00,679 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-40333652:ctest-vn-76899084', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-40333652:ctest-vn-76899084?flat'} 2025-09-04 02:09:00,680 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-40333652:ctest-vn-76899084 is found in opserver 2025-09-04 02:09:00,693 - DEBUG - Do not have enough data to verify VN in agent 2025-09-04 02:09:00,699 - DEBUG - VRF ids for VN ctest-vn-76899084: {} 2025-09-04 02:09:00,762 - DEBUG - Services list from nova: [, , ] 2025-09-04 02:09:01,846 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4009-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4009-1) 2025-09-04 02:09:02,978 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4009-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4009-1) 2025-09-04 02:09:02,979 - INFO - Waiting for VM ctest-TestBasicPolicy-40333652-69397419 to be up.. 2025-09-04 02:09:03,064 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-04 02:09:08,149 - DEBUG - VM is in ACTIVE state now 2025-09-04 02:09:08,149 - INFO - VM name : ctest-TestBasicPolicy-40333652-69397419 2025-09-04 02:09:08,233 - DEBUG - VM ctest-TestBasicPolicy-40333652-69397419 ID is 02e75778-2f43-48f4-8cff-7aef874c8d00 2025-09-04 02:09:08,254 - DEBUG - VM ctest-TestBasicPolicy-40333652-69397419 launched on Node cn-jenkins-deploy-platform-ansible-os-4009-1 2025-09-04 02:09:08,333 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/02e75778-2f43-48f4-8cff-7aef874c8d00 2025-09-04 02:09:08,342 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/3905b54c-1bac-4bdf-a665-8ccb4580f394 2025-09-04 02:09:11,614 - 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 1023ms') 2025-09-04 02:09:11,614 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-40333652-69397419 failed! 2025-09-04 02:09:11,672 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-40333652:ctest-vn-85112769 is 134.33.162.129 and allocation pool is NOT set 2025-09-04 02:09:13,737 - 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=5.00 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.374 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.374/2.688/5.002/2.314 ms') 2025-09-04 02:09:13,737 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-40333652-69397419 passed 2025-09-04 02:09:13,884 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 02:09:13,884 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-40333652-69397419, IP 134.33.162.131, Port 22 2025-09-04 02:09:14,043 - DEBUG - VM ctest-TestBasicPolicy-40333652-69397419 is ready for SSH connections 2025-09-04 02:09:14,043 - INFO - Waiting for VM ctest-TestBasicPolicy-40333652-97559288 to be up.. 2025-09-04 02:09:14,117 - DEBUG - VM is in ACTIVE state now 2025-09-04 02:09:14,118 - INFO - VM name : ctest-TestBasicPolicy-40333652-97559288 2025-09-04 02:09:14,187 - DEBUG - VM ctest-TestBasicPolicy-40333652-97559288 ID is 2e4c3ea0-b8a8-4c74-9038-e0411600b9f8 2025-09-04 02:09:14,187 - DEBUG - VM ctest-TestBasicPolicy-40333652-97559288 launched on Node cn-jenkins-deploy-platform-ansible-os-4009-1 2025-09-04 02:09:14,255 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/2e4c3ea0-b8a8-4c74-9038-e0411600b9f8 2025-09-04 02:09:14,263 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/fd878308-cf4a-4f73-96be-4d41cad9a70d 2025-09-04 02:09:15,505 - 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.24 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.859 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.859/2.049/3.240/1.190 ms') 2025-09-04 02:09:15,505 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-40333652-97559288 passed 2025-09-04 02:09:15,660 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 02:09:15,660 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-40333652-97559288, IP 125.54.138.195, Port 22 2025-09-04 02:09:15,815 - DEBUG - VM ctest-TestBasicPolicy-40333652-97559288 is ready for SSH connections 2025-09-04 02:09:15,815 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 02:09:15,815 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 125.54.138.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-04 02:09:15,815 - DEBUG - ping -s 56 -c 3 -W 1 125.54.138.195 2025-09-04 02:09:19,845 - DEBUG - PING 125.54.138.195 (125.54.138.195): 56 data bytes 64 bytes from 125.54.138.195: seq=0 ttl=63 time=3.851 ms 64 bytes from 125.54.138.195: seq=1 ttl=63 time=0.901 ms 64 bytes from 125.54.138.195: seq=2 ttl=63 time=1.134 ms --- 125.54.138.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.901/1.962/3.851 ms 2025-09-04 02:09:19,846 - INFO - Ping to IP 125.54.138.195 from VM ctest-TestBasicPolicy-40333652-69397419 passed 2025-09-04 02:09:20,024 - DEBUG - Policy Update Response {"network-policy": {"uuid": "d6c4b7a2-d367-4d2f-9775-1b5aa99b7677", "href": "http://10.0.0.254:8082/network-policy/d6c4b7a2-d367-4d2f-9775-1b5aa99b7677"}} 2025-09-04 02:09:20,024 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 02:09:20,024 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 125.54.138.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-04 02:09:20,024 - DEBUG - ping -s 56 -c 3 -W 1 125.54.138.195 2025-09-04 02:09:23,240 - DEBUG - PING 125.54.138.195 (125.54.138.195): 56 data bytes --- 125.54.138.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-04 02:09:23,240 - WARNING - Ping to IP 125.54.138.195 from VM ctest-TestBasicPolicy-40333652-69397419 failed 2025-09-04 02:09:23,240 - INFO - Deleting VM ctest-TestBasicPolicy-40333652-97559288 2025-09-04 02:09:23,303 - INFO - Deleting VM ctest-TestBasicPolicy-40333652-69397419 2025-09-04 02:09:23,678 - INFO - Deleted policy ctest-policy-allow-all-39627293 2025-09-04 02:09:23,679 - INFO - Deleting VN ctest-vn-76899084 2025-09-04 02:09:23,713 - DEBUG - VN 6653ff48-44d5-42fe-a1cb-24eb7aa455c5 still in use: Unable to complete operation on network 6653ff48-44d5-42fe-a1cb-24eb7aa455c5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b7259368-9716-4799-9df3-1cf3ea899b7c'] 2025-09-04 02:09:23,713 - WARNING - Deleting VN ctest-vn-76899084 failed..Will retry 2025-09-04 02:09:25,820 - DEBUG - Response for deleting network () 2025-09-04 02:09:25,820 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/a80d5a3f-c256-4c83-b916-8815b17bebd3 2025-09-04 02:09:25,827 - DEBUG - Response Code: 404 2025-09-04 02:09:25,827 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-04 02:09:25,831 - DEBUG - Requesting: http://10.0.0.254:8082/domain/b154e228-fc16-43c6-8547-be362aebb9a7 2025-09-04 02:09:25,885 - DEBUG - Requesting: http://10.0.0.254:8082/project/a5c5ae05-8bd6-4e96-a77d-d9a6fc1dddb7 2025-09-04 02:09:25,957 - INFO - Validated that VN ctest-vn-76899084 is not found in API Server 2025-09-04 02:09:25,966 - DEBUG - VN ctest-vn-76899084 is not present in Agent 10.0.0.254 2025-09-04 02:09:25,966 - INFO - Validated that VN ctest-vn-76899084 is not in any agent 2025-09-04 02:09:25,979 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-76899084 info 2025-09-04 02:09:25,979 - INFO - Deleting VN ctest-vn-85112769 2025-09-04 02:09:26,073 - DEBUG - Response for deleting network () 2025-09-04 02:09:26,073 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/63ca4b3d-8ae8-4f4d-9a00-e8295b759737 2025-09-04 02:09:26,081 - DEBUG - Response Code: 404 2025-09-04 02:09:26,081 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-04 02:09:26,086 - DEBUG - Requesting: http://10.0.0.254:8082/domain/b154e228-fc16-43c6-8547-be362aebb9a7 2025-09-04 02:09:26,140 - DEBUG - Requesting: http://10.0.0.254:8082/project/a5c5ae05-8bd6-4e96-a77d-d9a6fc1dddb7 2025-09-04 02:09:26,212 - INFO - Validated that VN ctest-vn-85112769 is not found in API Server 2025-09-04 02:09:26,221 - DEBUG - VN ctest-vn-85112769 is not present in Agent 10.0.0.254 2025-09-04 02:09:26,222 - INFO - Validated that VN ctest-vn-85112769 is not in any agent 2025-09-04 02:09:26,235 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-85112769 info 2025-09-04 02:09:26,492 - DEBUG - No XMPP flaps were noticed during the test
2025-09-04 02:09:26,492 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-09-04 02:09:26,492 - INFO - -------------------------------------------------------------------------------- 2025-09-04 02:09:27,171 - INFO - Deleted project: ctest-TestBasicPolicy-40333652, ID : a5c5ae05-8bd6-4e96-a77d-d9a6fc1dddb7