2025-06-10 07:00:14,643 - INFO - Domain Default found not creating 2025-06-10 07:00:14,833 - INFO - Project ctest-TestBasicPolicy-96890402 not found, creating it 2025-06-10 07:00:15,411 - INFO - Created Project:ctest-TestBasicPolicy-96890402, ID : 73391bc8-d1bd-4cb6-b759-633de6595f15 2025-06-10 07:00:17,074 - INFO - ================================================================================ 2025-06-10 07:00:17,075 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-10 07:00:17,075 - 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-10 07:00:17,336 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.17': '0'}} with 2025-06-10 07:00:17,336 - INFO - Initial checks done. Running the testcase now 2025-06-10 07:00:17,336 - INFO - 2025-06-10 07:00:17,961 - DEBUG - Response for create_network : {'network': {'id': '5a2ed6a5-66cc-41a9-b142-797be542b183', 'name': 'ctest-vn-88948704', 'tenant_id': '73391bc8d1bd4cb6b759633de6595f15', 'project_id': '73391bc8d1bd4cb6b759633de6595f15', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96890402', 'ctest-vn-88948704'], 'port_security_enabled': True, 'description': ''}} 2025-06-10 07:00:18,149 - DEBUG - Response for create_subnet : {'subnet': {'id': '7367e6b6-e1de-435c-a573-5aa91c97bd74', 'name': '', 'tenant_id': '73391bc8d1bd4cb6b759633de6595f15', 'network_id': '5a2ed6a5-66cc-41a9-b142-797be542b183', 'ip_version': 4, 'cidr': '131.115.253.0/26', 'allocation_pools': [{'start': '131.115.253.2', 'end': '131.115.253.62'}], 'gateway_ip': '131.115.253.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '131.115.253.2', 'tags': [], 'project_id': '73391bc8d1bd4cb6b759633de6595f15'}} 2025-06-10 07:00:18,171 - INFO - Created VN ctest-vn-88948704 2025-06-10 07:00:18,229 - DEBUG - VN ctest-vn-88948704 UUID is 5a2ed6a5-66cc-41a9-b142-797be542b183 2025-06-10 07:00:18,549 - DEBUG - Response for create_network : {'network': {'id': 'abcb2cae-1492-4c4e-abdb-d0d7d88244ea', 'name': 'ctest-vn-92729951', 'tenant_id': '73391bc8d1bd4cb6b759633de6595f15', 'project_id': '73391bc8d1bd4cb6b759633de6595f15', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96890402', 'ctest-vn-92729951'], 'port_security_enabled': True, 'description': ''}} 2025-06-10 07:00:18,745 - DEBUG - Response for create_subnet : {'subnet': {'id': '82ce7214-c912-48e4-92dd-974b548d91c4', 'name': '', 'tenant_id': '73391bc8d1bd4cb6b759633de6595f15', 'network_id': 'abcb2cae-1492-4c4e-abdb-d0d7d88244ea', 'ip_version': 4, 'cidr': '70.66.19.0/26', 'allocation_pools': [{'start': '70.66.19.2', 'end': '70.66.19.62'}], 'gateway_ip': '70.66.19.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '70.66.19.2', 'tags': [], 'project_id': '73391bc8d1bd4cb6b759633de6595f15'}} 2025-06-10 07:00:18,766 - INFO - Created VN ctest-vn-92729951 2025-06-10 07:00:18,821 - DEBUG - VN ctest-vn-92729951 UUID is abcb2cae-1492-4c4e-abdb-d0d7d88244ea 2025-06-10 07:00:18,949 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-96890402:ctest-vn-88948704, 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-96890402:ctest-vn-92729951, 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-10 07:00:19,268 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5a2ed6a5-66cc-41a9-b142-797be542b183', 'name': 'ctest-vn-88948704', 'tenant_id': '73391bc8d1bd4cb6b759633de6595f15', 'project_id': '73391bc8d1bd4cb6b759633de6595f15', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7367e6b6-e1de-435c-a573-5aa91c97bd74'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96890402', 'ctest-vn-88948704'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-96890402', 'ctest-policy-allow-all-78638129']], 'subnet_ipam': [{'subnet_cidr': '131.115.253.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-10 07:00:19,509 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'abcb2cae-1492-4c4e-abdb-d0d7d88244ea', 'name': 'ctest-vn-92729951', 'tenant_id': '73391bc8d1bd4cb6b759633de6595f15', 'project_id': '73391bc8d1bd4cb6b759633de6595f15', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['82ce7214-c912-48e4-92dd-974b548d91c4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96890402', 'ctest-vn-92729951'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-96890402', 'ctest-policy-allow-all-78638129']], 'subnet_ipam': [{'subnet_cidr': '70.66.19.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-10 07:00:19,689 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-06-10 07:00:20,027 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-06-10 07:00:20,059 - DEBUG - Requesting: http://10.0.0.65:8082/domain/fc093bcb-6dbc-4c2a-bd5b-db62d0d2ae49 2025-06-10 07:00:20,076 - DEBUG - Requesting: http://10.0.0.65:8082/project/73391bc8-d1bd-4cb6-b759-633de6595f15 2025-06-10 07:00:20,151 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/5a2ed6a5-66cc-41a9-b142-797be542b183 2025-06-10 07:00:20,166 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/5a2ed6a5-66cc-41a9-b142-797be542b183 2025-06-10 07:00:20,180 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/284d0a7e-982f-426e-a814-b55285f4a9dd 2025-06-10 07:00:20,189 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/284d0a7e-982f-426e-a814-b55285f4a9dd 2025-06-10 07:00:20,199 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/71f338e9-54a8-474b-a8b5-1ec2508f7d16 2025-06-10 07:00:20,208 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-10 07:00:20,208 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/5a2ed6a5-66cc-41a9-b142-797be542b183 2025-06-10 07:00:20,220 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/284d0a7e-982f-426e-a814-b55285f4a9dd 2025-06-10 07:00:20,239 - INFO - Verified VN network id 8 for VN 5a2ed6a5-66cc-41a9-b142-797be542b183 2025-06-10 07:00:20,240 - INFO - Verifications in API Server for VN ctest-vn-88948704 passed 2025-06-10 07:00:20,240 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/5a2ed6a5-66cc-41a9-b142-797be542b183 2025-06-10 07:00:20,253 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/284d0a7e-982f-426e-a814-b55285f4a9dd 2025-06-10 07:00:20,264 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/284d0a7e-982f-426e-a814-b55285f4a9dd 2025-06-10 07:00:20,272 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/71f338e9-54a8-474b-a8b5-1ec2508f7d16 2025-06-10 07:00:20,287 - DEBUG - Control-node 10.0.0.65 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-96890402:ctest-vn-88948704', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-96890402', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6498367318224814505', 'uuid-lslong': '12772905066210439555'}, 'enable': 'true', 'created': '2025-06-10T07:00:17', 'last-modified': '2025-06-10T07:00:19', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.048720'} 2025-06-10 07:00:20,295 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-10 07:00:20,295 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-88948704 passed 2025-06-10 07:00:20,295 - DEBUG - ====Verifying policy data for ctest-vn-88948704 in API_Server ====== 2025-06-10 07:00:20,295 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-06-10 07:00:20,302 - DEBUG - Requesting: http://10.0.0.65:8082/domain/fc093bcb-6dbc-4c2a-bd5b-db62d0d2ae49 2025-06-10 07:00:20,320 - DEBUG - Requesting: http://10.0.0.65:8082/project/73391bc8-d1bd-4cb6-b759-633de6595f15 2025-06-10 07:00:20,400 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/5a2ed6a5-66cc-41a9-b142-797be542b183 2025-06-10 07:00:20,416 - DEBUG - ==>Verifying data for policy with id: 583435e9-4e9c-4f56-924b-d4f880987fad, fqn: ['default-domain', 'ctest-TestBasicPolicy-96890402', 'ctest-policy-allow-all-78638129'] 2025-06-10 07:00:20,416 - INFO - VN ctest-vn-88948704 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-10 07:00:20,416 - DEBUG - Verifying the vn in opserver 2025-06-10 07:00:20,416 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-96890402:ctest-vn-88948704 virtual network link through opserver 10.0.0.65 2025-06-10 07:00:20,416 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2025-06-10 07:00:20,759 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2025-06-10 07:00:20,822 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-96890402:ctest-vn-88948704', 'href': 'http://10.0.0.65:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-96890402:ctest-vn-88948704?flat'} 2025-06-10 07:00:20,822 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-96890402:ctest-vn-88948704 is found in opserver 2025-06-10 07:00:20,836 - DEBUG - Do not have enough data to verify VN in agent 2025-06-10 07:00:20,842 - DEBUG - VRF ids for VN ctest-vn-88948704: {} 2025-06-10 07:00:20,842 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-06-10 07:00:20,849 - DEBUG - Requesting: http://10.0.0.65:8082/domain/fc093bcb-6dbc-4c2a-bd5b-db62d0d2ae49 2025-06-10 07:00:20,867 - DEBUG - Requesting: http://10.0.0.65:8082/project/73391bc8-d1bd-4cb6-b759-633de6595f15 2025-06-10 07:00:20,951 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/abcb2cae-1492-4c4e-abdb-d0d7d88244ea 2025-06-10 07:00:20,967 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/abcb2cae-1492-4c4e-abdb-d0d7d88244ea 2025-06-10 07:00:20,979 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/2b69983c-019d-4781-a89a-14316669e55a 2025-06-10 07:00:20,989 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/2b69983c-019d-4781-a89a-14316669e55a 2025-06-10 07:00:20,997 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/1728d076-c3fc-4e01-bb08-ec53f3f48647 2025-06-10 07:00:21,006 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-10 07:00:21,006 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/abcb2cae-1492-4c4e-abdb-d0d7d88244ea 2025-06-10 07:00:21,018 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/2b69983c-019d-4781-a89a-14316669e55a 2025-06-10 07:00:21,036 - INFO - Verified VN network id 9 for VN abcb2cae-1492-4c4e-abdb-d0d7d88244ea 2025-06-10 07:00:21,036 - INFO - Verifications in API Server for VN ctest-vn-92729951 passed 2025-06-10 07:00:21,036 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/abcb2cae-1492-4c4e-abdb-d0d7d88244ea 2025-06-10 07:00:21,052 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/2b69983c-019d-4781-a89a-14316669e55a 2025-06-10 07:00:21,062 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/2b69983c-019d-4781-a89a-14316669e55a 2025-06-10 07:00:21,072 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/1728d076-c3fc-4e01-bb08-ec53f3f48647 2025-06-10 07:00:21,090 - DEBUG - Control-node 10.0.0.65 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-96890402:ctest-vn-92729951', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-96890402', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12379037126939003982', 'uuid-lslong': '12383721225854272746'}, 'enable': 'true', 'created': '2025-06-10T07:00:18', 'last-modified': '2025-06-10T07:00:19', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.605237'} 2025-06-10 07:00:21,097 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-10 07:00:21,097 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-92729951 passed 2025-06-10 07:00:21,097 - DEBUG - ====Verifying policy data for ctest-vn-92729951 in API_Server ====== 2025-06-10 07:00:21,097 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-06-10 07:00:21,105 - DEBUG - Requesting: http://10.0.0.65:8082/domain/fc093bcb-6dbc-4c2a-bd5b-db62d0d2ae49 2025-06-10 07:00:21,123 - DEBUG - Requesting: http://10.0.0.65:8082/project/73391bc8-d1bd-4cb6-b759-633de6595f15 2025-06-10 07:00:21,208 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/abcb2cae-1492-4c4e-abdb-d0d7d88244ea 2025-06-10 07:00:21,222 - DEBUG - ==>Verifying data for policy with id: 583435e9-4e9c-4f56-924b-d4f880987fad, fqn: ['default-domain', 'ctest-TestBasicPolicy-96890402', 'ctest-policy-allow-all-78638129'] 2025-06-10 07:00:21,223 - INFO - VN ctest-vn-92729951 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-10 07:00:21,223 - DEBUG - Verifying the vn in opserver 2025-06-10 07:00:21,223 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-96890402:ctest-vn-92729951 virtual network link through opserver 10.0.0.65 2025-06-10 07:00:21,223 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2025-06-10 07:00:21,236 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-96890402:ctest-vn-92729951', 'href': 'http://10.0.0.65:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-96890402:ctest-vn-92729951?flat'} 2025-06-10 07:00:21,236 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-96890402:ctest-vn-92729951 is found in opserver 2025-06-10 07:00:21,250 - DEBUG - Do not have enough data to verify VN in agent 2025-06-10 07:00:21,256 - DEBUG - VRF ids for VN ctest-vn-92729951: {} 2025-06-10 07:00:21,319 - DEBUG - Services list from nova: [, , ] 2025-06-10 07:00:22,470 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3428-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3428-1) 2025-06-10 07:00:24,002 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3428-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3428-1) 2025-06-10 07:00:24,003 - INFO - Waiting for VM ctest-TestBasicPolicy-96890402-33175723 to be up.. 2025-06-10 07:00:24,137 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-10 07:00:29,241 - DEBUG - VM is in ACTIVE state now 2025-06-10 07:00:29,241 - INFO - VM name : ctest-TestBasicPolicy-96890402-33175723 2025-06-10 07:00:29,332 - DEBUG - VM ctest-TestBasicPolicy-96890402-33175723 ID is 5ba398d8-9e1f-46c7-866b-027500d79299 2025-06-10 07:00:29,355 - DEBUG - VM ctest-TestBasicPolicy-96890402-33175723 launched on Node cn-jenkins-deploy-platform-ansible-os-3428-1 2025-06-10 07:00:29,450 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/5ba398d8-9e1f-46c7-866b-027500d79299 2025-06-10 07:00:29,461 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/68244b92-fc39-4ddb-b7b9-79ae78715e10 2025-06-10 07:00:32,750 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1021ms') 2025-06-10 07:00:32,750 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-96890402-33175723 failed! 2025-06-10 07:00:32,817 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-96890402:ctest-vn-88948704 is 131.115.253.1 and allocation pool is NOT set 2025-06-10 07:00:34,880 - 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=6.93 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.04 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.041/3.984/6.927/2.943 ms') 2025-06-10 07:00:34,881 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-96890402-33175723 passed 2025-06-10 07:00:35,045 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-10 07:00:35,045 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-96890402-33175723, IP 131.115.253.3, Port 22 2025-06-10 07:00:35,215 - DEBUG - VM ctest-TestBasicPolicy-96890402-33175723 is ready for SSH connections 2025-06-10 07:00:35,215 - INFO - Waiting for VM ctest-TestBasicPolicy-96890402-00662818 to be up.. 2025-06-10 07:00:35,300 - DEBUG - VM is in ACTIVE state now 2025-06-10 07:00:35,300 - INFO - VM name : ctest-TestBasicPolicy-96890402-00662818 2025-06-10 07:00:35,384 - DEBUG - VM ctest-TestBasicPolicy-96890402-00662818 ID is ca59670b-4d4f-4404-91a2-3fd0d7774337 2025-06-10 07:00:35,384 - DEBUG - VM ctest-TestBasicPolicy-96890402-00662818 launched on Node cn-jenkins-deploy-platform-ansible-os-3428-1 2025-06-10 07:00:35,470 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/ca59670b-4d4f-4404-91a2-3fd0d7774337 2025-06-10 07:00:35,480 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/af1be248-a235-4ad0-8378-3fef3a52964a 2025-06-10 07:00:36,733 - 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=5.63 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.42 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 = 2.423/4.024/5.625/1.601 ms') 2025-06-10 07:00:36,734 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-96890402-00662818 passed 2025-06-10 07:00:36,897 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-10 07:00:36,897 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-96890402-00662818, IP 70.66.19.3, Port 22 2025-06-10 07:00:37,056 - DEBUG - VM ctest-TestBasicPolicy-96890402-00662818 is ready for SSH connections 2025-06-10 07:00:37,056 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-10 07:00:37,056 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 70.66.19.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-06-10 07:00:37,056 - DEBUG - ping -s 56 -c 3 -W 1 70.66.19.3 2025-06-10 07:00:41,143 - DEBUG - PING 70.66.19.3 (70.66.19.3): 56 data bytes 64 bytes from 70.66.19.3: seq=0 ttl=63 time=4.427 ms 64 bytes from 70.66.19.3: seq=1 ttl=63 time=1.040 ms 64 bytes from 70.66.19.3: seq=2 ttl=63 time=0.897 ms --- 70.66.19.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.897/2.121/4.427 ms 2025-06-10 07:00:41,143 - INFO - Ping to IP 70.66.19.3 from VM ctest-TestBasicPolicy-96890402-33175723 passed 2025-06-10 07:00:41,325 - DEBUG - Policy Update Response {"network-policy": {"uuid": "583435e9-4e9c-4f56-924b-d4f880987fad", "href": "http://10.0.0.65:8082/network-policy/583435e9-4e9c-4f56-924b-d4f880987fad"}} 2025-06-10 07:00:41,325 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-10 07:00:41,325 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 70.66.19.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-06-10 07:00:41,325 - DEBUG - ping -s 56 -c 3 -W 1 70.66.19.3 2025-06-10 07:00:44,556 - DEBUG - PING 70.66.19.3 (70.66.19.3): 56 data bytes 64 bytes from 70.66.19.3: seq=0 ttl=63 time=1.739 ms --- 70.66.19.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.739/1.739/1.739 ms 2025-06-10 07:00:44,556 - WARNING - Ping to IP 70.66.19.3 from VM ctest-TestBasicPolicy-96890402-33175723 failed 2025-06-10 07:00:44,556 - INFO - Deleting VM ctest-TestBasicPolicy-96890402-00662818 2025-06-10 07:00:44,627 - INFO - Deleting VM ctest-TestBasicPolicy-96890402-33175723 2025-06-10 07:00:45,110 - INFO - Deleted policy ctest-policy-allow-all-78638129 2025-06-10 07:00:45,110 - INFO - Deleting VN ctest-vn-92729951 2025-06-10 07:00:45,149 - DEBUG - VN abcb2cae-1492-4c4e-abdb-d0d7d88244ea still in use: Unable to complete operation on network abcb2cae-1492-4c4e-abdb-d0d7d88244ea. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-648a8c29-00f9-4418-ba93-16df47a2bd39'] 2025-06-10 07:00:45,149 - WARNING - Deleting VN ctest-vn-92729951 failed..Will retry 2025-06-10 07:00:47,261 - DEBUG - Response for deleting network () 2025-06-10 07:00:47,261 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/2b69983c-019d-4781-a89a-14316669e55a 2025-06-10 07:00:47,269 - DEBUG - Response Code: 404 2025-06-10 07:00:47,269 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-06-10 07:00:47,277 - DEBUG - Requesting: http://10.0.0.65:8082/domain/fc093bcb-6dbc-4c2a-bd5b-db62d0d2ae49 2025-06-10 07:00:47,332 - DEBUG - Requesting: http://10.0.0.65:8082/project/73391bc8-d1bd-4cb6-b759-633de6595f15 2025-06-10 07:00:47,413 - INFO - Validated that VN ctest-vn-92729951 is not found in API Server 2025-06-10 07:00:47,429 - DEBUG - VN ctest-vn-92729951 is not present in Agent 10.0.0.65 2025-06-10 07:00:47,429 - INFO - Validated that VN ctest-vn-92729951 is not in any agent 2025-06-10 07:00:47,451 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-92729951 info 2025-06-10 07:00:47,451 - INFO - Deleting VN ctest-vn-88948704 2025-06-10 07:00:47,565 - DEBUG - Response for deleting network () 2025-06-10 07:00:47,565 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/284d0a7e-982f-426e-a814-b55285f4a9dd 2025-06-10 07:00:47,574 - DEBUG - Response Code: 404 2025-06-10 07:00:47,574 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-06-10 07:00:47,582 - DEBUG - Requesting: http://10.0.0.65:8082/domain/fc093bcb-6dbc-4c2a-bd5b-db62d0d2ae49 2025-06-10 07:00:47,639 - DEBUG - Requesting: http://10.0.0.65:8082/project/73391bc8-d1bd-4cb6-b759-633de6595f15 2025-06-10 07:00:47,717 - INFO - Validated that VN ctest-vn-88948704 is not found in API Server 2025-06-10 07:00:47,729 - DEBUG - VN ctest-vn-88948704 is not present in Agent 10.0.0.65 2025-06-10 07:00:47,729 - INFO - Validated that VN ctest-vn-88948704 is not in any agent 2025-06-10 07:00:47,748 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-88948704 info 2025-06-10 07:00:48,007 - DEBUG - No XMPP flaps were noticed during the test
2025-06-10 07:00:48,007 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31]
2025-06-10 07:00:48,007 - INFO - -------------------------------------------------------------------------------- 2025-06-10 07:00:48,720 - INFO - Deleted project: ctest-TestBasicPolicy-96890402, ID : 73391bc8-d1bd-4cb6-b759-633de6595f15