2025-10-05 21:09:44,866 - INFO - Domain Default found not creating 2025-10-05 21:09:44,997 - INFO - Project ctest-TestBasicPolicy-18229758 not found, creating it 2025-10-05 21:09:45,425 - INFO - Created Project:ctest-TestBasicPolicy-18229758, ID : 95da5ac9-5d10-470c-82bb-90d7d2416f38 2025-10-05 21:09:46,785 - INFO - ================================================================================ 2025-10-05 21:09:46,785 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-05 21:09:46,785 - 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-10-05 21:09:47,039 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-10-05 21:09:47,039 - INFO - Initial checks done. Running the testcase now 2025-10-05 21:09:47,039 - INFO - 2025-10-05 21:09:47,538 - DEBUG - Response for create_network : {'network': {'id': 'bfd0b369-a176-4e0c-ba49-eef361a403cc', 'name': 'ctest-vn-99009273', 'tenant_id': '95da5ac95d10470c82bb90d7d2416f38', 'project_id': '95da5ac95d10470c82bb90d7d2416f38', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18229758', 'ctest-vn-99009273'], 'port_security_enabled': True, 'description': ''}} 2025-10-05 21:09:47,683 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fb3e68d7-d378-43eb-aabc-162f9d4c9ff9', 'name': '', 'tenant_id': '95da5ac95d10470c82bb90d7d2416f38', 'network_id': 'bfd0b369-a176-4e0c-ba49-eef361a403cc', 'ip_version': 4, 'cidr': '82.167.11.192/26', 'allocation_pools': [{'start': '82.167.11.194', 'end': '82.167.11.254'}], 'gateway_ip': '82.167.11.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '82.167.11.194', 'tags': [], 'project_id': '95da5ac95d10470c82bb90d7d2416f38'}} 2025-10-05 21:09:47,701 - INFO - Created VN ctest-vn-99009273 2025-10-05 21:09:47,758 - DEBUG - VN ctest-vn-99009273 UUID is bfd0b369-a176-4e0c-ba49-eef361a403cc 2025-10-05 21:09:48,065 - DEBUG - Response for create_network : {'network': {'id': '3cfbdb39-c770-4611-a5ca-c2f75d7740e0', 'name': 'ctest-vn-75101080', 'tenant_id': '95da5ac95d10470c82bb90d7d2416f38', 'project_id': '95da5ac95d10470c82bb90d7d2416f38', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18229758', 'ctest-vn-75101080'], 'port_security_enabled': True, 'description': ''}} 2025-10-05 21:09:48,216 - DEBUG - Response for create_subnet : {'subnet': {'id': '5c58b3ad-6119-4b4b-886e-efed96a1771c', 'name': '', 'tenant_id': '95da5ac95d10470c82bb90d7d2416f38', 'network_id': '3cfbdb39-c770-4611-a5ca-c2f75d7740e0', 'ip_version': 4, 'cidr': '194.80.86.64/26', 'allocation_pools': [{'start': '194.80.86.66', 'end': '194.80.86.126'}], 'gateway_ip': '194.80.86.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '194.80.86.66', 'tags': [], 'project_id': '95da5ac95d10470c82bb90d7d2416f38'}} 2025-10-05 21:09:48,232 - INFO - Created VN ctest-vn-75101080 2025-10-05 21:09:48,282 - DEBUG - VN ctest-vn-75101080 UUID is 3cfbdb39-c770-4611-a5ca-c2f75d7740e0 2025-10-05 21:09:48,430 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-18229758:ctest-vn-99009273, 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-18229758:ctest-vn-75101080, 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-10-05 21:09:48,706 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'bfd0b369-a176-4e0c-ba49-eef361a403cc', 'name': 'ctest-vn-99009273', 'tenant_id': '95da5ac95d10470c82bb90d7d2416f38', 'project_id': '95da5ac95d10470c82bb90d7d2416f38', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['fb3e68d7-d378-43eb-aabc-162f9d4c9ff9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18229758', 'ctest-vn-99009273'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-18229758', 'ctest-policy-allow-all-00238443']], 'subnet_ipam': [{'subnet_cidr': '82.167.11.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-05 21:09:48,871 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3cfbdb39-c770-4611-a5ca-c2f75d7740e0', 'name': 'ctest-vn-75101080', 'tenant_id': '95da5ac95d10470c82bb90d7d2416f38', 'project_id': '95da5ac95d10470c82bb90d7d2416f38', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5c58b3ad-6119-4b4b-886e-efed96a1771c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18229758', 'ctest-vn-75101080'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-18229758', 'ctest-policy-allow-all-00238443']], 'subnet_ipam': [{'subnet_cidr': '194.80.86.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-05 21:09:48,986 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-05 21:09:49,278 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-05 21:09:49,304 - DEBUG - Requesting: http://10.0.0.38:8082/domain/c9125a86-92c8-4326-9e90-e120c6635b3f 2025-10-05 21:09:49,314 - DEBUG - Requesting: http://10.0.0.38:8082/project/95da5ac9-5d10-470c-82bb-90d7d2416f38 2025-10-05 21:09:49,404 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/bfd0b369-a176-4e0c-ba49-eef361a403cc 2025-10-05 21:09:49,412 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/bfd0b369-a176-4e0c-ba49-eef361a403cc 2025-10-05 21:09:49,419 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c2b18577-bb6f-4446-aa95-5d305aa27baf 2025-10-05 21:09:49,424 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c2b18577-bb6f-4446-aa95-5d305aa27baf 2025-10-05 21:09:49,429 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/6a847983-10f8-4e85-9dfe-cb0c94299bc5 2025-10-05 21:09:49,434 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-05 21:09:49,435 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/bfd0b369-a176-4e0c-ba49-eef361a403cc 2025-10-05 21:09:49,443 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c2b18577-bb6f-4446-aa95-5d305aa27baf 2025-10-05 21:09:49,464 - INFO - Verified VN network id 12 for VN bfd0b369-a176-4e0c-ba49-eef361a403cc 2025-10-05 21:09:49,464 - INFO - Verifications in API Server for VN ctest-vn-99009273 passed 2025-10-05 21:09:49,464 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/bfd0b369-a176-4e0c-ba49-eef361a403cc 2025-10-05 21:09:49,474 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c2b18577-bb6f-4446-aa95-5d305aa27baf 2025-10-05 21:09:49,481 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c2b18577-bb6f-4446-aa95-5d305aa27baf 2025-10-05 21:09:49,487 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/6a847983-10f8-4e85-9dfe-cb0c94299bc5 2025-10-05 21:09:49,499 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-18229758:ctest-vn-99009273', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-18229758', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13821744522661875212', 'uuid-lslong': '13423522893437076428'}, 'enable': 'true', 'created': '2025-10-05T21:09:47', 'last-modified': '2025-10-05T21:09:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.805155'} 2025-10-05 21:09:49,506 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-05 21:09:49,506 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-99009273 passed 2025-10-05 21:09:49,506 - DEBUG - ====Verifying policy data for ctest-vn-99009273 in API_Server ====== 2025-10-05 21:09:49,506 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-05 21:09:49,512 - DEBUG - Requesting: http://10.0.0.38:8082/domain/c9125a86-92c8-4326-9e90-e120c6635b3f 2025-10-05 21:09:49,521 - DEBUG - Requesting: http://10.0.0.38:8082/project/95da5ac9-5d10-470c-82bb-90d7d2416f38 2025-10-05 21:09:49,589 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/bfd0b369-a176-4e0c-ba49-eef361a403cc 2025-10-05 21:09:49,597 - DEBUG - ==>Verifying data for policy with id: 10df6bfe-826a-42bf-a00a-dc1fb29495a8, fqn: ['default-domain', 'ctest-TestBasicPolicy-18229758', 'ctest-policy-allow-all-00238443'] 2025-10-05 21:09:49,597 - INFO - VN ctest-vn-99009273 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-05 21:09:49,597 - DEBUG - Verifying the vn in opserver 2025-10-05 21:09:49,597 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-18229758:ctest-vn-99009273 virtual network link through opserver 10.0.0.38 2025-10-05 21:09:49,597 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-05 21:09:49,893 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-05 21:09:49,946 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-18229758:ctest-vn-99009273', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-18229758:ctest-vn-99009273?flat'} 2025-10-05 21:09:49,946 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-18229758:ctest-vn-99009273 is found in opserver 2025-10-05 21:09:49,955 - DEBUG - Do not have enough data to verify VN in agent 2025-10-05 21:09:49,959 - DEBUG - VRF ids for VN ctest-vn-99009273: {} 2025-10-05 21:09:49,959 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-05 21:09:49,964 - DEBUG - Requesting: http://10.0.0.38:8082/domain/c9125a86-92c8-4326-9e90-e120c6635b3f 2025-10-05 21:09:49,973 - DEBUG - Requesting: http://10.0.0.38:8082/project/95da5ac9-5d10-470c-82bb-90d7d2416f38 2025-10-05 21:09:50,039 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3cfbdb39-c770-4611-a5ca-c2f75d7740e0 2025-10-05 21:09:50,049 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3cfbdb39-c770-4611-a5ca-c2f75d7740e0 2025-10-05 21:09:50,058 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/dfef65fd-5c71-401f-952a-a1b11bbbf6c1 2025-10-05 21:09:50,064 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/dfef65fd-5c71-401f-952a-a1b11bbbf6c1 2025-10-05 21:09:50,070 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/ac092edc-ae38-4a0c-9260-ea5e9267538f 2025-10-05 21:09:50,074 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-05 21:09:50,074 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3cfbdb39-c770-4611-a5ca-c2f75d7740e0 2025-10-05 21:09:50,082 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/dfef65fd-5c71-401f-952a-a1b11bbbf6c1 2025-10-05 21:09:50,093 - INFO - Verified VN network id 13 for VN 3cfbdb39-c770-4611-a5ca-c2f75d7740e0 2025-10-05 21:09:50,093 - INFO - Verifications in API Server for VN ctest-vn-75101080 passed 2025-10-05 21:09:50,093 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3cfbdb39-c770-4611-a5ca-c2f75d7740e0 2025-10-05 21:09:50,100 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/dfef65fd-5c71-401f-952a-a1b11bbbf6c1 2025-10-05 21:09:50,106 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/dfef65fd-5c71-401f-952a-a1b11bbbf6c1 2025-10-05 21:09:50,112 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/ac092edc-ae38-4a0c-9260-ea5e9267538f 2025-10-05 21:09:50,121 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-18229758:ctest-vn-75101080', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-18229758', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4394346902635693585', 'uuid-lslong': '11946575329234469088'}, 'enable': 'true', 'created': '2025-10-05T21:09:48', 'last-modified': '2025-10-05T21:09:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.265692'} 2025-10-05 21:09:50,126 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-05 21:09:50,126 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-75101080 passed 2025-10-05 21:09:50,126 - DEBUG - ====Verifying policy data for ctest-vn-75101080 in API_Server ====== 2025-10-05 21:09:50,126 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-05 21:09:50,130 - DEBUG - Requesting: http://10.0.0.38:8082/domain/c9125a86-92c8-4326-9e90-e120c6635b3f 2025-10-05 21:09:50,140 - DEBUG - Requesting: http://10.0.0.38:8082/project/95da5ac9-5d10-470c-82bb-90d7d2416f38 2025-10-05 21:09:50,205 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3cfbdb39-c770-4611-a5ca-c2f75d7740e0 2025-10-05 21:09:50,213 - DEBUG - ==>Verifying data for policy with id: 10df6bfe-826a-42bf-a00a-dc1fb29495a8, fqn: ['default-domain', 'ctest-TestBasicPolicy-18229758', 'ctest-policy-allow-all-00238443'] 2025-10-05 21:09:50,213 - INFO - VN ctest-vn-75101080 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-05 21:09:50,213 - DEBUG - Verifying the vn in opserver 2025-10-05 21:09:50,213 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-18229758:ctest-vn-75101080 virtual network link through opserver 10.0.0.38 2025-10-05 21:09:50,213 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-05 21:09:50,220 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-18229758:ctest-vn-75101080', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-18229758:ctest-vn-75101080?flat'} 2025-10-05 21:09:50,220 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-18229758:ctest-vn-75101080 is found in opserver 2025-10-05 21:09:50,228 - DEBUG - Do not have enough data to verify VN in agent 2025-10-05 21:09:50,231 - DEBUG - VRF ids for VN ctest-vn-75101080: {} 2025-10-05 21:09:50,282 - DEBUG - Services list from nova: [, , ] 2025-10-05 21:09:51,238 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4215-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4215-1) 2025-10-05 21:09:52,287 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4215-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4215-1) 2025-10-05 21:09:52,287 - INFO - Waiting for VM ctest-TestBasicPolicy-18229758-24673540 to be up.. 2025-10-05 21:09:52,364 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-05 21:09:57,426 - DEBUG - VM is in ACTIVE state now 2025-10-05 21:09:57,427 - INFO - VM name : ctest-TestBasicPolicy-18229758-24673540 2025-10-05 21:09:57,488 - DEBUG - VM ctest-TestBasicPolicy-18229758-24673540 ID is 5fbbfd45-723a-484c-99cf-f8518604c24c 2025-10-05 21:09:57,506 - DEBUG - VM ctest-TestBasicPolicy-18229758-24673540 launched on Node cn-jenkins-deploy-platform-ansible-os-4215-1 2025-10-05 21:09:57,568 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/5fbbfd45-723a-484c-99cf-f8518604c24c 2025-10-05 21:09:57,575 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/8d929438-3db6-4ccd-bbc9-66e80f038cd4 2025-10-05 21:10:00,822 - 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 1015ms') 2025-10-05 21:10:00,822 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-18229758-24673540 failed! 2025-10-05 21:10:00,874 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-18229758:ctest-vn-99009273 is 82.167.11.193 and allocation pool is NOT set 2025-10-05 21:10:02,939 - 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=3.29 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.402 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.402/1.846/3.290/1.444 ms') 2025-10-05 21:10:02,940 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-18229758-24673540 passed 2025-10-05 21:10:03,090 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-05 21:10:03,090 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-18229758-24673540, IP 82.167.11.195, Port 22 2025-10-05 21:10:03,246 - DEBUG - VM ctest-TestBasicPolicy-18229758-24673540 is ready for SSH connections 2025-10-05 21:10:03,246 - INFO - Waiting for VM ctest-TestBasicPolicy-18229758-67784116 to be up.. 2025-10-05 21:10:03,312 - DEBUG - VM is in ACTIVE state now 2025-10-05 21:10:03,312 - INFO - VM name : ctest-TestBasicPolicy-18229758-67784116 2025-10-05 21:10:03,457 - DEBUG - VM ctest-TestBasicPolicy-18229758-67784116 ID is 26bb9b53-d107-4f29-986f-88e6dd5abc8e 2025-10-05 21:10:03,457 - DEBUG - VM ctest-TestBasicPolicy-18229758-67784116 launched on Node cn-jenkins-deploy-platform-ansible-os-4215-1 2025-10-05 21:10:03,523 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/26bb9b53-d107-4f29-986f-88e6dd5abc8e 2025-10-05 21:10:03,531 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/f9661cc9-08a6-451a-b370-3cb579d5d12d 2025-10-05 21:10:04,763 - 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.60 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.374 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.374/1.485/2.597/1.111 ms') 2025-10-05 21:10:04,763 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-18229758-67784116 passed 2025-10-05 21:10:04,910 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-05 21:10:04,910 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-18229758-67784116, IP 194.80.86.67, Port 22 2025-10-05 21:10:05,062 - DEBUG - VM ctest-TestBasicPolicy-18229758-67784116 is ready for SSH connections 2025-10-05 21:10:05,062 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-05 21:10:05,062 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 194.80.86.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-05 21:10:05,062 - DEBUG - ping -s 56 -c 3 -W 1 194.80.86.67 2025-10-05 21:10:09,019 - DEBUG - PING 194.80.86.67 (194.80.86.67): 56 data bytes 64 bytes from 194.80.86.67: seq=0 ttl=63 time=3.353 ms 64 bytes from 194.80.86.67: seq=1 ttl=63 time=0.950 ms 64 bytes from 194.80.86.67: seq=2 ttl=63 time=0.692 ms --- 194.80.86.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.692/1.665/3.353 ms 2025-10-05 21:10:09,019 - INFO - Ping to IP 194.80.86.67 from VM ctest-TestBasicPolicy-18229758-24673540 passed 2025-10-05 21:10:09,198 - DEBUG - Policy Update Response {"network-policy": {"uuid": "10df6bfe-826a-42bf-a00a-dc1fb29495a8", "href": "http://10.0.0.38:8082/network-policy/10df6bfe-826a-42bf-a00a-dc1fb29495a8"}} 2025-10-05 21:10:09,198 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-05 21:10:09,198 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 194.80.86.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-05 21:10:09,198 - DEBUG - ping -s 56 -c 3 -W 1 194.80.86.67 2025-10-05 21:10:12,407 - DEBUG - PING 194.80.86.67 (194.80.86.67): 56 data bytes --- 194.80.86.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-05 21:10:12,407 - WARNING - Ping to IP 194.80.86.67 from VM ctest-TestBasicPolicy-18229758-24673540 failed 2025-10-05 21:10:12,407 - INFO - Deleting VM ctest-TestBasicPolicy-18229758-67784116 2025-10-05 21:10:12,469 - INFO - Deleting VM ctest-TestBasicPolicy-18229758-24673540 2025-10-05 21:10:12,881 - INFO - Deleted policy ctest-policy-allow-all-00238443 2025-10-05 21:10:12,881 - INFO - Deleting VN ctest-vn-75101080 2025-10-05 21:10:12,926 - DEBUG - VN 3cfbdb39-c770-4611-a5ca-c2f75d7740e0 still in use: Unable to complete operation on network 3cfbdb39-c770-4611-a5ca-c2f75d7740e0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-fa02e95e-4dc6-464c-a61e-ccc7447d1f57'] 2025-10-05 21:10:12,926 - WARNING - Deleting VN ctest-vn-75101080 failed..Will retry 2025-10-05 21:10:15,011 - DEBUG - Response for deleting network () 2025-10-05 21:10:15,011 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/dfef65fd-5c71-401f-952a-a1b11bbbf6c1 2025-10-05 21:10:15,017 - DEBUG - Response Code: 404 2025-10-05 21:10:15,017 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-05 21:10:15,022 - DEBUG - Requesting: http://10.0.0.38:8082/domain/c9125a86-92c8-4326-9e90-e120c6635b3f 2025-10-05 21:10:15,076 - DEBUG - Requesting: http://10.0.0.38:8082/project/95da5ac9-5d10-470c-82bb-90d7d2416f38 2025-10-05 21:10:15,142 - INFO - Validated that VN ctest-vn-75101080 is not found in API Server 2025-10-05 21:10:15,150 - DEBUG - VN ctest-vn-75101080 is not present in Agent 10.0.0.38 2025-10-05 21:10:15,150 - INFO - Validated that VN ctest-vn-75101080 is not in any agent 2025-10-05 21:10:15,163 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-75101080 info 2025-10-05 21:10:15,163 - INFO - Deleting VN ctest-vn-99009273 2025-10-05 21:10:15,251 - DEBUG - Response for deleting network () 2025-10-05 21:10:15,251 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c2b18577-bb6f-4446-aa95-5d305aa27baf 2025-10-05 21:10:15,258 - DEBUG - Response Code: 404 2025-10-05 21:10:15,258 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-05 21:10:15,263 - DEBUG - Requesting: http://10.0.0.38:8082/domain/c9125a86-92c8-4326-9e90-e120c6635b3f 2025-10-05 21:10:15,318 - DEBUG - Requesting: http://10.0.0.38:8082/project/95da5ac9-5d10-470c-82bb-90d7d2416f38 2025-10-05 21:10:15,386 - INFO - Validated that VN ctest-vn-99009273 is not found in API Server 2025-10-05 21:10:15,394 - DEBUG - VN ctest-vn-99009273 is not present in Agent 10.0.0.38 2025-10-05 21:10:15,394 - INFO - Validated that VN ctest-vn-99009273 is not in any agent 2025-10-05 21:10:15,406 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-99009273 info 2025-10-05 21:10:15,663 - DEBUG - No XMPP flaps were noticed during the test 2025-10-05 21:10:15,663 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-10-05 21:10:15,663 - INFO - -------------------------------------------------------------------------------- 2025-10-05 21:10:16,316 - INFO - Deleted project: ctest-TestBasicPolicy-18229758, ID : 95da5ac9-5d10-470c-82bb-90d7d2416f38