2025-02-20 02:22:46,614 - INFO - Domain Default found not creating 2025-02-20 02:22:46,774 - INFO - Project ctest-TestBasicPolicy-07585795 not found, creating it 2025-02-20 02:22:47,212 - INFO - Created Project:ctest-TestBasicPolicy-07585795, ID : 6e654ec5-ff32-4a8a-92c4-e44797d36365 2025-02-20 02:22:48,617 - INFO - ================================================================================ 2025-02-20 02:22:48,618 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-02-20 02:22:48,618 - 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-02-20 02:22:48,875 - DEBUG - Nothing to compare xmpp stats {'10.0.0.37': {'10.20.0.14': '0'}} with 2025-02-20 02:22:48,875 - INFO - Initial checks done. Running the testcase now 2025-02-20 02:22:48,875 - INFO - 2025-02-20 02:22:49,413 - DEBUG - Response for create_network : {'network': {'id': '90491c6e-b23d-447f-99eb-7e9acc0b7fb6', 'name': 'ctest-vn-80018339', 'tenant_id': '6e654ec5ff324a8a92c4e44797d36365', 'project_id': '6e654ec5ff324a8a92c4e44797d36365', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07585795', 'ctest-vn-80018339'], 'port_security_enabled': True, 'description': ''}} 2025-02-20 02:22:49,621 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f93ab7b8-84d4-4d3e-b04f-a854891739bf', 'name': '', 'tenant_id': '6e654ec5ff324a8a92c4e44797d36365', 'network_id': '90491c6e-b23d-447f-99eb-7e9acc0b7fb6', 'ip_version': 4, 'cidr': '2.42.144.64/26', 'allocation_pools': [{'start': '2.42.144.66', 'end': '2.42.144.126'}], 'gateway_ip': '2.42.144.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '2.42.144.66', 'tags': [], 'project_id': '6e654ec5ff324a8a92c4e44797d36365'}} 2025-02-20 02:22:49,638 - INFO - Created VN ctest-vn-80018339 2025-02-20 02:22:49,690 - DEBUG - VN ctest-vn-80018339 UUID is 90491c6e-b23d-447f-99eb-7e9acc0b7fb6 2025-02-20 02:22:49,997 - DEBUG - Response for create_network : {'network': {'id': 'fb6a42a1-a926-4d4b-a519-dc894a2376ad', 'name': 'ctest-vn-62375366', 'tenant_id': '6e654ec5ff324a8a92c4e44797d36365', 'project_id': '6e654ec5ff324a8a92c4e44797d36365', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07585795', 'ctest-vn-62375366'], 'port_security_enabled': True, 'description': ''}} 2025-02-20 02:22:50,219 - DEBUG - Response for create_subnet : {'subnet': {'id': '828ef2d0-94c1-43db-a124-ce7850076d70', 'name': '', 'tenant_id': '6e654ec5ff324a8a92c4e44797d36365', 'network_id': 'fb6a42a1-a926-4d4b-a519-dc894a2376ad', 'ip_version': 4, 'cidr': '68.8.0.64/26', 'allocation_pools': [{'start': '68.8.0.66', 'end': '68.8.0.126'}], 'gateway_ip': '68.8.0.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '68.8.0.66', 'tags': [], 'project_id': '6e654ec5ff324a8a92c4e44797d36365'}} 2025-02-20 02:22:50,237 - INFO - Created VN ctest-vn-62375366 2025-02-20 02:22:50,286 - DEBUG - VN ctest-vn-62375366 UUID is fb6a42a1-a926-4d4b-a519-dc894a2376ad 2025-02-20 02:22:50,442 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-07585795:ctest-vn-80018339, 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-07585795:ctest-vn-62375366, 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-02-20 02:22:50,721 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '90491c6e-b23d-447f-99eb-7e9acc0b7fb6', 'name': 'ctest-vn-80018339', 'tenant_id': '6e654ec5ff324a8a92c4e44797d36365', 'project_id': '6e654ec5ff324a8a92c4e44797d36365', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f93ab7b8-84d4-4d3e-b04f-a854891739bf'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07585795', 'ctest-vn-80018339'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-07585795', 'ctest-policy-allow-all-17691126']], 'subnet_ipam': [{'subnet_cidr': '2.42.144.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-02-20 02:22:50,948 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fb6a42a1-a926-4d4b-a519-dc894a2376ad', 'name': 'ctest-vn-62375366', 'tenant_id': '6e654ec5ff324a8a92c4e44797d36365', 'project_id': '6e654ec5ff324a8a92c4e44797d36365', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['828ef2d0-94c1-43db-a124-ce7850076d70'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07585795', 'ctest-vn-62375366'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-07585795', 'ctest-policy-allow-all-17691126']], 'subnet_ipam': [{'subnet_cidr': '68.8.0.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-02-20 02:22:51,106 - DEBUG - Requesting: http://10.0.0.37:8082/domains 2025-02-20 02:22:51,399 - DEBUG - Requesting: http://10.0.0.37:8082/domains 2025-02-20 02:22:51,429 - DEBUG - Requesting: http://10.0.0.37:8082/domain/6c622e75-91ef-47a7-91eb-55d2b2a14425 2025-02-20 02:22:51,444 - DEBUG - Requesting: http://10.0.0.37:8082/project/6e654ec5-ff32-4a8a-92c4-e44797d36365 2025-02-20 02:22:51,516 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-network/90491c6e-b23d-447f-99eb-7e9acc0b7fb6 2025-02-20 02:22:51,524 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-network/90491c6e-b23d-447f-99eb-7e9acc0b7fb6 2025-02-20 02:22:51,532 - DEBUG - Requesting: http://10.0.0.37:8082/routing-instance/66524915-3af7-4bc6-aeb4-f33ec251becc 2025-02-20 02:22:51,538 - DEBUG - Requesting: http://10.0.0.37:8082/routing-instance/66524915-3af7-4bc6-aeb4-f33ec251becc 2025-02-20 02:22:51,543 - DEBUG - Requesting: http://10.0.0.37:8082/route-target/3ef03d2c-cb8f-4889-8d91-52d0c2ba617c 2025-02-20 02:22:51,548 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-02-20 02:22:51,549 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-network/90491c6e-b23d-447f-99eb-7e9acc0b7fb6 2025-02-20 02:22:51,556 - DEBUG - Requesting: http://10.0.0.37:8082/routing-instance/66524915-3af7-4bc6-aeb4-f33ec251becc 2025-02-20 02:22:51,566 - INFO - Verified VN network id 9 for VN 90491c6e-b23d-447f-99eb-7e9acc0b7fb6 2025-02-20 02:22:51,566 - INFO - Verifications in API Server for VN ctest-vn-80018339 passed 2025-02-20 02:22:51,566 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-network/90491c6e-b23d-447f-99eb-7e9acc0b7fb6 2025-02-20 02:22:51,573 - DEBUG - Requesting: http://10.0.0.37:8082/routing-instance/66524915-3af7-4bc6-aeb4-f33ec251becc 2025-02-20 02:22:51,579 - DEBUG - Requesting: http://10.0.0.37:8082/routing-instance/66524915-3af7-4bc6-aeb4-f33ec251becc 2025-02-20 02:22:51,584 - DEBUG - Requesting: http://10.0.0.37:8082/route-target/3ef03d2c-cb8f-4889-8d91-52d0c2ba617c 2025-02-20 02:22:51,596 - DEBUG - Control-node 10.0.0.37 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-07585795:ctest-vn-80018339', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-07585795', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10396872476523840639', 'uuid-lslong': '11091097710643347382'}, 'enable': 'true', 'created': '2025-02-20T02:22:49', 'last-modified': '2025-02-20T02:22:50', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.895702'} 2025-02-20 02:22:51,602 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-02-20 02:22:51,602 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-80018339 passed 2025-02-20 02:22:51,602 - DEBUG - ====Verifying policy data for ctest-vn-80018339 in API_Server ====== 2025-02-20 02:22:51,602 - DEBUG - Requesting: http://10.0.0.37:8082/domains 2025-02-20 02:22:51,608 - DEBUG - Requesting: http://10.0.0.37:8082/domain/6c622e75-91ef-47a7-91eb-55d2b2a14425 2025-02-20 02:22:51,619 - DEBUG - Requesting: http://10.0.0.37:8082/project/6e654ec5-ff32-4a8a-92c4-e44797d36365 2025-02-20 02:22:51,683 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-network/90491c6e-b23d-447f-99eb-7e9acc0b7fb6 2025-02-20 02:22:51,690 - DEBUG - ==>Verifying data for policy with id: 93718d36-3e0a-426f-8bbf-9621e8266857, fqn: ['default-domain', 'ctest-TestBasicPolicy-07585795', 'ctest-policy-allow-all-17691126'] 2025-02-20 02:22:51,690 - INFO - VN ctest-vn-80018339 Policy verification: verify_vn_policy_in_api_server, status: True 2025-02-20 02:22:51,690 - DEBUG - Verifying the vn in opserver 2025-02-20 02:22:51,690 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-07585795:ctest-vn-80018339 virtual network link through opserver 10.0.0.37 2025-02-20 02:22:51,690 - DEBUG - Requesting: http://10.0.0.37:8081/analytics/uves/virtual-networks 2025-02-20 02:22:51,981 - DEBUG - Requesting: http://10.0.0.37:8081/analytics/uves/virtual-networks 2025-02-20 02:22:52,037 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-07585795:ctest-vn-80018339', 'href': 'http://10.0.0.37:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-07585795:ctest-vn-80018339?flat'} 2025-02-20 02:22:52,037 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-07585795:ctest-vn-80018339 is found in opserver 2025-02-20 02:22:52,048 - DEBUG - Do not have enough data to verify VN in agent 2025-02-20 02:22:52,053 - DEBUG - VRF ids for VN ctest-vn-80018339: {} 2025-02-20 02:22:52,053 - DEBUG - Requesting: http://10.0.0.37:8082/domains 2025-02-20 02:22:52,058 - DEBUG - Requesting: http://10.0.0.37:8082/domain/6c622e75-91ef-47a7-91eb-55d2b2a14425 2025-02-20 02:22:52,069 - DEBUG - Requesting: http://10.0.0.37:8082/project/6e654ec5-ff32-4a8a-92c4-e44797d36365 2025-02-20 02:22:52,133 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-network/fb6a42a1-a926-4d4b-a519-dc894a2376ad 2025-02-20 02:22:52,143 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-network/fb6a42a1-a926-4d4b-a519-dc894a2376ad 2025-02-20 02:22:52,150 - DEBUG - Requesting: http://10.0.0.37:8082/routing-instance/535cb016-e06a-4bf0-b527-7bb6a0a5054a 2025-02-20 02:22:52,157 - DEBUG - Requesting: http://10.0.0.37:8082/routing-instance/535cb016-e06a-4bf0-b527-7bb6a0a5054a 2025-02-20 02:22:52,162 - DEBUG - Requesting: http://10.0.0.37:8082/route-target/5ca6faca-7dd0-4835-a426-d77cf4a83777 2025-02-20 02:22:52,169 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-02-20 02:22:52,169 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-network/fb6a42a1-a926-4d4b-a519-dc894a2376ad 2025-02-20 02:22:52,176 - DEBUG - Requesting: http://10.0.0.37:8082/routing-instance/535cb016-e06a-4bf0-b527-7bb6a0a5054a 2025-02-20 02:22:52,187 - INFO - Verified VN network id 10 for VN fb6a42a1-a926-4d4b-a519-dc894a2376ad 2025-02-20 02:22:52,187 - INFO - Verifications in API Server for VN ctest-vn-62375366 passed 2025-02-20 02:22:52,188 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-network/fb6a42a1-a926-4d4b-a519-dc894a2376ad 2025-02-20 02:22:52,196 - DEBUG - Requesting: http://10.0.0.37:8082/routing-instance/535cb016-e06a-4bf0-b527-7bb6a0a5054a 2025-02-20 02:22:52,203 - DEBUG - Requesting: http://10.0.0.37:8082/routing-instance/535cb016-e06a-4bf0-b527-7bb6a0a5054a 2025-02-20 02:22:52,209 - DEBUG - Requesting: http://10.0.0.37:8082/route-target/5ca6faca-7dd0-4835-a426-d77cf4a83777 2025-02-20 02:22:52,222 - DEBUG - Control-node 10.0.0.37 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-07585795:ctest-vn-62375366', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-07585795', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18116365713146269003', 'uuid-lslong': '11896782372888344237'}, 'enable': 'true', 'created': '2025-02-20T02:22:49', 'last-modified': '2025-02-20T02:22:50', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.296604'} 2025-02-20 02:22:52,229 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-02-20 02:22:52,229 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-62375366 passed 2025-02-20 02:22:52,229 - DEBUG - ====Verifying policy data for ctest-vn-62375366 in API_Server ====== 2025-02-20 02:22:52,229 - DEBUG - Requesting: http://10.0.0.37:8082/domains 2025-02-20 02:22:52,235 - DEBUG - Requesting: http://10.0.0.37:8082/domain/6c622e75-91ef-47a7-91eb-55d2b2a14425 2025-02-20 02:22:52,246 - DEBUG - Requesting: http://10.0.0.37:8082/project/6e654ec5-ff32-4a8a-92c4-e44797d36365 2025-02-20 02:22:52,313 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-network/fb6a42a1-a926-4d4b-a519-dc894a2376ad 2025-02-20 02:22:52,321 - DEBUG - ==>Verifying data for policy with id: 93718d36-3e0a-426f-8bbf-9621e8266857, fqn: ['default-domain', 'ctest-TestBasicPolicy-07585795', 'ctest-policy-allow-all-17691126'] 2025-02-20 02:22:52,321 - INFO - VN ctest-vn-62375366 Policy verification: verify_vn_policy_in_api_server, status: True 2025-02-20 02:22:52,321 - DEBUG - Verifying the vn in opserver 2025-02-20 02:22:52,321 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-07585795:ctest-vn-62375366 virtual network link through opserver 10.0.0.37 2025-02-20 02:22:52,321 - DEBUG - Requesting: http://10.0.0.37:8081/analytics/uves/virtual-networks 2025-02-20 02:22:52,331 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-07585795:ctest-vn-62375366', 'href': 'http://10.0.0.37:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-07585795:ctest-vn-62375366?flat'} 2025-02-20 02:22:52,331 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-07585795:ctest-vn-62375366 is found in opserver 2025-02-20 02:22:52,341 - DEBUG - Do not have enough data to verify VN in agent 2025-02-20 02:22:52,347 - DEBUG - VRF ids for VN ctest-vn-62375366: {} 2025-02-20 02:22:52,408 - DEBUG - Services list from nova: [, , ] 2025-02-20 02:22:53,505 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2750-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2750-1) 2025-02-20 02:22:54,692 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2750-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2750-1) 2025-02-20 02:22:54,693 - INFO - Waiting for VM ctest-TestBasicPolicy-07585795-65102246 to be up.. 2025-02-20 02:22:54,770 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-20 02:22:59,843 - DEBUG - VM is in ACTIVE state now 2025-02-20 02:22:59,843 - INFO - VM name : ctest-TestBasicPolicy-07585795-65102246 2025-02-20 02:22:59,915 - DEBUG - VM ctest-TestBasicPolicy-07585795-65102246 ID is 6bdf4a17-c30a-43c8-a6d2-59c76422e808 2025-02-20 02:22:59,933 - DEBUG - VM ctest-TestBasicPolicy-07585795-65102246 launched on Node cn-jenkins-deploy-platform-ansible-os-2750-1 2025-02-20 02:23:00,007 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine/6bdf4a17-c30a-43c8-a6d2-59c76422e808 2025-02-20 02:23:00,016 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine-interface/ee50cac2-b32d-4bf5-8e36-254523a09f38 2025-02-20 02:23:03,258 - 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-02-20 02:23:03,258 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-07585795-65102246 failed! 2025-02-20 02:23:03,310 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-07585795:ctest-vn-80018339 is 2.42.144.65 and allocation pool is NOT set 2025-02-20 02:23:05,369 - 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=3.27 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.408 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.408/1.840/3.272/1.432 ms') 2025-02-20 02:23:05,369 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-07585795-65102246 passed 2025-02-20 02:23:05,518 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-20 02:23:05,518 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-07585795-65102246, IP 2.42.144.67, Port 22 2025-02-20 02:23:05,670 - DEBUG - VM ctest-TestBasicPolicy-07585795-65102246 is ready for SSH connections 2025-02-20 02:23:05,670 - INFO - Waiting for VM ctest-TestBasicPolicy-07585795-58312014 to be up.. 2025-02-20 02:23:05,743 - DEBUG - VM is in ACTIVE state now 2025-02-20 02:23:05,744 - INFO - VM name : ctest-TestBasicPolicy-07585795-58312014 2025-02-20 02:23:05,815 - DEBUG - VM ctest-TestBasicPolicy-07585795-58312014 ID is 944cd687-c6b6-495f-b5e9-535abc6989fd 2025-02-20 02:23:05,815 - DEBUG - VM ctest-TestBasicPolicy-07585795-58312014 launched on Node cn-jenkins-deploy-platform-ansible-os-2750-1 2025-02-20 02:23:05,892 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine/944cd687-c6b6-495f-b5e9-535abc6989fd 2025-02-20 02:23:05,900 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine-interface/459d142f-027c-43eb-bf9f-05c99bc9ce2c 2025-02-20 02:23:07,133 - 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.00 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.417 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.417/1.709/3.001/1.292 ms') 2025-02-20 02:23:07,133 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-07585795-58312014 passed 2025-02-20 02:23:07,286 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-20 02:23:07,286 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-07585795-58312014, IP 68.8.0.67, Port 22 2025-02-20 02:23:07,442 - DEBUG - VM ctest-TestBasicPolicy-07585795-58312014 is ready for SSH connections 2025-02-20 02:23:07,442 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-20 02:23:07,442 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 68.8.0.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.37, gateway password: c0ntrail123 2025-02-20 02:23:07,442 - DEBUG - ping -s 56 -c 3 -W 1 68.8.0.67 2025-02-20 02:23:11,444 - DEBUG - PING 68.8.0.67 (68.8.0.67): 56 data bytes 64 bytes from 68.8.0.67: seq=0 ttl=63 time=3.361 ms 64 bytes from 68.8.0.67: seq=1 ttl=63 time=0.801 ms 64 bytes from 68.8.0.67: seq=2 ttl=63 time=0.772 ms --- 68.8.0.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.772/1.644/3.361 ms 2025-02-20 02:23:11,445 - INFO - Ping to IP 68.8.0.67 from VM ctest-TestBasicPolicy-07585795-65102246 passed 2025-02-20 02:23:11,622 - DEBUG - Policy Update Response {"network-policy": {"uuid": "93718d36-3e0a-426f-8bbf-9621e8266857", "href": "http://10.0.0.37:8082/network-policy/93718d36-3e0a-426f-8bbf-9621e8266857"}} 2025-02-20 02:23:11,622 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-20 02:23:11,622 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 68.8.0.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.37, gateway password: c0ntrail123 2025-02-20 02:23:11,622 - DEBUG - ping -s 56 -c 3 -W 1 68.8.0.67 2025-02-20 02:23:14,821 - DEBUG - PING 68.8.0.67 (68.8.0.67): 56 data bytes --- 68.8.0.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-02-20 02:23:14,821 - WARNING - Ping to IP 68.8.0.67 from VM ctest-TestBasicPolicy-07585795-65102246 failed 2025-02-20 02:23:14,822 - INFO - Deleting VM ctest-TestBasicPolicy-07585795-58312014 2025-02-20 02:23:14,888 - INFO - Deleting VM ctest-TestBasicPolicy-07585795-65102246 2025-02-20 02:23:15,227 - INFO - Deleted policy ctest-policy-allow-all-17691126 2025-02-20 02:23:15,227 - INFO - Deleting VN ctest-vn-62375366 2025-02-20 02:23:15,261 - DEBUG - VN fb6a42a1-a926-4d4b-a519-dc894a2376ad still in use: Unable to complete operation on network fb6a42a1-a926-4d4b-a519-dc894a2376ad. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e4813d24-2b0e-4d85-929c-bea72c176060'] 2025-02-20 02:23:15,261 - WARNING - Deleting VN ctest-vn-62375366 failed..Will retry 2025-02-20 02:23:17,355 - DEBUG - Response for deleting network () 2025-02-20 02:23:17,355 - DEBUG - Requesting: http://10.0.0.37:8082/routing-instance/535cb016-e06a-4bf0-b527-7bb6a0a5054a 2025-02-20 02:23:17,360 - DEBUG - Response Code: 404 2025-02-20 02:23:17,361 - DEBUG - Requesting: http://10.0.0.37:8082/domains 2025-02-20 02:23:17,368 - DEBUG - Requesting: http://10.0.0.37:8082/domain/6c622e75-91ef-47a7-91eb-55d2b2a14425 2025-02-20 02:23:17,424 - DEBUG - Requesting: http://10.0.0.37:8082/project/6e654ec5-ff32-4a8a-92c4-e44797d36365 2025-02-20 02:23:17,493 - INFO - Validated that VN ctest-vn-62375366 is not found in API Server 2025-02-20 02:23:17,504 - DEBUG - VN ctest-vn-62375366 is not present in Agent 10.0.0.37 2025-02-20 02:23:17,504 - INFO - Validated that VN ctest-vn-62375366 is not in any agent 2025-02-20 02:23:17,519 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-62375366 info 2025-02-20 02:23:17,520 - INFO - Deleting VN ctest-vn-80018339 2025-02-20 02:23:17,618 - DEBUG - Response for deleting network () 2025-02-20 02:23:17,618 - DEBUG - Requesting: http://10.0.0.37:8082/routing-instance/66524915-3af7-4bc6-aeb4-f33ec251becc 2025-02-20 02:23:17,625 - DEBUG - Response Code: 404 2025-02-20 02:23:17,626 - DEBUG - Requesting: http://10.0.0.37:8082/domains 2025-02-20 02:23:17,633 - DEBUG - Requesting: http://10.0.0.37:8082/domain/6c622e75-91ef-47a7-91eb-55d2b2a14425 2025-02-20 02:23:17,686 - DEBUG - Requesting: http://10.0.0.37:8082/project/6e654ec5-ff32-4a8a-92c4-e44797d36365 2025-02-20 02:23:17,751 - INFO - Validated that VN ctest-vn-80018339 is not found in API Server 2025-02-20 02:23:17,765 - DEBUG - VN ctest-vn-80018339 is not present in Agent 10.0.0.37 2025-02-20 02:23:17,765 - INFO - Validated that VN ctest-vn-80018339 is not in any agent 2025-02-20 02:23:17,783 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-80018339 info 2025-02-20 02:23:18,036 - DEBUG - No XMPP flaps were noticed during the test
2025-02-20 02:23:18,036 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-02-20 02:23:18,036 - INFO - -------------------------------------------------------------------------------- 2025-02-20 02:23:18,698 - INFO - Deleted project: ctest-TestBasicPolicy-07585795, ID : 6e654ec5-ff32-4a8a-92c4-e44797d36365