2025-01-13 11:29:56,658 - INFO - Domain Default found not creating 2025-01-13 11:29:56,795 - INFO - Project ctest-TestBasicPolicy-96225544 not found, creating it 2025-01-13 11:29:57,279 - INFO - Created Project:ctest-TestBasicPolicy-96225544, ID : a6af1bed-32be-46f1-a432-5d784dec20b9 2025-01-13 11:29:58,726 - INFO - ================================================================================ 2025-01-13 11:29:58,727 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-01-13 11:29:58,727 - 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-01-13 11:29:58,983 - DEBUG - Nothing to compare xmpp stats {'10.0.0.32': {'10.20.0.14': '0'}} with 2025-01-13 11:29:58,983 - INFO - Initial checks done. Running the testcase now 2025-01-13 11:29:58,983 - INFO - 2025-01-13 11:29:59,533 - DEBUG - Response for create_network : {'network': {'id': '0d6f99f8-8e10-4014-8c86-ca86c78309fe', 'name': 'ctest-vn-06808170', 'tenant_id': 'a6af1bed32be46f1a4325d784dec20b9', 'project_id': 'a6af1bed32be46f1a4325d784dec20b9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96225544', 'ctest-vn-06808170'], 'port_security_enabled': True, 'description': ''}} 2025-01-13 11:29:59,733 - DEBUG - Response for create_subnet : {'subnet': {'id': '139d034e-c30a-4e81-a62a-fd1f4f9ed290', 'name': '', 'tenant_id': 'a6af1bed32be46f1a4325d784dec20b9', 'network_id': '0d6f99f8-8e10-4014-8c86-ca86c78309fe', 'ip_version': 4, 'cidr': '182.145.112.192/26', 'allocation_pools': [{'start': '182.145.112.194', 'end': '182.145.112.254'}], 'gateway_ip': '182.145.112.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '182.145.112.194', 'tags': [], 'project_id': 'a6af1bed32be46f1a4325d784dec20b9'}} 2025-01-13 11:29:59,753 - INFO - Created VN ctest-vn-06808170 2025-01-13 11:29:59,809 - DEBUG - VN ctest-vn-06808170 UUID is 0d6f99f8-8e10-4014-8c86-ca86c78309fe 2025-01-13 11:30:00,151 - DEBUG - Response for create_network : {'network': {'id': '4cf8d8a3-3488-4f99-8bad-858d1ee1ed24', 'name': 'ctest-vn-55173625', 'tenant_id': 'a6af1bed32be46f1a4325d784dec20b9', 'project_id': 'a6af1bed32be46f1a4325d784dec20b9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96225544', 'ctest-vn-55173625'], 'port_security_enabled': True, 'description': ''}} 2025-01-13 11:30:00,305 - DEBUG - Response for create_subnet : {'subnet': {'id': '81469e7b-136f-4e6f-be4c-e55302259e92', 'name': '', 'tenant_id': 'a6af1bed32be46f1a4325d784dec20b9', 'network_id': '4cf8d8a3-3488-4f99-8bad-858d1ee1ed24', 'ip_version': 4, 'cidr': '72.132.102.0/26', 'allocation_pools': [{'start': '72.132.102.2', 'end': '72.132.102.62'}], 'gateway_ip': '72.132.102.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '72.132.102.2', 'tags': [], 'project_id': 'a6af1bed32be46f1a4325d784dec20b9'}} 2025-01-13 11:30:00,323 - INFO - Created VN ctest-vn-55173625 2025-01-13 11:30:00,377 - DEBUG - VN ctest-vn-55173625 UUID is 4cf8d8a3-3488-4f99-8bad-858d1ee1ed24 2025-01-13 11:30:00,529 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-96225544:ctest-vn-06808170, 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-96225544:ctest-vn-55173625, 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-01-13 11:30:00,848 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0d6f99f8-8e10-4014-8c86-ca86c78309fe', 'name': 'ctest-vn-06808170', 'tenant_id': 'a6af1bed32be46f1a4325d784dec20b9', 'project_id': 'a6af1bed32be46f1a4325d784dec20b9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['139d034e-c30a-4e81-a62a-fd1f4f9ed290'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96225544', 'ctest-vn-06808170'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-96225544', 'ctest-policy-allow-all-99491532']], 'subnet_ipam': [{'subnet_cidr': '182.145.112.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-13 11:30:01,123 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4cf8d8a3-3488-4f99-8bad-858d1ee1ed24', 'name': 'ctest-vn-55173625', 'tenant_id': 'a6af1bed32be46f1a4325d784dec20b9', 'project_id': 'a6af1bed32be46f1a4325d784dec20b9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['81469e7b-136f-4e6f-be4c-e55302259e92'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96225544', 'ctest-vn-55173625'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-96225544', 'ctest-policy-allow-all-99491532']], 'subnet_ipam': [{'subnet_cidr': '72.132.102.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-13 11:30:01,297 - DEBUG - Requesting: http://10.0.0.32:8082/domains 2025-01-13 11:30:01,592 - DEBUG - Requesting: http://10.0.0.32:8082/domains 2025-01-13 11:30:01,625 - DEBUG - Requesting: http://10.0.0.32:8082/domain/da1cfe9b-4a5f-413c-8dfb-c1aa45b82595 2025-01-13 11:30:01,640 - DEBUG - Requesting: http://10.0.0.32:8082/project/a6af1bed-32be-46f1-a432-5d784dec20b9 2025-01-13 11:30:01,721 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/0d6f99f8-8e10-4014-8c86-ca86c78309fe 2025-01-13 11:30:01,735 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/0d6f99f8-8e10-4014-8c86-ca86c78309fe 2025-01-13 11:30:01,745 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/9fe178bd-07f8-42a8-b1c1-e8dbccd1245e 2025-01-13 11:30:01,753 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/9fe178bd-07f8-42a8-b1c1-e8dbccd1245e 2025-01-13 11:30:01,761 - DEBUG - Requesting: http://10.0.0.32:8082/route-target/28969ec4-b070-49e2-b24e-63c6e916a849 2025-01-13 11:30:01,767 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-01-13 11:30:01,768 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/0d6f99f8-8e10-4014-8c86-ca86c78309fe 2025-01-13 11:30:01,778 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/9fe178bd-07f8-42a8-b1c1-e8dbccd1245e 2025-01-13 11:30:01,794 - INFO - Verified VN network id 7 for VN 0d6f99f8-8e10-4014-8c86-ca86c78309fe 2025-01-13 11:30:01,795 - INFO - Verifications in API Server for VN ctest-vn-06808170 passed 2025-01-13 11:30:01,795 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/0d6f99f8-8e10-4014-8c86-ca86c78309fe 2025-01-13 11:30:01,810 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/9fe178bd-07f8-42a8-b1c1-e8dbccd1245e 2025-01-13 11:30:01,820 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/9fe178bd-07f8-42a8-b1c1-e8dbccd1245e 2025-01-13 11:30:01,828 - DEBUG - Requesting: http://10.0.0.32:8082/route-target/28969ec4-b070-49e2-b24e-63c6e916a849 2025-01-13 11:30:01,844 - DEBUG - Control-node 10.0.0.32 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-96225544:ctest-vn-06808170', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-96225544', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '968161737722314772', 'uuid-lslong': '10126003492410821118'}, 'enable': 'true', 'created': '2025-01-13T11:29:59', 'last-modified': '2025-01-13T11:30:00', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.015471'} 2025-01-13 11:30:01,851 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-01-13 11:30:01,851 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-06808170 passed 2025-01-13 11:30:01,852 - DEBUG - ====Verifying policy data for ctest-vn-06808170 in API_Server ====== 2025-01-13 11:30:01,852 - DEBUG - Requesting: http://10.0.0.32:8082/domains 2025-01-13 11:30:01,858 - DEBUG - Requesting: http://10.0.0.32:8082/domain/da1cfe9b-4a5f-413c-8dfb-c1aa45b82595 2025-01-13 11:30:01,871 - DEBUG - Requesting: http://10.0.0.32:8082/project/a6af1bed-32be-46f1-a432-5d784dec20b9 2025-01-13 11:30:01,975 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/0d6f99f8-8e10-4014-8c86-ca86c78309fe 2025-01-13 11:30:01,987 - DEBUG - ==>Verifying data for policy with id: 962dd566-62c7-4677-a7a7-1a4fb23e225d, fqn: ['default-domain', 'ctest-TestBasicPolicy-96225544', 'ctest-policy-allow-all-99491532'] 2025-01-13 11:30:01,987 - INFO - VN ctest-vn-06808170 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-13 11:30:01,987 - DEBUG - Verifying the vn in opserver 2025-01-13 11:30:01,987 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-96225544:ctest-vn-06808170 virtual network link through opserver 10.0.0.32 2025-01-13 11:30:01,987 - DEBUG - Requesting: http://10.0.0.32:8081/analytics/uves/virtual-networks 2025-01-13 11:30:02,294 - DEBUG - Requesting: http://10.0.0.32:8081/analytics/uves/virtual-networks 2025-01-13 11:30:02,363 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-96225544:ctest-vn-06808170', 'href': 'http://10.0.0.32:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-96225544:ctest-vn-06808170?flat'} 2025-01-13 11:30:02,363 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-96225544:ctest-vn-06808170 is found in opserver 2025-01-13 11:30:02,379 - DEBUG - Do not have enough data to verify VN in agent 2025-01-13 11:30:02,386 - DEBUG - VRF ids for VN ctest-vn-06808170: {} 2025-01-13 11:30:02,387 - DEBUG - Requesting: http://10.0.0.32:8082/domains 2025-01-13 11:30:02,394 - DEBUG - Requesting: http://10.0.0.32:8082/domain/da1cfe9b-4a5f-413c-8dfb-c1aa45b82595 2025-01-13 11:30:02,408 - DEBUG - Requesting: http://10.0.0.32:8082/project/a6af1bed-32be-46f1-a432-5d784dec20b9 2025-01-13 11:30:02,495 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/4cf8d8a3-3488-4f99-8bad-858d1ee1ed24 2025-01-13 11:30:02,514 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/4cf8d8a3-3488-4f99-8bad-858d1ee1ed24 2025-01-13 11:30:02,526 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/c4093233-3822-401d-967d-4da7acb9a5ee 2025-01-13 11:30:02,534 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/c4093233-3822-401d-967d-4da7acb9a5ee 2025-01-13 11:30:02,542 - DEBUG - Requesting: http://10.0.0.32:8082/route-target/4163936f-8f42-4991-8afb-15e5ad624955 2025-01-13 11:30:02,560 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-13 11:30:02,560 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/4cf8d8a3-3488-4f99-8bad-858d1ee1ed24 2025-01-13 11:30:02,572 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/c4093233-3822-401d-967d-4da7acb9a5ee 2025-01-13 11:30:02,588 - INFO - Verified VN network id 8 for VN 4cf8d8a3-3488-4f99-8bad-858d1ee1ed24 2025-01-13 11:30:02,588 - INFO - Verifications in API Server for VN ctest-vn-55173625 passed 2025-01-13 11:30:02,588 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/4cf8d8a3-3488-4f99-8bad-858d1ee1ed24 2025-01-13 11:30:02,602 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/c4093233-3822-401d-967d-4da7acb9a5ee 2025-01-13 11:30:02,611 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/c4093233-3822-401d-967d-4da7acb9a5ee 2025-01-13 11:30:02,620 - DEBUG - Requesting: http://10.0.0.32:8082/route-target/4163936f-8f42-4991-8afb-15e5ad624955 2025-01-13 11:30:02,634 - DEBUG - Control-node 10.0.0.32 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-96225544:ctest-vn-55173625', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-96225544', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5546421136579383193', 'uuid-lslong': '10064847583397932324'}, 'enable': 'true', 'created': '2025-01-13T11:30:00', 'last-modified': '2025-01-13T11:30:01', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.547527'} 2025-01-13 11:30:02,641 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-13 11:30:02,641 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-55173625 passed 2025-01-13 11:30:02,641 - DEBUG - ====Verifying policy data for ctest-vn-55173625 in API_Server ====== 2025-01-13 11:30:02,641 - DEBUG - Requesting: http://10.0.0.32:8082/domains 2025-01-13 11:30:02,648 - DEBUG - Requesting: http://10.0.0.32:8082/domain/da1cfe9b-4a5f-413c-8dfb-c1aa45b82595 2025-01-13 11:30:02,663 - DEBUG - Requesting: http://10.0.0.32:8082/project/a6af1bed-32be-46f1-a432-5d784dec20b9 2025-01-13 11:30:02,743 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/4cf8d8a3-3488-4f99-8bad-858d1ee1ed24 2025-01-13 11:30:02,756 - DEBUG - ==>Verifying data for policy with id: 962dd566-62c7-4677-a7a7-1a4fb23e225d, fqn: ['default-domain', 'ctest-TestBasicPolicy-96225544', 'ctest-policy-allow-all-99491532'] 2025-01-13 11:30:02,756 - INFO - VN ctest-vn-55173625 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-13 11:30:02,756 - DEBUG - Verifying the vn in opserver 2025-01-13 11:30:02,756 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-96225544:ctest-vn-55173625 virtual network link through opserver 10.0.0.32 2025-01-13 11:30:02,756 - DEBUG - Requesting: http://10.0.0.32:8081/analytics/uves/virtual-networks 2025-01-13 11:30:02,768 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-96225544:ctest-vn-55173625', 'href': 'http://10.0.0.32:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-96225544:ctest-vn-55173625?flat'} 2025-01-13 11:30:02,768 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-96225544:ctest-vn-55173625 is found in opserver 2025-01-13 11:30:02,782 - DEBUG - Do not have enough data to verify VN in agent 2025-01-13 11:30:02,787 - DEBUG - VRF ids for VN ctest-vn-55173625: {} 2025-01-13 11:30:02,866 - DEBUG - Services list from nova: [, , ] 2025-01-13 11:30:03,948 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2610-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2610-1) 2025-01-13 11:30:05,287 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2610-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2610-1) 2025-01-13 11:30:05,288 - INFO - Waiting for VM ctest-TestBasicPolicy-96225544-90417363 to be up.. 2025-01-13 11:30:05,367 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-13 11:30:10,445 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-13 11:30:15,522 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-13 11:30:20,602 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-13 11:30:25,690 - DEBUG - VM is in ACTIVE state now 2025-01-13 11:30:25,691 - INFO - VM name : ctest-TestBasicPolicy-96225544-90417363 2025-01-13 11:30:25,823 - DEBUG - VM ctest-TestBasicPolicy-96225544-90417363 ID is 22056ddd-edab-4ce5-a294-9bca794b138d 2025-01-13 11:30:25,844 - DEBUG - VM ctest-TestBasicPolicy-96225544-90417363 launched on Node cn-jenkins-deploy-platform-ansible-os-2610-1 2025-01-13 11:30:25,937 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/22056ddd-edab-4ce5-a294-9bca794b138d 2025-01-13 11:30:25,948 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine-interface/aa5c3d10-175a-4603-8460-b695550406e5 2025-01-13 11:30:29,201 - 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 1007ms') 2025-01-13 11:30:29,201 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-96225544-90417363 failed! 2025-01-13 11:30:29,257 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-96225544:ctest-vn-06808170 is 182.145.112.193 and allocation pool is NOT set 2025-01-13 11:30:31,324 - 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.64 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.96 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 = 1.961/3.798/5.635/1.837 ms') 2025-01-13 11:30:31,325 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-96225544-90417363 passed 2025-01-13 11:30:31,481 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-13 11:30:31,482 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-96225544-90417363, IP 182.145.112.195, Port 22 2025-01-13 11:30:31,637 - DEBUG - VM ctest-TestBasicPolicy-96225544-90417363 is ready for SSH connections 2025-01-13 11:30:31,637 - INFO - Waiting for VM ctest-TestBasicPolicy-96225544-63723416 to be up.. 2025-01-13 11:30:31,722 - DEBUG - VM is in ACTIVE state now 2025-01-13 11:30:31,722 - INFO - VM name : ctest-TestBasicPolicy-96225544-63723416 2025-01-13 11:30:31,809 - DEBUG - VM ctest-TestBasicPolicy-96225544-63723416 ID is 76e543fb-12c2-4cd6-b2ec-0f40edaa396a 2025-01-13 11:30:31,809 - DEBUG - VM ctest-TestBasicPolicy-96225544-63723416 launched on Node cn-jenkins-deploy-platform-ansible-os-2610-1 2025-01-13 11:30:31,892 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/76e543fb-12c2-4cd6-b2ec-0f40edaa396a 2025-01-13 11:30:31,907 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine-interface/ea7ccd06-a936-4c97-949d-e00b395b456b 2025-01-13 11:30:33,169 - 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.53 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.563 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.563/2.545/4.527/1.982 ms') 2025-01-13 11:30:33,169 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-96225544-63723416 passed 2025-01-13 11:30:33,325 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-13 11:30:33,326 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-96225544-63723416, IP 72.132.102.3, Port 22 2025-01-13 11:30:33,495 - DEBUG - VM ctest-TestBasicPolicy-96225544-63723416 is ready for SSH connections 2025-01-13 11:30:33,495 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-13 11:30:33,496 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 72.132.102.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.32, gateway password: c0ntrail123 2025-01-13 11:30:33,496 - DEBUG - ping -s 56 -c 3 -W 1 72.132.102.3 2025-01-13 11:30:37,504 - DEBUG - PING 72.132.102.3 (72.132.102.3): 56 data bytes 64 bytes from 72.132.102.3: seq=0 ttl=63 time=4.299 ms 64 bytes from 72.132.102.3: seq=1 ttl=63 time=1.006 ms 64 bytes from 72.132.102.3: seq=2 ttl=63 time=0.944 ms --- 72.132.102.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.944/2.083/4.299 ms 2025-01-13 11:30:37,504 - INFO - Ping to IP 72.132.102.3 from VM ctest-TestBasicPolicy-96225544-90417363 passed 2025-01-13 11:30:37,689 - DEBUG - Policy Update Response {"network-policy": {"uuid": "962dd566-62c7-4677-a7a7-1a4fb23e225d", "href": "http://10.0.0.32:8082/network-policy/962dd566-62c7-4677-a7a7-1a4fb23e225d"}} 2025-01-13 11:30:37,689 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-13 11:30:37,689 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 72.132.102.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.32, gateway password: c0ntrail123 2025-01-13 11:30:37,689 - DEBUG - ping -s 56 -c 3 -W 1 72.132.102.3 2025-01-13 11:30:40,900 - DEBUG - PING 72.132.102.3 (72.132.102.3): 56 data bytes --- 72.132.102.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-01-13 11:30:40,900 - WARNING - Ping to IP 72.132.102.3 from VM ctest-TestBasicPolicy-96225544-90417363 failed 2025-01-13 11:30:40,901 - INFO - Deleting VM ctest-TestBasicPolicy-96225544-63723416 2025-01-13 11:30:40,974 - INFO - Deleting VM ctest-TestBasicPolicy-96225544-90417363 2025-01-13 11:30:41,383 - INFO - Deleted policy ctest-policy-allow-all-99491532 2025-01-13 11:30:41,383 - INFO - Deleting VN ctest-vn-55173625 2025-01-13 11:30:41,423 - DEBUG - VN 4cf8d8a3-3488-4f99-8bad-858d1ee1ed24 still in use: Unable to complete operation on network 4cf8d8a3-3488-4f99-8bad-858d1ee1ed24. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a6cc6948-93ce-4d9b-b241-74028f53346b'] 2025-01-13 11:30:41,424 - WARNING - Deleting VN ctest-vn-55173625 failed..Will retry 2025-01-13 11:30:43,530 - DEBUG - Response for deleting network () 2025-01-13 11:30:43,530 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/c4093233-3822-401d-967d-4da7acb9a5ee 2025-01-13 11:30:43,537 - DEBUG - Response Code: 404 2025-01-13 11:30:43,537 - DEBUG - Requesting: http://10.0.0.32:8082/domains 2025-01-13 11:30:43,544 - DEBUG - Requesting: http://10.0.0.32:8082/domain/da1cfe9b-4a5f-413c-8dfb-c1aa45b82595 2025-01-13 11:30:43,601 - DEBUG - Requesting: http://10.0.0.32:8082/project/a6af1bed-32be-46f1-a432-5d784dec20b9 2025-01-13 11:30:43,679 - INFO - Validated that VN ctest-vn-55173625 is not found in API Server 2025-01-13 11:30:43,689 - DEBUG - VN ctest-vn-55173625 is not present in Agent 10.0.0.32 2025-01-13 11:30:43,690 - INFO - Validated that VN ctest-vn-55173625 is not in any agent 2025-01-13 11:30:43,706 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-55173625 info 2025-01-13 11:30:43,706 - INFO - Deleting VN ctest-vn-06808170 2025-01-13 11:30:43,808 - DEBUG - Response for deleting network () 2025-01-13 11:30:43,808 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/9fe178bd-07f8-42a8-b1c1-e8dbccd1245e 2025-01-13 11:30:43,816 - DEBUG - Response Code: 404 2025-01-13 11:30:43,816 - DEBUG - Requesting: http://10.0.0.32:8082/domains 2025-01-13 11:30:43,823 - DEBUG - Requesting: http://10.0.0.32:8082/domain/da1cfe9b-4a5f-413c-8dfb-c1aa45b82595 2025-01-13 11:30:43,879 - DEBUG - Requesting: http://10.0.0.32:8082/project/a6af1bed-32be-46f1-a432-5d784dec20b9 2025-01-13 11:30:43,952 - INFO - Validated that VN ctest-vn-06808170 is not found in API Server 2025-01-13 11:30:43,963 - DEBUG - VN ctest-vn-06808170 is not present in Agent 10.0.0.32 2025-01-13 11:30:43,963 - INFO - Validated that VN ctest-vn-06808170 is not in any agent 2025-01-13 11:30:43,979 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-06808170 info 2025-01-13 11:30:44,235 - DEBUG - No XMPP flaps were noticed during the test
2025-01-13 11:30:44,235 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:46]
2025-01-13 11:30:44,235 - INFO - -------------------------------------------------------------------------------- 2025-01-13 11:30:44,942 - INFO - Deleted project: ctest-TestBasicPolicy-96225544, ID : a6af1bed-32be-46f1-a432-5d784dec20b9