2025-10-31 19:41:11,201 - INFO - Domain Default found not creating 2025-10-31 19:41:11,581 - INFO - Project ctest-TestBasicPolicy-62164630 not found, creating it 2025-10-31 19:41:12,224 - INFO - Created Project:ctest-TestBasicPolicy-62164630, ID : 97401f82-cdb2-492c-a174-46292ae79424 2025-10-31 19:41:14,324 - INFO - ================================================================================ 2025-10-31 19:41:14,325 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-31 19:41:14,325 - 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-31 19:41:14,651 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.254': '0'}} with 2025-10-31 19:41:14,651 - INFO - Initial checks done. Running the testcase now 2025-10-31 19:41:14,652 - INFO - 2025-10-31 19:41:15,605 - DEBUG - Response for create_network : {'network': {'id': '9ef2ae0f-287d-42c4-8ac7-0e04db839bd3', 'name': 'ctest-vn-44565931', 'tenant_id': '97401f82cdb2492ca17446292ae79424', 'project_id': '97401f82cdb2492ca17446292ae79424', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62164630', 'ctest-vn-44565931'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 19:41:15,774 - DEBUG - Response for create_subnet : {'subnet': {'id': '2e9ed5b3-0f60-4e83-ab02-08ab4df6dafe', 'name': '', 'tenant_id': '97401f82cdb2492ca17446292ae79424', 'network_id': '9ef2ae0f-287d-42c4-8ac7-0e04db839bd3', 'ip_version': 4, 'cidr': '222.50.177.192/26', 'allocation_pools': [{'start': '222.50.177.194', 'end': '222.50.177.254'}], 'gateway_ip': '222.50.177.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '222.50.177.194', 'tags': [], 'project_id': '97401f82cdb2492ca17446292ae79424'}} 2025-10-31 19:41:15,794 - INFO - Created VN ctest-vn-44565931 2025-10-31 19:41:15,847 - DEBUG - VN ctest-vn-44565931 UUID is 9ef2ae0f-287d-42c4-8ac7-0e04db839bd3 2025-10-31 19:41:16,295 - DEBUG - Response for create_network : {'network': {'id': '73fabb05-761f-4f9f-afb6-1382aad61a4d', 'name': 'ctest-vn-46858688', 'tenant_id': '97401f82cdb2492ca17446292ae79424', 'project_id': '97401f82cdb2492ca17446292ae79424', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62164630', 'ctest-vn-46858688'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 19:41:16,612 - DEBUG - Response for create_subnet : {'subnet': {'id': '93497db8-de1d-4c0d-8994-4c6c243a8a31', 'name': '', 'tenant_id': '97401f82cdb2492ca17446292ae79424', 'network_id': '73fabb05-761f-4f9f-afb6-1382aad61a4d', 'ip_version': 4, 'cidr': '36.166.122.64/26', 'allocation_pools': [{'start': '36.166.122.66', 'end': '36.166.122.126'}], 'gateway_ip': '36.166.122.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '36.166.122.66', 'tags': [], 'project_id': '97401f82cdb2492ca17446292ae79424'}} 2025-10-31 19:41:16,655 - INFO - Created VN ctest-vn-46858688 2025-10-31 19:41:16,719 - DEBUG - VN ctest-vn-46858688 UUID is 73fabb05-761f-4f9f-afb6-1382aad61a4d 2025-10-31 19:41:16,901 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-62164630:ctest-vn-44565931, 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-62164630:ctest-vn-46858688, 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-31 19:41:17,355 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9ef2ae0f-287d-42c4-8ac7-0e04db839bd3', 'name': 'ctest-vn-44565931', 'tenant_id': '97401f82cdb2492ca17446292ae79424', 'project_id': '97401f82cdb2492ca17446292ae79424', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2e9ed5b3-0f60-4e83-ab02-08ab4df6dafe'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62164630', 'ctest-vn-44565931'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-62164630', 'ctest-policy-allow-all-72245737']], 'subnet_ipam': [{'subnet_cidr': '222.50.177.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-31 19:41:17,711 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '73fabb05-761f-4f9f-afb6-1382aad61a4d', 'name': 'ctest-vn-46858688', 'tenant_id': '97401f82cdb2492ca17446292ae79424', 'project_id': '97401f82cdb2492ca17446292ae79424', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['93497db8-de1d-4c0d-8994-4c6c243a8a31'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62164630', 'ctest-vn-46858688'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-62164630', 'ctest-policy-allow-all-72245737']], 'subnet_ipam': [{'subnet_cidr': '36.166.122.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-31 19:41:17,911 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-31 19:41:18,217 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-31 19:41:18,256 - DEBUG - Requesting: http://10.0.0.249:8082/domain/e0f21c43-19d6-4a96-94a3-3251ed820390 2025-10-31 19:41:18,274 - DEBUG - Requesting: http://10.0.0.249:8082/project/97401f82-cdb2-492c-a174-46292ae79424 2025-10-31 19:41:18,393 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/9ef2ae0f-287d-42c4-8ac7-0e04db839bd3 2025-10-31 19:41:18,421 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/9ef2ae0f-287d-42c4-8ac7-0e04db839bd3 2025-10-31 19:41:18,441 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/7eb7c525-52c3-4dda-a35f-1ed6f438bcf1 2025-10-31 19:41:18,455 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/7eb7c525-52c3-4dda-a35f-1ed6f438bcf1 2025-10-31 19:41:18,468 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/8af48f1a-f9f5-41da-99f2-8599cb12a9da 2025-10-31 19:41:18,484 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-31 19:41:18,484 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/9ef2ae0f-287d-42c4-8ac7-0e04db839bd3 2025-10-31 19:41:18,509 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/7eb7c525-52c3-4dda-a35f-1ed6f438bcf1 2025-10-31 19:41:18,546 - INFO - Verified VN network id 11 for VN 9ef2ae0f-287d-42c4-8ac7-0e04db839bd3 2025-10-31 19:41:18,546 - INFO - Verifications in API Server for VN ctest-vn-44565931 passed 2025-10-31 19:41:18,546 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/9ef2ae0f-287d-42c4-8ac7-0e04db839bd3 2025-10-31 19:41:18,567 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/7eb7c525-52c3-4dda-a35f-1ed6f438bcf1 2025-10-31 19:41:18,583 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/7eb7c525-52c3-4dda-a35f-1ed6f438bcf1 2025-10-31 19:41:18,595 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/8af48f1a-f9f5-41da-99f2-8599cb12a9da 2025-10-31 19:41:18,629 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-62164630:ctest-vn-44565931', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-62164630', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11453408182483632836', 'uuid-lslong': '9999976911624969171'}, 'enable': 'true', 'created': '2025-10-31T19:41:15', 'last-modified': '2025-10-31T19:41:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.308328'} 2025-10-31 19:41:18,650 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-31 19:41:18,651 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-44565931 passed 2025-10-31 19:41:18,651 - DEBUG - ====Verifying policy data for ctest-vn-44565931 in API_Server ====== 2025-10-31 19:41:18,652 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-31 19:41:18,665 - DEBUG - Requesting: http://10.0.0.249:8082/domain/e0f21c43-19d6-4a96-94a3-3251ed820390 2025-10-31 19:41:18,696 - DEBUG - Requesting: http://10.0.0.249:8082/project/97401f82-cdb2-492c-a174-46292ae79424 2025-10-31 19:41:18,819 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/9ef2ae0f-287d-42c4-8ac7-0e04db839bd3 2025-10-31 19:41:18,848 - DEBUG - ==>Verifying data for policy with id: 6e1dba81-614a-4991-9f73-fe6f3b5efcda, fqn: ['default-domain', 'ctest-TestBasicPolicy-62164630', 'ctest-policy-allow-all-72245737'] 2025-10-31 19:41:18,849 - INFO - VN ctest-vn-44565931 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-31 19:41:18,849 - DEBUG - Verifying the vn in opserver 2025-10-31 19:41:18,849 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-62164630:ctest-vn-44565931 virtual network link through opserver 10.0.0.249 2025-10-31 19:41:18,849 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-10-31 19:41:19,205 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-10-31 19:41:19,276 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-62164630:ctest-vn-44565931', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-62164630:ctest-vn-44565931?flat'} 2025-10-31 19:41:19,277 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-62164630:ctest-vn-44565931 is found in opserver 2025-10-31 19:41:19,296 - DEBUG - Do not have enough data to verify VN in agent 2025-10-31 19:41:19,305 - DEBUG - VRF ids for VN ctest-vn-44565931: {} 2025-10-31 19:41:19,305 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-31 19:41:19,311 - DEBUG - Requesting: http://10.0.0.249:8082/domain/e0f21c43-19d6-4a96-94a3-3251ed820390 2025-10-31 19:41:19,335 - DEBUG - Requesting: http://10.0.0.249:8082/project/97401f82-cdb2-492c-a174-46292ae79424 2025-10-31 19:41:19,436 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/73fabb05-761f-4f9f-afb6-1382aad61a4d 2025-10-31 19:41:19,467 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/73fabb05-761f-4f9f-afb6-1382aad61a4d 2025-10-31 19:41:19,496 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/9f7dec08-89a6-4078-8805-70c7900da37d 2025-10-31 19:41:19,516 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/9f7dec08-89a6-4078-8805-70c7900da37d 2025-10-31 19:41:19,535 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/e2fd4d1b-77b2-4375-a04f-8580c71fa421 2025-10-31 19:41:19,553 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-31 19:41:19,553 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/73fabb05-761f-4f9f-afb6-1382aad61a4d 2025-10-31 19:41:19,579 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/9f7dec08-89a6-4078-8805-70c7900da37d 2025-10-31 19:41:19,614 - INFO - Verified VN network id 12 for VN 73fabb05-761f-4f9f-afb6-1382aad61a4d 2025-10-31 19:41:19,614 - INFO - Verifications in API Server for VN ctest-vn-46858688 passed 2025-10-31 19:41:19,614 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/73fabb05-761f-4f9f-afb6-1382aad61a4d 2025-10-31 19:41:19,640 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/9f7dec08-89a6-4078-8805-70c7900da37d 2025-10-31 19:41:19,660 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/9f7dec08-89a6-4078-8805-70c7900da37d 2025-10-31 19:41:19,681 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/e2fd4d1b-77b2-4375-a04f-8580c71fa421 2025-10-31 19:41:19,714 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-62164630:ctest-vn-46858688', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-62164630', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8357197690670370719', 'uuid-lslong': '12661328854331562573'}, 'enable': 'true', 'created': '2025-10-31T19:41:16', 'last-modified': '2025-10-31T19:41:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.036915'} 2025-10-31 19:41:19,730 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-31 19:41:19,731 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-46858688 passed 2025-10-31 19:41:19,731 - DEBUG - ====Verifying policy data for ctest-vn-46858688 in API_Server ====== 2025-10-31 19:41:19,731 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-31 19:41:19,745 - DEBUG - Requesting: http://10.0.0.249:8082/domain/e0f21c43-19d6-4a96-94a3-3251ed820390 2025-10-31 19:41:19,774 - DEBUG - Requesting: http://10.0.0.249:8082/project/97401f82-cdb2-492c-a174-46292ae79424 2025-10-31 19:41:19,887 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/73fabb05-761f-4f9f-afb6-1382aad61a4d 2025-10-31 19:41:19,907 - DEBUG - ==>Verifying data for policy with id: 6e1dba81-614a-4991-9f73-fe6f3b5efcda, fqn: ['default-domain', 'ctest-TestBasicPolicy-62164630', 'ctest-policy-allow-all-72245737'] 2025-10-31 19:41:19,908 - INFO - VN ctest-vn-46858688 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-31 19:41:19,908 - DEBUG - Verifying the vn in opserver 2025-10-31 19:41:19,908 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-62164630:ctest-vn-46858688 virtual network link through opserver 10.0.0.249 2025-10-31 19:41:19,908 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-10-31 19:41:19,929 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-62164630:ctest-vn-46858688', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-62164630:ctest-vn-46858688?flat'} 2025-10-31 19:41:19,929 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-62164630:ctest-vn-46858688 is found in opserver 2025-10-31 19:41:19,957 - DEBUG - Do not have enough data to verify VN in agent 2025-10-31 19:41:19,973 - DEBUG - VRF ids for VN ctest-vn-46858688: {} 2025-10-31 19:41:20,080 - DEBUG - Services list from nova: [, , ] 2025-10-31 19:41:21,553 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4580-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4580-1) 2025-10-31 19:41:23,066 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4580-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4580-1) 2025-10-31 19:41:23,066 - INFO - Waiting for VM ctest-TestBasicPolicy-62164630-99757625 to be up.. 2025-10-31 19:41:23,156 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-31 19:41:28,278 - DEBUG - VM is in ACTIVE state now 2025-10-31 19:41:28,278 - INFO - VM name : ctest-TestBasicPolicy-62164630-99757625 2025-10-31 19:41:28,391 - DEBUG - VM ctest-TestBasicPolicy-62164630-99757625 ID is 4db994c1-8dd5-4ebe-befe-b431f624cc55 2025-10-31 19:41:28,421 - DEBUG - VM ctest-TestBasicPolicy-62164630-99757625 launched on Node cn-jenkins-deploy-platform-ansible-os-4580-1 2025-10-31 19:41:28,540 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/4db994c1-8dd5-4ebe-befe-b431f624cc55 2025-10-31 19:41:28,556 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/1800ce8a-bacd-400c-9bea-7829be18eb65 2025-10-31 19:41:31,914 - 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 1032ms') 2025-10-31 19:41:31,914 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-62164630-99757625 failed! 2025-10-31 19:41:31,974 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-62164630:ctest-vn-44565931 is 222.50.177.193 and allocation pool is NOT set 2025-10-31 19:41:34,057 - 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=13.7 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.77 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 2.769/8.244/13.719/5.475 ms') 2025-10-31 19:41:34,057 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-62164630-99757625 passed 2025-10-31 19:41:34,247 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 19:41:34,247 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-62164630-99757625, IP 222.50.177.195, Port 22 2025-10-31 19:41:34,328 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-10-31 19:41:34,509 - DEBUG - VM ctest-TestBasicPolicy-62164630-99757625 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-31 19:41:39,510 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 19:41:39,511 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-62164630-99757625, IP 222.50.177.195, Port 22 2025-10-31 19:41:39,717 - DEBUG - VM ctest-TestBasicPolicy-62164630-99757625 is ready for SSH connections 2025-10-31 19:41:39,717 - INFO - Waiting for VM ctest-TestBasicPolicy-62164630-67624523 to be up.. 2025-10-31 19:41:39,907 - DEBUG - VM is in ACTIVE state now 2025-10-31 19:41:39,907 - INFO - VM name : ctest-TestBasicPolicy-62164630-67624523 2025-10-31 19:41:40,076 - DEBUG - VM ctest-TestBasicPolicy-62164630-67624523 ID is 16d149d8-a133-4e36-821d-e0118a107e75 2025-10-31 19:41:40,076 - DEBUG - VM ctest-TestBasicPolicy-62164630-67624523 launched on Node cn-jenkins-deploy-platform-ansible-os-4580-1 2025-10-31 19:41:40,209 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/16d149d8-a133-4e36-821d-e0118a107e75 2025-10-31 19:41:40,232 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/76a65b0e-a518-4e19-808c-899d2b3b4cc4 2025-10-31 19:41:41,553 - 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=10.7 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.551 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.551/5.638/10.726/5.087 ms') 2025-10-31 19:41:41,553 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-62164630-67624523 passed 2025-10-31 19:41:41,727 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 19:41:41,727 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-62164630-67624523, IP 36.166.122.67, Port 22 2025-10-31 19:41:41,937 - DEBUG - VM ctest-TestBasicPolicy-62164630-67624523 is ready for SSH connections 2025-10-31 19:41:41,938 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 19:41:41,938 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 36.166.122.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-10-31 19:41:41,938 - DEBUG - ping -s 56 -c 3 -W 1 36.166.122.67 2025-10-31 19:41:46,498 - DEBUG - PING 36.166.122.67 (36.166.122.67): 56 data bytes 64 bytes from 36.166.122.67: seq=0 ttl=63 time=3.936 ms 64 bytes from 36.166.122.67: seq=1 ttl=63 time=1.442 ms 64 bytes from 36.166.122.67: seq=2 ttl=63 time=1.294 ms --- 36.166.122.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.294/2.224/3.936 ms 2025-10-31 19:41:46,499 - INFO - Ping to IP 36.166.122.67 from VM ctest-TestBasicPolicy-62164630-99757625 passed 2025-10-31 19:41:46,766 - DEBUG - Policy Update Response {"network-policy": {"uuid": "6e1dba81-614a-4991-9f73-fe6f3b5efcda", "href": "http://10.0.0.249:8082/network-policy/6e1dba81-614a-4991-9f73-fe6f3b5efcda"}} 2025-10-31 19:41:46,766 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 19:41:46,766 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 36.166.122.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-10-31 19:41:46,767 - DEBUG - ping -s 56 -c 3 -W 1 36.166.122.67 2025-10-31 19:41:50,065 - DEBUG - PING 36.166.122.67 (36.166.122.67): 56 data bytes 64 bytes from 36.166.122.67: seq=0 ttl=63 time=2.030 ms --- 36.166.122.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 2.030/2.030/2.030 ms 2025-10-31 19:41:50,065 - WARNING - Ping to IP 36.166.122.67 from VM ctest-TestBasicPolicy-62164630-99757625 failed 2025-10-31 19:41:50,066 - INFO - Deleting VM ctest-TestBasicPolicy-62164630-67624523 2025-10-31 19:41:50,231 - INFO - Deleting VM ctest-TestBasicPolicy-62164630-99757625 2025-10-31 19:41:50,782 - INFO - Deleted policy ctest-policy-allow-all-72245737 2025-10-31 19:41:50,782 - INFO - Deleting VN ctest-vn-46858688 2025-10-31 19:41:50,830 - DEBUG - VN 73fabb05-761f-4f9f-afb6-1382aad61a4d still in use: Unable to complete operation on network 73fabb05-761f-4f9f-afb6-1382aad61a4d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-869e0860-aa25-498b-9b34-b01b27454cc2'] 2025-10-31 19:41:50,830 - WARNING - Deleting VN ctest-vn-46858688 failed..Will retry 2025-10-31 19:41:53,046 - DEBUG - Response for deleting network () 2025-10-31 19:41:53,047 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/9f7dec08-89a6-4078-8805-70c7900da37d 2025-10-31 19:41:53,058 - DEBUG - Response Code: 404 2025-10-31 19:41:53,058 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-31 19:41:53,066 - DEBUG - Requesting: http://10.0.0.249:8082/domain/e0f21c43-19d6-4a96-94a3-3251ed820390 2025-10-31 19:41:53,134 - DEBUG - Requesting: http://10.0.0.249:8082/project/97401f82-cdb2-492c-a174-46292ae79424 2025-10-31 19:41:53,252 - INFO - Validated that VN ctest-vn-46858688 is not found in API Server 2025-10-31 19:41:53,272 - DEBUG - VN ctest-vn-46858688 is not present in Agent 10.0.0.249 2025-10-31 19:41:53,272 - INFO - Validated that VN ctest-vn-46858688 is not in any agent 2025-10-31 19:41:53,294 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-46858688 info 2025-10-31 19:41:53,295 - INFO - Deleting VN ctest-vn-44565931 2025-10-31 19:41:53,519 - DEBUG - Response for deleting network () 2025-10-31 19:41:53,519 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/7eb7c525-52c3-4dda-a35f-1ed6f438bcf1 2025-10-31 19:41:53,530 - DEBUG - Response Code: 404 2025-10-31 19:41:53,530 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-31 19:41:53,541 - DEBUG - Requesting: http://10.0.0.249:8082/domain/e0f21c43-19d6-4a96-94a3-3251ed820390 2025-10-31 19:41:53,563 - DEBUG - Requesting: http://10.0.0.249:8082/project/97401f82-cdb2-492c-a174-46292ae79424 2025-10-31 19:41:53,676 - INFO - Validated that VN ctest-vn-44565931 is not found in API Server 2025-10-31 19:41:53,698 - DEBUG - VN ctest-vn-44565931 is not present in Agent 10.0.0.249 2025-10-31 19:41:53,698 - INFO - Validated that VN ctest-vn-44565931 is not in any agent 2025-10-31 19:41:53,744 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-44565931 info 2025-10-31 19:41:54,065 - DEBUG - No XMPP flaps were noticed during the test
2025-10-31 19:41:54,065 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:40]
2025-10-31 19:41:54,066 - INFO - -------------------------------------------------------------------------------- 2025-10-31 19:41:55,052 - INFO - Deleted project: ctest-TestBasicPolicy-62164630, ID : 97401f82-cdb2-492c-a174-46292ae79424