2025-08-04 10:06:35,881 - INFO - Domain Default found not creating 2025-08-04 10:06:36,060 - INFO - Project ctest-TestBasicPolicy-20101003 not found, creating it 2025-08-04 10:06:36,575 - INFO - Created Project:ctest-TestBasicPolicy-20101003, ID : d4f6160d-3057-496b-850c-7779082385e1 2025-08-04 10:06:38,256 - INFO - ================================================================================ 2025-08-04 10:06:38,256 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-04 10:06:38,256 - 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-08-04 10:06:38,515 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-08-04 10:06:38,515 - INFO - Initial checks done. Running the testcase now 2025-08-04 10:06:38,515 - INFO - 2025-08-04 10:06:39,108 - DEBUG - Response for create_network : {'network': {'id': '5cb5b75c-fb1e-4901-b29b-ed82341d9a04', 'name': 'ctest-vn-97293957', 'tenant_id': 'd4f6160d3057496b850c7779082385e1', 'project_id': 'd4f6160d3057496b850c7779082385e1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20101003', 'ctest-vn-97293957'], 'port_security_enabled': True, 'description': ''}} 2025-08-04 10:06:39,334 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e6ec81e3-bc20-4183-ba13-07ec05089d6b', 'name': '', 'tenant_id': 'd4f6160d3057496b850c7779082385e1', 'network_id': '5cb5b75c-fb1e-4901-b29b-ed82341d9a04', 'ip_version': 4, 'cidr': '131.103.231.128/26', 'allocation_pools': [{'start': '131.103.231.130', 'end': '131.103.231.190'}], 'gateway_ip': '131.103.231.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '131.103.231.130', 'tags': [], 'project_id': 'd4f6160d3057496b850c7779082385e1'}} 2025-08-04 10:06:39,361 - INFO - Created VN ctest-vn-97293957 2025-08-04 10:06:39,417 - DEBUG - VN ctest-vn-97293957 UUID is 5cb5b75c-fb1e-4901-b29b-ed82341d9a04 2025-08-04 10:06:39,771 - DEBUG - Response for create_network : {'network': {'id': '9bcbee25-1300-43cf-9eb9-43e5389dd697', 'name': 'ctest-vn-47286266', 'tenant_id': 'd4f6160d3057496b850c7779082385e1', 'project_id': 'd4f6160d3057496b850c7779082385e1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20101003', 'ctest-vn-47286266'], 'port_security_enabled': True, 'description': ''}} 2025-08-04 10:06:39,952 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fe4b46a9-882c-4285-a75d-be8524fb6358', 'name': '', 'tenant_id': 'd4f6160d3057496b850c7779082385e1', 'network_id': '9bcbee25-1300-43cf-9eb9-43e5389dd697', 'ip_version': 4, 'cidr': '104.206.139.128/26', 'allocation_pools': [{'start': '104.206.139.130', 'end': '104.206.139.190'}], 'gateway_ip': '104.206.139.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '104.206.139.130', 'tags': [], 'project_id': 'd4f6160d3057496b850c7779082385e1'}} 2025-08-04 10:06:39,979 - INFO - Created VN ctest-vn-47286266 2025-08-04 10:06:40,032 - DEBUG - VN ctest-vn-47286266 UUID is 9bcbee25-1300-43cf-9eb9-43e5389dd697 2025-08-04 10:06:40,176 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-20101003:ctest-vn-97293957, 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-20101003:ctest-vn-47286266, 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-08-04 10:06:40,510 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5cb5b75c-fb1e-4901-b29b-ed82341d9a04', 'name': 'ctest-vn-97293957', 'tenant_id': 'd4f6160d3057496b850c7779082385e1', 'project_id': 'd4f6160d3057496b850c7779082385e1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e6ec81e3-bc20-4183-ba13-07ec05089d6b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20101003', 'ctest-vn-97293957'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-20101003', 'ctest-policy-allow-all-04331559']], 'subnet_ipam': [{'subnet_cidr': '131.103.231.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-04 10:06:40,782 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9bcbee25-1300-43cf-9eb9-43e5389dd697', 'name': 'ctest-vn-47286266', 'tenant_id': 'd4f6160d3057496b850c7779082385e1', 'project_id': 'd4f6160d3057496b850c7779082385e1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['fe4b46a9-882c-4285-a75d-be8524fb6358'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20101003', 'ctest-vn-47286266'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-20101003', 'ctest-policy-allow-all-04331559']], 'subnet_ipam': [{'subnet_cidr': '104.206.139.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-04 10:06:40,957 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-04 10:06:41,257 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-04 10:06:41,295 - DEBUG - Requesting: http://10.0.0.50:8082/domain/d16048ad-2f86-4210-b688-2a095b65d0e1 2025-08-04 10:06:41,315 - DEBUG - Requesting: http://10.0.0.50:8082/project/d4f6160d-3057-496b-850c-7779082385e1 2025-08-04 10:06:41,405 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5cb5b75c-fb1e-4901-b29b-ed82341d9a04 2025-08-04 10:06:41,419 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5cb5b75c-fb1e-4901-b29b-ed82341d9a04 2025-08-04 10:06:41,432 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/7302ca0c-8d5a-43dc-9720-c22f41ab2254 2025-08-04 10:06:41,444 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/7302ca0c-8d5a-43dc-9720-c22f41ab2254 2025-08-04 10:06:41,456 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/34f6ccce-6b39-4f98-b7c3-e4ac626f2f8b 2025-08-04 10:06:41,469 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-04 10:06:41,469 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5cb5b75c-fb1e-4901-b29b-ed82341d9a04 2025-08-04 10:06:41,481 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/7302ca0c-8d5a-43dc-9720-c22f41ab2254 2025-08-04 10:06:41,500 - INFO - Verified VN network id 11 for VN 5cb5b75c-fb1e-4901-b29b-ed82341d9a04 2025-08-04 10:06:41,500 - INFO - Verifications in API Server for VN ctest-vn-97293957 passed 2025-08-04 10:06:41,500 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5cb5b75c-fb1e-4901-b29b-ed82341d9a04 2025-08-04 10:06:41,513 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/7302ca0c-8d5a-43dc-9720-c22f41ab2254 2025-08-04 10:06:41,522 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/7302ca0c-8d5a-43dc-9720-c22f41ab2254 2025-08-04 10:06:41,532 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/34f6ccce-6b39-4f98-b7c3-e4ac626f2f8b 2025-08-04 10:06:41,550 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-20101003:ctest-vn-97293957', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-20101003', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6680447232251939073', 'uuid-lslong': '12870141503617210884'}, 'enable': 'true', 'created': '2025-08-04T10:06:39', 'last-modified': '2025-08-04T10:06:40', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.068529'} 2025-08-04 10:06:41,560 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-04 10:06:41,560 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-97293957 passed 2025-08-04 10:06:41,560 - DEBUG - ====Verifying policy data for ctest-vn-97293957 in API_Server ====== 2025-08-04 10:06:41,560 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-04 10:06:41,569 - DEBUG - Requesting: http://10.0.0.50:8082/domain/d16048ad-2f86-4210-b688-2a095b65d0e1 2025-08-04 10:06:41,586 - DEBUG - Requesting: http://10.0.0.50:8082/project/d4f6160d-3057-496b-850c-7779082385e1 2025-08-04 10:06:41,664 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5cb5b75c-fb1e-4901-b29b-ed82341d9a04 2025-08-04 10:06:41,680 - DEBUG - ==>Verifying data for policy with id: b6536619-f365-4182-8e60-c6fde823681f, fqn: ['default-domain', 'ctest-TestBasicPolicy-20101003', 'ctest-policy-allow-all-04331559'] 2025-08-04 10:06:41,680 - INFO - VN ctest-vn-97293957 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-04 10:06:41,680 - DEBUG - Verifying the vn in opserver 2025-08-04 10:06:41,680 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-20101003:ctest-vn-97293957 virtual network link through opserver 10.0.0.50 2025-08-04 10:06:41,680 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-08-04 10:06:41,979 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-08-04 10:06:42,057 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-20101003:ctest-vn-97293957', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-20101003:ctest-vn-97293957?flat'} 2025-08-04 10:06:42,057 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-20101003:ctest-vn-97293957 is found in opserver 2025-08-04 10:06:42,072 - DEBUG - Do not have enough data to verify VN in agent 2025-08-04 10:06:42,082 - DEBUG - VRF ids for VN ctest-vn-97293957: {} 2025-08-04 10:06:42,082 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-04 10:06:42,090 - DEBUG - Requesting: http://10.0.0.50:8082/domain/d16048ad-2f86-4210-b688-2a095b65d0e1 2025-08-04 10:06:42,104 - DEBUG - Requesting: http://10.0.0.50:8082/project/d4f6160d-3057-496b-850c-7779082385e1 2025-08-04 10:06:42,185 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/9bcbee25-1300-43cf-9eb9-43e5389dd697 2025-08-04 10:06:42,201 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/9bcbee25-1300-43cf-9eb9-43e5389dd697 2025-08-04 10:06:42,215 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/1e7bcc27-02ea-4f02-a460-05bfc0379704 2025-08-04 10:06:42,227 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/1e7bcc27-02ea-4f02-a460-05bfc0379704 2025-08-04 10:06:42,238 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/b256d269-3a5e-4c26-bbd9-9888ab4c911c 2025-08-04 10:06:42,248 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-04 10:06:42,248 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/9bcbee25-1300-43cf-9eb9-43e5389dd697 2025-08-04 10:06:42,265 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/1e7bcc27-02ea-4f02-a460-05bfc0379704 2025-08-04 10:06:42,288 - INFO - Verified VN network id 12 for VN 9bcbee25-1300-43cf-9eb9-43e5389dd697 2025-08-04 10:06:42,288 - INFO - Verifications in API Server for VN ctest-vn-47286266 passed 2025-08-04 10:06:42,288 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/9bcbee25-1300-43cf-9eb9-43e5389dd697 2025-08-04 10:06:42,303 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/1e7bcc27-02ea-4f02-a460-05bfc0379704 2025-08-04 10:06:42,315 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/1e7bcc27-02ea-4f02-a460-05bfc0379704 2025-08-04 10:06:42,326 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/b256d269-3a5e-4c26-bbd9-9888ab4c911c 2025-08-04 10:06:42,345 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-20101003:ctest-vn-47286266', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-20101003', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11226328339151078351', 'uuid-lslong': '11437247380460525207'}, 'enable': 'true', 'created': '2025-08-04T10:06:39', 'last-modified': '2025-08-04T10:06:40', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.580158'} 2025-08-04 10:06:42,356 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-04 10:06:42,357 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-47286266 passed 2025-08-04 10:06:42,357 - DEBUG - ====Verifying policy data for ctest-vn-47286266 in API_Server ====== 2025-08-04 10:06:42,357 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-04 10:06:42,367 - DEBUG - Requesting: http://10.0.0.50:8082/domain/d16048ad-2f86-4210-b688-2a095b65d0e1 2025-08-04 10:06:42,384 - DEBUG - Requesting: http://10.0.0.50:8082/project/d4f6160d-3057-496b-850c-7779082385e1 2025-08-04 10:06:42,462 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/9bcbee25-1300-43cf-9eb9-43e5389dd697 2025-08-04 10:06:42,473 - DEBUG - ==>Verifying data for policy with id: b6536619-f365-4182-8e60-c6fde823681f, fqn: ['default-domain', 'ctest-TestBasicPolicy-20101003', 'ctest-policy-allow-all-04331559'] 2025-08-04 10:06:42,473 - INFO - VN ctest-vn-47286266 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-04 10:06:42,473 - DEBUG - Verifying the vn in opserver 2025-08-04 10:06:42,473 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-20101003:ctest-vn-47286266 virtual network link through opserver 10.0.0.50 2025-08-04 10:06:42,473 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-08-04 10:06:42,486 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-20101003:ctest-vn-47286266', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-20101003:ctest-vn-47286266?flat'} 2025-08-04 10:06:42,486 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-20101003:ctest-vn-47286266 is found in opserver 2025-08-04 10:06:42,498 - DEBUG - Do not have enough data to verify VN in agent 2025-08-04 10:06:42,504 - DEBUG - VRF ids for VN ctest-vn-47286266: {} 2025-08-04 10:06:42,574 - DEBUG - Services list from nova: [, , ] 2025-08-04 10:06:43,647 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3752-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3752-1) 2025-08-04 10:06:44,898 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3752-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3752-1) 2025-08-04 10:06:44,898 - INFO - Waiting for VM ctest-TestBasicPolicy-20101003-25538664 to be up.. 2025-08-04 10:06:44,985 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-04 10:06:50,080 - DEBUG - VM is in ACTIVE state now 2025-08-04 10:06:50,080 - INFO - VM name : ctest-TestBasicPolicy-20101003-25538664 2025-08-04 10:06:50,158 - DEBUG - VM ctest-TestBasicPolicy-20101003-25538664 ID is 2686e4bc-87a0-43c3-9657-bbd1aac71a6d 2025-08-04 10:06:50,180 - DEBUG - VM ctest-TestBasicPolicy-20101003-25538664 launched on Node cn-jenkins-deploy-platform-ansible-os-3752-1 2025-08-04 10:06:50,259 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/2686e4bc-87a0-43c3-9657-bbd1aac71a6d 2025-08-04 10:06:50,270 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/13d6c8c4-edfe-464b-be97-1a10d60eb39a 2025-08-04 10:06:53,529 - 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-08-04 10:06:53,529 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-20101003-25538664 failed! 2025-08-04 10:06:53,588 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-20101003:ctest-vn-97293957 is 131.103.231.129 and allocation pool is NOT set 2025-08-04 10:06:55,656 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=9.90 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.566 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 = 0.566/5.231/9.896/4.665 ms') 2025-08-04 10:06:55,656 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-20101003-25538664 passed 2025-08-04 10:06:55,813 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 10:06:55,813 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-20101003-25538664, IP 131.103.231.131, Port 22 2025-08-04 10:06:55,973 - DEBUG - VM ctest-TestBasicPolicy-20101003-25538664 is ready for SSH connections 2025-08-04 10:06:55,973 - INFO - Waiting for VM ctest-TestBasicPolicy-20101003-28032016 to be up.. 2025-08-04 10:06:56,059 - DEBUG - VM is in ACTIVE state now 2025-08-04 10:06:56,059 - INFO - VM name : ctest-TestBasicPolicy-20101003-28032016 2025-08-04 10:06:56,142 - DEBUG - VM ctest-TestBasicPolicy-20101003-28032016 ID is 39362390-a481-4637-996c-f80c935c3d4b 2025-08-04 10:06:56,142 - DEBUG - VM ctest-TestBasicPolicy-20101003-28032016 launched on Node cn-jenkins-deploy-platform-ansible-os-3752-1 2025-08-04 10:06:56,227 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/39362390-a481-4637-996c-f80c935c3d4b 2025-08-04 10:06:56,238 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/0d6c96e6-78dd-442d-895f-5e45032cde11 2025-08-04 10:06:57,482 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=4.04 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.985 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.985/2.513/4.041/1.528 ms') 2025-08-04 10:06:57,482 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-20101003-28032016 passed 2025-08-04 10:06:57,645 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 10:06:57,645 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-20101003-28032016, IP 104.206.139.131, Port 22 2025-08-04 10:06:57,831 - DEBUG - VM ctest-TestBasicPolicy-20101003-28032016 is ready for SSH connections 2025-08-04 10:06:57,832 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 10:06:57,832 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 104.206.139.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-04 10:06:57,832 - DEBUG - ping -s 56 -c 3 -W 1 104.206.139.131 2025-08-04 10:07:01,934 - DEBUG - PING 104.206.139.131 (104.206.139.131): 56 data bytes 64 bytes from 104.206.139.131: seq=0 ttl=63 time=3.518 ms 64 bytes from 104.206.139.131: seq=1 ttl=63 time=1.154 ms 64 bytes from 104.206.139.131: seq=2 ttl=63 time=0.941 ms --- 104.206.139.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.941/1.871/3.518 ms 2025-08-04 10:07:01,934 - INFO - Ping to IP 104.206.139.131 from VM ctest-TestBasicPolicy-20101003-25538664 passed 2025-08-04 10:07:02,128 - DEBUG - Policy Update Response {"network-policy": {"uuid": "b6536619-f365-4182-8e60-c6fde823681f", "href": "http://10.0.0.50:8082/network-policy/b6536619-f365-4182-8e60-c6fde823681f"}} 2025-08-04 10:07:02,128 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 10:07:02,129 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 104.206.139.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-04 10:07:02,129 - DEBUG - ping -s 56 -c 3 -W 1 104.206.139.131 2025-08-04 10:07:05,346 - DEBUG - PING 104.206.139.131 (104.206.139.131): 56 data bytes --- 104.206.139.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-04 10:07:05,346 - WARNING - Ping to IP 104.206.139.131 from VM ctest-TestBasicPolicy-20101003-25538664 failed 2025-08-04 10:07:05,346 - INFO - Deleting VM ctest-TestBasicPolicy-20101003-28032016 2025-08-04 10:07:05,435 - INFO - Deleting VM ctest-TestBasicPolicy-20101003-25538664 2025-08-04 10:07:05,908 - INFO - Deleted policy ctest-policy-allow-all-04331559 2025-08-04 10:07:05,909 - INFO - Deleting VN ctest-vn-47286266 2025-08-04 10:07:05,971 - DEBUG - VN 9bcbee25-1300-43cf-9eb9-43e5389dd697 still in use: Unable to complete operation on network 9bcbee25-1300-43cf-9eb9-43e5389dd697. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-cba5cfcf-b6ad-410a-a42c-4a0b0161bcca'] 2025-08-04 10:07:05,971 - WARNING - Deleting VN ctest-vn-47286266 failed..Will retry 2025-08-04 10:07:08,107 - DEBUG - Response for deleting network () 2025-08-04 10:07:08,108 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/1e7bcc27-02ea-4f02-a460-05bfc0379704 2025-08-04 10:07:08,115 - DEBUG - Response Code: 404 2025-08-04 10:07:08,115 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-04 10:07:08,131 - DEBUG - Requesting: http://10.0.0.50:8082/domain/d16048ad-2f86-4210-b688-2a095b65d0e1 2025-08-04 10:07:08,192 - DEBUG - Requesting: http://10.0.0.50:8082/project/d4f6160d-3057-496b-850c-7779082385e1 2025-08-04 10:07:08,264 - INFO - Validated that VN ctest-vn-47286266 is not found in API Server 2025-08-04 10:07:08,276 - DEBUG - VN ctest-vn-47286266 is not present in Agent 10.0.0.50 2025-08-04 10:07:08,276 - INFO - Validated that VN ctest-vn-47286266 is not in any agent 2025-08-04 10:07:08,293 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-47286266 info 2025-08-04 10:07:08,294 - INFO - Deleting VN ctest-vn-97293957 2025-08-04 10:07:08,423 - DEBUG - Response for deleting network () 2025-08-04 10:07:08,423 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/7302ca0c-8d5a-43dc-9720-c22f41ab2254 2025-08-04 10:07:08,434 - DEBUG - Response Code: 404 2025-08-04 10:07:08,434 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-04 10:07:08,442 - DEBUG - Requesting: http://10.0.0.50:8082/domain/d16048ad-2f86-4210-b688-2a095b65d0e1 2025-08-04 10:07:08,501 - DEBUG - Requesting: http://10.0.0.50:8082/project/d4f6160d-3057-496b-850c-7779082385e1 2025-08-04 10:07:08,584 - INFO - Validated that VN ctest-vn-97293957 is not found in API Server 2025-08-04 10:07:08,599 - DEBUG - VN ctest-vn-97293957 is not present in Agent 10.0.0.50 2025-08-04 10:07:08,600 - INFO - Validated that VN ctest-vn-97293957 is not in any agent 2025-08-04 10:07:08,617 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-97293957 info 2025-08-04 10:07:08,876 - DEBUG - No XMPP flaps were noticed during the test
2025-08-04 10:07:08,876 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-08-04 10:07:08,876 - INFO - -------------------------------------------------------------------------------- 2025-08-04 10:07:09,617 - INFO - Deleted project: ctest-TestBasicPolicy-20101003, ID : d4f6160d-3057-496b-850c-7779082385e1