2025-02-11 11:57:33,055 - INFO - Domain Default found not creating 2025-02-11 11:57:33,224 - INFO - Project ctest-TestBasicPolicy-83527895 not found, creating it 2025-02-11 11:57:33,751 - INFO - Created Project:ctest-TestBasicPolicy-83527895, ID : 48fe4451-7f88-4fa1-b9d6-f5d2345a5f1b 2025-02-11 11:57:35,385 - INFO - ================================================================================ 2025-02-11 11:57:35,385 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-02-11 11:57:35,385 - 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-11 11:57:35,648 - DEBUG - Nothing to compare xmpp stats {'10.0.0.36': {'10.20.0.6': '0'}} with 2025-02-11 11:57:35,648 - INFO - Initial checks done. Running the testcase now 2025-02-11 11:57:35,648 - INFO - 2025-02-11 11:57:36,283 - DEBUG - Response for create_network : {'network': {'id': 'c9df4279-d870-4e31-b115-23f98ff5a89d', 'name': 'ctest-vn-57341856', 'tenant_id': '48fe44517f884fa1b9d6f5d2345a5f1b', 'project_id': '48fe44517f884fa1b9d6f5d2345a5f1b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-83527895', 'ctest-vn-57341856'], 'port_security_enabled': True, 'description': ''}} 2025-02-11 11:57:36,486 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd0bbd526-ccab-4581-b5de-cadcf72204f8', 'name': '', 'tenant_id': '48fe44517f884fa1b9d6f5d2345a5f1b', 'network_id': 'c9df4279-d870-4e31-b115-23f98ff5a89d', 'ip_version': 4, 'cidr': '184.67.117.128/26', 'allocation_pools': [{'start': '184.67.117.130', 'end': '184.67.117.190'}], 'gateway_ip': '184.67.117.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '184.67.117.130', 'tags': [], 'project_id': '48fe44517f884fa1b9d6f5d2345a5f1b'}} 2025-02-11 11:57:36,506 - INFO - Created VN ctest-vn-57341856 2025-02-11 11:57:36,566 - DEBUG - VN ctest-vn-57341856 UUID is c9df4279-d870-4e31-b115-23f98ff5a89d 2025-02-11 11:57:36,877 - DEBUG - Response for create_network : {'network': {'id': '7065762d-76fb-4f7e-8174-b48957afdc8d', 'name': 'ctest-vn-52345076', 'tenant_id': '48fe44517f884fa1b9d6f5d2345a5f1b', 'project_id': '48fe44517f884fa1b9d6f5d2345a5f1b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-83527895', 'ctest-vn-52345076'], 'port_security_enabled': True, 'description': ''}} 2025-02-11 11:57:37,108 - DEBUG - Response for create_subnet : {'subnet': {'id': '8a36e456-32fc-4e96-b086-570fdea60106', 'name': '', 'tenant_id': '48fe44517f884fa1b9d6f5d2345a5f1b', 'network_id': '7065762d-76fb-4f7e-8174-b48957afdc8d', 'ip_version': 4, 'cidr': '73.198.42.0/26', 'allocation_pools': [{'start': '73.198.42.2', 'end': '73.198.42.62'}], 'gateway_ip': '73.198.42.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '73.198.42.2', 'tags': [], 'project_id': '48fe44517f884fa1b9d6f5d2345a5f1b'}} 2025-02-11 11:57:37,130 - INFO - Created VN ctest-vn-52345076 2025-02-11 11:57:37,186 - DEBUG - VN ctest-vn-52345076 UUID is 7065762d-76fb-4f7e-8174-b48957afdc8d 2025-02-11 11:57:37,319 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-83527895:ctest-vn-57341856, 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-83527895:ctest-vn-52345076, 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-11 11:57:37,639 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c9df4279-d870-4e31-b115-23f98ff5a89d', 'name': 'ctest-vn-57341856', 'tenant_id': '48fe44517f884fa1b9d6f5d2345a5f1b', 'project_id': '48fe44517f884fa1b9d6f5d2345a5f1b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d0bbd526-ccab-4581-b5de-cadcf72204f8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-83527895', 'ctest-vn-57341856'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-83527895', 'ctest-policy-allow-all-87010208']], 'subnet_ipam': [{'subnet_cidr': '184.67.117.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-02-11 11:57:37,887 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7065762d-76fb-4f7e-8174-b48957afdc8d', 'name': 'ctest-vn-52345076', 'tenant_id': '48fe44517f884fa1b9d6f5d2345a5f1b', 'project_id': '48fe44517f884fa1b9d6f5d2345a5f1b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8a36e456-32fc-4e96-b086-570fdea60106'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-83527895', 'ctest-vn-52345076'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-83527895', 'ctest-policy-allow-all-87010208']], 'subnet_ipam': [{'subnet_cidr': '73.198.42.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-02-11 11:57:38,062 - DEBUG - Requesting: http://10.0.0.36:8082/domains 2025-02-11 11:57:38,399 - DEBUG - Requesting: http://10.0.0.36:8082/domains 2025-02-11 11:57:38,431 - DEBUG - Requesting: http://10.0.0.36:8082/domain/1d5d2ae2-4994-4d3b-98f2-6128db3cbad1 2025-02-11 11:57:38,446 - DEBUG - Requesting: http://10.0.0.36:8082/project/48fe4451-7f88-4fa1-b9d6-f5d2345a5f1b 2025-02-11 11:57:38,529 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-network/c9df4279-d870-4e31-b115-23f98ff5a89d 2025-02-11 11:57:38,547 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-network/c9df4279-d870-4e31-b115-23f98ff5a89d 2025-02-11 11:57:38,558 - DEBUG - Requesting: http://10.0.0.36:8082/routing-instance/d6067083-24ea-44bf-9095-a1e12e7063c2 2025-02-11 11:57:38,567 - DEBUG - Requesting: http://10.0.0.36:8082/routing-instance/d6067083-24ea-44bf-9095-a1e12e7063c2 2025-02-11 11:57:38,575 - DEBUG - Requesting: http://10.0.0.36:8082/route-target/a404c4cb-8a32-41f6-bce8-42a17df2bd85 2025-02-11 11:57:38,582 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-02-11 11:57:38,582 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-network/c9df4279-d870-4e31-b115-23f98ff5a89d 2025-02-11 11:57:38,593 - DEBUG - Requesting: http://10.0.0.36:8082/routing-instance/d6067083-24ea-44bf-9095-a1e12e7063c2 2025-02-11 11:57:38,609 - INFO - Verified VN network id 8 for VN c9df4279-d870-4e31-b115-23f98ff5a89d 2025-02-11 11:57:38,609 - INFO - Verifications in API Server for VN ctest-vn-57341856 passed 2025-02-11 11:57:38,610 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-network/c9df4279-d870-4e31-b115-23f98ff5a89d 2025-02-11 11:57:38,621 - DEBUG - Requesting: http://10.0.0.36:8082/routing-instance/d6067083-24ea-44bf-9095-a1e12e7063c2 2025-02-11 11:57:38,628 - DEBUG - Requesting: http://10.0.0.36:8082/routing-instance/d6067083-24ea-44bf-9095-a1e12e7063c2 2025-02-11 11:57:38,636 - DEBUG - Requesting: http://10.0.0.36:8082/route-target/a404c4cb-8a32-41f6-bce8-42a17df2bd85 2025-02-11 11:57:38,650 - DEBUG - Control-node 10.0.0.36 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-83527895:ctest-vn-57341856', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-83527895', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14546418412519706161', 'uuid-lslong': '12760144673993238685'}, 'enable': 'true', 'created': '2025-02-11T11:57:36', 'last-modified': '2025-02-11T11:57:37', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.040127'} 2025-02-11 11:57:38,657 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-02-11 11:57:38,657 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-57341856 passed 2025-02-11 11:57:38,657 - DEBUG - ====Verifying policy data for ctest-vn-57341856 in API_Server ====== 2025-02-11 11:57:38,657 - DEBUG - Requesting: http://10.0.0.36:8082/domains 2025-02-11 11:57:38,663 - DEBUG - Requesting: http://10.0.0.36:8082/domain/1d5d2ae2-4994-4d3b-98f2-6128db3cbad1 2025-02-11 11:57:38,676 - DEBUG - Requesting: http://10.0.0.36:8082/project/48fe4451-7f88-4fa1-b9d6-f5d2345a5f1b 2025-02-11 11:57:38,756 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-network/c9df4279-d870-4e31-b115-23f98ff5a89d 2025-02-11 11:57:38,768 - DEBUG - ==>Verifying data for policy with id: 152cf9b8-e2b1-4f99-af48-5881ddef1d1b, fqn: ['default-domain', 'ctest-TestBasicPolicy-83527895', 'ctest-policy-allow-all-87010208'] 2025-02-11 11:57:38,768 - INFO - VN ctest-vn-57341856 Policy verification: verify_vn_policy_in_api_server, status: True 2025-02-11 11:57:38,768 - DEBUG - Verifying the vn in opserver 2025-02-11 11:57:38,768 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-83527895:ctest-vn-57341856 virtual network link through opserver 10.0.0.36 2025-02-11 11:57:38,769 - DEBUG - Requesting: http://10.0.0.36:8081/analytics/uves/virtual-networks 2025-02-11 11:57:39,099 - DEBUG - Requesting: http://10.0.0.36:8081/analytics/uves/virtual-networks 2025-02-11 11:57:39,163 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-83527895:ctest-vn-57341856', 'href': 'http://10.0.0.36:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-83527895:ctest-vn-57341856?flat'} 2025-02-11 11:57:39,163 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-83527895:ctest-vn-57341856 is found in opserver 2025-02-11 11:57:39,175 - DEBUG - Do not have enough data to verify VN in agent 2025-02-11 11:57:39,181 - DEBUG - VRF ids for VN ctest-vn-57341856: {} 2025-02-11 11:57:39,181 - DEBUG - Requesting: http://10.0.0.36:8082/domains 2025-02-11 11:57:39,188 - DEBUG - Requesting: http://10.0.0.36:8082/domain/1d5d2ae2-4994-4d3b-98f2-6128db3cbad1 2025-02-11 11:57:39,200 - DEBUG - Requesting: http://10.0.0.36:8082/project/48fe4451-7f88-4fa1-b9d6-f5d2345a5f1b 2025-02-11 11:57:39,278 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-network/7065762d-76fb-4f7e-8174-b48957afdc8d 2025-02-11 11:57:39,291 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-network/7065762d-76fb-4f7e-8174-b48957afdc8d 2025-02-11 11:57:39,302 - DEBUG - Requesting: http://10.0.0.36:8082/routing-instance/863f541c-ea08-40aa-82f5-1a41c5feffec 2025-02-11 11:57:39,310 - DEBUG - Requesting: http://10.0.0.36:8082/routing-instance/863f541c-ea08-40aa-82f5-1a41c5feffec 2025-02-11 11:57:39,317 - DEBUG - Requesting: http://10.0.0.36:8082/route-target/63e27370-7c8d-4df5-bb48-4306239b3e51 2025-02-11 11:57:39,324 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-02-11 11:57:39,324 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-network/7065762d-76fb-4f7e-8174-b48957afdc8d 2025-02-11 11:57:39,335 - DEBUG - Requesting: http://10.0.0.36:8082/routing-instance/863f541c-ea08-40aa-82f5-1a41c5feffec 2025-02-11 11:57:39,351 - INFO - Verified VN network id 9 for VN 7065762d-76fb-4f7e-8174-b48957afdc8d 2025-02-11 11:57:39,351 - INFO - Verifications in API Server for VN ctest-vn-52345076 passed 2025-02-11 11:57:39,351 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-network/7065762d-76fb-4f7e-8174-b48957afdc8d 2025-02-11 11:57:39,362 - DEBUG - Requesting: http://10.0.0.36:8082/routing-instance/863f541c-ea08-40aa-82f5-1a41c5feffec 2025-02-11 11:57:39,369 - DEBUG - Requesting: http://10.0.0.36:8082/routing-instance/863f541c-ea08-40aa-82f5-1a41c5feffec 2025-02-11 11:57:39,377 - DEBUG - Requesting: http://10.0.0.36:8082/route-target/63e27370-7c8d-4df5-bb48-4306239b3e51 2025-02-11 11:57:39,390 - DEBUG - Control-node 10.0.0.36 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-83527895:ctest-vn-52345076', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-83527895', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8099009442537492350', 'uuid-lslong': '9328279230165802125'}, 'enable': 'true', 'created': '2025-02-11T11:57:36', 'last-modified': '2025-02-11T11:57:37', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.536019'} 2025-02-11 11:57:39,397 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-02-11 11:57:39,397 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-52345076 passed 2025-02-11 11:57:39,397 - DEBUG - ====Verifying policy data for ctest-vn-52345076 in API_Server ====== 2025-02-11 11:57:39,398 - DEBUG - Requesting: http://10.0.0.36:8082/domains 2025-02-11 11:57:39,404 - DEBUG - Requesting: http://10.0.0.36:8082/domain/1d5d2ae2-4994-4d3b-98f2-6128db3cbad1 2025-02-11 11:57:39,417 - DEBUG - Requesting: http://10.0.0.36:8082/project/48fe4451-7f88-4fa1-b9d6-f5d2345a5f1b 2025-02-11 11:57:39,492 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-network/7065762d-76fb-4f7e-8174-b48957afdc8d 2025-02-11 11:57:39,504 - DEBUG - ==>Verifying data for policy with id: 152cf9b8-e2b1-4f99-af48-5881ddef1d1b, fqn: ['default-domain', 'ctest-TestBasicPolicy-83527895', 'ctest-policy-allow-all-87010208'] 2025-02-11 11:57:39,505 - INFO - VN ctest-vn-52345076 Policy verification: verify_vn_policy_in_api_server, status: True 2025-02-11 11:57:39,505 - DEBUG - Verifying the vn in opserver 2025-02-11 11:57:39,505 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-83527895:ctest-vn-52345076 virtual network link through opserver 10.0.0.36 2025-02-11 11:57:39,505 - DEBUG - Requesting: http://10.0.0.36:8081/analytics/uves/virtual-networks 2025-02-11 11:57:39,516 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-83527895:ctest-vn-52345076', 'href': 'http://10.0.0.36:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-83527895:ctest-vn-52345076?flat'} 2025-02-11 11:57:39,516 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-83527895:ctest-vn-52345076 is found in opserver 2025-02-11 11:57:39,529 - DEBUG - Do not have enough data to verify VN in agent 2025-02-11 11:57:39,535 - DEBUG - VRF ids for VN ctest-vn-52345076: {} 2025-02-11 11:57:39,596 - DEBUG - Services list from nova: [, , ] 2025-02-11 11:57:40,749 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2719-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2719-1) 2025-02-11 11:57:42,102 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2719-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2719-1) 2025-02-11 11:57:42,102 - INFO - Waiting for VM ctest-TestBasicPolicy-83527895-58925542 to be up.. 2025-02-11 11:57:42,199 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-11 11:57:47,284 - DEBUG - VM is in ACTIVE state now 2025-02-11 11:57:47,284 - INFO - VM name : ctest-TestBasicPolicy-83527895-58925542 2025-02-11 11:57:47,363 - DEBUG - VM ctest-TestBasicPolicy-83527895-58925542 ID is 1a9c5a3f-bdec-4df0-ad49-3394abac4d29 2025-02-11 11:57:47,384 - DEBUG - VM ctest-TestBasicPolicy-83527895-58925542 launched on Node cn-jenkins-deploy-platform-ansible-os-2719-1 2025-02-11 11:57:47,467 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine/1a9c5a3f-bdec-4df0-ad49-3394abac4d29 2025-02-11 11:57:47,477 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine-interface/74611460-d8c6-4001-b9a9-85e87427f9ad 2025-02-11 11:57:50,737 - 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 1010ms') 2025-02-11 11:57:50,737 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-83527895-58925542 failed! 2025-02-11 11:57:50,798 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-83527895:ctest-vn-57341856 is 184.67.117.129 and allocation pool is NOT set 2025-02-11 11:57:52,863 - 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=9.46 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.97 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.969/5.716/9.464/3.747 ms') 2025-02-11 11:57:52,863 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-83527895-58925542 passed 2025-02-11 11:57:53,018 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-11 11:57:53,018 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-83527895-58925542, IP 184.67.117.131, Port 22 2025-02-11 11:57:53,189 - DEBUG - VM ctest-TestBasicPolicy-83527895-58925542 is ready for SSH connections 2025-02-11 11:57:53,189 - INFO - Waiting for VM ctest-TestBasicPolicy-83527895-20395941 to be up.. 2025-02-11 11:57:53,275 - DEBUG - VM is in ACTIVE state now 2025-02-11 11:57:53,276 - INFO - VM name : ctest-TestBasicPolicy-83527895-20395941 2025-02-11 11:57:53,366 - DEBUG - VM ctest-TestBasicPolicy-83527895-20395941 ID is 9b318496-5be3-4b4e-b955-1e1802465e22 2025-02-11 11:57:53,366 - DEBUG - VM ctest-TestBasicPolicy-83527895-20395941 launched on Node cn-jenkins-deploy-platform-ansible-os-2719-1 2025-02-11 11:57:53,462 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine/9b318496-5be3-4b4e-b955-1e1802465e22 2025-02-11 11:57:53,475 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine-interface/488a08f2-348c-41af-ad14-0121e0044953 2025-02-11 11:57:54,732 - 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.18 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.948 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.948/2.064/3.181/1.116 ms') 2025-02-11 11:57:54,732 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-83527895-20395941 passed 2025-02-11 11:57:54,886 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-11 11:57:54,886 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-83527895-20395941, IP 73.198.42.3, Port 22 2025-02-11 11:57:55,042 - DEBUG - VM ctest-TestBasicPolicy-83527895-20395941 is ready for SSH connections 2025-02-11 11:57:55,042 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-11 11:57:55,042 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 73.198.42.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.36, gateway password: c0ntrail123 2025-02-11 11:57:55,042 - DEBUG - ping -s 56 -c 3 -W 1 73.198.42.3 2025-02-11 11:57:58,773 - DEBUG - PING 73.198.42.3 (73.198.42.3): 56 data bytes 64 bytes from 73.198.42.3: seq=0 ttl=63 time=3.921 ms 64 bytes from 73.198.42.3: seq=1 ttl=63 time=0.958 ms 64 bytes from 73.198.42.3: seq=2 ttl=63 time=0.919 ms --- 73.198.42.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.919/1.932/3.921 ms 2025-02-11 11:57:58,773 - INFO - Ping to IP 73.198.42.3 from VM ctest-TestBasicPolicy-83527895-58925542 passed 2025-02-11 11:57:58,962 - DEBUG - Policy Update Response {"network-policy": {"uuid": "152cf9b8-e2b1-4f99-af48-5881ddef1d1b", "href": "http://10.0.0.36:8082/network-policy/152cf9b8-e2b1-4f99-af48-5881ddef1d1b"}} 2025-02-11 11:57:58,962 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-11 11:57:58,962 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 73.198.42.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.36, gateway password: c0ntrail123 2025-02-11 11:57:58,962 - DEBUG - ping -s 56 -c 3 -W 1 73.198.42.3 2025-02-11 11:58:02,182 - DEBUG - PING 73.198.42.3 (73.198.42.3): 56 data bytes 64 bytes from 73.198.42.3: seq=0 ttl=63 time=1.409 ms --- 73.198.42.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.409/1.409/1.409 ms 2025-02-11 11:58:02,182 - WARNING - Ping to IP 73.198.42.3 from VM ctest-TestBasicPolicy-83527895-58925542 failed 2025-02-11 11:58:02,182 - INFO - Deleting VM ctest-TestBasicPolicy-83527895-20395941 2025-02-11 11:58:02,254 - INFO - Deleting VM ctest-TestBasicPolicy-83527895-58925542 2025-02-11 11:58:02,668 - INFO - Deleted policy ctest-policy-allow-all-87010208 2025-02-11 11:58:02,669 - INFO - Deleting VN ctest-vn-52345076 2025-02-11 11:58:02,723 - DEBUG - VN 7065762d-76fb-4f7e-8174-b48957afdc8d still in use: Unable to complete operation on network 7065762d-76fb-4f7e-8174-b48957afdc8d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a556b590-a4a3-4a08-887c-ab2ee5fbaa81'] 2025-02-11 11:58:02,723 - WARNING - Deleting VN ctest-vn-52345076 failed..Will retry 2025-02-11 11:58:04,848 - DEBUG - Response for deleting network () 2025-02-11 11:58:04,848 - DEBUG - Requesting: http://10.0.0.36:8082/routing-instance/863f541c-ea08-40aa-82f5-1a41c5feffec 2025-02-11 11:58:04,861 - DEBUG - Response Code: 404 2025-02-11 11:58:04,862 - DEBUG - Requesting: http://10.0.0.36:8082/domains 2025-02-11 11:58:04,870 - DEBUG - Requesting: http://10.0.0.36:8082/domain/1d5d2ae2-4994-4d3b-98f2-6128db3cbad1 2025-02-11 11:58:04,930 - DEBUG - Requesting: http://10.0.0.36:8082/project/48fe4451-7f88-4fa1-b9d6-f5d2345a5f1b 2025-02-11 11:58:05,004 - INFO - Validated that VN ctest-vn-52345076 is not found in API Server 2025-02-11 11:58:05,017 - DEBUG - VN ctest-vn-52345076 is not present in Agent 10.0.0.36 2025-02-11 11:58:05,017 - INFO - Validated that VN ctest-vn-52345076 is not in any agent 2025-02-11 11:58:05,038 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-52345076 info 2025-02-11 11:58:05,039 - INFO - Deleting VN ctest-vn-57341856 2025-02-11 11:58:05,149 - DEBUG - Response for deleting network () 2025-02-11 11:58:05,150 - DEBUG - Requesting: http://10.0.0.36:8082/routing-instance/d6067083-24ea-44bf-9095-a1e12e7063c2 2025-02-11 11:58:05,161 - DEBUG - Response Code: 404 2025-02-11 11:58:05,161 - DEBUG - Requesting: http://10.0.0.36:8082/domains 2025-02-11 11:58:05,167 - DEBUG - Requesting: http://10.0.0.36:8082/domain/1d5d2ae2-4994-4d3b-98f2-6128db3cbad1 2025-02-11 11:58:05,224 - DEBUG - Requesting: http://10.0.0.36:8082/project/48fe4451-7f88-4fa1-b9d6-f5d2345a5f1b 2025-02-11 11:58:05,299 - INFO - Validated that VN ctest-vn-57341856 is not found in API Server 2025-02-11 11:58:05,312 - DEBUG - VN ctest-vn-57341856 is not present in Agent 10.0.0.36 2025-02-11 11:58:05,312 - INFO - Validated that VN ctest-vn-57341856 is not in any agent 2025-02-11 11:58:05,330 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-57341856 info 2025-02-11 11:58:05,584 - DEBUG - No XMPP flaps were noticed during the test
2025-02-11 11:58:05,584 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-02-11 11:58:05,584 - INFO - -------------------------------------------------------------------------------- 2025-02-11 11:58:06,304 - INFO - Deleted project: ctest-TestBasicPolicy-83527895, ID : 48fe4451-7f88-4fa1-b9d6-f5d2345a5f1b