2025-11-20 13:38:44,628 - INFO - Domain Default found not creating 2025-11-20 13:38:44,795 - INFO - Project ctest-TestBasicPolicy-41448539 not found, creating it 2025-11-20 13:38:45,247 - INFO - Created Project:ctest-TestBasicPolicy-41448539, ID : 8ec9bfd5-2379-447d-a02e-9048d860364a 2025-11-20 13:38:46,714 - INFO - ================================================================================ 2025-11-20 13:38:46,714 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-20 13:38:46,714 - 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-20 13:38:46,971 - DEBUG - Nothing to compare xmpp stats {'10.0.0.128': {'10.20.0.241': '0'}} with 2025-11-20 13:38:46,971 - INFO - Initial checks done. Running the testcase now 2025-11-20 13:38:46,971 - INFO - 2025-11-20 13:38:47,513 - DEBUG - Response for create_network : {'network': {'id': 'e093f4eb-c6d5-44ed-b610-3d79a57459c3', 'name': 'ctest-vn-45432716', 'tenant_id': '8ec9bfd52379447da02e9048d860364a', 'project_id': '8ec9bfd52379447da02e9048d860364a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41448539', 'ctest-vn-45432716'], 'port_security_enabled': True, 'description': ''}} 2025-11-20 13:38:47,659 - DEBUG - Response for create_subnet : {'subnet': {'id': '5fe634f8-23f6-401c-a8c2-487efcc2d976', 'name': '', 'tenant_id': '8ec9bfd52379447da02e9048d860364a', 'network_id': 'e093f4eb-c6d5-44ed-b610-3d79a57459c3', 'ip_version': 4, 'cidr': '15.199.28.64/26', 'allocation_pools': [{'start': '15.199.28.66', 'end': '15.199.28.126'}], 'gateway_ip': '15.199.28.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '15.199.28.66', 'tags': [], 'project_id': '8ec9bfd52379447da02e9048d860364a'}} 2025-11-20 13:38:47,676 - INFO - Created VN ctest-vn-45432716 2025-11-20 13:38:47,730 - DEBUG - VN ctest-vn-45432716 UUID is e093f4eb-c6d5-44ed-b610-3d79a57459c3 2025-11-20 13:38:48,056 - DEBUG - Response for create_network : {'network': {'id': 'cc058b2a-a992-4616-88bd-3399aba6972e', 'name': 'ctest-vn-97528600', 'tenant_id': '8ec9bfd52379447da02e9048d860364a', 'project_id': '8ec9bfd52379447da02e9048d860364a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41448539', 'ctest-vn-97528600'], 'port_security_enabled': True, 'description': ''}} 2025-11-20 13:38:48,213 - DEBUG - Response for create_subnet : {'subnet': {'id': '53e529f3-6723-43c9-ac6c-5d7ba55f18b6', 'name': '', 'tenant_id': '8ec9bfd52379447da02e9048d860364a', 'network_id': 'cc058b2a-a992-4616-88bd-3399aba6972e', 'ip_version': 4, 'cidr': '54.29.174.64/26', 'allocation_pools': [{'start': '54.29.174.66', 'end': '54.29.174.126'}], 'gateway_ip': '54.29.174.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '54.29.174.66', 'tags': [], 'project_id': '8ec9bfd52379447da02e9048d860364a'}} 2025-11-20 13:38:48,230 - INFO - Created VN ctest-vn-97528600 2025-11-20 13:38:48,282 - DEBUG - VN ctest-vn-97528600 UUID is cc058b2a-a992-4616-88bd-3399aba6972e 2025-11-20 13:38:48,434 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-41448539:ctest-vn-45432716, 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-41448539:ctest-vn-97528600, 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-20 13:38:48,725 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e093f4eb-c6d5-44ed-b610-3d79a57459c3', 'name': 'ctest-vn-45432716', 'tenant_id': '8ec9bfd52379447da02e9048d860364a', 'project_id': '8ec9bfd52379447da02e9048d860364a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5fe634f8-23f6-401c-a8c2-487efcc2d976'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41448539', 'ctest-vn-45432716'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-41448539', 'ctest-policy-allow-all-32756862']], 'subnet_ipam': [{'subnet_cidr': '15.199.28.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-20 13:38:48,951 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'cc058b2a-a992-4616-88bd-3399aba6972e', 'name': 'ctest-vn-97528600', 'tenant_id': '8ec9bfd52379447da02e9048d860364a', 'project_id': '8ec9bfd52379447da02e9048d860364a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['53e529f3-6723-43c9-ac6c-5d7ba55f18b6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41448539', 'ctest-vn-97528600'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-41448539', 'ctest-policy-allow-all-32756862']], 'subnet_ipam': [{'subnet_cidr': '54.29.174.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-20 13:38:49,122 - DEBUG - Requesting: http://10.0.0.128:8082/domains 2025-11-20 13:38:49,419 - DEBUG - Requesting: http://10.0.0.128:8082/domains 2025-11-20 13:38:49,452 - DEBUG - Requesting: http://10.0.0.128:8082/domain/5f962690-5bd6-4cb0-a686-abcea7def5d0 2025-11-20 13:38:49,465 - DEBUG - Requesting: http://10.0.0.128:8082/project/8ec9bfd5-2379-447d-a02e-9048d860364a 2025-11-20 13:38:49,536 - DEBUG - Requesting: http://10.0.0.128:8082/virtual-network/e093f4eb-c6d5-44ed-b610-3d79a57459c3 2025-11-20 13:38:49,547 - DEBUG - Requesting: http://10.0.0.128:8082/virtual-network/e093f4eb-c6d5-44ed-b610-3d79a57459c3 2025-11-20 13:38:49,556 - DEBUG - Requesting: http://10.0.0.128:8082/routing-instance/db9985c7-fc39-4917-84c4-90ae9b9c7a24 2025-11-20 13:38:49,563 - DEBUG - Requesting: http://10.0.0.128:8082/routing-instance/db9985c7-fc39-4917-84c4-90ae9b9c7a24 2025-11-20 13:38:49,569 - DEBUG - Requesting: http://10.0.0.128:8082/route-target/2c6437e3-5f71-4f45-b555-6371ae5be07a 2025-11-20 13:38:49,576 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-20 13:38:49,576 - DEBUG - Requesting: http://10.0.0.128:8082/virtual-network/e093f4eb-c6d5-44ed-b610-3d79a57459c3 2025-11-20 13:38:49,586 - DEBUG - Requesting: http://10.0.0.128:8082/routing-instance/db9985c7-fc39-4917-84c4-90ae9b9c7a24 2025-11-20 13:38:49,603 - INFO - Verified VN network id 11 for VN e093f4eb-c6d5-44ed-b610-3d79a57459c3 2025-11-20 13:38:49,603 - INFO - Verifications in API Server for VN ctest-vn-45432716 passed 2025-11-20 13:38:49,604 - DEBUG - Requesting: http://10.0.0.128:8082/virtual-network/e093f4eb-c6d5-44ed-b610-3d79a57459c3 2025-11-20 13:38:49,615 - DEBUG - Requesting: http://10.0.0.128:8082/routing-instance/db9985c7-fc39-4917-84c4-90ae9b9c7a24 2025-11-20 13:38:49,623 - DEBUG - Requesting: http://10.0.0.128:8082/routing-instance/db9985c7-fc39-4917-84c4-90ae9b9c7a24 2025-11-20 13:38:49,630 - DEBUG - Requesting: http://10.0.0.128:8082/route-target/2c6437e3-5f71-4f45-b555-6371ae5be07a 2025-11-20 13:38:49,642 - DEBUG - Control-node 10.0.0.128 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-41448539:ctest-vn-45432716', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-41448539', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16182547179562681581', 'uuid-lslong': '13119053307206457795'}, 'enable': 'true', 'created': '2025-11-20T13:38:47', 'last-modified': '2025-11-20T13:38:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.943906'} 2025-11-20 13:38:49,648 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-20 13:38:49,648 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-45432716 passed 2025-11-20 13:38:49,648 - DEBUG - ====Verifying policy data for ctest-vn-45432716 in API_Server ====== 2025-11-20 13:38:49,648 - DEBUG - Requesting: http://10.0.0.128:8082/domains 2025-11-20 13:38:49,656 - DEBUG - Requesting: http://10.0.0.128:8082/domain/5f962690-5bd6-4cb0-a686-abcea7def5d0 2025-11-20 13:38:49,668 - DEBUG - Requesting: http://10.0.0.128:8082/project/8ec9bfd5-2379-447d-a02e-9048d860364a 2025-11-20 13:38:49,741 - DEBUG - Requesting: http://10.0.0.128:8082/virtual-network/e093f4eb-c6d5-44ed-b610-3d79a57459c3 2025-11-20 13:38:49,750 - DEBUG - ==>Verifying data for policy with id: 03416a0b-edf5-48c9-a618-9eeec4da96e4, fqn: ['default-domain', 'ctest-TestBasicPolicy-41448539', 'ctest-policy-allow-all-32756862'] 2025-11-20 13:38:49,750 - INFO - VN ctest-vn-45432716 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-20 13:38:49,750 - DEBUG - Verifying the vn in opserver 2025-11-20 13:38:49,750 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-41448539:ctest-vn-45432716 virtual network link through opserver 10.0.0.128 2025-11-20 13:38:49,750 - DEBUG - Requesting: http://10.0.0.128:8081/analytics/uves/virtual-networks 2025-11-20 13:38:50,055 - DEBUG - Requesting: http://10.0.0.128:8081/analytics/uves/virtual-networks 2025-11-20 13:38:50,118 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-41448539:ctest-vn-45432716', 'href': 'http://10.0.0.128:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-41448539:ctest-vn-45432716?flat'} 2025-11-20 13:38:50,118 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-41448539:ctest-vn-45432716 is found in opserver 2025-11-20 13:38:50,130 - DEBUG - Do not have enough data to verify VN in agent 2025-11-20 13:38:50,135 - DEBUG - VRF ids for VN ctest-vn-45432716: {} 2025-11-20 13:38:50,135 - DEBUG - Requesting: http://10.0.0.128:8082/domains 2025-11-20 13:38:50,141 - DEBUG - Requesting: http://10.0.0.128:8082/domain/5f962690-5bd6-4cb0-a686-abcea7def5d0 2025-11-20 13:38:50,152 - DEBUG - Requesting: http://10.0.0.128:8082/project/8ec9bfd5-2379-447d-a02e-9048d860364a 2025-11-20 13:38:50,242 - DEBUG - Requesting: http://10.0.0.128:8082/virtual-network/cc058b2a-a992-4616-88bd-3399aba6972e 2025-11-20 13:38:50,256 - DEBUG - Requesting: http://10.0.0.128:8082/virtual-network/cc058b2a-a992-4616-88bd-3399aba6972e 2025-11-20 13:38:50,266 - DEBUG - Requesting: http://10.0.0.128:8082/routing-instance/81c983c9-6203-405f-877f-8fc6a35d8900 2025-11-20 13:38:50,274 - DEBUG - Requesting: http://10.0.0.128:8082/routing-instance/81c983c9-6203-405f-877f-8fc6a35d8900 2025-11-20 13:38:50,281 - DEBUG - Requesting: http://10.0.0.128:8082/route-target/f896c6d0-7864-4f03-9a33-06bb8156379b 2025-11-20 13:38:50,287 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-20 13:38:50,287 - DEBUG - Requesting: http://10.0.0.128:8082/virtual-network/cc058b2a-a992-4616-88bd-3399aba6972e 2025-11-20 13:38:50,295 - DEBUG - Requesting: http://10.0.0.128:8082/routing-instance/81c983c9-6203-405f-877f-8fc6a35d8900 2025-11-20 13:38:50,307 - INFO - Verified VN network id 12 for VN cc058b2a-a992-4616-88bd-3399aba6972e 2025-11-20 13:38:50,307 - INFO - Verifications in API Server for VN ctest-vn-97528600 passed 2025-11-20 13:38:50,307 - DEBUG - Requesting: http://10.0.0.128:8082/virtual-network/cc058b2a-a992-4616-88bd-3399aba6972e 2025-11-20 13:38:50,315 - DEBUG - Requesting: http://10.0.0.128:8082/routing-instance/81c983c9-6203-405f-877f-8fc6a35d8900 2025-11-20 13:38:50,323 - DEBUG - Requesting: http://10.0.0.128:8082/routing-instance/81c983c9-6203-405f-877f-8fc6a35d8900 2025-11-20 13:38:50,329 - DEBUG - Requesting: http://10.0.0.128:8082/route-target/f896c6d0-7864-4f03-9a33-06bb8156379b 2025-11-20 13:38:50,343 - DEBUG - Control-node 10.0.0.128 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-41448539:ctest-vn-97528600', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-41448539', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14701309573970675222', 'uuid-lslong': '9853088294859347758'}, 'enable': 'true', 'created': '2025-11-20T13:38:48', 'last-modified': '2025-11-20T13:38:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.416076'} 2025-11-20 13:38:50,350 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-20 13:38:50,350 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-97528600 passed 2025-11-20 13:38:50,350 - DEBUG - ====Verifying policy data for ctest-vn-97528600 in API_Server ====== 2025-11-20 13:38:50,350 - DEBUG - Requesting: http://10.0.0.128:8082/domains 2025-11-20 13:38:50,356 - DEBUG - Requesting: http://10.0.0.128:8082/domain/5f962690-5bd6-4cb0-a686-abcea7def5d0 2025-11-20 13:38:50,371 - DEBUG - Requesting: http://10.0.0.128:8082/project/8ec9bfd5-2379-447d-a02e-9048d860364a 2025-11-20 13:38:50,443 - DEBUG - Requesting: http://10.0.0.128:8082/virtual-network/cc058b2a-a992-4616-88bd-3399aba6972e 2025-11-20 13:38:50,453 - DEBUG - ==>Verifying data for policy with id: 03416a0b-edf5-48c9-a618-9eeec4da96e4, fqn: ['default-domain', 'ctest-TestBasicPolicy-41448539', 'ctest-policy-allow-all-32756862'] 2025-11-20 13:38:50,453 - INFO - VN ctest-vn-97528600 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-20 13:38:50,453 - DEBUG - Verifying the vn in opserver 2025-11-20 13:38:50,454 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-41448539:ctest-vn-97528600 virtual network link through opserver 10.0.0.128 2025-11-20 13:38:50,454 - DEBUG - Requesting: http://10.0.0.128:8081/analytics/uves/virtual-networks 2025-11-20 13:38:50,465 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-41448539:ctest-vn-97528600', 'href': 'http://10.0.0.128:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-41448539:ctest-vn-97528600?flat'} 2025-11-20 13:38:50,465 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-41448539:ctest-vn-97528600 is found in opserver 2025-11-20 13:38:50,475 - DEBUG - Do not have enough data to verify VN in agent 2025-11-20 13:38:50,480 - DEBUG - VRF ids for VN ctest-vn-97528600: {} 2025-11-20 13:38:50,540 - DEBUG - Services list from nova: [, , ] 2025-11-20 13:38:51,567 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4775-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4775-1) 2025-11-20 13:38:52,770 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4775-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4775-1) 2025-11-20 13:38:52,770 - INFO - Waiting for VM ctest-TestBasicPolicy-41448539-90317620 to be up.. 2025-11-20 13:38:52,851 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-20 13:38:57,931 - DEBUG - VM is in ACTIVE state now 2025-11-20 13:38:57,931 - INFO - VM name : ctest-TestBasicPolicy-41448539-90317620 2025-11-20 13:38:58,019 - DEBUG - VM ctest-TestBasicPolicy-41448539-90317620 ID is 65886a2b-c1d5-46df-9a5e-483f1a44fc7a 2025-11-20 13:38:58,039 - DEBUG - VM ctest-TestBasicPolicy-41448539-90317620 launched on Node cn-jenkins-deploy-platform-ansible-os-4775-1 2025-11-20 13:38:58,131 - DEBUG - Requesting: http://10.0.0.128:8082/virtual-machine/65886a2b-c1d5-46df-9a5e-483f1a44fc7a 2025-11-20 13:38:58,139 - DEBUG - Requesting: http://10.0.0.128:8082/virtual-machine-interface/76fc13f7-107e-4dd5-b883-6f1f0a665163 2025-11-20 13:39:01,413 - 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 1023ms') 2025-11-20 13:39:01,414 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-41448539-90317620 failed! 2025-11-20 13:39:01,466 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-41448539:ctest-vn-45432716 is 15.199.28.65 and allocation pool is NOT set 2025-11-20 13:39:03,524 - 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=8.62 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.52 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.521/5.068/8.615/3.547 ms') 2025-11-20 13:39:03,525 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-41448539-90317620 passed 2025-11-20 13:39:03,674 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 13:39:03,674 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-41448539-90317620, IP 15.199.28.67, Port 22 2025-11-20 13:39:03,830 - DEBUG - VM ctest-TestBasicPolicy-41448539-90317620 is ready for SSH connections 2025-11-20 13:39:03,830 - INFO - Waiting for VM ctest-TestBasicPolicy-41448539-15362952 to be up.. 2025-11-20 13:39:03,907 - DEBUG - VM is in ACTIVE state now 2025-11-20 13:39:03,908 - INFO - VM name : ctest-TestBasicPolicy-41448539-15362952 2025-11-20 13:39:03,979 - DEBUG - VM ctest-TestBasicPolicy-41448539-15362952 ID is 84e2e622-9e46-4657-9926-6d41922d5352 2025-11-20 13:39:03,979 - DEBUG - VM ctest-TestBasicPolicy-41448539-15362952 launched on Node cn-jenkins-deploy-platform-ansible-os-4775-1 2025-11-20 13:39:04,052 - DEBUG - Requesting: http://10.0.0.128:8082/virtual-machine/84e2e622-9e46-4657-9926-6d41922d5352 2025-11-20 13:39:04,060 - DEBUG - Requesting: http://10.0.0.128:8082/virtual-machine-interface/9a2bddf7-eeec-4d4c-ab07-2a77f8a472a5 2025-11-20 13:39:05,294 - 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=2.85 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.577 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.577/1.712/2.848/1.135 ms') 2025-11-20 13:39:05,294 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-41448539-15362952 passed 2025-11-20 13:39:05,442 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 13:39:05,442 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-41448539-15362952, IP 54.29.174.67, Port 22 2025-11-20 13:39:05,608 - DEBUG - VM ctest-TestBasicPolicy-41448539-15362952 is ready for SSH connections 2025-11-20 13:39:05,608 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 13:39:05,609 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 54.29.174.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.128, gateway password: c0ntrail123 2025-11-20 13:39:05,609 - DEBUG - ping -s 56 -c 3 -W 1 54.29.174.67 2025-11-20 13:39:09,660 - DEBUG - PING 54.29.174.67 (54.29.174.67): 56 data bytes 64 bytes from 54.29.174.67: seq=0 ttl=63 time=3.454 ms 64 bytes from 54.29.174.67: seq=1 ttl=63 time=1.021 ms 64 bytes from 54.29.174.67: seq=2 ttl=63 time=0.907 ms --- 54.29.174.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.907/1.794/3.454 ms 2025-11-20 13:39:09,661 - INFO - Ping to IP 54.29.174.67 from VM ctest-TestBasicPolicy-41448539-90317620 passed 2025-11-20 13:39:09,834 - DEBUG - Policy Update Response {"network-policy": {"uuid": "03416a0b-edf5-48c9-a618-9eeec4da96e4", "href": "http://10.0.0.128:8082/network-policy/03416a0b-edf5-48c9-a618-9eeec4da96e4"}} 2025-11-20 13:39:09,834 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 13:39:09,834 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 54.29.174.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.128, gateway password: c0ntrail123 2025-11-20 13:39:09,834 - DEBUG - ping -s 56 -c 3 -W 1 54.29.174.67 2025-11-20 13:39:13,048 - DEBUG - PING 54.29.174.67 (54.29.174.67): 56 data bytes --- 54.29.174.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-20 13:39:13,049 - WARNING - Ping to IP 54.29.174.67 from VM ctest-TestBasicPolicy-41448539-90317620 failed 2025-11-20 13:39:13,049 - INFO - Deleting VM ctest-TestBasicPolicy-41448539-15362952 2025-11-20 13:39:13,118 - INFO - Deleting VM ctest-TestBasicPolicy-41448539-90317620 2025-11-20 13:39:13,490 - INFO - Deleted policy ctest-policy-allow-all-32756862 2025-11-20 13:39:13,490 - INFO - Deleting VN ctest-vn-97528600 2025-11-20 13:39:13,524 - DEBUG - VN cc058b2a-a992-4616-88bd-3399aba6972e still in use: Unable to complete operation on network cc058b2a-a992-4616-88bd-3399aba6972e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-08e9abb8-2dfd-46e9-9682-da26d20a07ac'] 2025-11-20 13:39:13,524 - WARNING - Deleting VN ctest-vn-97528600 failed..Will retry 2025-11-20 13:39:15,633 - DEBUG - Response for deleting network () 2025-11-20 13:39:15,634 - DEBUG - Requesting: http://10.0.0.128:8082/routing-instance/81c983c9-6203-405f-877f-8fc6a35d8900 2025-11-20 13:39:15,640 - DEBUG - Response Code: 404 2025-11-20 13:39:15,640 - DEBUG - Requesting: http://10.0.0.128:8082/domains 2025-11-20 13:39:15,646 - DEBUG - Requesting: http://10.0.0.128:8082/domain/5f962690-5bd6-4cb0-a686-abcea7def5d0 2025-11-20 13:39:15,699 - DEBUG - Requesting: http://10.0.0.128:8082/project/8ec9bfd5-2379-447d-a02e-9048d860364a 2025-11-20 13:39:15,768 - INFO - Validated that VN ctest-vn-97528600 is not found in API Server 2025-11-20 13:39:15,780 - DEBUG - VN ctest-vn-97528600 is not present in Agent 10.0.0.128 2025-11-20 13:39:15,780 - INFO - Validated that VN ctest-vn-97528600 is not in any agent 2025-11-20 13:39:15,797 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-97528600 info 2025-11-20 13:39:15,797 - INFO - Deleting VN ctest-vn-45432716 2025-11-20 13:39:15,900 - DEBUG - Response for deleting network () 2025-11-20 13:39:15,900 - DEBUG - Requesting: http://10.0.0.128:8082/routing-instance/db9985c7-fc39-4917-84c4-90ae9b9c7a24 2025-11-20 13:39:15,906 - DEBUG - Response Code: 404 2025-11-20 13:39:15,906 - DEBUG - Requesting: http://10.0.0.128:8082/domains 2025-11-20 13:39:15,911 - DEBUG - Requesting: http://10.0.0.128:8082/domain/5f962690-5bd6-4cb0-a686-abcea7def5d0 2025-11-20 13:39:15,967 - DEBUG - Requesting: http://10.0.0.128:8082/project/8ec9bfd5-2379-447d-a02e-9048d860364a 2025-11-20 13:39:16,037 - INFO - Validated that VN ctest-vn-45432716 is not found in API Server 2025-11-20 13:39:16,048 - DEBUG - VN ctest-vn-45432716 is not present in Agent 10.0.0.128 2025-11-20 13:39:16,048 - INFO - Validated that VN ctest-vn-45432716 is not in any agent 2025-11-20 13:39:16,060 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-45432716 info 2025-11-20 13:39:16,315 - DEBUG - No XMPP flaps were noticed during the test 2025-11-20 13:39:16,315 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-11-20 13:39:16,315 - INFO - -------------------------------------------------------------------------------- 2025-11-20 13:39:16,975 - INFO - Deleted project: ctest-TestBasicPolicy-41448539, ID : 8ec9bfd5-2379-447d-a02e-9048d860364a