2025-11-24 17:44:51,549 - INFO - Domain Default found not creating 2025-11-24 17:44:51,720 - INFO - Project ctest-TestBasicPolicy-17226593 not found, creating it 2025-11-24 17:44:52,168 - INFO - Created Project:ctest-TestBasicPolicy-17226593, ID : 50e6c401-5428-4ba1-97b9-d0e1d41f4f51 2025-11-24 17:44:53,762 - INFO - ================================================================================ 2025-11-24 17:44:53,762 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-24 17:44:53,762 - 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-11-24 17:44:54,022 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.130': '0'}} with 2025-11-24 17:44:54,022 - INFO - Initial checks done. Running the testcase now 2025-11-24 17:44:54,022 - INFO - 2025-11-24 17:44:54,632 - DEBUG - Response for create_network : {'network': {'id': '8b4c0099-450e-418b-a549-269cff61f425', 'name': 'ctest-vn-07797786', 'tenant_id': '50e6c40154284ba197b9d0e1d41f4f51', 'project_id': '50e6c40154284ba197b9d0e1d41f4f51', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17226593', 'ctest-vn-07797786'], 'port_security_enabled': True, 'description': ''}} 2025-11-24 17:44:54,837 - DEBUG - Response for create_subnet : {'subnet': {'id': '5e34a91e-2685-4e2c-92c4-9190b9eda83f', 'name': '', 'tenant_id': '50e6c40154284ba197b9d0e1d41f4f51', 'network_id': '8b4c0099-450e-418b-a549-269cff61f425', 'ip_version': 4, 'cidr': '65.22.124.64/26', 'allocation_pools': [{'start': '65.22.124.66', 'end': '65.22.124.126'}], 'gateway_ip': '65.22.124.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '65.22.124.66', 'tags': [], 'project_id': '50e6c40154284ba197b9d0e1d41f4f51'}} 2025-11-24 17:44:54,855 - INFO - Created VN ctest-vn-07797786 2025-11-24 17:44:54,909 - DEBUG - VN ctest-vn-07797786 UUID is 8b4c0099-450e-418b-a549-269cff61f425 2025-11-24 17:44:55,198 - DEBUG - Response for create_network : {'network': {'id': '312c7101-edaf-42ec-b297-86c2e01a8dc9', 'name': 'ctest-vn-58794082', 'tenant_id': '50e6c40154284ba197b9d0e1d41f4f51', 'project_id': '50e6c40154284ba197b9d0e1d41f4f51', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17226593', 'ctest-vn-58794082'], 'port_security_enabled': True, 'description': ''}} 2025-11-24 17:44:55,404 - DEBUG - Response for create_subnet : {'subnet': {'id': 'acb8e94e-a2a9-4899-a43e-281ba2112502', 'name': '', 'tenant_id': '50e6c40154284ba197b9d0e1d41f4f51', 'network_id': '312c7101-edaf-42ec-b297-86c2e01a8dc9', 'ip_version': 4, 'cidr': '52.191.122.192/26', 'allocation_pools': [{'start': '52.191.122.194', 'end': '52.191.122.254'}], 'gateway_ip': '52.191.122.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '52.191.122.194', 'tags': [], 'project_id': '50e6c40154284ba197b9d0e1d41f4f51'}} 2025-11-24 17:44:55,422 - INFO - Created VN ctest-vn-58794082 2025-11-24 17:44:55,473 - DEBUG - VN ctest-vn-58794082 UUID is 312c7101-edaf-42ec-b297-86c2e01a8dc9 2025-11-24 17:44:55,625 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-17226593:ctest-vn-07797786, 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-17226593:ctest-vn-58794082, 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-11-24 17:44:55,919 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8b4c0099-450e-418b-a549-269cff61f425', 'name': 'ctest-vn-07797786', 'tenant_id': '50e6c40154284ba197b9d0e1d41f4f51', 'project_id': '50e6c40154284ba197b9d0e1d41f4f51', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5e34a91e-2685-4e2c-92c4-9190b9eda83f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17226593', 'ctest-vn-07797786'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-17226593', 'ctest-policy-allow-all-85574594']], 'subnet_ipam': [{'subnet_cidr': '65.22.124.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-24 17:44:56,150 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '312c7101-edaf-42ec-b297-86c2e01a8dc9', 'name': 'ctest-vn-58794082', 'tenant_id': '50e6c40154284ba197b9d0e1d41f4f51', 'project_id': '50e6c40154284ba197b9d0e1d41f4f51', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['acb8e94e-a2a9-4899-a43e-281ba2112502'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17226593', 'ctest-vn-58794082'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-17226593', 'ctest-policy-allow-all-85574594']], 'subnet_ipam': [{'subnet_cidr': '52.191.122.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-24 17:44:56,325 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-11-24 17:44:56,660 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-11-24 17:44:56,691 - DEBUG - Requesting: http://10.0.0.57:8082/domain/cd2b91d1-5e8a-4e33-80e4-f7beee2b3706 2025-11-24 17:44:56,704 - DEBUG - Requesting: http://10.0.0.57:8082/project/50e6c401-5428-4ba1-97b9-d0e1d41f4f51 2025-11-24 17:44:56,775 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/8b4c0099-450e-418b-a549-269cff61f425 2025-11-24 17:44:56,785 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/8b4c0099-450e-418b-a549-269cff61f425 2025-11-24 17:44:56,794 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/1f238cca-6ee0-4d4c-968a-d4bfeff3fe6a 2025-11-24 17:44:56,800 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/1f238cca-6ee0-4d4c-968a-d4bfeff3fe6a 2025-11-24 17:44:56,806 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/a9c06b81-6aa8-4dfb-83b9-23804d121602 2025-11-24 17:44:56,811 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-24 17:44:56,811 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/8b4c0099-450e-418b-a549-269cff61f425 2025-11-24 17:44:56,819 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/1f238cca-6ee0-4d4c-968a-d4bfeff3fe6a 2025-11-24 17:44:56,831 - INFO - Verified VN network id 11 for VN 8b4c0099-450e-418b-a549-269cff61f425 2025-11-24 17:44:56,831 - INFO - Verifications in API Server for VN ctest-vn-07797786 passed 2025-11-24 17:44:56,831 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/8b4c0099-450e-418b-a549-269cff61f425 2025-11-24 17:44:56,839 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/1f238cca-6ee0-4d4c-968a-d4bfeff3fe6a 2025-11-24 17:44:56,845 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/1f238cca-6ee0-4d4c-968a-d4bfeff3fe6a 2025-11-24 17:44:56,850 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/a9c06b81-6aa8-4dfb-83b9-23804d121602 2025-11-24 17:44:56,860 - DEBUG - Control-node 10.0.0.57 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-17226593:ctest-vn-07797786', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-17226593', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10037398327790551435', 'uuid-lslong': '11910093145299350565'}, 'enable': 'true', 'created': '2025-11-24T17:44:54', 'last-modified': '2025-11-24T17:44:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.962536'} 2025-11-24 17:44:56,865 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-24 17:44:56,866 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-07797786 passed 2025-11-24 17:44:56,866 - DEBUG - ====Verifying policy data for ctest-vn-07797786 in API_Server ====== 2025-11-24 17:44:56,866 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-11-24 17:44:56,870 - DEBUG - Requesting: http://10.0.0.57:8082/domain/cd2b91d1-5e8a-4e33-80e4-f7beee2b3706 2025-11-24 17:44:56,881 - DEBUG - Requesting: http://10.0.0.57:8082/project/50e6c401-5428-4ba1-97b9-d0e1d41f4f51 2025-11-24 17:44:56,951 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/8b4c0099-450e-418b-a549-269cff61f425 2025-11-24 17:44:56,960 - DEBUG - ==>Verifying data for policy with id: 4cabd28c-9045-4170-a466-5b0c1696bbf5, fqn: ['default-domain', 'ctest-TestBasicPolicy-17226593', 'ctest-policy-allow-all-85574594'] 2025-11-24 17:44:56,960 - INFO - VN ctest-vn-07797786 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-24 17:44:56,960 - DEBUG - Verifying the vn in opserver 2025-11-24 17:44:56,960 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-17226593:ctest-vn-07797786 virtual network link through opserver 10.0.0.57 2025-11-24 17:44:56,960 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks 2025-11-24 17:44:57,295 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks 2025-11-24 17:44:57,356 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-17226593:ctest-vn-07797786', 'href': 'http://10.0.0.57:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-17226593:ctest-vn-07797786?flat'} 2025-11-24 17:44:57,356 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-17226593:ctest-vn-07797786 is found in opserver 2025-11-24 17:44:57,365 - DEBUG - Do not have enough data to verify VN in agent 2025-11-24 17:44:57,369 - DEBUG - VRF ids for VN ctest-vn-07797786: {} 2025-11-24 17:44:57,369 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-11-24 17:44:57,374 - DEBUG - Requesting: http://10.0.0.57:8082/domain/cd2b91d1-5e8a-4e33-80e4-f7beee2b3706 2025-11-24 17:44:57,384 - DEBUG - Requesting: http://10.0.0.57:8082/project/50e6c401-5428-4ba1-97b9-d0e1d41f4f51 2025-11-24 17:44:57,454 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/312c7101-edaf-42ec-b297-86c2e01a8dc9 2025-11-24 17:44:57,466 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/312c7101-edaf-42ec-b297-86c2e01a8dc9 2025-11-24 17:44:57,475 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/39427c9a-98a9-4e17-9755-4bc813d86079 2025-11-24 17:44:57,481 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/39427c9a-98a9-4e17-9755-4bc813d86079 2025-11-24 17:44:57,487 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/08a9eeb9-4ae0-43bd-9531-caf5e9ef780f 2025-11-24 17:44:57,493 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-24 17:44:57,493 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/312c7101-edaf-42ec-b297-86c2e01a8dc9 2025-11-24 17:44:57,501 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/39427c9a-98a9-4e17-9755-4bc813d86079 2025-11-24 17:44:57,515 - INFO - Verified VN network id 12 for VN 312c7101-edaf-42ec-b297-86c2e01a8dc9 2025-11-24 17:44:57,515 - INFO - Verifications in API Server for VN ctest-vn-58794082 passed 2025-11-24 17:44:57,515 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/312c7101-edaf-42ec-b297-86c2e01a8dc9 2025-11-24 17:44:57,524 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/39427c9a-98a9-4e17-9755-4bc813d86079 2025-11-24 17:44:57,530 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/39427c9a-98a9-4e17-9755-4bc813d86079 2025-11-24 17:44:57,535 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/08a9eeb9-4ae0-43bd-9531-caf5e9ef780f 2025-11-24 17:44:57,545 - DEBUG - Control-node 10.0.0.57 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-17226593:ctest-vn-58794082', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-17226593', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3543331259930329836', 'uuid-lslong': '12868902631776095689'}, 'enable': 'true', 'created': '2025-11-24T17:44:55', 'last-modified': '2025-11-24T17:44:56', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.427412'} 2025-11-24 17:44:57,551 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-24 17:44:57,551 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-58794082 passed 2025-11-24 17:44:57,551 - DEBUG - ====Verifying policy data for ctest-vn-58794082 in API_Server ====== 2025-11-24 17:44:57,551 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-11-24 17:44:57,557 - DEBUG - Requesting: http://10.0.0.57:8082/domain/cd2b91d1-5e8a-4e33-80e4-f7beee2b3706 2025-11-24 17:44:57,567 - DEBUG - Requesting: http://10.0.0.57:8082/project/50e6c401-5428-4ba1-97b9-d0e1d41f4f51 2025-11-24 17:44:57,636 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/312c7101-edaf-42ec-b297-86c2e01a8dc9 2025-11-24 17:44:57,646 - DEBUG - ==>Verifying data for policy with id: 4cabd28c-9045-4170-a466-5b0c1696bbf5, fqn: ['default-domain', 'ctest-TestBasicPolicy-17226593', 'ctest-policy-allow-all-85574594'] 2025-11-24 17:44:57,646 - INFO - VN ctest-vn-58794082 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-24 17:44:57,646 - DEBUG - Verifying the vn in opserver 2025-11-24 17:44:57,646 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-17226593:ctest-vn-58794082 virtual network link through opserver 10.0.0.57 2025-11-24 17:44:57,646 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks 2025-11-24 17:44:57,656 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-17226593:ctest-vn-58794082', 'href': 'http://10.0.0.57:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-17226593:ctest-vn-58794082?flat'} 2025-11-24 17:44:57,657 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-17226593:ctest-vn-58794082 is found in opserver 2025-11-24 17:44:57,666 - DEBUG - Do not have enough data to verify VN in agent 2025-11-24 17:44:57,671 - DEBUG - VRF ids for VN ctest-vn-58794082: {} 2025-11-24 17:44:57,734 - DEBUG - Services list from nova: [, , ] 2025-11-24 17:44:58,841 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4811-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4811-1) 2025-11-24 17:45:00,085 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4811-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4811-1) 2025-11-24 17:45:00,085 - INFO - Waiting for VM ctest-TestBasicPolicy-17226593-57837812 to be up.. 2025-11-24 17:45:00,166 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-24 17:45:05,251 - DEBUG - VM is in ACTIVE state now 2025-11-24 17:45:05,251 - INFO - VM name : ctest-TestBasicPolicy-17226593-57837812 2025-11-24 17:45:05,337 - DEBUG - VM ctest-TestBasicPolicy-17226593-57837812 ID is f508c28c-4302-410b-96ce-d1ba79d1cf7d 2025-11-24 17:45:05,357 - DEBUG - VM ctest-TestBasicPolicy-17226593-57837812 launched on Node cn-jenkins-deploy-platform-ansible-os-4811-1 2025-11-24 17:45:05,430 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/f508c28c-4302-410b-96ce-d1ba79d1cf7d 2025-11-24 17:45:05,439 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/722d26c6-ac9e-47ba-ae5d-ef067329c890 2025-11-24 17:45:08,682 - 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 1002ms') 2025-11-24 17:45:08,682 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-17226593-57837812 failed! 2025-11-24 17:45:08,737 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-17226593:ctest-vn-07797786 is 65.22.124.65 and allocation pool is NOT set 2025-11-24 17:45:10,796 - 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=5.32 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.29 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 = 2.290/3.806/5.322/1.516 ms') 2025-11-24 17:45:10,796 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-17226593-57837812 passed 2025-11-24 17:45:10,945 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 17:45:10,945 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-17226593-57837812, IP 65.22.124.67, Port 22 2025-11-24 17:45:11,001 - 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-11-24 17:45:11,081 - DEBUG - VM ctest-TestBasicPolicy-17226593-57837812 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-24 17:45:16,081 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 17:45:16,082 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-17226593-57837812, IP 65.22.124.67, Port 22 2025-11-24 17:45:16,237 - DEBUG - VM ctest-TestBasicPolicy-17226593-57837812 is ready for SSH connections 2025-11-24 17:45:16,237 - INFO - Waiting for VM ctest-TestBasicPolicy-17226593-21494606 to be up.. 2025-11-24 17:45:16,317 - DEBUG - VM is in ACTIVE state now 2025-11-24 17:45:16,317 - INFO - VM name : ctest-TestBasicPolicy-17226593-21494606 2025-11-24 17:45:16,393 - DEBUG - VM ctest-TestBasicPolicy-17226593-21494606 ID is 401f8868-6124-41b3-a1a0-1387256d90a5 2025-11-24 17:45:16,393 - DEBUG - VM ctest-TestBasicPolicy-17226593-21494606 launched on Node cn-jenkins-deploy-platform-ansible-os-4811-1 2025-11-24 17:45:16,466 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/401f8868-6124-41b3-a1a0-1387256d90a5 2025-11-24 17:45:16,473 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/e8e7cefa-f886-4960-b47b-5c9504e18efa 2025-11-24 17:45:17,708 - 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.19 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.427 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.427/1.809/3.191/1.382 ms') 2025-11-24 17:45:17,708 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-17226593-21494606 passed 2025-11-24 17:45:17,865 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 17:45:17,866 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-17226593-21494606, IP 52.191.122.195, Port 22 2025-11-24 17:45:18,028 - DEBUG - VM ctest-TestBasicPolicy-17226593-21494606 is ready for SSH connections 2025-11-24 17:45:18,028 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 17:45:18,028 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 52.191.122.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-11-24 17:45:18,029 - DEBUG - ping -s 56 -c 3 -W 1 52.191.122.195 2025-11-24 17:45:22,254 - DEBUG - PING 52.191.122.195 (52.191.122.195): 56 data bytes 64 bytes from 52.191.122.195: seq=0 ttl=63 time=3.818 ms 64 bytes from 52.191.122.195: seq=1 ttl=63 time=1.034 ms 64 bytes from 52.191.122.195: seq=2 ttl=63 time=1.061 ms --- 52.191.122.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.034/1.971/3.818 ms 2025-11-24 17:45:22,254 - INFO - Ping to IP 52.191.122.195 from VM ctest-TestBasicPolicy-17226593-57837812 passed 2025-11-24 17:45:22,437 - DEBUG - Policy Update Response {"network-policy": {"uuid": "4cabd28c-9045-4170-a466-5b0c1696bbf5", "href": "http://10.0.0.57:8082/network-policy/4cabd28c-9045-4170-a466-5b0c1696bbf5"}} 2025-11-24 17:45:22,437 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 17:45:22,437 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 52.191.122.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-11-24 17:45:22,437 - DEBUG - ping -s 56 -c 3 -W 1 52.191.122.195 2025-11-24 17:45:25,666 - DEBUG - PING 52.191.122.195 (52.191.122.195): 56 data bytes --- 52.191.122.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-24 17:45:25,667 - WARNING - Ping to IP 52.191.122.195 from VM ctest-TestBasicPolicy-17226593-57837812 failed 2025-11-24 17:45:25,667 - INFO - Deleting VM ctest-TestBasicPolicy-17226593-21494606 2025-11-24 17:45:25,747 - INFO - Deleting VM ctest-TestBasicPolicy-17226593-57837812 2025-11-24 17:45:26,137 - INFO - Deleted policy ctest-policy-allow-all-85574594 2025-11-24 17:45:26,137 - INFO - Deleting VN ctest-vn-58794082 2025-11-24 17:45:26,172 - DEBUG - VN 312c7101-edaf-42ec-b297-86c2e01a8dc9 still in use: Unable to complete operation on network 312c7101-edaf-42ec-b297-86c2e01a8dc9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-dc320ce1-99d6-4b38-8665-9a07aa20abc7'] 2025-11-24 17:45:26,172 - WARNING - Deleting VN ctest-vn-58794082 failed..Will retry 2025-11-24 17:45:28,273 - DEBUG - Response for deleting network () 2025-11-24 17:45:28,273 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/39427c9a-98a9-4e17-9755-4bc813d86079 2025-11-24 17:45:28,280 - DEBUG - Response Code: 404 2025-11-24 17:45:28,280 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-11-24 17:45:28,287 - DEBUG - Requesting: http://10.0.0.57:8082/domain/cd2b91d1-5e8a-4e33-80e4-f7beee2b3706 2025-11-24 17:45:28,343 - DEBUG - Requesting: http://10.0.0.57:8082/project/50e6c401-5428-4ba1-97b9-d0e1d41f4f51 2025-11-24 17:45:28,416 - INFO - Validated that VN ctest-vn-58794082 is not found in API Server 2025-11-24 17:45:28,425 - DEBUG - VN ctest-vn-58794082 is not present in Agent 10.0.0.57 2025-11-24 17:45:28,425 - INFO - Validated that VN ctest-vn-58794082 is not in any agent 2025-11-24 17:45:28,440 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-58794082 info 2025-11-24 17:45:28,440 - INFO - Deleting VN ctest-vn-07797786 2025-11-24 17:45:28,543 - DEBUG - Response for deleting network () 2025-11-24 17:45:28,543 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/1f238cca-6ee0-4d4c-968a-d4bfeff3fe6a 2025-11-24 17:45:28,549 - DEBUG - Response Code: 404 2025-11-24 17:45:28,549 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-11-24 17:45:28,558 - DEBUG - Requesting: http://10.0.0.57:8082/domain/cd2b91d1-5e8a-4e33-80e4-f7beee2b3706 2025-11-24 17:45:28,610 - DEBUG - Requesting: http://10.0.0.57:8082/project/50e6c401-5428-4ba1-97b9-d0e1d41f4f51 2025-11-24 17:45:28,678 - INFO - Validated that VN ctest-vn-07797786 is not found in API Server 2025-11-24 17:45:28,687 - DEBUG - VN ctest-vn-07797786 is not present in Agent 10.0.0.57 2025-11-24 17:45:28,687 - INFO - Validated that VN ctest-vn-07797786 is not in any agent 2025-11-24 17:45:28,701 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-07797786 info 2025-11-24 17:45:28,966 - DEBUG - No XMPP flaps were noticed during the test 2025-11-24 17:45:28,966 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2025-11-24 17:45:28,966 - INFO - -------------------------------------------------------------------------------- 2025-11-24 17:45:29,687 - INFO - Deleted project: ctest-TestBasicPolicy-17226593, ID : 50e6c401-5428-4ba1-97b9-d0e1d41f4f51