2025-01-07 21:03:49,433 - INFO - Domain Default found not creating 2025-01-07 21:03:49,600 - INFO - Project ctest-TestBasicPolicy-11392143 not found, creating it 2025-01-07 21:03:50,080 - INFO - Created Project:ctest-TestBasicPolicy-11392143, ID : 7704af25-c1ef-470e-9434-f586cdc5c4e7 2025-01-07 21:03:51,634 - INFO - ================================================================================ 2025-01-07 21:03:51,634 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-01-07 21:03:51,634 - 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-07 21:03:51,891 - DEBUG - Nothing to compare xmpp stats {'10.0.0.12': {'10.20.0.17': '0'}} with 2025-01-07 21:03:51,891 - INFO - Initial checks done. Running the testcase now 2025-01-07 21:03:51,891 - INFO - 2025-01-07 21:03:52,461 - DEBUG - Response for create_network : {'network': {'id': 'e884be3c-5249-4bd5-a42a-0f56068f6a4d', 'name': 'ctest-vn-99768879', 'tenant_id': '7704af25c1ef470e9434f586cdc5c4e7', 'project_id': '7704af25c1ef470e9434f586cdc5c4e7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11392143', 'ctest-vn-99768879'], 'port_security_enabled': True, 'description': ''}} 2025-01-07 21:03:52,671 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fa05c416-e676-4506-8bb1-77776e22c45d', 'name': '', 'tenant_id': '7704af25c1ef470e9434f586cdc5c4e7', 'network_id': 'e884be3c-5249-4bd5-a42a-0f56068f6a4d', 'ip_version': 4, 'cidr': '46.217.126.0/26', 'allocation_pools': [{'start': '46.217.126.2', 'end': '46.217.126.62'}], 'gateway_ip': '46.217.126.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '46.217.126.2', 'tags': [], 'project_id': '7704af25c1ef470e9434f586cdc5c4e7'}} 2025-01-07 21:03:52,694 - INFO - Created VN ctest-vn-99768879 2025-01-07 21:03:52,749 - DEBUG - VN ctest-vn-99768879 UUID is e884be3c-5249-4bd5-a42a-0f56068f6a4d 2025-01-07 21:03:53,091 - DEBUG - Response for create_network : {'network': {'id': 'b2c09e95-d164-4006-929d-df76316e79ba', 'name': 'ctest-vn-93112153', 'tenant_id': '7704af25c1ef470e9434f586cdc5c4e7', 'project_id': '7704af25c1ef470e9434f586cdc5c4e7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11392143', 'ctest-vn-93112153'], 'port_security_enabled': True, 'description': ''}} 2025-01-07 21:03:53,313 - DEBUG - Response for create_subnet : {'subnet': {'id': 'adca8159-4b48-43a1-b54e-d1c705745f21', 'name': '', 'tenant_id': '7704af25c1ef470e9434f586cdc5c4e7', 'network_id': 'b2c09e95-d164-4006-929d-df76316e79ba', 'ip_version': 4, 'cidr': '93.33.153.0/26', 'allocation_pools': [{'start': '93.33.153.2', 'end': '93.33.153.62'}], 'gateway_ip': '93.33.153.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '93.33.153.2', 'tags': [], 'project_id': '7704af25c1ef470e9434f586cdc5c4e7'}} 2025-01-07 21:03:53,334 - INFO - Created VN ctest-vn-93112153 2025-01-07 21:03:53,385 - DEBUG - VN ctest-vn-93112153 UUID is b2c09e95-d164-4006-929d-df76316e79ba 2025-01-07 21:03:53,499 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-11392143:ctest-vn-99768879, 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-11392143:ctest-vn-93112153, 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-07 21:03:53,824 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e884be3c-5249-4bd5-a42a-0f56068f6a4d', 'name': 'ctest-vn-99768879', 'tenant_id': '7704af25c1ef470e9434f586cdc5c4e7', 'project_id': '7704af25c1ef470e9434f586cdc5c4e7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['fa05c416-e676-4506-8bb1-77776e22c45d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11392143', 'ctest-vn-99768879'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-11392143', 'ctest-policy-allow-all-63326499']], 'subnet_ipam': [{'subnet_cidr': '46.217.126.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-07 21:03:54,074 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b2c09e95-d164-4006-929d-df76316e79ba', 'name': 'ctest-vn-93112153', 'tenant_id': '7704af25c1ef470e9434f586cdc5c4e7', 'project_id': '7704af25c1ef470e9434f586cdc5c4e7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['adca8159-4b48-43a1-b54e-d1c705745f21'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11392143', 'ctest-vn-93112153'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-11392143', 'ctest-policy-allow-all-63326499']], 'subnet_ipam': [{'subnet_cidr': '93.33.153.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-07 21:03:54,245 - DEBUG - Requesting: http://10.0.0.12:8082/domains 2025-01-07 21:03:54,543 - DEBUG - Requesting: http://10.0.0.12:8082/domains 2025-01-07 21:03:54,573 - DEBUG - Requesting: http://10.0.0.12:8082/domain/f36552f4-81b7-429a-b708-26a0e3d372b2 2025-01-07 21:03:54,588 - DEBUG - Requesting: http://10.0.0.12:8082/project/7704af25-c1ef-470e-9434-f586cdc5c4e7 2025-01-07 21:03:54,663 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-network/e884be3c-5249-4bd5-a42a-0f56068f6a4d 2025-01-07 21:03:54,675 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-network/e884be3c-5249-4bd5-a42a-0f56068f6a4d 2025-01-07 21:03:54,688 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/dcfe094c-bc8c-4a7a-a46c-d2c540520b77 2025-01-07 21:03:54,699 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/dcfe094c-bc8c-4a7a-a46c-d2c540520b77 2025-01-07 21:03:54,707 - DEBUG - Requesting: http://10.0.0.12:8082/route-target/aca39512-9fd3-4c7d-87f2-8d89e8ab5fde 2025-01-07 21:03:54,719 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-01-07 21:03:54,719 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-network/e884be3c-5249-4bd5-a42a-0f56068f6a4d 2025-01-07 21:03:54,732 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/dcfe094c-bc8c-4a7a-a46c-d2c540520b77 2025-01-07 21:03:54,753 - INFO - Verified VN network id 8 for VN e884be3c-5249-4bd5-a42a-0f56068f6a4d 2025-01-07 21:03:54,753 - INFO - Verifications in API Server for VN ctest-vn-99768879 passed 2025-01-07 21:03:54,753 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-network/e884be3c-5249-4bd5-a42a-0f56068f6a4d 2025-01-07 21:03:54,769 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/dcfe094c-bc8c-4a7a-a46c-d2c540520b77 2025-01-07 21:03:54,782 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/dcfe094c-bc8c-4a7a-a46c-d2c540520b77 2025-01-07 21:03:54,793 - DEBUG - Requesting: http://10.0.0.12:8082/route-target/aca39512-9fd3-4c7d-87f2-8d89e8ab5fde 2025-01-07 21:03:54,816 - DEBUG - Control-node 10.0.0.12 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-11392143:ctest-vn-99768879', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-11392143', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16754725680012938197', 'uuid-lslong': '11829284233393695309'}, 'enable': 'true', 'created': '2025-01-07T21:03:52', 'last-modified': '2025-01-07T21:03:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.016103'} 2025-01-07 21:03:54,824 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-01-07 21:03:54,824 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-99768879 passed 2025-01-07 21:03:54,824 - DEBUG - ====Verifying policy data for ctest-vn-99768879 in API_Server ====== 2025-01-07 21:03:54,824 - DEBUG - Requesting: http://10.0.0.12:8082/domains 2025-01-07 21:03:54,833 - DEBUG - Requesting: http://10.0.0.12:8082/domain/f36552f4-81b7-429a-b708-26a0e3d372b2 2025-01-07 21:03:54,851 - DEBUG - Requesting: http://10.0.0.12:8082/project/7704af25-c1ef-470e-9434-f586cdc5c4e7 2025-01-07 21:03:54,928 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-network/e884be3c-5249-4bd5-a42a-0f56068f6a4d 2025-01-07 21:03:54,938 - DEBUG - ==>Verifying data for policy with id: 0e615439-8f47-4685-a9be-ed2d3e849064, fqn: ['default-domain', 'ctest-TestBasicPolicy-11392143', 'ctest-policy-allow-all-63326499'] 2025-01-07 21:03:54,938 - INFO - VN ctest-vn-99768879 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-07 21:03:54,938 - DEBUG - Verifying the vn in opserver 2025-01-07 21:03:54,938 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-11392143:ctest-vn-99768879 virtual network link through opserver 10.0.0.12 2025-01-07 21:03:54,938 - DEBUG - Requesting: http://10.0.0.12:8081/analytics/uves/virtual-networks 2025-01-07 21:03:55,241 - DEBUG - Requesting: http://10.0.0.12:8081/analytics/uves/virtual-networks 2025-01-07 21:03:55,304 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-11392143:ctest-vn-99768879', 'href': 'http://10.0.0.12:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-11392143:ctest-vn-99768879?flat'} 2025-01-07 21:03:55,304 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-11392143:ctest-vn-99768879 is found in opserver 2025-01-07 21:03:55,316 - DEBUG - Do not have enough data to verify VN in agent 2025-01-07 21:03:55,321 - DEBUG - VRF ids for VN ctest-vn-99768879: {} 2025-01-07 21:03:55,321 - DEBUG - Requesting: http://10.0.0.12:8082/domains 2025-01-07 21:03:55,327 - DEBUG - Requesting: http://10.0.0.12:8082/domain/f36552f4-81b7-429a-b708-26a0e3d372b2 2025-01-07 21:03:55,339 - DEBUG - Requesting: http://10.0.0.12:8082/project/7704af25-c1ef-470e-9434-f586cdc5c4e7 2025-01-07 21:03:55,414 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-network/b2c09e95-d164-4006-929d-df76316e79ba 2025-01-07 21:03:55,427 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-network/b2c09e95-d164-4006-929d-df76316e79ba 2025-01-07 21:03:55,439 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/a73d6017-1de8-4777-80e8-4f2fddaa0c8c 2025-01-07 21:03:55,447 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/a73d6017-1de8-4777-80e8-4f2fddaa0c8c 2025-01-07 21:03:55,455 - DEBUG - Requesting: http://10.0.0.12:8082/route-target/7551cf81-c160-4189-93e3-6b54b84767ca 2025-01-07 21:03:55,462 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-07 21:03:55,462 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-network/b2c09e95-d164-4006-929d-df76316e79ba 2025-01-07 21:03:55,473 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/a73d6017-1de8-4777-80e8-4f2fddaa0c8c 2025-01-07 21:03:55,491 - INFO - Verified VN network id 9 for VN b2c09e95-d164-4006-929d-df76316e79ba 2025-01-07 21:03:55,491 - INFO - Verifications in API Server for VN ctest-vn-93112153 passed 2025-01-07 21:03:55,491 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-network/b2c09e95-d164-4006-929d-df76316e79ba 2025-01-07 21:03:55,504 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/a73d6017-1de8-4777-80e8-4f2fddaa0c8c 2025-01-07 21:03:55,512 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/a73d6017-1de8-4777-80e8-4f2fddaa0c8c 2025-01-07 21:03:55,519 - DEBUG - Requesting: http://10.0.0.12:8082/route-target/7551cf81-c160-4189-93e3-6b54b84767ca 2025-01-07 21:03:55,530 - DEBUG - Control-node 10.0.0.12 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-11392143:ctest-vn-93112153', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-11392143', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12880469300579942406', 'uuid-lslong': '10564845999609510330'}, 'enable': 'true', 'created': '2025-01-07T21:03:53', 'last-modified': '2025-01-07T21:03:54', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.482861'} 2025-01-07 21:03:55,537 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-07 21:03:55,537 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-93112153 passed 2025-01-07 21:03:55,537 - DEBUG - ====Verifying policy data for ctest-vn-93112153 in API_Server ====== 2025-01-07 21:03:55,537 - DEBUG - Requesting: http://10.0.0.12:8082/domains 2025-01-07 21:03:55,543 - DEBUG - Requesting: http://10.0.0.12:8082/domain/f36552f4-81b7-429a-b708-26a0e3d372b2 2025-01-07 21:03:55,555 - DEBUG - Requesting: http://10.0.0.12:8082/project/7704af25-c1ef-470e-9434-f586cdc5c4e7 2025-01-07 21:03:55,632 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-network/b2c09e95-d164-4006-929d-df76316e79ba 2025-01-07 21:03:55,645 - DEBUG - ==>Verifying data for policy with id: 0e615439-8f47-4685-a9be-ed2d3e849064, fqn: ['default-domain', 'ctest-TestBasicPolicy-11392143', 'ctest-policy-allow-all-63326499'] 2025-01-07 21:03:55,645 - INFO - VN ctest-vn-93112153 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-07 21:03:55,645 - DEBUG - Verifying the vn in opserver 2025-01-07 21:03:55,646 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-11392143:ctest-vn-93112153 virtual network link through opserver 10.0.0.12 2025-01-07 21:03:55,646 - DEBUG - Requesting: http://10.0.0.12:8081/analytics/uves/virtual-networks 2025-01-07 21:03:55,657 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-11392143:ctest-vn-93112153', 'href': 'http://10.0.0.12:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-11392143:ctest-vn-93112153?flat'} 2025-01-07 21:03:55,657 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-11392143:ctest-vn-93112153 is found in opserver 2025-01-07 21:03:55,670 - DEBUG - Do not have enough data to verify VN in agent 2025-01-07 21:03:55,676 - DEBUG - VRF ids for VN ctest-vn-93112153: {} 2025-01-07 21:03:55,752 - DEBUG - Services list from nova: [, , ] 2025-01-07 21:03:56,913 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2554-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2554-1) 2025-01-07 21:03:58,137 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2554-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2554-1) 2025-01-07 21:03:58,137 - INFO - Waiting for VM ctest-TestBasicPolicy-11392143-25773498 to be up.. 2025-01-07 21:03:58,220 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-07 21:04:03,307 - DEBUG - VM is in ACTIVE state now 2025-01-07 21:04:03,307 - INFO - VM name : ctest-TestBasicPolicy-11392143-25773498 2025-01-07 21:04:03,390 - DEBUG - VM ctest-TestBasicPolicy-11392143-25773498 ID is ff3089a0-5f86-4999-9c92-a84a56c9af59 2025-01-07 21:04:03,410 - DEBUG - VM ctest-TestBasicPolicy-11392143-25773498 launched on Node cn-jenkins-deploy-platform-ansible-os-2554-1 2025-01-07 21:04:03,490 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/ff3089a0-5f86-4999-9c92-a84a56c9af59 2025-01-07 21:04:03,499 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/48128db9-5147-47ce-b2a2-5de19d93c985 2025-01-07 21:04:06,997 - 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 1296ms') 2025-01-07 21:04:06,998 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-11392143-25773498 failed! 2025-01-07 21:04:07,057 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-11392143:ctest-vn-99768879 is 46.217.126.1 and allocation pool is NOT set 2025-01-07 21:04:09,124 - 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.18 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.576 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.576/4.376/8.177/3.800 ms') 2025-01-07 21:04:09,124 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-11392143-25773498 passed 2025-01-07 21:04:09,281 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-07 21:04:09,281 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-11392143-25773498, IP 46.217.126.3, Port 22 2025-01-07 21:04:09,441 - DEBUG - VM ctest-TestBasicPolicy-11392143-25773498 is ready for SSH connections 2025-01-07 21:04:09,442 - INFO - Waiting for VM ctest-TestBasicPolicy-11392143-99045432 to be up.. 2025-01-07 21:04:09,628 - DEBUG - VM is in ACTIVE state now 2025-01-07 21:04:09,628 - INFO - VM name : ctest-TestBasicPolicy-11392143-99045432 2025-01-07 21:04:09,713 - DEBUG - VM ctest-TestBasicPolicy-11392143-99045432 ID is 071600ee-c97e-4c06-ba29-116b10635273 2025-01-07 21:04:09,713 - DEBUG - VM ctest-TestBasicPolicy-11392143-99045432 launched on Node cn-jenkins-deploy-platform-ansible-os-2554-1 2025-01-07 21:04:09,796 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/071600ee-c97e-4c06-ba29-116b10635273 2025-01-07 21:04:09,806 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/c15fff1b-4fb4-485b-b5ed-565574a03a8b 2025-01-07 21:04:11,063 - 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.80 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.31 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 = 1.314/2.555/3.797/1.241 ms') 2025-01-07 21:04:11,064 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-11392143-99045432 passed 2025-01-07 21:04:11,217 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-07 21:04:11,217 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-11392143-99045432, IP 93.33.153.3, Port 22 2025-01-07 21:04:11,385 - DEBUG - VM ctest-TestBasicPolicy-11392143-99045432 is ready for SSH connections 2025-01-07 21:04:11,385 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-07 21:04:11,385 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 93.33.153.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.12, gateway password: c0ntrail123 2025-01-07 21:04:11,385 - DEBUG - ping -s 56 -c 3 -W 1 93.33.153.3 2025-01-07 21:04:15,455 - DEBUG - PING 93.33.153.3 (93.33.153.3): 56 data bytes 64 bytes from 93.33.153.3: seq=0 ttl=63 time=3.954 ms 64 bytes from 93.33.153.3: seq=1 ttl=63 time=0.976 ms 64 bytes from 93.33.153.3: seq=2 ttl=63 time=2.457 ms --- 93.33.153.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.976/2.462/3.954 ms 2025-01-07 21:04:15,455 - INFO - Ping to IP 93.33.153.3 from VM ctest-TestBasicPolicy-11392143-25773498 passed 2025-01-07 21:04:15,657 - DEBUG - Policy Update Response {"network-policy": {"uuid": "0e615439-8f47-4685-a9be-ed2d3e849064", "href": "http://10.0.0.12:8082/network-policy/0e615439-8f47-4685-a9be-ed2d3e849064"}} 2025-01-07 21:04:15,657 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-07 21:04:15,657 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 93.33.153.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.12, gateway password: c0ntrail123 2025-01-07 21:04:15,657 - DEBUG - ping -s 56 -c 3 -W 1 93.33.153.3 2025-01-07 21:04:18,883 - DEBUG - PING 93.33.153.3 (93.33.153.3): 56 data bytes 64 bytes from 93.33.153.3: seq=0 ttl=63 time=1.467 ms --- 93.33.153.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.467/1.467/1.467 ms 2025-01-07 21:04:18,883 - WARNING - Ping to IP 93.33.153.3 from VM ctest-TestBasicPolicy-11392143-25773498 failed 2025-01-07 21:04:18,883 - INFO - Deleting VM ctest-TestBasicPolicy-11392143-99045432 2025-01-07 21:04:18,962 - INFO - Deleting VM ctest-TestBasicPolicy-11392143-25773498 2025-01-07 21:04:19,421 - INFO - Deleted policy ctest-policy-allow-all-63326499 2025-01-07 21:04:19,422 - INFO - Deleting VN ctest-vn-93112153 2025-01-07 21:04:19,468 - DEBUG - VN b2c09e95-d164-4006-929d-df76316e79ba still in use: Unable to complete operation on network b2c09e95-d164-4006-929d-df76316e79ba. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2af58ac6-d0ce-4819-9f36-0f0c48d73c9e'] 2025-01-07 21:04:19,468 - WARNING - Deleting VN ctest-vn-93112153 failed..Will retry 2025-01-07 21:04:21,702 - DEBUG - Response for deleting network () 2025-01-07 21:04:21,702 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/a73d6017-1de8-4777-80e8-4f2fddaa0c8c 2025-01-07 21:04:21,709 - DEBUG - Response Code: 404 2025-01-07 21:04:21,709 - DEBUG - Requesting: http://10.0.0.12:8082/domains 2025-01-07 21:04:21,717 - DEBUG - Requesting: http://10.0.0.12:8082/domain/f36552f4-81b7-429a-b708-26a0e3d372b2 2025-01-07 21:04:21,774 - DEBUG - Requesting: http://10.0.0.12:8082/project/7704af25-c1ef-470e-9434-f586cdc5c4e7 2025-01-07 21:04:21,823 - INFO - Validated that VN ctest-vn-93112153 is not found in API Server 2025-01-07 21:04:21,840 - DEBUG - VN ctest-vn-93112153 is not present in Agent 10.0.0.12 2025-01-07 21:04:21,840 - INFO - Validated that VN ctest-vn-93112153 is not in any agent 2025-01-07 21:04:21,860 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-93112153 info 2025-01-07 21:04:21,860 - INFO - Deleting VN ctest-vn-99768879 2025-01-07 21:04:22,052 - DEBUG - Response for deleting network () 2025-01-07 21:04:22,052 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/dcfe094c-bc8c-4a7a-a46c-d2c540520b77 2025-01-07 21:04:22,059 - DEBUG - Response Code: 404 2025-01-07 21:04:22,059 - DEBUG - Requesting: http://10.0.0.12:8082/domains 2025-01-07 21:04:22,070 - DEBUG - Requesting: http://10.0.0.12:8082/domain/f36552f4-81b7-429a-b708-26a0e3d372b2 2025-01-07 21:04:22,124 - DEBUG - Requesting: http://10.0.0.12:8082/project/7704af25-c1ef-470e-9434-f586cdc5c4e7 2025-01-07 21:04:22,195 - INFO - Validated that VN ctest-vn-99768879 is not found in API Server 2025-01-07 21:04:22,207 - DEBUG - VN ctest-vn-99768879 is not present in Agent 10.0.0.12 2025-01-07 21:04:22,207 - INFO - Validated that VN ctest-vn-99768879 is not in any agent 2025-01-07 21:04:22,225 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-99768879 info 2025-01-07 21:04:22,480 - DEBUG - No XMPP flaps were noticed during the test
2025-01-07 21:04:22,480 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31]
2025-01-07 21:04:22,480 - INFO - -------------------------------------------------------------------------------- 2025-01-07 21:04:23,171 - INFO - Deleted project: ctest-TestBasicPolicy-11392143, ID : 7704af25-c1ef-470e-9434-f586cdc5c4e7