2024-11-10 13:18:29,840 - INFO - Domain Default found not creating 2024-11-10 13:18:30,032 - INFO - Project ctest-TestBasicPolicy-29492991 not found, creating it 2024-11-10 13:18:30,541 - INFO - Created Project:ctest-TestBasicPolicy-29492991, ID : 49a30789-9adb-4dad-af78-4bf4215af2a4 2024-11-10 13:18:32,248 - INFO - ================================================================================ 2024-11-10 13:18:32,249 - INFO - STARTING TEST : test_basic_policy_allow_deny 2024-11-10 13:18:32,249 - 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-11-10 13:18:32,506 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.8': '0'}} with 2024-11-10 13:18:32,506 - INFO - Initial checks done. Running the testcase now 2024-11-10 13:18:32,507 - INFO - 2024-11-10 13:18:33,172 - DEBUG - Response for create_network : {'network': {'id': 'a6023cb1-9ea3-4432-be99-fca203a1393e', 'name': 'ctest-vn-74149452', 'tenant_id': '49a307899adb4dadaf784bf4215af2a4', 'project_id': '49a307899adb4dadaf784bf4215af2a4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29492991', 'ctest-vn-74149452'], 'port_security_enabled': True, 'description': ''}} 2024-11-10 13:18:33,367 - DEBUG - Response for create_subnet : {'subnet': {'id': '26693455-8025-4406-a3f9-bbb0bdaf7ff8', 'name': '', 'tenant_id': '49a307899adb4dadaf784bf4215af2a4', 'network_id': 'a6023cb1-9ea3-4432-be99-fca203a1393e', 'ip_version': 4, 'cidr': '77.124.28.64/26', 'allocation_pools': [{'start': '77.124.28.66', 'end': '77.124.28.126'}], 'gateway_ip': '77.124.28.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '77.124.28.66', 'tags': [], 'project_id': '49a307899adb4dadaf784bf4215af2a4'}} 2024-11-10 13:18:33,388 - INFO - Created VN ctest-vn-74149452 2024-11-10 13:18:33,448 - DEBUG - VN ctest-vn-74149452 UUID is a6023cb1-9ea3-4432-be99-fca203a1393e 2024-11-10 13:18:33,837 - DEBUG - Response for create_network : {'network': {'id': '9fbb08bf-33a0-4f9c-a4af-e27ecd971e75', 'name': 'ctest-vn-23264572', 'tenant_id': '49a307899adb4dadaf784bf4215af2a4', 'project_id': '49a307899adb4dadaf784bf4215af2a4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29492991', 'ctest-vn-23264572'], 'port_security_enabled': True, 'description': ''}} 2024-11-10 13:18:34,010 - DEBUG - Response for create_subnet : {'subnet': {'id': '2902fbbc-4e1a-4fa4-9fd7-1c285df31229', 'name': '', 'tenant_id': '49a307899adb4dadaf784bf4215af2a4', 'network_id': '9fbb08bf-33a0-4f9c-a4af-e27ecd971e75', 'ip_version': 4, 'cidr': '187.159.137.64/26', 'allocation_pools': [{'start': '187.159.137.66', 'end': '187.159.137.126'}], 'gateway_ip': '187.159.137.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '187.159.137.66', 'tags': [], 'project_id': '49a307899adb4dadaf784bf4215af2a4'}} 2024-11-10 13:18:34,033 - INFO - Created VN ctest-vn-23264572 2024-11-10 13:18:34,092 - DEBUG - VN ctest-vn-23264572 UUID is 9fbb08bf-33a0-4f9c-a4af-e27ecd971e75 2024-11-10 13:18:34,232 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-29492991:ctest-vn-74149452, 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-29492991:ctest-vn-23264572, 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-11-10 13:18:34,576 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a6023cb1-9ea3-4432-be99-fca203a1393e', 'name': 'ctest-vn-74149452', 'tenant_id': '49a307899adb4dadaf784bf4215af2a4', 'project_id': '49a307899adb4dadaf784bf4215af2a4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['26693455-8025-4406-a3f9-bbb0bdaf7ff8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29492991', 'ctest-vn-74149452'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-29492991', 'ctest-policy-allow-all-25145675']], 'subnet_ipam': [{'subnet_cidr': '77.124.28.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-11-10 13:18:34,839 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9fbb08bf-33a0-4f9c-a4af-e27ecd971e75', 'name': 'ctest-vn-23264572', 'tenant_id': '49a307899adb4dadaf784bf4215af2a4', 'project_id': '49a307899adb4dadaf784bf4215af2a4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2902fbbc-4e1a-4fa4-9fd7-1c285df31229'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29492991', 'ctest-vn-23264572'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-29492991', 'ctest-policy-allow-all-25145675']], 'subnet_ipam': [{'subnet_cidr': '187.159.137.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-11-10 13:18:35,044 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2024-11-10 13:18:35,366 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2024-11-10 13:18:35,405 - DEBUG - Requesting: http://10.0.0.33:8082/domain/b7ce3b20-6d41-4424-8fd1-d9468be813f0 2024-11-10 13:18:35,422 - DEBUG - Requesting: http://10.0.0.33:8082/project/49a30789-9adb-4dad-af78-4bf4215af2a4 2024-11-10 13:18:35,521 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/a6023cb1-9ea3-4432-be99-fca203a1393e 2024-11-10 13:18:35,538 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/a6023cb1-9ea3-4432-be99-fca203a1393e 2024-11-10 13:18:35,553 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9c0f57f6-499f-4846-9c3b-ddcef9c6479c 2024-11-10 13:18:35,564 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9c0f57f6-499f-4846-9c3b-ddcef9c6479c 2024-11-10 13:18:35,574 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/e996ca55-da22-4e0b-b098-05540ec4febf 2024-11-10 13:18:35,586 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-11-10 13:18:35,587 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/a6023cb1-9ea3-4432-be99-fca203a1393e 2024-11-10 13:18:35,603 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9c0f57f6-499f-4846-9c3b-ddcef9c6479c 2024-11-10 13:18:35,629 - INFO - Verified VN network id 8 for VN a6023cb1-9ea3-4432-be99-fca203a1393e 2024-11-10 13:18:35,629 - INFO - Verifications in API Server for VN ctest-vn-74149452 passed 2024-11-10 13:18:35,629 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/a6023cb1-9ea3-4432-be99-fca203a1393e 2024-11-10 13:18:35,646 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9c0f57f6-499f-4846-9c3b-ddcef9c6479c 2024-11-10 13:18:35,656 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9c0f57f6-499f-4846-9c3b-ddcef9c6479c 2024-11-10 13:18:35,667 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/e996ca55-da22-4e0b-b098-05540ec4febf 2024-11-10 13:18:35,683 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-29492991:ctest-vn-74149452', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-29492991', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11962190293817836594', 'uuid-lslong': '13734286311418837310'}, 'enable': 'true', 'created': '2024-11-10T13:18:33', 'last-modified': '2024-11-10T13:18:34', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.139133'} 2024-11-10 13:18:35,691 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-11-10 13:18:35,691 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-74149452 passed 2024-11-10 13:18:35,692 - DEBUG - ====Verifying policy data for ctest-vn-74149452 in API_Server ====== 2024-11-10 13:18:35,692 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2024-11-10 13:18:35,700 - DEBUG - Requesting: http://10.0.0.33:8082/domain/b7ce3b20-6d41-4424-8fd1-d9468be813f0 2024-11-10 13:18:35,716 - DEBUG - Requesting: http://10.0.0.33:8082/project/49a30789-9adb-4dad-af78-4bf4215af2a4 2024-11-10 13:18:35,818 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/a6023cb1-9ea3-4432-be99-fca203a1393e 2024-11-10 13:18:35,837 - DEBUG - ==>Verifying data for policy with id: 716a3d95-4509-4bd8-9f1f-48c5dc24481e, fqn: ['default-domain', 'ctest-TestBasicPolicy-29492991', 'ctest-policy-allow-all-25145675'] 2024-11-10 13:18:35,837 - INFO - VN ctest-vn-74149452 Policy verification: verify_vn_policy_in_api_server, status: True 2024-11-10 13:18:35,837 - DEBUG - Verifying the vn in opserver 2024-11-10 13:18:35,837 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-29492991:ctest-vn-74149452 virtual network link through opserver 10.0.0.33 2024-11-10 13:18:35,837 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2024-11-10 13:18:36,148 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2024-11-10 13:18:36,219 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-29492991:ctest-vn-74149452', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-29492991:ctest-vn-74149452?flat'} 2024-11-10 13:18:36,219 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-29492991:ctest-vn-74149452 is found in opserver 2024-11-10 13:18:36,233 - DEBUG - Do not have enough data to verify VN in agent 2024-11-10 13:18:36,239 - DEBUG - VRF ids for VN ctest-vn-74149452: {} 2024-11-10 13:18:36,239 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2024-11-10 13:18:36,246 - DEBUG - Requesting: http://10.0.0.33:8082/domain/b7ce3b20-6d41-4424-8fd1-d9468be813f0 2024-11-10 13:18:36,264 - DEBUG - Requesting: http://10.0.0.33:8082/project/49a30789-9adb-4dad-af78-4bf4215af2a4 2024-11-10 13:18:36,354 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/9fbb08bf-33a0-4f9c-a4af-e27ecd971e75 2024-11-10 13:18:36,372 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/9fbb08bf-33a0-4f9c-a4af-e27ecd971e75 2024-11-10 13:18:36,389 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/5af617e7-409e-4a0c-b864-664986660f5d 2024-11-10 13:18:36,401 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/5af617e7-409e-4a0c-b864-664986660f5d 2024-11-10 13:18:36,412 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/ebd2d244-9f2a-4d93-8cc1-f6bfd4e7365c 2024-11-10 13:18:36,424 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-11-10 13:18:36,424 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/9fbb08bf-33a0-4f9c-a4af-e27ecd971e75 2024-11-10 13:18:36,441 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/5af617e7-409e-4a0c-b864-664986660f5d 2024-11-10 13:18:36,465 - INFO - Verified VN network id 9 for VN 9fbb08bf-33a0-4f9c-a4af-e27ecd971e75 2024-11-10 13:18:36,465 - INFO - Verifications in API Server for VN ctest-vn-23264572 passed 2024-11-10 13:18:36,465 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/9fbb08bf-33a0-4f9c-a4af-e27ecd971e75 2024-11-10 13:18:36,481 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/5af617e7-409e-4a0c-b864-664986660f5d 2024-11-10 13:18:36,492 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/5af617e7-409e-4a0c-b864-664986660f5d 2024-11-10 13:18:36,503 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/ebd2d244-9f2a-4d93-8cc1-f6bfd4e7365c 2024-11-10 13:18:36,518 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-29492991:ctest-vn-23264572', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-29492991', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11509802889973354396', 'uuid-lslong': '11866952577387535989'}, 'enable': 'true', 'created': '2024-11-10T13:18:33', 'last-modified': '2024-11-10T13:18:34', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.709168'} 2024-11-10 13:18:36,525 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-11-10 13:18:36,525 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-23264572 passed 2024-11-10 13:18:36,525 - DEBUG - ====Verifying policy data for ctest-vn-23264572 in API_Server ====== 2024-11-10 13:18:36,526 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2024-11-10 13:18:36,533 - DEBUG - Requesting: http://10.0.0.33:8082/domain/b7ce3b20-6d41-4424-8fd1-d9468be813f0 2024-11-10 13:18:36,548 - DEBUG - Requesting: http://10.0.0.33:8082/project/49a30789-9adb-4dad-af78-4bf4215af2a4 2024-11-10 13:18:36,636 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/9fbb08bf-33a0-4f9c-a4af-e27ecd971e75 2024-11-10 13:18:36,651 - DEBUG - ==>Verifying data for policy with id: 716a3d95-4509-4bd8-9f1f-48c5dc24481e, fqn: ['default-domain', 'ctest-TestBasicPolicy-29492991', 'ctest-policy-allow-all-25145675'] 2024-11-10 13:18:36,651 - INFO - VN ctest-vn-23264572 Policy verification: verify_vn_policy_in_api_server, status: True 2024-11-10 13:18:36,651 - DEBUG - Verifying the vn in opserver 2024-11-10 13:18:36,652 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-29492991:ctest-vn-23264572 virtual network link through opserver 10.0.0.33 2024-11-10 13:18:36,652 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2024-11-10 13:18:36,665 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-29492991:ctest-vn-23264572', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-29492991:ctest-vn-23264572?flat'} 2024-11-10 13:18:36,665 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-29492991:ctest-vn-23264572 is found in opserver 2024-11-10 13:18:36,677 - DEBUG - Do not have enough data to verify VN in agent 2024-11-10 13:18:36,683 - DEBUG - VRF ids for VN ctest-vn-23264572: {} 2024-11-10 13:18:36,752 - DEBUG - Services list from nova: [, , ] 2024-11-10 13:18:37,881 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2249-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2249-1) 2024-11-10 13:18:39,443 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2249-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2249-1) 2024-11-10 13:18:39,443 - INFO - Waiting for VM ctest-TestBasicPolicy-29492991-78959539 to be up.. 2024-11-10 13:18:39,533 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-10 13:18:44,712 - DEBUG - VM is in ACTIVE state now 2024-11-10 13:18:44,713 - INFO - VM name : ctest-TestBasicPolicy-29492991-78959539 2024-11-10 13:18:44,872 - DEBUG - VM ctest-TestBasicPolicy-29492991-78959539 ID is df0c6cf5-a0f4-4400-97cb-5bdd3c01b093 2024-11-10 13:18:44,896 - DEBUG - VM ctest-TestBasicPolicy-29492991-78959539 launched on Node cn-jenkins-deploy-platform-ansible-os-2249-1 2024-11-10 13:18:45,065 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/df0c6cf5-a0f4-4400-97cb-5bdd3c01b093 2024-11-10 13:18:45,076 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/99a80a96-d3df-401a-8662-a165e2c8f240 2024-11-10 13:18:48,435 - 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 1013ms') 2024-11-10 13:18:48,436 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-29492991-78959539 failed! 2024-11-10 13:18:48,504 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-29492991:ctest-vn-74149452 is 77.124.28.65 and allocation pool is NOT set 2024-11-10 13:18:50,576 - 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=6.29 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.32 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.321/4.805/6.289/1.484 ms') 2024-11-10 13:18:50,576 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-29492991-78959539 passed 2024-11-10 13:18:50,748 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 13:18:50,748 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-29492991-78959539, IP 77.124.28.67, Port 22 2024-11-10 13:18:50,922 - DEBUG - VM ctest-TestBasicPolicy-29492991-78959539 is ready for SSH connections 2024-11-10 13:18:50,922 - INFO - Waiting for VM ctest-TestBasicPolicy-29492991-61922944 to be up.. 2024-11-10 13:18:51,025 - DEBUG - VM is in ACTIVE state now 2024-11-10 13:18:51,026 - INFO - VM name : ctest-TestBasicPolicy-29492991-61922944 2024-11-10 13:18:51,132 - DEBUG - VM ctest-TestBasicPolicy-29492991-61922944 ID is ea277e65-b2f8-431b-a704-451d85e6d84d 2024-11-10 13:18:51,132 - DEBUG - VM ctest-TestBasicPolicy-29492991-61922944 launched on Node cn-jenkins-deploy-platform-ansible-os-2249-1 2024-11-10 13:18:51,227 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/ea277e65-b2f8-431b-a704-451d85e6d84d 2024-11-10 13:18:51,247 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/5b282ed9-b14a-45cd-a5db-5a83c2a392fc 2024-11-10 13:18:52,526 - 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=6.45 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.586 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.586/3.519/6.453/2.933 ms') 2024-11-10 13:18:52,527 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-29492991-61922944 passed 2024-11-10 13:18:52,692 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 13:18:52,692 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-29492991-61922944, IP 187.159.137.67, Port 22 2024-11-10 13:18:52,852 - DEBUG - VM ctest-TestBasicPolicy-29492991-61922944 is ready for SSH connections 2024-11-10 13:18:52,852 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 13:18:52,852 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 187.159.137.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2024-11-10 13:18:52,852 - DEBUG - ping -s 56 -c 3 -W 1 187.159.137.67 2024-11-10 13:18:56,644 - DEBUG - PING 187.159.137.67 (187.159.137.67): 56 data bytes 64 bytes from 187.159.137.67: seq=0 ttl=63 time=3.929 ms 64 bytes from 187.159.137.67: seq=1 ttl=63 time=1.703 ms 64 bytes from 187.159.137.67: seq=2 ttl=63 time=0.977 ms --- 187.159.137.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.977/2.203/3.929 ms 2024-11-10 13:18:56,644 - INFO - Ping to IP 187.159.137.67 from VM ctest-TestBasicPolicy-29492991-78959539 passed 2024-11-10 13:18:56,848 - DEBUG - Policy Update Response {"network-policy": {"uuid": "716a3d95-4509-4bd8-9f1f-48c5dc24481e", "href": "http://10.0.0.33:8082/network-policy/716a3d95-4509-4bd8-9f1f-48c5dc24481e"}} 2024-11-10 13:18:56,848 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 13:18:56,848 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 187.159.137.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2024-11-10 13:18:56,848 - DEBUG - ping -s 56 -c 3 -W 1 187.159.137.67 2024-11-10 13:19:00,089 - DEBUG - PING 187.159.137.67 (187.159.137.67): 56 data bytes --- 187.159.137.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2024-11-10 13:19:00,089 - WARNING - Ping to IP 187.159.137.67 from VM ctest-TestBasicPolicy-29492991-78959539 failed 2024-11-10 13:19:00,090 - INFO - Deleting VM ctest-TestBasicPolicy-29492991-61922944 2024-11-10 13:19:00,169 - INFO - Deleting VM ctest-TestBasicPolicy-29492991-78959539 2024-11-10 13:19:00,806 - INFO - Deleted policy ctest-policy-allow-all-25145675 2024-11-10 13:19:00,806 - INFO - Deleting VN ctest-vn-23264572 2024-11-10 13:19:00,880 - DEBUG - VN 9fbb08bf-33a0-4f9c-a4af-e27ecd971e75 still in use: Unable to complete operation on network 9fbb08bf-33a0-4f9c-a4af-e27ecd971e75. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-bc3a4b37-da7e-4a51-9bed-97707f456d74'] 2024-11-10 13:19:00,881 - WARNING - Deleting VN ctest-vn-23264572 failed..Will retry 2024-11-10 13:19:03,039 - DEBUG - Response for deleting network () 2024-11-10 13:19:03,039 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/5af617e7-409e-4a0c-b864-664986660f5d 2024-11-10 13:19:03,050 - DEBUG - Response Code: 404 2024-11-10 13:19:03,050 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2024-11-10 13:19:03,059 - DEBUG - Requesting: http://10.0.0.33:8082/domain/b7ce3b20-6d41-4424-8fd1-d9468be813f0 2024-11-10 13:19:03,125 - DEBUG - Requesting: http://10.0.0.33:8082/project/49a30789-9adb-4dad-af78-4bf4215af2a4 2024-11-10 13:19:03,220 - INFO - Validated that VN ctest-vn-23264572 is not found in API Server 2024-11-10 13:19:03,235 - DEBUG - VN ctest-vn-23264572 is not present in Agent 10.0.0.33 2024-11-10 13:19:03,235 - INFO - Validated that VN ctest-vn-23264572 is not in any agent 2024-11-10 13:19:03,255 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-23264572 info 2024-11-10 13:19:03,255 - INFO - Deleting VN ctest-vn-74149452 2024-11-10 13:19:03,408 - DEBUG - Response for deleting network () 2024-11-10 13:19:03,408 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9c0f57f6-499f-4846-9c3b-ddcef9c6479c 2024-11-10 13:19:03,422 - DEBUG - Response Code: 404 2024-11-10 13:19:03,422 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2024-11-10 13:19:03,432 - DEBUG - Requesting: http://10.0.0.33:8082/domain/b7ce3b20-6d41-4424-8fd1-d9468be813f0 2024-11-10 13:19:03,455 - DEBUG - Requesting: http://10.0.0.33:8082/project/49a30789-9adb-4dad-af78-4bf4215af2a4 2024-11-10 13:19:03,554 - INFO - Validated that VN ctest-vn-74149452 is not found in API Server 2024-11-10 13:19:03,568 - DEBUG - VN ctest-vn-74149452 is not present in Agent 10.0.0.33 2024-11-10 13:19:03,568 - INFO - Validated that VN ctest-vn-74149452 is not in any agent 2024-11-10 13:19:03,590 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-74149452 info 2024-11-10 13:19:03,856 - DEBUG - No XMPP flaps were noticed during the test
2024-11-10 13:19:03,856 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31]
2024-11-10 13:19:03,856 - INFO - -------------------------------------------------------------------------------- 2024-11-10 13:19:04,608 - INFO - Deleted project: ctest-TestBasicPolicy-29492991, ID : 49a30789-9adb-4dad-af78-4bf4215af2a4