2025-11-24 02:12:24,898 - INFO - Domain Default found not creating 2025-11-24 02:12:25,059 - INFO - Project ctest-TestBasicPolicy-85811803 not found, creating it 2025-11-24 02:12:25,519 - INFO - Created Project:ctest-TestBasicPolicy-85811803, ID : 5e087938-201a-42ab-8a12-58a1e19fec80 2025-11-24 02:12:27,003 - INFO - ================================================================================ 2025-11-24 02:12:27,004 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-24 02:12:27,004 - 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 02:12:27,259 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.201': '0'}} with 2025-11-24 02:12:27,259 - INFO - Initial checks done. Running the testcase now 2025-11-24 02:12:27,259 - INFO - 2025-11-24 02:12:27,825 - DEBUG - Response for create_network : {'network': {'id': '9b141284-415a-402d-9a63-2cc68949ac91', 'name': 'ctest-vn-08974979', 'tenant_id': '5e087938201a42ab8a1258a1e19fec80', 'project_id': '5e087938201a42ab8a1258a1e19fec80', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-85811803', 'ctest-vn-08974979'], 'port_security_enabled': True, 'description': ''}} 2025-11-24 02:12:27,960 - DEBUG - Response for create_subnet : {'subnet': {'id': '81c3e7f3-3401-42ae-8ab3-3ea2c62bebe7', 'name': '', 'tenant_id': '5e087938201a42ab8a1258a1e19fec80', 'network_id': '9b141284-415a-402d-9a63-2cc68949ac91', 'ip_version': 4, 'cidr': '201.196.56.64/26', 'allocation_pools': [{'start': '201.196.56.66', 'end': '201.196.56.126'}], 'gateway_ip': '201.196.56.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '201.196.56.66', 'tags': [], 'project_id': '5e087938201a42ab8a1258a1e19fec80'}} 2025-11-24 02:12:27,976 - INFO - Created VN ctest-vn-08974979 2025-11-24 02:12:28,026 - DEBUG - VN ctest-vn-08974979 UUID is 9b141284-415a-402d-9a63-2cc68949ac91 2025-11-24 02:12:28,337 - DEBUG - Response for create_network : {'network': {'id': 'a8aef88c-bf6a-4b56-a5fd-aa85f0633832', 'name': 'ctest-vn-53667915', 'tenant_id': '5e087938201a42ab8a1258a1e19fec80', 'project_id': '5e087938201a42ab8a1258a1e19fec80', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-85811803', 'ctest-vn-53667915'], 'port_security_enabled': True, 'description': ''}} 2025-11-24 02:12:28,550 - DEBUG - Response for create_subnet : {'subnet': {'id': '1d88bc94-98b6-4ffd-bf8d-b9bdbde5de24', 'name': '', 'tenant_id': '5e087938201a42ab8a1258a1e19fec80', 'network_id': 'a8aef88c-bf6a-4b56-a5fd-aa85f0633832', 'ip_version': 4, 'cidr': '75.137.142.128/26', 'allocation_pools': [{'start': '75.137.142.130', 'end': '75.137.142.190'}], 'gateway_ip': '75.137.142.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '75.137.142.130', 'tags': [], 'project_id': '5e087938201a42ab8a1258a1e19fec80'}} 2025-11-24 02:12:28,567 - INFO - Created VN ctest-vn-53667915 2025-11-24 02:12:28,622 - DEBUG - VN ctest-vn-53667915 UUID is a8aef88c-bf6a-4b56-a5fd-aa85f0633832 2025-11-24 02:12:28,766 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-85811803:ctest-vn-08974979, 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-85811803:ctest-vn-53667915, 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 02:12:29,048 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9b141284-415a-402d-9a63-2cc68949ac91', 'name': 'ctest-vn-08974979', 'tenant_id': '5e087938201a42ab8a1258a1e19fec80', 'project_id': '5e087938201a42ab8a1258a1e19fec80', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['81c3e7f3-3401-42ae-8ab3-3ea2c62bebe7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-85811803', 'ctest-vn-08974979'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-85811803', 'ctest-policy-allow-all-92631379']], 'subnet_ipam': [{'subnet_cidr': '201.196.56.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-24 02:12:29,282 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a8aef88c-bf6a-4b56-a5fd-aa85f0633832', 'name': 'ctest-vn-53667915', 'tenant_id': '5e087938201a42ab8a1258a1e19fec80', 'project_id': '5e087938201a42ab8a1258a1e19fec80', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1d88bc94-98b6-4ffd-bf8d-b9bdbde5de24'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-85811803', 'ctest-vn-53667915'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-85811803', 'ctest-policy-allow-all-92631379']], 'subnet_ipam': [{'subnet_cidr': '75.137.142.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-24 02:12:29,458 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-24 02:12:29,753 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-24 02:12:29,781 - DEBUG - Requesting: http://10.0.0.33:8082/domain/69131fcb-056a-4af4-990e-8dab6bac755f 2025-11-24 02:12:29,793 - DEBUG - Requesting: http://10.0.0.33:8082/project/5e087938-201a-42ab-8a12-58a1e19fec80 2025-11-24 02:12:29,864 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/9b141284-415a-402d-9a63-2cc68949ac91 2025-11-24 02:12:29,878 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/9b141284-415a-402d-9a63-2cc68949ac91 2025-11-24 02:12:29,887 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/8635f0ff-be67-4c05-9ea0-589ef8162509 2025-11-24 02:12:29,893 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/8635f0ff-be67-4c05-9ea0-589ef8162509 2025-11-24 02:12:29,900 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/bc5a4548-6a4e-42bc-83d6-426491105b51 2025-11-24 02:12:29,906 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-24 02:12:29,906 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/9b141284-415a-402d-9a63-2cc68949ac91 2025-11-24 02:12:29,913 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/8635f0ff-be67-4c05-9ea0-589ef8162509 2025-11-24 02:12:29,924 - INFO - Verified VN network id 12 for VN 9b141284-415a-402d-9a63-2cc68949ac91 2025-11-24 02:12:29,924 - INFO - Verifications in API Server for VN ctest-vn-08974979 passed 2025-11-24 02:12:29,924 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/9b141284-415a-402d-9a63-2cc68949ac91 2025-11-24 02:12:29,932 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/8635f0ff-be67-4c05-9ea0-589ef8162509 2025-11-24 02:12:29,938 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/8635f0ff-be67-4c05-9ea0-589ef8162509 2025-11-24 02:12:29,944 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/bc5a4548-6a4e-42bc-83d6-426491105b51 2025-11-24 02:12:29,955 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-85811803:ctest-vn-08974979', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-85811803', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11174576934654459949', 'uuid-lslong': '11124784735753710737'}, 'enable': 'true', 'created': '2025-11-24T02:12:27', 'last-modified': '2025-11-24T02:12:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.925746'} 2025-11-24 02:12:29,960 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-24 02:12:29,962 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-08974979 passed 2025-11-24 02:12:29,962 - DEBUG - ====Verifying policy data for ctest-vn-08974979 in API_Server ====== 2025-11-24 02:12:29,963 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-24 02:12:29,968 - DEBUG - Requesting: http://10.0.0.33:8082/domain/69131fcb-056a-4af4-990e-8dab6bac755f 2025-11-24 02:12:29,978 - DEBUG - Requesting: http://10.0.0.33:8082/project/5e087938-201a-42ab-8a12-58a1e19fec80 2025-11-24 02:12:30,047 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/9b141284-415a-402d-9a63-2cc68949ac91 2025-11-24 02:12:30,056 - DEBUG - ==>Verifying data for policy with id: b82efdc2-a698-47ef-98de-1b1267610a93, fqn: ['default-domain', 'ctest-TestBasicPolicy-85811803', 'ctest-policy-allow-all-92631379'] 2025-11-24 02:12:30,056 - INFO - VN ctest-vn-08974979 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-24 02:12:30,056 - DEBUG - Verifying the vn in opserver 2025-11-24 02:12:30,056 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-85811803:ctest-vn-08974979 virtual network link through opserver 10.0.0.33 2025-11-24 02:12:30,056 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-11-24 02:12:30,352 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-11-24 02:12:30,408 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-85811803:ctest-vn-08974979', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-85811803:ctest-vn-08974979?flat'} 2025-11-24 02:12:30,408 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-85811803:ctest-vn-08974979 is found in opserver 2025-11-24 02:12:30,419 - DEBUG - Do not have enough data to verify VN in agent 2025-11-24 02:12:30,423 - DEBUG - VRF ids for VN ctest-vn-08974979: {} 2025-11-24 02:12:30,423 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-24 02:12:30,427 - DEBUG - Requesting: http://10.0.0.33:8082/domain/69131fcb-056a-4af4-990e-8dab6bac755f 2025-11-24 02:12:30,437 - DEBUG - Requesting: http://10.0.0.33:8082/project/5e087938-201a-42ab-8a12-58a1e19fec80 2025-11-24 02:12:30,511 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/a8aef88c-bf6a-4b56-a5fd-aa85f0633832 2025-11-24 02:12:30,523 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/a8aef88c-bf6a-4b56-a5fd-aa85f0633832 2025-11-24 02:12:30,531 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/7d931ecc-ca82-4f4f-bc09-2c1de2c77cc6 2025-11-24 02:12:30,537 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/7d931ecc-ca82-4f4f-bc09-2c1de2c77cc6 2025-11-24 02:12:30,543 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/0cb8c316-01c4-4b46-9566-78048e2e0381 2025-11-24 02:12:30,548 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-24 02:12:30,548 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/a8aef88c-bf6a-4b56-a5fd-aa85f0633832 2025-11-24 02:12:30,556 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/7d931ecc-ca82-4f4f-bc09-2c1de2c77cc6 2025-11-24 02:12:30,567 - INFO - Verified VN network id 13 for VN a8aef88c-bf6a-4b56-a5fd-aa85f0633832 2025-11-24 02:12:30,568 - INFO - Verifications in API Server for VN ctest-vn-53667915 passed 2025-11-24 02:12:30,568 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/a8aef88c-bf6a-4b56-a5fd-aa85f0633832 2025-11-24 02:12:30,575 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/7d931ecc-ca82-4f4f-bc09-2c1de2c77cc6 2025-11-24 02:12:30,580 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/7d931ecc-ca82-4f4f-bc09-2c1de2c77cc6 2025-11-24 02:12:30,586 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/0cb8c316-01c4-4b46-9566-78048e2e0381 2025-11-24 02:12:30,596 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-85811803:ctest-vn-53667915', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-85811803', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12154925727710071638', 'uuid-lslong': '11960903677606311986'}, 'enable': 'true', 'created': '2025-11-24T02:12:28', 'last-modified': '2025-11-24T02:12:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.331586'} 2025-11-24 02:12:30,601 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-24 02:12:30,601 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-53667915 passed 2025-11-24 02:12:30,601 - DEBUG - ====Verifying policy data for ctest-vn-53667915 in API_Server ====== 2025-11-24 02:12:30,601 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-24 02:12:30,606 - DEBUG - Requesting: http://10.0.0.33:8082/domain/69131fcb-056a-4af4-990e-8dab6bac755f 2025-11-24 02:12:30,615 - DEBUG - Requesting: http://10.0.0.33:8082/project/5e087938-201a-42ab-8a12-58a1e19fec80 2025-11-24 02:12:30,684 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/a8aef88c-bf6a-4b56-a5fd-aa85f0633832 2025-11-24 02:12:30,692 - DEBUG - ==>Verifying data for policy with id: b82efdc2-a698-47ef-98de-1b1267610a93, fqn: ['default-domain', 'ctest-TestBasicPolicy-85811803', 'ctest-policy-allow-all-92631379'] 2025-11-24 02:12:30,692 - INFO - VN ctest-vn-53667915 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-24 02:12:30,692 - DEBUG - Verifying the vn in opserver 2025-11-24 02:12:30,692 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-85811803:ctest-vn-53667915 virtual network link through opserver 10.0.0.33 2025-11-24 02:12:30,692 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-11-24 02:12:30,700 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-85811803:ctest-vn-53667915', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-85811803:ctest-vn-53667915?flat'} 2025-11-24 02:12:30,700 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-85811803:ctest-vn-53667915 is found in opserver 2025-11-24 02:12:30,709 - DEBUG - Do not have enough data to verify VN in agent 2025-11-24 02:12:30,713 - DEBUG - VRF ids for VN ctest-vn-53667915: {} 2025-11-24 02:12:30,768 - DEBUG - Services list from nova: [, , ] 2025-11-24 02:12:31,774 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4804-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4804-1) 2025-11-24 02:12:32,871 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4804-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4804-1) 2025-11-24 02:12:32,872 - INFO - Waiting for VM ctest-TestBasicPolicy-85811803-44235804 to be up.. 2025-11-24 02:12:32,941 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-24 02:12:38,023 - DEBUG - VM is in ACTIVE state now 2025-11-24 02:12:38,023 - INFO - VM name : ctest-TestBasicPolicy-85811803-44235804 2025-11-24 02:12:38,103 - DEBUG - VM ctest-TestBasicPolicy-85811803-44235804 ID is 5dc8d660-8cf0-4162-8b3c-3a95b1cf5693 2025-11-24 02:12:38,125 - DEBUG - VM ctest-TestBasicPolicy-85811803-44235804 launched on Node cn-jenkins-deploy-platform-ansible-os-4804-1 2025-11-24 02:12:38,202 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/5dc8d660-8cf0-4162-8b3c-3a95b1cf5693 2025-11-24 02:12:38,211 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/1e722b33-3297-4154-8935-d2e373aef7f0 2025-11-24 02:12:41,420 - 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 1019ms') 2025-11-24 02:12:41,421 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-85811803-44235804 failed! 2025-11-24 02:12:41,474 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-85811803:ctest-vn-08974979 is 201.196.56.65 and allocation pool is NOT set 2025-11-24 02:12:43,532 - 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.10 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.64 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.643/3.372/5.101/1.729 ms') 2025-11-24 02:12:43,532 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-85811803-44235804 passed 2025-11-24 02:12:43,678 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 02:12:43,679 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-85811803-44235804, IP 201.196.56.67, Port 22 2025-11-24 02:12:43,841 - DEBUG - VM ctest-TestBasicPolicy-85811803-44235804 is ready for SSH connections 2025-11-24 02:12:43,841 - INFO - Waiting for VM ctest-TestBasicPolicy-85811803-56012450 to be up.. 2025-11-24 02:12:43,911 - DEBUG - VM is in ACTIVE state now 2025-11-24 02:12:43,911 - INFO - VM name : ctest-TestBasicPolicy-85811803-56012450 2025-11-24 02:12:43,978 - DEBUG - VM ctest-TestBasicPolicy-85811803-56012450 ID is 75fe1edd-7a99-4fc7-9866-5807df41547a 2025-11-24 02:12:43,978 - DEBUG - VM ctest-TestBasicPolicy-85811803-56012450 launched on Node cn-jenkins-deploy-platform-ansible-os-4804-1 2025-11-24 02:12:44,048 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/75fe1edd-7a99-4fc7-9866-5807df41547a 2025-11-24 02:12:44,056 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/ec9bbc00-cd80-4774-a161-55ef68a12b10 2025-11-24 02:12:45,291 - 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.73 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.13 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 = 1.130/2.428/3.726/1.298 ms') 2025-11-24 02:12:45,291 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-85811803-56012450 passed 2025-11-24 02:12:45,446 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 02:12:45,447 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-85811803-56012450, IP 75.137.142.131, Port 22 2025-11-24 02:12:45,602 - DEBUG - VM ctest-TestBasicPolicy-85811803-56012450 is ready for SSH connections 2025-11-24 02:12:45,602 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 02:12:45,602 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 75.137.142.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-24 02:12:45,603 - DEBUG - ping -s 56 -c 3 -W 1 75.137.142.131 2025-11-24 02:12:49,615 - DEBUG - PING 75.137.142.131 (75.137.142.131): 56 data bytes 64 bytes from 75.137.142.131: seq=0 ttl=63 time=4.267 ms 64 bytes from 75.137.142.131: seq=1 ttl=63 time=0.928 ms 64 bytes from 75.137.142.131: seq=2 ttl=63 time=1.071 ms --- 75.137.142.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.928/2.088/4.267 ms 2025-11-24 02:12:49,615 - INFO - Ping to IP 75.137.142.131 from VM ctest-TestBasicPolicy-85811803-44235804 passed 2025-11-24 02:12:49,790 - DEBUG - Policy Update Response {"network-policy": {"uuid": "b82efdc2-a698-47ef-98de-1b1267610a93", "href": "http://10.0.0.33:8082/network-policy/b82efdc2-a698-47ef-98de-1b1267610a93"}} 2025-11-24 02:12:49,790 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 02:12:49,790 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 75.137.142.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-24 02:12:49,791 - DEBUG - ping -s 56 -c 3 -W 1 75.137.142.131 2025-11-24 02:12:52,999 - DEBUG - PING 75.137.142.131 (75.137.142.131): 56 data bytes --- 75.137.142.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-24 02:12:52,999 - WARNING - Ping to IP 75.137.142.131 from VM ctest-TestBasicPolicy-85811803-44235804 failed 2025-11-24 02:12:52,999 - INFO - Deleting VM ctest-TestBasicPolicy-85811803-56012450 2025-11-24 02:12:53,079 - INFO - Deleting VM ctest-TestBasicPolicy-85811803-44235804 2025-11-24 02:12:53,440 - INFO - Deleted policy ctest-policy-allow-all-92631379 2025-11-24 02:12:53,440 - INFO - Deleting VN ctest-vn-53667915 2025-11-24 02:12:53,471 - DEBUG - VN a8aef88c-bf6a-4b56-a5fd-aa85f0633832 still in use: Unable to complete operation on network a8aef88c-bf6a-4b56-a5fd-aa85f0633832. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7368868d-d10c-43a7-be66-8072fd2b96eb'] 2025-11-24 02:12:53,471 - WARNING - Deleting VN ctest-vn-53667915 failed..Will retry 2025-11-24 02:12:55,592 - DEBUG - Response for deleting network () 2025-11-24 02:12:55,592 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/7d931ecc-ca82-4f4f-bc09-2c1de2c77cc6 2025-11-24 02:12:55,597 - DEBUG - Response Code: 404 2025-11-24 02:12:55,597 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-24 02:12:55,602 - DEBUG - Requesting: http://10.0.0.33:8082/domain/69131fcb-056a-4af4-990e-8dab6bac755f 2025-11-24 02:12:55,659 - DEBUG - Requesting: http://10.0.0.33:8082/project/5e087938-201a-42ab-8a12-58a1e19fec80 2025-11-24 02:12:55,725 - INFO - Validated that VN ctest-vn-53667915 is not found in API Server 2025-11-24 02:12:55,734 - DEBUG - VN ctest-vn-53667915 is not present in Agent 10.0.0.33 2025-11-24 02:12:55,734 - INFO - Validated that VN ctest-vn-53667915 is not in any agent 2025-11-24 02:12:55,750 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-53667915 info 2025-11-24 02:12:55,750 - INFO - Deleting VN ctest-vn-08974979 2025-11-24 02:12:55,855 - DEBUG - Response for deleting network () 2025-11-24 02:12:55,856 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/8635f0ff-be67-4c05-9ea0-589ef8162509 2025-11-24 02:12:55,862 - DEBUG - Response Code: 404 2025-11-24 02:12:55,862 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-24 02:12:55,867 - DEBUG - Requesting: http://10.0.0.33:8082/domain/69131fcb-056a-4af4-990e-8dab6bac755f 2025-11-24 02:12:55,919 - DEBUG - Requesting: http://10.0.0.33:8082/project/5e087938-201a-42ab-8a12-58a1e19fec80 2025-11-24 02:12:55,987 - INFO - Validated that VN ctest-vn-08974979 is not found in API Server 2025-11-24 02:12:55,998 - DEBUG - VN ctest-vn-08974979 is not present in Agent 10.0.0.33 2025-11-24 02:12:55,998 - INFO - Validated that VN ctest-vn-08974979 is not in any agent 2025-11-24 02:12:56,011 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-08974979 info 2025-11-24 02:12:56,263 - DEBUG - No XMPP flaps were noticed during the test
2025-11-24 02:12:56,263 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-11-24 02:12:56,263 - INFO - -------------------------------------------------------------------------------- 2025-11-24 02:12:56,962 - INFO - Deleted project: ctest-TestBasicPolicy-85811803, ID : 5e087938-201a-42ab-8a12-58a1e19fec80