2024-10-26 09:37:34,159 - INFO - Domain Default found not creating 2024-10-26 09:37:34,364 - INFO - Project ctest-TestBasicPolicy-47533318 not found, creating it 2024-10-26 09:37:34,886 - INFO - Created Project:ctest-TestBasicPolicy-47533318, ID : 807443bf-2683-434d-95fe-53c4417437ee 2024-10-26 09:37:36,441 - INFO - ================================================================================ 2024-10-26 09:37:36,441 - INFO - STARTING TEST : test_basic_policy_allow_deny 2024-10-26 09:37:36,441 - 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 2024-10-26 09:37:36,699 - DEBUG - Nothing to compare xmpp stats {'10.0.0.32': {'10.20.0.14': '0'}} with 2024-10-26 09:37:36,700 - INFO - Initial checks done. Running the testcase now 2024-10-26 09:37:36,700 - INFO - 2024-10-26 09:37:37,332 - DEBUG - Response for create_network : {'network': {'id': '19b0ebce-2306-47d9-b98d-f2a9a704aa3d', 'name': 'ctest-vn-68999683', 'tenant_id': '807443bf2683434d95fe53c4417437ee', 'project_id': '807443bf2683434d95fe53c4417437ee', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-47533318', 'ctest-vn-68999683'], 'port_security_enabled': True, 'description': ''}} 2024-10-26 09:37:37,584 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ebf7dbf3-a9d6-4c6e-a361-f3be9f1184a3', 'name': '', 'tenant_id': '807443bf2683434d95fe53c4417437ee', 'network_id': '19b0ebce-2306-47d9-b98d-f2a9a704aa3d', 'ip_version': 4, 'cidr': '26.20.193.192/26', 'allocation_pools': [{'start': '26.20.193.194', 'end': '26.20.193.254'}], 'gateway_ip': '26.20.193.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '26.20.193.194', 'tags': [], 'project_id': '807443bf2683434d95fe53c4417437ee'}} 2024-10-26 09:37:37,611 - INFO - Created VN ctest-vn-68999683 2024-10-26 09:37:37,671 - DEBUG - VN ctest-vn-68999683 UUID is 19b0ebce-2306-47d9-b98d-f2a9a704aa3d 2024-10-26 09:37:38,036 - DEBUG - Response for create_network : {'network': {'id': 'a36df0e0-978e-4835-a82d-482a6d8a2862', 'name': 'ctest-vn-50643371', 'tenant_id': '807443bf2683434d95fe53c4417437ee', 'project_id': '807443bf2683434d95fe53c4417437ee', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-47533318', 'ctest-vn-50643371'], 'port_security_enabled': True, 'description': ''}} 2024-10-26 09:37:38,217 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b7ae921a-e705-4abd-9717-49b267a49831', 'name': '', 'tenant_id': '807443bf2683434d95fe53c4417437ee', 'network_id': 'a36df0e0-978e-4835-a82d-482a6d8a2862', 'ip_version': 4, 'cidr': '182.100.193.192/26', 'allocation_pools': [{'start': '182.100.193.194', 'end': '182.100.193.254'}], 'gateway_ip': '182.100.193.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '182.100.193.194', 'tags': [], 'project_id': '807443bf2683434d95fe53c4417437ee'}} 2024-10-26 09:37:38,243 - INFO - Created VN ctest-vn-50643371 2024-10-26 09:37:38,303 - DEBUG - VN ctest-vn-50643371 UUID is a36df0e0-978e-4835-a82d-482a6d8a2862 2024-10-26 09:37:38,430 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-47533318:ctest-vn-68999683, 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-47533318:ctest-vn-50643371, 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] 2024-10-26 09:37:38,776 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '19b0ebce-2306-47d9-b98d-f2a9a704aa3d', 'name': 'ctest-vn-68999683', 'tenant_id': '807443bf2683434d95fe53c4417437ee', 'project_id': '807443bf2683434d95fe53c4417437ee', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ebf7dbf3-a9d6-4c6e-a361-f3be9f1184a3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-47533318', 'ctest-vn-68999683'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-47533318', 'ctest-policy-allow-all-86195215']], 'subnet_ipam': [{'subnet_cidr': '26.20.193.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-10-26 09:37:39,109 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a36df0e0-978e-4835-a82d-482a6d8a2862', 'name': 'ctest-vn-50643371', 'tenant_id': '807443bf2683434d95fe53c4417437ee', 'project_id': '807443bf2683434d95fe53c4417437ee', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b7ae921a-e705-4abd-9717-49b267a49831'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-47533318', 'ctest-vn-50643371'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-47533318', 'ctest-policy-allow-all-86195215']], 'subnet_ipam': [{'subnet_cidr': '182.100.193.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-10-26 09:37:39,267 - DEBUG - Requesting: http://10.0.0.32:8082/domains 2024-10-26 09:37:39,577 - DEBUG - Requesting: http://10.0.0.32:8082/domains 2024-10-26 09:37:39,610 - DEBUG - Requesting: http://10.0.0.32:8082/domain/164370bb-87ee-4961-9604-5f5f5f7fb798 2024-10-26 09:37:39,625 - DEBUG - Requesting: http://10.0.0.32:8082/project/807443bf-2683-434d-95fe-53c4417437ee 2024-10-26 09:37:39,707 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/19b0ebce-2306-47d9-b98d-f2a9a704aa3d 2024-10-26 09:37:39,726 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/19b0ebce-2306-47d9-b98d-f2a9a704aa3d 2024-10-26 09:37:39,744 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/5bffb0e7-98cf-4520-8cd8-c58245a2bf6b 2024-10-26 09:37:39,756 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/5bffb0e7-98cf-4520-8cd8-c58245a2bf6b 2024-10-26 09:37:39,767 - DEBUG - Requesting: http://10.0.0.32:8082/route-target/ccf6d080-33aa-4043-bee0-aac85c4cb218 2024-10-26 09:37:39,778 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-10-26 09:37:39,778 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/19b0ebce-2306-47d9-b98d-f2a9a704aa3d 2024-10-26 09:37:39,792 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/5bffb0e7-98cf-4520-8cd8-c58245a2bf6b 2024-10-26 09:37:39,822 - INFO - Verified VN network id 8 for VN 19b0ebce-2306-47d9-b98d-f2a9a704aa3d 2024-10-26 09:37:39,823 - INFO - Verifications in API Server for VN ctest-vn-68999683 passed 2024-10-26 09:37:39,823 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/19b0ebce-2306-47d9-b98d-f2a9a704aa3d 2024-10-26 09:37:39,841 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/5bffb0e7-98cf-4520-8cd8-c58245a2bf6b 2024-10-26 09:37:39,851 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/5bffb0e7-98cf-4520-8cd8-c58245a2bf6b 2024-10-26 09:37:39,860 - DEBUG - Requesting: http://10.0.0.32:8082/route-target/ccf6d080-33aa-4043-bee0-aac85c4cb218 2024-10-26 09:37:39,874 - DEBUG - Control-node 10.0.0.32 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-47533318:ctest-vn-68999683', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-47533318', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1851238717432678361', 'uuid-lslong': '13370609679198366269'}, 'enable': 'true', 'created': '2024-10-26T09:37:37', 'last-modified': '2024-10-26T09:37:38', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.130878'} 2024-10-26 09:37:39,881 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-10-26 09:37:39,881 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-68999683 passed 2024-10-26 09:37:39,882 - DEBUG - ====Verifying policy data for ctest-vn-68999683 in API_Server ====== 2024-10-26 09:37:39,882 - DEBUG - Requesting: http://10.0.0.32:8082/domains 2024-10-26 09:37:39,888 - DEBUG - Requesting: http://10.0.0.32:8082/domain/164370bb-87ee-4961-9604-5f5f5f7fb798 2024-10-26 09:37:39,903 - DEBUG - Requesting: http://10.0.0.32:8082/project/807443bf-2683-434d-95fe-53c4417437ee 2024-10-26 09:37:39,991 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/19b0ebce-2306-47d9-b98d-f2a9a704aa3d 2024-10-26 09:37:40,008 - DEBUG - ==>Verifying data for policy with id: 5d88df48-1434-4882-81c2-375ee834006a, fqn: ['default-domain', 'ctest-TestBasicPolicy-47533318', 'ctest-policy-allow-all-86195215'] 2024-10-26 09:37:40,008 - INFO - VN ctest-vn-68999683 Policy verification: verify_vn_policy_in_api_server, status: True 2024-10-26 09:37:40,008 - DEBUG - Verifying the vn in opserver 2024-10-26 09:37:40,008 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-47533318:ctest-vn-68999683 virtual network link through opserver 10.0.0.32 2024-10-26 09:37:40,009 - DEBUG - Requesting: http://10.0.0.32:8081/analytics/uves/virtual-networks 2024-10-26 09:37:40,311 - DEBUG - Requesting: http://10.0.0.32:8081/analytics/uves/virtual-networks 2024-10-26 09:37:40,384 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-47533318:ctest-vn-68999683', 'href': 'http://10.0.0.32:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-47533318:ctest-vn-68999683?flat'} 2024-10-26 09:37:40,384 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-47533318:ctest-vn-68999683 is found in opserver 2024-10-26 09:37:40,400 - DEBUG - Do not have enough data to verify VN in agent 2024-10-26 09:37:40,405 - DEBUG - VRF ids for VN ctest-vn-68999683: {} 2024-10-26 09:37:40,406 - DEBUG - Requesting: http://10.0.0.32:8082/domains 2024-10-26 09:37:40,414 - DEBUG - Requesting: http://10.0.0.32:8082/domain/164370bb-87ee-4961-9604-5f5f5f7fb798 2024-10-26 09:37:40,431 - DEBUG - Requesting: http://10.0.0.32:8082/project/807443bf-2683-434d-95fe-53c4417437ee 2024-10-26 09:37:40,524 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/a36df0e0-978e-4835-a82d-482a6d8a2862 2024-10-26 09:37:40,542 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/a36df0e0-978e-4835-a82d-482a6d8a2862 2024-10-26 09:37:40,556 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/b82026dd-77a6-42b6-b0bc-1f4537cb725d 2024-10-26 09:37:40,567 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/b82026dd-77a6-42b6-b0bc-1f4537cb725d 2024-10-26 09:37:40,578 - DEBUG - Requesting: http://10.0.0.32:8082/route-target/9dc02048-2511-43f3-b73b-013e1982b11e 2024-10-26 09:37:40,589 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-10-26 09:37:40,589 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/a36df0e0-978e-4835-a82d-482a6d8a2862 2024-10-26 09:37:40,607 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/b82026dd-77a6-42b6-b0bc-1f4537cb725d 2024-10-26 09:37:40,632 - INFO - Verified VN network id 9 for VN a36df0e0-978e-4835-a82d-482a6d8a2862 2024-10-26 09:37:40,632 - INFO - Verifications in API Server for VN ctest-vn-50643371 passed 2024-10-26 09:37:40,632 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/a36df0e0-978e-4835-a82d-482a6d8a2862 2024-10-26 09:37:40,647 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/b82026dd-77a6-42b6-b0bc-1f4537cb725d 2024-10-26 09:37:40,657 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/b82026dd-77a6-42b6-b0bc-1f4537cb725d 2024-10-26 09:37:40,667 - DEBUG - Requesting: http://10.0.0.32:8082/route-target/9dc02048-2511-43f3-b73b-013e1982b11e 2024-10-26 09:37:40,681 - DEBUG - Control-node 10.0.0.32 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-47533318:ctest-vn-50643371', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-47533318', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11776333448049739829', 'uuid-lslong': '12118421519387469922'}, 'enable': 'true', 'created': '2024-10-26T09:37:38', 'last-modified': '2024-10-26T09:37:39', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.658019'} 2024-10-26 09:37:40,688 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-10-26 09:37:40,688 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-50643371 passed 2024-10-26 09:37:40,688 - DEBUG - ====Verifying policy data for ctest-vn-50643371 in API_Server ====== 2024-10-26 09:37:40,688 - DEBUG - Requesting: http://10.0.0.32:8082/domains 2024-10-26 09:37:40,696 - DEBUG - Requesting: http://10.0.0.32:8082/domain/164370bb-87ee-4961-9604-5f5f5f7fb798 2024-10-26 09:37:40,713 - DEBUG - Requesting: http://10.0.0.32:8082/project/807443bf-2683-434d-95fe-53c4417437ee 2024-10-26 09:37:40,803 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/a36df0e0-978e-4835-a82d-482a6d8a2862 2024-10-26 09:37:40,817 - DEBUG - ==>Verifying data for policy with id: 5d88df48-1434-4882-81c2-375ee834006a, fqn: ['default-domain', 'ctest-TestBasicPolicy-47533318', 'ctest-policy-allow-all-86195215'] 2024-10-26 09:37:40,817 - INFO - VN ctest-vn-50643371 Policy verification: verify_vn_policy_in_api_server, status: True 2024-10-26 09:37:40,817 - DEBUG - Verifying the vn in opserver 2024-10-26 09:37:40,817 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-47533318:ctest-vn-50643371 virtual network link through opserver 10.0.0.32 2024-10-26 09:37:40,817 - DEBUG - Requesting: http://10.0.0.32:8081/analytics/uves/virtual-networks 2024-10-26 09:37:40,831 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-47533318:ctest-vn-50643371', 'href': 'http://10.0.0.32:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-47533318:ctest-vn-50643371?flat'} 2024-10-26 09:37:40,831 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-47533318:ctest-vn-50643371 is found in opserver 2024-10-26 09:37:40,842 - DEBUG - Do not have enough data to verify VN in agent 2024-10-26 09:37:40,847 - DEBUG - VRF ids for VN ctest-vn-50643371: {} 2024-10-26 09:37:40,907 - DEBUG - Services list from nova: [, , ] 2024-10-26 09:37:42,122 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2148-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2148-1) 2024-10-26 09:37:43,425 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2148-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2148-1) 2024-10-26 09:37:43,426 - INFO - Waiting for VM ctest-TestBasicPolicy-47533318-20189785 to be up.. 2024-10-26 09:37:43,517 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-10-26 09:37:48,609 - DEBUG - VM is in ACTIVE state now 2024-10-26 09:37:48,609 - INFO - VM name : ctest-TestBasicPolicy-47533318-20189785 2024-10-26 09:37:48,700 - DEBUG - VM ctest-TestBasicPolicy-47533318-20189785 ID is 6c621332-ff48-4241-91c5-229a6f0e14a9 2024-10-26 09:37:48,721 - DEBUG - VM ctest-TestBasicPolicy-47533318-20189785 launched on Node cn-jenkins-deploy-platform-ansible-os-2148-1 2024-10-26 09:37:48,823 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/6c621332-ff48-4241-91c5-229a6f0e14a9 2024-10-26 09:37:48,835 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine-interface/10e86186-b4ae-44f0-8690-7e3c988b40a5 2024-10-26 09:37:52,131 - 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 1015ms') 2024-10-26 09:37:52,131 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-47533318-20189785 failed! 2024-10-26 09:37:52,191 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-47533318:ctest-vn-68999683 is 26.20.193.193 and allocation pool is NOT set 2024-10-26 09:37:54,257 - 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=8.82 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.552 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.552/4.687/8.822/4.135 ms') 2024-10-26 09:37:54,258 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-47533318-20189785 passed 2024-10-26 09:37:54,419 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-26 09:37:54,419 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-47533318-20189785, IP 26.20.193.195, Port 22 2024-10-26 09:37:54,574 - DEBUG - VM ctest-TestBasicPolicy-47533318-20189785 is ready for SSH connections 2024-10-26 09:37:54,575 - INFO - Waiting for VM ctest-TestBasicPolicy-47533318-07075854 to be up.. 2024-10-26 09:37:54,674 - DEBUG - VM is in ACTIVE state now 2024-10-26 09:37:54,674 - INFO - VM name : ctest-TestBasicPolicy-47533318-07075854 2024-10-26 09:37:54,767 - DEBUG - VM ctest-TestBasicPolicy-47533318-07075854 ID is b03273aa-28e4-4ecb-84af-0e7c70a476c7 2024-10-26 09:37:54,767 - DEBUG - VM ctest-TestBasicPolicy-47533318-07075854 launched on Node cn-jenkins-deploy-platform-ansible-os-2148-1 2024-10-26 09:37:54,866 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/b03273aa-28e4-4ecb-84af-0e7c70a476c7 2024-10-26 09:37:54,878 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine-interface/d9d302f2-ae64-4f2d-adbc-6c5d8b26119b 2024-10-26 09:37:56,143 - 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.46 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.404 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.404/1.929/3.455/1.525 ms') 2024-10-26 09:37:56,143 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-47533318-07075854 passed 2024-10-26 09:37:56,307 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-26 09:37:56,307 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-47533318-07075854, IP 182.100.193.195, Port 22 2024-10-26 09:37:56,468 - DEBUG - VM ctest-TestBasicPolicy-47533318-07075854 is ready for SSH connections 2024-10-26 09:37:56,468 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-26 09:37:56,468 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 182.100.193.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.32, gateway password: c0ntrail123 2024-10-26 09:37:56,469 - DEBUG - ping -s 56 -c 3 -W 1 182.100.193.195 2024-10-26 09:38:00,545 - DEBUG - PING 182.100.193.195 (182.100.193.195): 56 data bytes 64 bytes from 182.100.193.195: seq=0 ttl=63 time=3.966 ms 64 bytes from 182.100.193.195: seq=1 ttl=63 time=1.329 ms 64 bytes from 182.100.193.195: seq=2 ttl=63 time=1.259 ms --- 182.100.193.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.259/2.184/3.966 ms 2024-10-26 09:38:00,545 - INFO - Ping to IP 182.100.193.195 from VM ctest-TestBasicPolicy-47533318-20189785 passed 2024-10-26 09:38:00,738 - DEBUG - Policy Update Response {"network-policy": {"uuid": "5d88df48-1434-4882-81c2-375ee834006a", "href": "http://10.0.0.32:8082/network-policy/5d88df48-1434-4882-81c2-375ee834006a"}} 2024-10-26 09:38:00,739 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-26 09:38:00,739 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 182.100.193.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.32, gateway password: c0ntrail123 2024-10-26 09:38:00,739 - DEBUG - ping -s 56 -c 3 -W 1 182.100.193.195 2024-10-26 09:38:03,950 - DEBUG - PING 182.100.193.195 (182.100.193.195): 56 data bytes 64 bytes from 182.100.193.195: seq=0 ttl=63 time=2.461 ms --- 182.100.193.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 2.461/2.461/2.461 ms 2024-10-26 09:38:03,950 - WARNING - Ping to IP 182.100.193.195 from VM ctest-TestBasicPolicy-47533318-20189785 failed 2024-10-26 09:38:03,951 - INFO - Deleting VM ctest-TestBasicPolicy-47533318-07075854 2024-10-26 09:38:04,027 - INFO - Deleting VM ctest-TestBasicPolicy-47533318-20189785 2024-10-26 09:38:04,498 - INFO - Deleted policy ctest-policy-allow-all-86195215 2024-10-26 09:38:04,498 - INFO - Deleting VN ctest-vn-50643371 2024-10-26 09:38:04,539 - DEBUG - VN a36df0e0-978e-4835-a82d-482a6d8a2862 still in use: Unable to complete operation on network a36df0e0-978e-4835-a82d-482a6d8a2862. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f0c7f7b3-8b07-4666-823e-05596e10663b'] 2024-10-26 09:38:04,539 - WARNING - Deleting VN ctest-vn-50643371 failed..Will retry 2024-10-26 09:38:06,660 - DEBUG - Response for deleting network () 2024-10-26 09:38:06,660 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/b82026dd-77a6-42b6-b0bc-1f4537cb725d 2024-10-26 09:38:06,667 - DEBUG - Response Code: 404 2024-10-26 09:38:06,667 - DEBUG - Requesting: http://10.0.0.32:8082/domains 2024-10-26 09:38:06,676 - DEBUG - Requesting: http://10.0.0.32:8082/domain/164370bb-87ee-4961-9604-5f5f5f7fb798 2024-10-26 09:38:06,733 - DEBUG - Requesting: http://10.0.0.32:8082/project/807443bf-2683-434d-95fe-53c4417437ee 2024-10-26 09:38:06,811 - INFO - Validated that VN ctest-vn-50643371 is not found in API Server 2024-10-26 09:38:06,823 - DEBUG - VN ctest-vn-50643371 is not present in Agent 10.0.0.32 2024-10-26 09:38:06,823 - INFO - Validated that VN ctest-vn-50643371 is not in any agent 2024-10-26 09:38:06,840 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-50643371 info 2024-10-26 09:38:06,840 - INFO - Deleting VN ctest-vn-68999683 2024-10-26 09:38:06,966 - DEBUG - Response for deleting network () 2024-10-26 09:38:06,967 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/5bffb0e7-98cf-4520-8cd8-c58245a2bf6b 2024-10-26 09:38:06,977 - DEBUG - Response Code: 404 2024-10-26 09:38:06,978 - DEBUG - Requesting: http://10.0.0.32:8082/domains 2024-10-26 09:38:06,985 - DEBUG - Requesting: http://10.0.0.32:8082/domain/164370bb-87ee-4961-9604-5f5f5f7fb798 2024-10-26 09:38:07,046 - DEBUG - Requesting: http://10.0.0.32:8082/project/807443bf-2683-434d-95fe-53c4417437ee 2024-10-26 09:38:07,125 - INFO - Validated that VN ctest-vn-68999683 is not found in API Server 2024-10-26 09:38:07,137 - DEBUG - VN ctest-vn-68999683 is not present in Agent 10.0.0.32 2024-10-26 09:38:07,137 - INFO - Validated that VN ctest-vn-68999683 is not in any agent 2024-10-26 09:38:07,158 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-68999683 info 2024-10-26 09:38:07,420 - DEBUG - No XMPP flaps were noticed during the test
2024-10-26 09:38:07,421 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31]
2024-10-26 09:38:07,421 - INFO - -------------------------------------------------------------------------------- 2024-10-26 09:38:08,185 - INFO - Deleted project: ctest-TestBasicPolicy-47533318, ID : 807443bf-2683-434d-95fe-53c4417437ee