2025-11-18 14:47:40,259 - INFO - Domain Default found not creating 2025-11-18 14:47:40,470 - INFO - Project ctest-TestBasicPolicy-97721553 not found, creating it 2025-11-18 14:47:40,989 - INFO - Created Project:ctest-TestBasicPolicy-97721553, ID : 0b643e65-d721-4b9e-a706-2e3a4a0790d8 2025-11-18 14:47:42,656 - INFO - ================================================================================ 2025-11-18 14:47:42,656 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-18 14:47:42,656 - 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-18 14:47:42,923 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.5': '0'}} with 2025-11-18 14:47:42,923 - INFO - Initial checks done. Running the testcase now 2025-11-18 14:47:42,923 - INFO - 2025-11-18 14:47:43,614 - DEBUG - Response for create_network : {'network': {'id': '7e8f8573-1017-4dce-9e76-03f46e98e583', 'name': 'ctest-vn-42427579', 'tenant_id': '0b643e65d7214b9ea7062e3a4a0790d8', 'project_id': '0b643e65d7214b9ea7062e3a4a0790d8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97721553', 'ctest-vn-42427579'], 'port_security_enabled': True, 'description': ''}} 2025-11-18 14:47:43,905 - DEBUG - Response for create_subnet : {'subnet': {'id': '5326484c-c7ba-4471-9b53-84bfacc8241b', 'name': '', 'tenant_id': '0b643e65d7214b9ea7062e3a4a0790d8', 'network_id': '7e8f8573-1017-4dce-9e76-03f46e98e583', 'ip_version': 4, 'cidr': '55.244.139.0/26', 'allocation_pools': [{'start': '55.244.139.2', 'end': '55.244.139.62'}], 'gateway_ip': '55.244.139.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '55.244.139.2', 'tags': [], 'project_id': '0b643e65d7214b9ea7062e3a4a0790d8'}} 2025-11-18 14:47:43,967 - INFO - Created VN ctest-vn-42427579 2025-11-18 14:47:44,038 - DEBUG - VN ctest-vn-42427579 UUID is 7e8f8573-1017-4dce-9e76-03f46e98e583 2025-11-18 14:47:44,697 - DEBUG - Response for create_network : {'network': {'id': '15b51cb0-9159-4cc4-8279-d74ec5cd43e0', 'name': 'ctest-vn-25183915', 'tenant_id': '0b643e65d7214b9ea7062e3a4a0790d8', 'project_id': '0b643e65d7214b9ea7062e3a4a0790d8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97721553', 'ctest-vn-25183915'], 'port_security_enabled': True, 'description': ''}} 2025-11-18 14:47:44,959 - DEBUG - Response for create_subnet : {'subnet': {'id': '7a3a3d6c-83a8-4778-9ff8-db161de747b3', 'name': '', 'tenant_id': '0b643e65d7214b9ea7062e3a4a0790d8', 'network_id': '15b51cb0-9159-4cc4-8279-d74ec5cd43e0', 'ip_version': 4, 'cidr': '41.202.76.0/26', 'allocation_pools': [{'start': '41.202.76.2', 'end': '41.202.76.62'}], 'gateway_ip': '41.202.76.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '41.202.76.2', 'tags': [], 'project_id': '0b643e65d7214b9ea7062e3a4a0790d8'}} 2025-11-18 14:47:45,002 - INFO - Created VN ctest-vn-25183915 2025-11-18 14:47:45,062 - DEBUG - VN ctest-vn-25183915 UUID is 15b51cb0-9159-4cc4-8279-d74ec5cd43e0 2025-11-18 14:47:45,205 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-97721553:ctest-vn-42427579, 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-97721553:ctest-vn-25183915, 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-18 14:47:45,564 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7e8f8573-1017-4dce-9e76-03f46e98e583', 'name': 'ctest-vn-42427579', 'tenant_id': '0b643e65d7214b9ea7062e3a4a0790d8', 'project_id': '0b643e65d7214b9ea7062e3a4a0790d8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5326484c-c7ba-4471-9b53-84bfacc8241b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97721553', 'ctest-vn-42427579'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-97721553', 'ctest-policy-allow-all-87083860']], 'subnet_ipam': [{'subnet_cidr': '55.244.139.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-18 14:47:45,844 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '15b51cb0-9159-4cc4-8279-d74ec5cd43e0', 'name': 'ctest-vn-25183915', 'tenant_id': '0b643e65d7214b9ea7062e3a4a0790d8', 'project_id': '0b643e65d7214b9ea7062e3a4a0790d8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7a3a3d6c-83a8-4778-9ff8-db161de747b3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97721553', 'ctest-vn-25183915'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-97721553', 'ctest-policy-allow-all-87083860']], 'subnet_ipam': [{'subnet_cidr': '41.202.76.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-18 14:47:46,026 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-18 14:47:46,365 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-18 14:47:46,402 - DEBUG - Requesting: http://10.0.0.33:8082/domain/b498e8f4-7605-4ec1-81af-703b4297c23e 2025-11-18 14:47:46,416 - DEBUG - Requesting: http://10.0.0.33:8082/project/0b643e65-d721-4b9e-a706-2e3a4a0790d8 2025-11-18 14:47:46,495 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/7e8f8573-1017-4dce-9e76-03f46e98e583 2025-11-18 14:47:46,507 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/7e8f8573-1017-4dce-9e76-03f46e98e583 2025-11-18 14:47:46,522 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9069c715-469d-4f0e-a643-de6678eddf69 2025-11-18 14:47:46,532 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9069c715-469d-4f0e-a643-de6678eddf69 2025-11-18 14:47:46,540 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/1c0addbb-7259-4fb0-bd87-b6bfdec06265 2025-11-18 14:47:46,549 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-18 14:47:46,549 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/7e8f8573-1017-4dce-9e76-03f46e98e583 2025-11-18 14:47:46,563 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9069c715-469d-4f0e-a643-de6678eddf69 2025-11-18 14:47:46,582 - INFO - Verified VN network id 12 for VN 7e8f8573-1017-4dce-9e76-03f46e98e583 2025-11-18 14:47:46,582 - INFO - Verifications in API Server for VN ctest-vn-42427579 passed 2025-11-18 14:47:46,582 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/7e8f8573-1017-4dce-9e76-03f46e98e583 2025-11-18 14:47:46,597 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9069c715-469d-4f0e-a643-de6678eddf69 2025-11-18 14:47:46,605 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9069c715-469d-4f0e-a643-de6678eddf69 2025-11-18 14:47:46,614 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/1c0addbb-7259-4fb0-bd87-b6bfdec06265 2025-11-18 14:47:46,630 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-97721553:ctest-vn-42427579', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-97721553', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9119654499686239694', 'uuid-lslong': '11418318253606888835'}, 'enable': 'true', 'created': '2025-11-18T14:47:43', 'last-modified': '2025-11-18T14:47:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.103030'} 2025-11-18 14:47:46,637 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-18 14:47:46,638 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-42427579 passed 2025-11-18 14:47:46,638 - DEBUG - ====Verifying policy data for ctest-vn-42427579 in API_Server ====== 2025-11-18 14:47:46,638 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-18 14:47:46,646 - DEBUG - Requesting: http://10.0.0.33:8082/domain/b498e8f4-7605-4ec1-81af-703b4297c23e 2025-11-18 14:47:46,660 - DEBUG - Requesting: http://10.0.0.33:8082/project/0b643e65-d721-4b9e-a706-2e3a4a0790d8 2025-11-18 14:47:46,738 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/7e8f8573-1017-4dce-9e76-03f46e98e583 2025-11-18 14:47:46,748 - DEBUG - ==>Verifying data for policy with id: 8c89b8fc-3fdd-478b-b1d0-a3821ce8a256, fqn: ['default-domain', 'ctest-TestBasicPolicy-97721553', 'ctest-policy-allow-all-87083860'] 2025-11-18 14:47:46,748 - INFO - VN ctest-vn-42427579 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-18 14:47:46,748 - DEBUG - Verifying the vn in opserver 2025-11-18 14:47:46,749 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-97721553:ctest-vn-42427579 virtual network link through opserver 10.0.0.33 2025-11-18 14:47:46,749 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-11-18 14:47:47,048 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-11-18 14:47:47,129 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-97721553:ctest-vn-42427579', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-97721553:ctest-vn-42427579?flat'} 2025-11-18 14:47:47,129 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-97721553:ctest-vn-42427579 is found in opserver 2025-11-18 14:47:47,141 - DEBUG - Do not have enough data to verify VN in agent 2025-11-18 14:47:47,146 - DEBUG - VRF ids for VN ctest-vn-42427579: {} 2025-11-18 14:47:47,146 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-18 14:47:47,153 - DEBUG - Requesting: http://10.0.0.33:8082/domain/b498e8f4-7605-4ec1-81af-703b4297c23e 2025-11-18 14:47:47,166 - DEBUG - Requesting: http://10.0.0.33:8082/project/0b643e65-d721-4b9e-a706-2e3a4a0790d8 2025-11-18 14:47:47,264 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/15b51cb0-9159-4cc4-8279-d74ec5cd43e0 2025-11-18 14:47:47,280 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/15b51cb0-9159-4cc4-8279-d74ec5cd43e0 2025-11-18 14:47:47,291 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f7ffafc4-8c54-4bf4-a34d-9f1ded2f43e1 2025-11-18 14:47:47,302 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f7ffafc4-8c54-4bf4-a34d-9f1ded2f43e1 2025-11-18 14:47:47,315 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/0b7a54ca-0eae-4c75-ad24-66e3974249df 2025-11-18 14:47:47,327 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-18 14:47:47,328 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/15b51cb0-9159-4cc4-8279-d74ec5cd43e0 2025-11-18 14:47:47,340 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f7ffafc4-8c54-4bf4-a34d-9f1ded2f43e1 2025-11-18 14:47:47,361 - INFO - Verified VN network id 13 for VN 15b51cb0-9159-4cc4-8279-d74ec5cd43e0 2025-11-18 14:47:47,362 - INFO - Verifications in API Server for VN ctest-vn-25183915 passed 2025-11-18 14:47:47,362 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/15b51cb0-9159-4cc4-8279-d74ec5cd43e0 2025-11-18 14:47:47,373 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f7ffafc4-8c54-4bf4-a34d-9f1ded2f43e1 2025-11-18 14:47:47,383 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f7ffafc4-8c54-4bf4-a34d-9f1ded2f43e1 2025-11-18 14:47:47,392 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/0b7a54ca-0eae-4c75-ad24-66e3974249df 2025-11-18 14:47:47,405 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-97721553:ctest-vn-25183915', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-97721553', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1564187990259485892', 'uuid-lslong': '9401782430438605792'}, 'enable': 'true', 'created': '2025-11-18T14:47:44', 'last-modified': '2025-11-18T14:47:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.597768'} 2025-11-18 14:47:47,414 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-18 14:47:47,414 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-25183915 passed 2025-11-18 14:47:47,414 - DEBUG - ====Verifying policy data for ctest-vn-25183915 in API_Server ====== 2025-11-18 14:47:47,414 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-18 14:47:47,422 - DEBUG - Requesting: http://10.0.0.33:8082/domain/b498e8f4-7605-4ec1-81af-703b4297c23e 2025-11-18 14:47:47,434 - DEBUG - Requesting: http://10.0.0.33:8082/project/0b643e65-d721-4b9e-a706-2e3a4a0790d8 2025-11-18 14:47:47,509 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/15b51cb0-9159-4cc4-8279-d74ec5cd43e0 2025-11-18 14:47:47,520 - DEBUG - ==>Verifying data for policy with id: 8c89b8fc-3fdd-478b-b1d0-a3821ce8a256, fqn: ['default-domain', 'ctest-TestBasicPolicy-97721553', 'ctest-policy-allow-all-87083860'] 2025-11-18 14:47:47,521 - INFO - VN ctest-vn-25183915 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-18 14:47:47,521 - DEBUG - Verifying the vn in opserver 2025-11-18 14:47:47,521 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-97721553:ctest-vn-25183915 virtual network link through opserver 10.0.0.33 2025-11-18 14:47:47,521 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-11-18 14:47:47,533 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-97721553:ctest-vn-25183915', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-97721553:ctest-vn-25183915?flat'} 2025-11-18 14:47:47,533 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-97721553:ctest-vn-25183915 is found in opserver 2025-11-18 14:47:47,551 - DEBUG - Do not have enough data to verify VN in agent 2025-11-18 14:47:47,557 - DEBUG - VRF ids for VN ctest-vn-25183915: {} 2025-11-18 14:47:47,636 - DEBUG - Services list from nova: [, , ] 2025-11-18 14:47:48,913 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4756-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4756-1) 2025-11-18 14:47:50,137 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4756-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4756-1) 2025-11-18 14:47:50,137 - INFO - Waiting for VM ctest-TestBasicPolicy-97721553-24916752 to be up.. 2025-11-18 14:47:50,232 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-18 14:47:55,363 - DEBUG - VM is in ACTIVE state now 2025-11-18 14:47:55,363 - INFO - VM name : ctest-TestBasicPolicy-97721553-24916752 2025-11-18 14:47:55,462 - DEBUG - VM ctest-TestBasicPolicy-97721553-24916752 ID is 9734b945-12d4-4410-a585-0110e1475d3d 2025-11-18 14:47:55,493 - DEBUG - VM ctest-TestBasicPolicy-97721553-24916752 launched on Node cn-jenkins-deploy-platform-ansible-os-4756-1 2025-11-18 14:47:55,596 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/9734b945-12d4-4410-a585-0110e1475d3d 2025-11-18 14:47:55,608 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/aa0accbb-8326-4732-9581-36fc23f59e37 2025-11-18 14:47:58,874 - 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 1009ms') 2025-11-18 14:47:58,875 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-97721553-24916752 failed! 2025-11-18 14:47:58,934 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-97721553:ctest-vn-42427579 is 55.244.139.1 and allocation pool is NOT set 2025-11-18 14:48:01,008 - 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=7.47 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.24 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 = 3.235/5.353/7.471/2.118 ms') 2025-11-18 14:48:01,008 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-97721553-24916752 passed 2025-11-18 14:48:01,170 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-18 14:48:01,170 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-97721553-24916752, IP 55.244.139.3, Port 22 2025-11-18 14:48:01,236 - 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-18 14:48:01,331 - DEBUG - VM ctest-TestBasicPolicy-97721553-24916752 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-18 14:48:06,331 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-18 14:48:06,332 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-97721553-24916752, IP 55.244.139.3, Port 22 2025-11-18 14:48:06,500 - DEBUG - VM ctest-TestBasicPolicy-97721553-24916752 is ready for SSH connections 2025-11-18 14:48:06,501 - INFO - Waiting for VM ctest-TestBasicPolicy-97721553-93876264 to be up.. 2025-11-18 14:48:06,592 - DEBUG - VM is in ACTIVE state now 2025-11-18 14:48:06,592 - INFO - VM name : ctest-TestBasicPolicy-97721553-93876264 2025-11-18 14:48:06,696 - DEBUG - VM ctest-TestBasicPolicy-97721553-93876264 ID is 7cc7b6b0-ebf4-40e8-8580-ed6dbcae02e8 2025-11-18 14:48:06,696 - DEBUG - VM ctest-TestBasicPolicy-97721553-93876264 launched on Node cn-jenkins-deploy-platform-ansible-os-4756-1 2025-11-18 14:48:06,937 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/7cc7b6b0-ebf4-40e8-8580-ed6dbcae02e8 2025-11-18 14:48:06,947 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/ef049a5e-7b7a-49ca-9856-7ffe5bd87e23 2025-11-18 14:48:08,213 - 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.48 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.662 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.662/2.070/3.478/1.408 ms') 2025-11-18 14:48:08,213 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-97721553-93876264 passed 2025-11-18 14:48:08,379 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-18 14:48:08,379 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-97721553-93876264, IP 41.202.76.3, Port 22 2025-11-18 14:48:08,548 - DEBUG - VM ctest-TestBasicPolicy-97721553-93876264 is ready for SSH connections 2025-11-18 14:48:08,548 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-18 14:48:08,548 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 41.202.76.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-18 14:48:08,548 - DEBUG - ping -s 56 -c 3 -W 1 41.202.76.3 2025-11-18 14:48:12,804 - DEBUG - PING 41.202.76.3 (41.202.76.3): 56 data bytes 64 bytes from 41.202.76.3: seq=0 ttl=63 time=3.986 ms 64 bytes from 41.202.76.3: seq=1 ttl=63 time=1.064 ms 64 bytes from 41.202.76.3: seq=2 ttl=63 time=1.412 ms --- 41.202.76.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.064/2.154/3.986 ms 2025-11-18 14:48:12,804 - INFO - Ping to IP 41.202.76.3 from VM ctest-TestBasicPolicy-97721553-24916752 passed 2025-11-18 14:48:12,998 - DEBUG - Policy Update Response {"network-policy": {"uuid": "8c89b8fc-3fdd-478b-b1d0-a3821ce8a256", "href": "http://10.0.0.33:8082/network-policy/8c89b8fc-3fdd-478b-b1d0-a3821ce8a256"}} 2025-11-18 14:48:12,998 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-18 14:48:12,998 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 41.202.76.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-18 14:48:12,998 - DEBUG - ping -s 56 -c 3 -W 1 41.202.76.3 2025-11-18 14:48:16,244 - DEBUG - PING 41.202.76.3 (41.202.76.3): 56 data bytes --- 41.202.76.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-18 14:48:16,244 - WARNING - Ping to IP 41.202.76.3 from VM ctest-TestBasicPolicy-97721553-24916752 failed 2025-11-18 14:48:16,244 - INFO - Deleting VM ctest-TestBasicPolicy-97721553-93876264 2025-11-18 14:48:16,344 - INFO - Deleting VM ctest-TestBasicPolicy-97721553-24916752 2025-11-18 14:48:16,864 - INFO - Deleted policy ctest-policy-allow-all-87083860 2025-11-18 14:48:16,865 - INFO - Deleting VN ctest-vn-25183915 2025-11-18 14:48:16,920 - DEBUG - VN 15b51cb0-9159-4cc4-8279-d74ec5cd43e0 still in use: Unable to complete operation on network 15b51cb0-9159-4cc4-8279-d74ec5cd43e0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3bc4176a-4482-4eca-9ec9-8b89451941b2'] 2025-11-18 14:48:16,920 - WARNING - Deleting VN ctest-vn-25183915 failed..Will retry 2025-11-18 14:48:19,077 - DEBUG - Response for deleting network () 2025-11-18 14:48:19,077 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f7ffafc4-8c54-4bf4-a34d-9f1ded2f43e1 2025-11-18 14:48:19,090 - DEBUG - Response Code: 404 2025-11-18 14:48:19,090 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-18 14:48:19,099 - DEBUG - Requesting: http://10.0.0.33:8082/domain/b498e8f4-7605-4ec1-81af-703b4297c23e 2025-11-18 14:48:19,160 - DEBUG - Requesting: http://10.0.0.33:8082/project/0b643e65-d721-4b9e-a706-2e3a4a0790d8 2025-11-18 14:48:19,250 - INFO - Validated that VN ctest-vn-25183915 is not found in API Server 2025-11-18 14:48:19,262 - DEBUG - VN ctest-vn-25183915 is not present in Agent 10.0.0.33 2025-11-18 14:48:19,262 - INFO - Validated that VN ctest-vn-25183915 is not in any agent 2025-11-18 14:48:19,279 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-25183915 info 2025-11-18 14:48:19,280 - INFO - Deleting VN ctest-vn-42427579 2025-11-18 14:48:19,423 - DEBUG - Response for deleting network () 2025-11-18 14:48:19,423 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9069c715-469d-4f0e-a643-de6678eddf69 2025-11-18 14:48:19,435 - DEBUG - Response Code: 404 2025-11-18 14:48:19,435 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-18 14:48:19,443 - DEBUG - Requesting: http://10.0.0.33:8082/domain/b498e8f4-7605-4ec1-81af-703b4297c23e 2025-11-18 14:48:19,504 - DEBUG - Requesting: http://10.0.0.33:8082/project/0b643e65-d721-4b9e-a706-2e3a4a0790d8 2025-11-18 14:48:19,585 - INFO - Validated that VN ctest-vn-42427579 is not found in API Server 2025-11-18 14:48:19,598 - DEBUG - VN ctest-vn-42427579 is not present in Agent 10.0.0.33 2025-11-18 14:48:19,598 - INFO - Validated that VN ctest-vn-42427579 is not in any agent 2025-11-18 14:48:19,622 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-42427579 info 2025-11-18 14:48:19,900 - DEBUG - No XMPP flaps were noticed during the test
2025-11-18 14:48:19,900 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:37]
2025-11-18 14:48:19,900 - INFO - -------------------------------------------------------------------------------- 2025-11-18 14:48:20,620 - INFO - Deleted project: ctest-TestBasicPolicy-97721553, ID : 0b643e65-d721-4b9e-a706-2e3a4a0790d8