2025-06-04 14:20:50,641 - INFO - Domain Default found not creating 2025-06-04 14:20:50,806 - INFO - Project ctest-TestBasicPolicy-67477209 not found, creating it 2025-06-04 14:20:51,272 - INFO - Created Project:ctest-TestBasicPolicy-67477209, ID : 53e0d819-e4c1-4e28-8366-cb1960007e63 2025-06-04 14:20:52,800 - INFO - ================================================================================ 2025-06-04 14:20:52,800 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-04 14:20:52,801 - 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-06-04 14:20:53,057 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.20.0.17': '0'}} with 2025-06-04 14:20:53,057 - INFO - Initial checks done. Running the testcase now 2025-06-04 14:20:53,057 - INFO - 2025-06-04 14:20:53,616 - DEBUG - Response for create_network : {'network': {'id': '8533e38d-ad9b-44bc-9b00-02bf24c15a4f', 'name': 'ctest-vn-78231443', 'tenant_id': '53e0d819e4c14e288366cb1960007e63', 'project_id': '53e0d819e4c14e288366cb1960007e63', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67477209', 'ctest-vn-78231443'], 'port_security_enabled': True, 'description': ''}} 2025-06-04 14:20:53,783 - DEBUG - Response for create_subnet : {'subnet': {'id': '0cb944d2-f7c7-43bb-a8af-a92b926c1ea8', 'name': '', 'tenant_id': '53e0d819e4c14e288366cb1960007e63', 'network_id': '8533e38d-ad9b-44bc-9b00-02bf24c15a4f', 'ip_version': 4, 'cidr': '46.6.63.64/26', 'allocation_pools': [{'start': '46.6.63.66', 'end': '46.6.63.126'}], 'gateway_ip': '46.6.63.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '46.6.63.66', 'tags': [], 'project_id': '53e0d819e4c14e288366cb1960007e63'}} 2025-06-04 14:20:53,801 - INFO - Created VN ctest-vn-78231443 2025-06-04 14:20:53,854 - DEBUG - VN ctest-vn-78231443 UUID is 8533e38d-ad9b-44bc-9b00-02bf24c15a4f 2025-06-04 14:20:54,178 - DEBUG - Response for create_network : {'network': {'id': 'a72d6c90-c9df-4c22-b755-fc08a3be51d6', 'name': 'ctest-vn-67715505', 'tenant_id': '53e0d819e4c14e288366cb1960007e63', 'project_id': '53e0d819e4c14e288366cb1960007e63', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67477209', 'ctest-vn-67715505'], 'port_security_enabled': True, 'description': ''}} 2025-06-04 14:20:54,339 - DEBUG - Response for create_subnet : {'subnet': {'id': '12ef0386-d68a-4b41-a03b-52c993d8e344', 'name': '', 'tenant_id': '53e0d819e4c14e288366cb1960007e63', 'network_id': 'a72d6c90-c9df-4c22-b755-fc08a3be51d6', 'ip_version': 4, 'cidr': '198.22.48.64/26', 'allocation_pools': [{'start': '198.22.48.66', 'end': '198.22.48.126'}], 'gateway_ip': '198.22.48.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '198.22.48.66', 'tags': [], 'project_id': '53e0d819e4c14e288366cb1960007e63'}} 2025-06-04 14:20:54,371 - INFO - Created VN ctest-vn-67715505 2025-06-04 14:20:54,426 - DEBUG - VN ctest-vn-67715505 UUID is a72d6c90-c9df-4c22-b755-fc08a3be51d6 2025-06-04 14:20:54,544 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-67477209:ctest-vn-78231443, 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-67477209:ctest-vn-67715505, 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-06-04 14:20:54,865 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8533e38d-ad9b-44bc-9b00-02bf24c15a4f', 'name': 'ctest-vn-78231443', 'tenant_id': '53e0d819e4c14e288366cb1960007e63', 'project_id': '53e0d819e4c14e288366cb1960007e63', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0cb944d2-f7c7-43bb-a8af-a92b926c1ea8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67477209', 'ctest-vn-78231443'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-67477209', 'ctest-policy-allow-all-42865207']], 'subnet_ipam': [{'subnet_cidr': '46.6.63.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-04 14:20:55,167 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a72d6c90-c9df-4c22-b755-fc08a3be51d6', 'name': 'ctest-vn-67715505', 'tenant_id': '53e0d819e4c14e288366cb1960007e63', 'project_id': '53e0d819e4c14e288366cb1960007e63', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['12ef0386-d68a-4b41-a03b-52c993d8e344'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67477209', 'ctest-vn-67715505'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-67477209', 'ctest-policy-allow-all-42865207']], 'subnet_ipam': [{'subnet_cidr': '198.22.48.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-04 14:20:55,306 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2025-06-04 14:20:55,603 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2025-06-04 14:20:55,634 - DEBUG - Requesting: http://10.0.0.129:8082/domain/e0b5dedb-67d0-40b2-b69d-2181b8e6878e 2025-06-04 14:20:55,650 - DEBUG - Requesting: http://10.0.0.129:8082/project/53e0d819-e4c1-4e28-8366-cb1960007e63 2025-06-04 14:20:55,727 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/8533e38d-ad9b-44bc-9b00-02bf24c15a4f 2025-06-04 14:20:55,739 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/8533e38d-ad9b-44bc-9b00-02bf24c15a4f 2025-06-04 14:20:55,750 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/11fefc0e-687c-401b-b3d7-f2ebb9ec4ca6 2025-06-04 14:20:55,759 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/11fefc0e-687c-401b-b3d7-f2ebb9ec4ca6 2025-06-04 14:20:55,768 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/54cd4a4a-dc50-486c-ab54-5e24c3d83082 2025-06-04 14:20:55,776 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-04 14:20:55,776 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/8533e38d-ad9b-44bc-9b00-02bf24c15a4f 2025-06-04 14:20:55,786 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/11fefc0e-687c-401b-b3d7-f2ebb9ec4ca6 2025-06-04 14:20:55,801 - INFO - Verified VN network id 8 for VN 8533e38d-ad9b-44bc-9b00-02bf24c15a4f 2025-06-04 14:20:55,801 - INFO - Verifications in API Server for VN ctest-vn-78231443 passed 2025-06-04 14:20:55,801 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/8533e38d-ad9b-44bc-9b00-02bf24c15a4f 2025-06-04 14:20:55,812 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/11fefc0e-687c-401b-b3d7-f2ebb9ec4ca6 2025-06-04 14:20:55,820 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/11fefc0e-687c-401b-b3d7-f2ebb9ec4ca6 2025-06-04 14:20:55,828 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/54cd4a4a-dc50-486c-ab54-5e24c3d83082 2025-06-04 14:20:55,841 - DEBUG - Control-node 10.0.0.129 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-67477209:ctest-vn-78231443', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-67477209', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9598265428499186876', 'uuid-lslong': '11168930095857490511'}, 'enable': 'true', 'created': '2025-06-04T14:20:53', 'last-modified': '2025-06-04T14:20:54', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.019137'} 2025-06-04 14:20:55,848 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-04 14:20:55,848 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-78231443 passed 2025-06-04 14:20:55,849 - DEBUG - ====Verifying policy data for ctest-vn-78231443 in API_Server ====== 2025-06-04 14:20:55,849 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2025-06-04 14:20:55,856 - DEBUG - Requesting: http://10.0.0.129:8082/domain/e0b5dedb-67d0-40b2-b69d-2181b8e6878e 2025-06-04 14:20:55,868 - DEBUG - Requesting: http://10.0.0.129:8082/project/53e0d819-e4c1-4e28-8366-cb1960007e63 2025-06-04 14:20:55,946 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/8533e38d-ad9b-44bc-9b00-02bf24c15a4f 2025-06-04 14:20:55,956 - DEBUG - ==>Verifying data for policy with id: cb261df4-1b61-4603-96e6-669266809da6, fqn: ['default-domain', 'ctest-TestBasicPolicy-67477209', 'ctest-policy-allow-all-42865207'] 2025-06-04 14:20:55,957 - INFO - VN ctest-vn-78231443 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-04 14:20:55,957 - DEBUG - Verifying the vn in opserver 2025-06-04 14:20:55,957 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-67477209:ctest-vn-78231443 virtual network link through opserver 10.0.0.129 2025-06-04 14:20:55,957 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks 2025-06-04 14:20:56,252 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks 2025-06-04 14:20:56,310 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-67477209:ctest-vn-78231443', 'href': 'http://10.0.0.129:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-67477209:ctest-vn-78231443?flat'} 2025-06-04 14:20:56,310 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-67477209:ctest-vn-78231443 is found in opserver 2025-06-04 14:20:56,323 - DEBUG - Do not have enough data to verify VN in agent 2025-06-04 14:20:56,330 - DEBUG - VRF ids for VN ctest-vn-78231443: {} 2025-06-04 14:20:56,330 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2025-06-04 14:20:56,338 - DEBUG - Requesting: http://10.0.0.129:8082/domain/e0b5dedb-67d0-40b2-b69d-2181b8e6878e 2025-06-04 14:20:56,352 - DEBUG - Requesting: http://10.0.0.129:8082/project/53e0d819-e4c1-4e28-8366-cb1960007e63 2025-06-04 14:20:56,427 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/a72d6c90-c9df-4c22-b755-fc08a3be51d6 2025-06-04 14:20:56,441 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/a72d6c90-c9df-4c22-b755-fc08a3be51d6 2025-06-04 14:20:56,452 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/6c8af5a2-5e0c-43b0-9be8-901261190fb3 2025-06-04 14:20:56,460 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/6c8af5a2-5e0c-43b0-9be8-901261190fb3 2025-06-04 14:20:56,471 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/de339ea0-3551-4366-bfde-82b070a7acae 2025-06-04 14:20:56,479 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-04 14:20:56,479 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/a72d6c90-c9df-4c22-b755-fc08a3be51d6 2025-06-04 14:20:56,490 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/6c8af5a2-5e0c-43b0-9be8-901261190fb3 2025-06-04 14:20:56,504 - INFO - Verified VN network id 9 for VN a72d6c90-c9df-4c22-b755-fc08a3be51d6 2025-06-04 14:20:56,504 - INFO - Verifications in API Server for VN ctest-vn-67715505 passed 2025-06-04 14:20:56,504 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/a72d6c90-c9df-4c22-b755-fc08a3be51d6 2025-06-04 14:20:56,515 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/6c8af5a2-5e0c-43b0-9be8-901261190fb3 2025-06-04 14:20:56,530 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/6c8af5a2-5e0c-43b0-9be8-901261190fb3 2025-06-04 14:20:56,544 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/de339ea0-3551-4366-bfde-82b070a7acae 2025-06-04 14:20:56,558 - DEBUG - Control-node 10.0.0.129 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-67477209:ctest-vn-67715505', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-67477209', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12046403947403889698', 'uuid-lslong': '13210742195998314966'}, 'enable': 'true', 'created': '2025-06-04T14:20:54', 'last-modified': '2025-06-04T14:20:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.481293'} 2025-06-04 14:20:56,565 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-04 14:20:56,565 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-67715505 passed 2025-06-04 14:20:56,566 - DEBUG - ====Verifying policy data for ctest-vn-67715505 in API_Server ====== 2025-06-04 14:20:56,566 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2025-06-04 14:20:56,572 - DEBUG - Requesting: http://10.0.0.129:8082/domain/e0b5dedb-67d0-40b2-b69d-2181b8e6878e 2025-06-04 14:20:56,587 - DEBUG - Requesting: http://10.0.0.129:8082/project/53e0d819-e4c1-4e28-8366-cb1960007e63 2025-06-04 14:20:56,662 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/a72d6c90-c9df-4c22-b755-fc08a3be51d6 2025-06-04 14:20:56,675 - DEBUG - ==>Verifying data for policy with id: cb261df4-1b61-4603-96e6-669266809da6, fqn: ['default-domain', 'ctest-TestBasicPolicy-67477209', 'ctest-policy-allow-all-42865207'] 2025-06-04 14:20:56,675 - INFO - VN ctest-vn-67715505 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-04 14:20:56,675 - DEBUG - Verifying the vn in opserver 2025-06-04 14:20:56,675 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-67477209:ctest-vn-67715505 virtual network link through opserver 10.0.0.129 2025-06-04 14:20:56,675 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks 2025-06-04 14:20:56,686 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-67477209:ctest-vn-67715505', 'href': 'http://10.0.0.129:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-67477209:ctest-vn-67715505?flat'} 2025-06-04 14:20:56,686 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-67477209:ctest-vn-67715505 is found in opserver 2025-06-04 14:20:56,696 - DEBUG - Do not have enough data to verify VN in agent 2025-06-04 14:20:56,701 - DEBUG - VRF ids for VN ctest-vn-67715505: {} 2025-06-04 14:20:56,762 - DEBUG - Services list from nova: [, , ] 2025-06-04 14:20:57,847 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3399-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3399-1) 2025-06-04 14:20:59,183 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3399-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3399-1) 2025-06-04 14:20:59,184 - INFO - Waiting for VM ctest-TestBasicPolicy-67477209-02550820 to be up.. 2025-06-04 14:20:59,282 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-04 14:21:04,365 - DEBUG - VM is in ACTIVE state now 2025-06-04 14:21:04,365 - INFO - VM name : ctest-TestBasicPolicy-67477209-02550820 2025-06-04 14:21:04,454 - DEBUG - VM ctest-TestBasicPolicy-67477209-02550820 ID is c01a54d8-7d93-408b-860d-da6d7bb66f9f 2025-06-04 14:21:04,477 - DEBUG - VM ctest-TestBasicPolicy-67477209-02550820 launched on Node cn-jenkins-deploy-platform-ansible-os-3399-1 2025-06-04 14:21:04,560 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/c01a54d8-7d93-408b-860d-da6d7bb66f9f 2025-06-04 14:21:04,573 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/511af393-b20b-4f0a-beb4-d117f652d9db 2025-06-04 14:21:07,804 - 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 1027ms') 2025-06-04 14:21:07,804 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-67477209-02550820 failed! 2025-06-04 14:21:07,862 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-67477209:ctest-vn-78231443 is 46.6.63.65 and allocation pool is NOT set 2025-06-04 14:21:09,934 - 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.65 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.920 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.920/5.285/9.650/4.365 ms') 2025-06-04 14:21:09,934 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-67477209-02550820 passed 2025-06-04 14:21:10,094 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-04 14:21:10,094 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-67477209-02550820, IP 46.6.63.67, Port 22 2025-06-04 14:21:10,250 - DEBUG - VM ctest-TestBasicPolicy-67477209-02550820 is ready for SSH connections 2025-06-04 14:21:10,250 - INFO - Waiting for VM ctest-TestBasicPolicy-67477209-88955239 to be up.. 2025-06-04 14:21:10,338 - DEBUG - VM is in ACTIVE state now 2025-06-04 14:21:10,339 - INFO - VM name : ctest-TestBasicPolicy-67477209-88955239 2025-06-04 14:21:10,418 - DEBUG - VM ctest-TestBasicPolicy-67477209-88955239 ID is c0e9c03b-14a7-4414-82ea-2011247b31ff 2025-06-04 14:21:10,418 - DEBUG - VM ctest-TestBasicPolicy-67477209-88955239 launched on Node cn-jenkins-deploy-platform-ansible-os-3399-1 2025-06-04 14:21:10,501 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/c0e9c03b-14a7-4414-82ea-2011247b31ff 2025-06-04 14:21:10,512 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/36ca62c1-49af-4d5d-96c3-76b8142647b8 2025-06-04 14:21:11,766 - 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=4.41 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.932 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.932/2.671/4.410/1.739 ms') 2025-06-04 14:21:11,766 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-67477209-88955239 passed 2025-06-04 14:21:11,922 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-04 14:21:11,922 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-67477209-88955239, IP 198.22.48.67, Port 22 2025-06-04 14:21:12,078 - DEBUG - VM ctest-TestBasicPolicy-67477209-88955239 is ready for SSH connections 2025-06-04 14:21:12,078 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-04 14:21:12,078 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 198.22.48.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2025-06-04 14:21:12,079 - DEBUG - ping -s 56 -c 3 -W 1 198.22.48.67 2025-06-04 14:21:16,099 - DEBUG - PING 198.22.48.67 (198.22.48.67): 56 data bytes 64 bytes from 198.22.48.67: seq=0 ttl=63 time=3.500 ms 64 bytes from 198.22.48.67: seq=1 ttl=63 time=1.601 ms 64 bytes from 198.22.48.67: seq=2 ttl=63 time=1.129 ms --- 198.22.48.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.129/2.076/3.500 ms 2025-06-04 14:21:16,099 - INFO - Ping to IP 198.22.48.67 from VM ctest-TestBasicPolicy-67477209-02550820 passed 2025-06-04 14:21:16,286 - DEBUG - Policy Update Response {"network-policy": {"uuid": "cb261df4-1b61-4603-96e6-669266809da6", "href": "http://10.0.0.129:8082/network-policy/cb261df4-1b61-4603-96e6-669266809da6"}} 2025-06-04 14:21:16,286 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-04 14:21:16,286 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 198.22.48.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2025-06-04 14:21:16,286 - DEBUG - ping -s 56 -c 3 -W 1 198.22.48.67 2025-06-04 14:21:19,510 - DEBUG - PING 198.22.48.67 (198.22.48.67): 56 data bytes --- 198.22.48.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-06-04 14:21:19,510 - WARNING - Ping to IP 198.22.48.67 from VM ctest-TestBasicPolicy-67477209-02550820 failed 2025-06-04 14:21:19,510 - INFO - Deleting VM ctest-TestBasicPolicy-67477209-88955239 2025-06-04 14:21:19,581 - INFO - Deleting VM ctest-TestBasicPolicy-67477209-02550820 2025-06-04 14:21:19,932 - INFO - Deleted policy ctest-policy-allow-all-42865207 2025-06-04 14:21:19,933 - INFO - Deleting VN ctest-vn-67715505 2025-06-04 14:21:19,969 - DEBUG - VN a72d6c90-c9df-4c22-b755-fc08a3be51d6 still in use: Unable to complete operation on network a72d6c90-c9df-4c22-b755-fc08a3be51d6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f5fac6be-1749-418b-8f8f-04594f433903'] 2025-06-04 14:21:19,969 - WARNING - Deleting VN ctest-vn-67715505 failed..Will retry 2025-06-04 14:21:22,080 - DEBUG - Response for deleting network () 2025-06-04 14:21:22,080 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/6c8af5a2-5e0c-43b0-9be8-901261190fb3 2025-06-04 14:21:22,089 - DEBUG - Response Code: 404 2025-06-04 14:21:22,089 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2025-06-04 14:21:22,095 - DEBUG - Requesting: http://10.0.0.129:8082/domain/e0b5dedb-67d0-40b2-b69d-2181b8e6878e 2025-06-04 14:21:22,148 - DEBUG - Requesting: http://10.0.0.129:8082/project/53e0d819-e4c1-4e28-8366-cb1960007e63 2025-06-04 14:21:22,223 - INFO - Validated that VN ctest-vn-67715505 is not found in API Server 2025-06-04 14:21:22,236 - DEBUG - VN ctest-vn-67715505 is not present in Agent 10.0.0.129 2025-06-04 14:21:22,236 - INFO - Validated that VN ctest-vn-67715505 is not in any agent 2025-06-04 14:21:22,255 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-67715505 info 2025-06-04 14:21:22,255 - INFO - Deleting VN ctest-vn-78231443 2025-06-04 14:21:22,363 - DEBUG - Response for deleting network () 2025-06-04 14:21:22,363 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/11fefc0e-687c-401b-b3d7-f2ebb9ec4ca6 2025-06-04 14:21:22,374 - DEBUG - Response Code: 404 2025-06-04 14:21:22,375 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2025-06-04 14:21:22,382 - DEBUG - Requesting: http://10.0.0.129:8082/domain/e0b5dedb-67d0-40b2-b69d-2181b8e6878e 2025-06-04 14:21:22,436 - DEBUG - Requesting: http://10.0.0.129:8082/project/53e0d819-e4c1-4e28-8366-cb1960007e63 2025-06-04 14:21:22,510 - INFO - Validated that VN ctest-vn-78231443 is not found in API Server 2025-06-04 14:21:22,523 - DEBUG - VN ctest-vn-78231443 is not present in Agent 10.0.0.129 2025-06-04 14:21:22,523 - INFO - Validated that VN ctest-vn-78231443 is not in any agent 2025-06-04 14:21:22,540 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-78231443 info 2025-06-04 14:21:22,796 - DEBUG - No XMPP flaps were noticed during the test 2025-06-04 14:21:22,796 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-06-04 14:21:22,797 - INFO - -------------------------------------------------------------------------------- 2025-06-04 14:21:23,511 - INFO - Deleted project: ctest-TestBasicPolicy-67477209, ID : 53e0d819-e4c1-4e28-8366-cb1960007e63