2025-01-06 09:18:55,964 - INFO - Domain Default found not creating 2025-01-06 09:18:56,109 - INFO - Project ctest-TestBasicPolicy-45761320 not found, creating it 2025-01-06 09:18:56,576 - INFO - Created Project:ctest-TestBasicPolicy-45761320, ID : f42716c4-9363-446d-9829-a40594cd42fb 2025-01-06 09:18:57,976 - INFO - ================================================================================ 2025-01-06 09:18:57,976 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-01-06 09:18:57,976 - 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-06 09:18:58,238 - DEBUG - Nothing to compare xmpp stats {'10.0.0.34': {'10.20.0.5': '0'}} with 2025-01-06 09:18:58,238 - INFO - Initial checks done. Running the testcase now 2025-01-06 09:18:58,238 - INFO - 2025-01-06 09:18:58,765 - DEBUG - Response for create_network : {'network': {'id': '8c15222b-5966-491a-afa5-594c2a725f47', 'name': 'ctest-vn-73725299', 'tenant_id': 'f42716c49363446d9829a40594cd42fb', 'project_id': 'f42716c49363446d9829a40594cd42fb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45761320', 'ctest-vn-73725299'], 'port_security_enabled': True, 'description': ''}} 2025-01-06 09:18:58,953 - DEBUG - Response for create_subnet : {'subnet': {'id': '22ec9ca9-cba4-4211-942e-d14a75c8a964', 'name': '', 'tenant_id': 'f42716c49363446d9829a40594cd42fb', 'network_id': '8c15222b-5966-491a-afa5-594c2a725f47', 'ip_version': 4, 'cidr': '110.246.154.64/26', 'allocation_pools': [{'start': '110.246.154.66', 'end': '110.246.154.126'}], 'gateway_ip': '110.246.154.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '110.246.154.66', 'tags': [], 'project_id': 'f42716c49363446d9829a40594cd42fb'}} 2025-01-06 09:18:58,968 - INFO - Created VN ctest-vn-73725299 2025-01-06 09:18:59,019 - DEBUG - VN ctest-vn-73725299 UUID is 8c15222b-5966-491a-afa5-594c2a725f47 2025-01-06 09:18:59,310 - DEBUG - Response for create_network : {'network': {'id': '1ee3faed-b456-416f-902a-024112832769', 'name': 'ctest-vn-85524196', 'tenant_id': 'f42716c49363446d9829a40594cd42fb', 'project_id': 'f42716c49363446d9829a40594cd42fb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45761320', 'ctest-vn-85524196'], 'port_security_enabled': True, 'description': ''}} 2025-01-06 09:18:59,498 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dec7d828-8125-4ba4-a4a0-b0385641ded1', 'name': '', 'tenant_id': 'f42716c49363446d9829a40594cd42fb', 'network_id': '1ee3faed-b456-416f-902a-024112832769', 'ip_version': 4, 'cidr': '170.6.25.0/26', 'allocation_pools': [{'start': '170.6.25.2', 'end': '170.6.25.62'}], 'gateway_ip': '170.6.25.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '170.6.25.2', 'tags': [], 'project_id': 'f42716c49363446d9829a40594cd42fb'}} 2025-01-06 09:18:59,517 - INFO - Created VN ctest-vn-85524196 2025-01-06 09:18:59,571 - DEBUG - VN ctest-vn-85524196 UUID is 1ee3faed-b456-416f-902a-024112832769 2025-01-06 09:18:59,688 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-45761320:ctest-vn-73725299, 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-45761320:ctest-vn-85524196, 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-06 09:18:59,985 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8c15222b-5966-491a-afa5-594c2a725f47', 'name': 'ctest-vn-73725299', 'tenant_id': 'f42716c49363446d9829a40594cd42fb', 'project_id': 'f42716c49363446d9829a40594cd42fb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['22ec9ca9-cba4-4211-942e-d14a75c8a964'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45761320', 'ctest-vn-73725299'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-45761320', 'ctest-policy-allow-all-27496027']], 'subnet_ipam': [{'subnet_cidr': '110.246.154.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-06 09:19:00,219 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1ee3faed-b456-416f-902a-024112832769', 'name': 'ctest-vn-85524196', 'tenant_id': 'f42716c49363446d9829a40594cd42fb', 'project_id': 'f42716c49363446d9829a40594cd42fb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['dec7d828-8125-4ba4-a4a0-b0385641ded1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45761320', 'ctest-vn-85524196'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-45761320', 'ctest-policy-allow-all-27496027']], 'subnet_ipam': [{'subnet_cidr': '170.6.25.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-06 09:19:00,367 - DEBUG - Requesting: http://10.0.0.34:8082/domains 2025-01-06 09:19:00,662 - DEBUG - Requesting: http://10.0.0.34:8082/domains 2025-01-06 09:19:00,691 - DEBUG - Requesting: http://10.0.0.34:8082/domain/6438217f-4b78-4168-a4ca-5d66c997b249 2025-01-06 09:19:00,705 - DEBUG - Requesting: http://10.0.0.34:8082/project/f42716c4-9363-446d-9829-a40594cd42fb 2025-01-06 09:19:00,781 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-network/8c15222b-5966-491a-afa5-594c2a725f47 2025-01-06 09:19:00,792 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-network/8c15222b-5966-491a-afa5-594c2a725f47 2025-01-06 09:19:00,801 - DEBUG - Requesting: http://10.0.0.34:8082/routing-instance/ac32e865-d3e4-43db-be39-b351217d5447 2025-01-06 09:19:00,807 - DEBUG - Requesting: http://10.0.0.34:8082/routing-instance/ac32e865-d3e4-43db-be39-b351217d5447 2025-01-06 09:19:00,813 - DEBUG - Requesting: http://10.0.0.34:8082/route-target/7ab80c62-a573-4100-8e65-5f6d997b8da6 2025-01-06 09:19:00,819 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-01-06 09:19:00,819 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-network/8c15222b-5966-491a-afa5-594c2a725f47 2025-01-06 09:19:00,828 - DEBUG - Requesting: http://10.0.0.34:8082/routing-instance/ac32e865-d3e4-43db-be39-b351217d5447 2025-01-06 09:19:00,840 - INFO - Verified VN network id 8 for VN 8c15222b-5966-491a-afa5-594c2a725f47 2025-01-06 09:19:00,840 - INFO - Verifications in API Server for VN ctest-vn-73725299 passed 2025-01-06 09:19:00,840 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-network/8c15222b-5966-491a-afa5-594c2a725f47 2025-01-06 09:19:00,849 - DEBUG - Requesting: http://10.0.0.34:8082/routing-instance/ac32e865-d3e4-43db-be39-b351217d5447 2025-01-06 09:19:00,856 - DEBUG - Requesting: http://10.0.0.34:8082/routing-instance/ac32e865-d3e4-43db-be39-b351217d5447 2025-01-06 09:19:00,862 - DEBUG - Requesting: http://10.0.0.34:8082/route-target/7ab80c62-a573-4100-8e65-5f6d997b8da6 2025-01-06 09:19:00,873 - DEBUG - Control-node 10.0.0.34 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-45761320:ctest-vn-73725299', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-45761320', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10094011709399648538', 'uuid-lslong': '12656620511459172167'}, 'enable': 'true', 'created': '2025-01-06T09:18:58', 'last-modified': '2025-01-06T09:18:59', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.911874'} 2025-01-06 09:19:00,879 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-01-06 09:19:00,879 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-73725299 passed 2025-01-06 09:19:00,880 - DEBUG - ====Verifying policy data for ctest-vn-73725299 in API_Server ====== 2025-01-06 09:19:00,880 - DEBUG - Requesting: http://10.0.0.34:8082/domains 2025-01-06 09:19:00,886 - DEBUG - Requesting: http://10.0.0.34:8082/domain/6438217f-4b78-4168-a4ca-5d66c997b249 2025-01-06 09:19:00,899 - DEBUG - Requesting: http://10.0.0.34:8082/project/f42716c4-9363-446d-9829-a40594cd42fb 2025-01-06 09:19:00,975 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-network/8c15222b-5966-491a-afa5-594c2a725f47 2025-01-06 09:19:00,986 - DEBUG - ==>Verifying data for policy with id: 7091dda6-4181-4074-8d28-52a7fc2490ae, fqn: ['default-domain', 'ctest-TestBasicPolicy-45761320', 'ctest-policy-allow-all-27496027'] 2025-01-06 09:19:00,986 - INFO - VN ctest-vn-73725299 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-06 09:19:00,986 - DEBUG - Verifying the vn in opserver 2025-01-06 09:19:00,986 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-45761320:ctest-vn-73725299 virtual network link through opserver 10.0.0.34 2025-01-06 09:19:00,986 - DEBUG - Requesting: http://10.0.0.34:8081/analytics/uves/virtual-networks 2025-01-06 09:19:01,278 - DEBUG - Requesting: http://10.0.0.34:8081/analytics/uves/virtual-networks 2025-01-06 09:19:01,333 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-45761320:ctest-vn-73725299', 'href': 'http://10.0.0.34:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-45761320:ctest-vn-73725299?flat'} 2025-01-06 09:19:01,333 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-45761320:ctest-vn-73725299 is found in opserver 2025-01-06 09:19:01,345 - DEBUG - Do not have enough data to verify VN in agent 2025-01-06 09:19:01,351 - DEBUG - VRF ids for VN ctest-vn-73725299: {} 2025-01-06 09:19:01,351 - DEBUG - Requesting: http://10.0.0.34:8082/domains 2025-01-06 09:19:01,358 - DEBUG - Requesting: http://10.0.0.34:8082/domain/6438217f-4b78-4168-a4ca-5d66c997b249 2025-01-06 09:19:01,372 - DEBUG - Requesting: http://10.0.0.34:8082/project/f42716c4-9363-446d-9829-a40594cd42fb 2025-01-06 09:19:01,453 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-network/1ee3faed-b456-416f-902a-024112832769 2025-01-06 09:19:01,468 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-network/1ee3faed-b456-416f-902a-024112832769 2025-01-06 09:19:01,479 - DEBUG - Requesting: http://10.0.0.34:8082/routing-instance/47bf1870-00bf-4546-9c6a-417354eb0686 2025-01-06 09:19:01,487 - DEBUG - Requesting: http://10.0.0.34:8082/routing-instance/47bf1870-00bf-4546-9c6a-417354eb0686 2025-01-06 09:19:01,494 - DEBUG - Requesting: http://10.0.0.34:8082/route-target/96ba0652-1ee2-41c8-aae5-73c57054fe81 2025-01-06 09:19:01,500 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-06 09:19:01,501 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-network/1ee3faed-b456-416f-902a-024112832769 2025-01-06 09:19:01,509 - DEBUG - Requesting: http://10.0.0.34:8082/routing-instance/47bf1870-00bf-4546-9c6a-417354eb0686 2025-01-06 09:19:01,522 - INFO - Verified VN network id 9 for VN 1ee3faed-b456-416f-902a-024112832769 2025-01-06 09:19:01,522 - INFO - Verifications in API Server for VN ctest-vn-85524196 passed 2025-01-06 09:19:01,522 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-network/1ee3faed-b456-416f-902a-024112832769 2025-01-06 09:19:01,534 - DEBUG - Requesting: http://10.0.0.34:8082/routing-instance/47bf1870-00bf-4546-9c6a-417354eb0686 2025-01-06 09:19:01,542 - DEBUG - Requesting: http://10.0.0.34:8082/routing-instance/47bf1870-00bf-4546-9c6a-417354eb0686 2025-01-06 09:19:01,549 - DEBUG - Requesting: http://10.0.0.34:8082/route-target/96ba0652-1ee2-41c8-aae5-73c57054fe81 2025-01-06 09:19:01,563 - DEBUG - Control-node 10.0.0.34 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-45761320:ctest-vn-85524196', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-45761320', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2225898539690901871', 'uuid-lslong': '10388117968990185321'}, 'enable': 'true', 'created': '2025-01-06T09:18:59', 'last-modified': '2025-01-06T09:19:00', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.364544'} 2025-01-06 09:19:01,571 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-06 09:19:01,571 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-85524196 passed 2025-01-06 09:19:01,572 - DEBUG - ====Verifying policy data for ctest-vn-85524196 in API_Server ====== 2025-01-06 09:19:01,572 - DEBUG - Requesting: http://10.0.0.34:8082/domains 2025-01-06 09:19:01,578 - DEBUG - Requesting: http://10.0.0.34:8082/domain/6438217f-4b78-4168-a4ca-5d66c997b249 2025-01-06 09:19:01,592 - DEBUG - Requesting: http://10.0.0.34:8082/project/f42716c4-9363-446d-9829-a40594cd42fb 2025-01-06 09:19:01,667 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-network/1ee3faed-b456-416f-902a-024112832769 2025-01-06 09:19:01,679 - DEBUG - ==>Verifying data for policy with id: 7091dda6-4181-4074-8d28-52a7fc2490ae, fqn: ['default-domain', 'ctest-TestBasicPolicy-45761320', 'ctest-policy-allow-all-27496027'] 2025-01-06 09:19:01,679 - INFO - VN ctest-vn-85524196 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-06 09:19:01,679 - DEBUG - Verifying the vn in opserver 2025-01-06 09:19:01,679 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-45761320:ctest-vn-85524196 virtual network link through opserver 10.0.0.34 2025-01-06 09:19:01,679 - DEBUG - Requesting: http://10.0.0.34:8081/analytics/uves/virtual-networks 2025-01-06 09:19:01,691 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-45761320:ctest-vn-85524196', 'href': 'http://10.0.0.34:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-45761320:ctest-vn-85524196?flat'} 2025-01-06 09:19:01,691 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-45761320:ctest-vn-85524196 is found in opserver 2025-01-06 09:19:01,702 - DEBUG - Do not have enough data to verify VN in agent 2025-01-06 09:19:01,706 - DEBUG - VRF ids for VN ctest-vn-85524196: {} 2025-01-06 09:19:01,759 - DEBUG - Services list from nova: [, , ] 2025-01-06 09:19:02,762 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2540-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2540-1) 2025-01-06 09:19:04,033 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2540-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2540-1) 2025-01-06 09:19:04,033 - INFO - Waiting for VM ctest-TestBasicPolicy-45761320-82055389 to be up.. 2025-01-06 09:19:04,112 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-06 09:19:09,193 - DEBUG - VM is in ACTIVE state now 2025-01-06 09:19:09,194 - INFO - VM name : ctest-TestBasicPolicy-45761320-82055389 2025-01-06 09:19:09,271 - DEBUG - VM ctest-TestBasicPolicy-45761320-82055389 ID is aafac267-c21d-4ada-b340-b329fc2f8b1e 2025-01-06 09:19:09,290 - DEBUG - VM ctest-TestBasicPolicy-45761320-82055389 launched on Node cn-jenkins-deploy-platform-ansible-os-2540-1 2025-01-06 09:19:09,373 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine/aafac267-c21d-4ada-b340-b329fc2f8b1e 2025-01-06 09:19:09,387 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine-interface/ffbd4d9b-d04d-4b46-ba81-9aeaedd579f1 2025-01-06 09:19:12,669 - 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 1021ms') 2025-01-06 09:19:12,669 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-45761320-82055389 failed! 2025-01-06 09:19:12,731 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-45761320:ctest-vn-73725299 is 110.246.154.65 and allocation pool is NOT set 2025-01-06 09:19:14,792 - 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=11.2 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.499 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.499/5.857/11.216/5.358 ms') 2025-01-06 09:19:14,793 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-45761320-82055389 passed 2025-01-06 09:19:14,952 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-06 09:19:14,952 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-45761320-82055389, IP 110.246.154.67, Port 22 2025-01-06 09:19:15,007 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-01-06 09:19:15,085 - DEBUG - VM ctest-TestBasicPolicy-45761320-82055389 is NOT ready for SSH connections, VM status: ACTIVE 2025-01-06 09:19:20,086 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-06 09:19:20,087 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-45761320-82055389, IP 110.246.154.67, Port 22 2025-01-06 09:19:20,239 - DEBUG - VM ctest-TestBasicPolicy-45761320-82055389 is ready for SSH connections 2025-01-06 09:19:20,239 - INFO - Waiting for VM ctest-TestBasicPolicy-45761320-04186000 to be up.. 2025-01-06 09:19:20,309 - DEBUG - VM is in ACTIVE state now 2025-01-06 09:19:20,309 - INFO - VM name : ctest-TestBasicPolicy-45761320-04186000 2025-01-06 09:19:20,375 - DEBUG - VM ctest-TestBasicPolicy-45761320-04186000 ID is 542d7172-f9a5-4b74-82a9-f3bb6a4d5fc0 2025-01-06 09:19:20,375 - DEBUG - VM ctest-TestBasicPolicy-45761320-04186000 launched on Node cn-jenkins-deploy-platform-ansible-os-2540-1 2025-01-06 09:19:20,442 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine/542d7172-f9a5-4b74-82a9-f3bb6a4d5fc0 2025-01-06 09:19:20,450 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine-interface/00418ecb-4fcf-4a21-9fa4-67c0bd506a6f 2025-01-06 09:19:21,686 - 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=2.67 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.371 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.371/1.520/2.670/1.149 ms') 2025-01-06 09:19:21,686 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-45761320-04186000 passed 2025-01-06 09:19:21,839 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-06 09:19:21,839 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-45761320-04186000, IP 170.6.25.3, Port 22 2025-01-06 09:19:21,991 - DEBUG - VM ctest-TestBasicPolicy-45761320-04186000 is ready for SSH connections 2025-01-06 09:19:21,991 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-06 09:19:21,991 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 170.6.25.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.34, gateway password: c0ntrail123 2025-01-06 09:19:21,991 - DEBUG - ping -s 56 -c 3 -W 1 170.6.25.3 2025-01-06 09:19:25,830 - DEBUG - PING 170.6.25.3 (170.6.25.3): 56 data bytes 64 bytes from 170.6.25.3: seq=0 ttl=63 time=4.695 ms 64 bytes from 170.6.25.3: seq=1 ttl=63 time=0.846 ms 64 bytes from 170.6.25.3: seq=2 ttl=63 time=0.734 ms --- 170.6.25.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.734/2.091/4.695 ms 2025-01-06 09:19:25,830 - INFO - Ping to IP 170.6.25.3 from VM ctest-TestBasicPolicy-45761320-82055389 passed 2025-01-06 09:19:26,003 - DEBUG - Policy Update Response {"network-policy": {"uuid": "7091dda6-4181-4074-8d28-52a7fc2490ae", "href": "http://10.0.0.34:8082/network-policy/7091dda6-4181-4074-8d28-52a7fc2490ae"}} 2025-01-06 09:19:26,003 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-06 09:19:26,003 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 170.6.25.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.34, gateway password: c0ntrail123 2025-01-06 09:19:26,004 - DEBUG - ping -s 56 -c 3 -W 1 170.6.25.3 2025-01-06 09:19:29,233 - DEBUG - PING 170.6.25.3 (170.6.25.3): 56 data bytes 64 bytes from 170.6.25.3: seq=0 ttl=63 time=1.385 ms --- 170.6.25.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.385/1.385/1.385 ms 2025-01-06 09:19:29,233 - WARNING - Ping to IP 170.6.25.3 from VM ctest-TestBasicPolicy-45761320-82055389 failed 2025-01-06 09:19:29,233 - INFO - Deleting VM ctest-TestBasicPolicy-45761320-04186000 2025-01-06 09:19:29,297 - INFO - Deleting VM ctest-TestBasicPolicy-45761320-82055389 2025-01-06 09:19:29,663 - INFO - Deleted policy ctest-policy-allow-all-27496027 2025-01-06 09:19:29,663 - INFO - Deleting VN ctest-vn-85524196 2025-01-06 09:19:29,695 - DEBUG - VN 1ee3faed-b456-416f-902a-024112832769 still in use: Unable to complete operation on network 1ee3faed-b456-416f-902a-024112832769. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-cdfb2895-5b95-4736-b9bd-de8525068327'] 2025-01-06 09:19:29,695 - WARNING - Deleting VN ctest-vn-85524196 failed..Will retry 2025-01-06 09:19:31,787 - DEBUG - Response for deleting network () 2025-01-06 09:19:31,787 - DEBUG - Requesting: http://10.0.0.34:8082/routing-instance/47bf1870-00bf-4546-9c6a-417354eb0686 2025-01-06 09:19:31,793 - DEBUG - Response Code: 404 2025-01-06 09:19:31,793 - DEBUG - Requesting: http://10.0.0.34:8082/domains 2025-01-06 09:19:31,800 - DEBUG - Requesting: http://10.0.0.34:8082/domain/6438217f-4b78-4168-a4ca-5d66c997b249 2025-01-06 09:19:31,853 - DEBUG - Requesting: http://10.0.0.34:8082/project/f42716c4-9363-446d-9829-a40594cd42fb 2025-01-06 09:19:31,919 - INFO - Validated that VN ctest-vn-85524196 is not found in API Server 2025-01-06 09:19:31,931 - DEBUG - VN ctest-vn-85524196 is not present in Agent 10.0.0.34 2025-01-06 09:19:31,931 - INFO - Validated that VN ctest-vn-85524196 is not in any agent 2025-01-06 09:19:31,950 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-85524196 info 2025-01-06 09:19:31,950 - INFO - Deleting VN ctest-vn-73725299 2025-01-06 09:19:32,052 - DEBUG - Response for deleting network () 2025-01-06 09:19:32,052 - DEBUG - Requesting: http://10.0.0.34:8082/routing-instance/ac32e865-d3e4-43db-be39-b351217d5447 2025-01-06 09:19:32,058 - DEBUG - Response Code: 404 2025-01-06 09:19:32,059 - DEBUG - Requesting: http://10.0.0.34:8082/domains 2025-01-06 09:19:32,065 - DEBUG - Requesting: http://10.0.0.34:8082/domain/6438217f-4b78-4168-a4ca-5d66c997b249 2025-01-06 09:19:32,121 - DEBUG - Requesting: http://10.0.0.34:8082/project/f42716c4-9363-446d-9829-a40594cd42fb 2025-01-06 09:19:32,190 - INFO - Validated that VN ctest-vn-73725299 is not found in API Server 2025-01-06 09:19:32,201 - DEBUG - VN ctest-vn-73725299 is not present in Agent 10.0.0.34 2025-01-06 09:19:32,201 - INFO - Validated that VN ctest-vn-73725299 is not in any agent 2025-01-06 09:19:32,216 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-73725299 info 2025-01-06 09:19:32,466 - DEBUG - No XMPP flaps were noticed during the test 2025-01-06 09:19:32,466 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2025-01-06 09:19:32,466 - INFO - -------------------------------------------------------------------------------- 2025-01-06 09:19:33,128 - INFO - Deleted project: ctest-TestBasicPolicy-45761320, ID : f42716c4-9363-446d-9829-a40594cd42fb