2025-12-30 03:01:39,628 - INFO - Domain Default found not creating 2025-12-30 03:01:39,774 - INFO - Project ctest-TestBasicPolicy-97874326 not found, creating it 2025-12-30 03:01:40,196 - INFO - Created Project:ctest-TestBasicPolicy-97874326, ID : 0b98db1b-e7cd-40ce-9d13-64fb11279554 2025-12-30 03:01:41,581 - INFO - ================================================================================ 2025-12-30 03:01:41,581 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-12-30 03:01:41,581 - 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-12-30 03:01:41,834 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.14': '0'}} with 2025-12-30 03:01:41,834 - INFO - Initial checks done. Running the testcase now 2025-12-30 03:01:41,834 - INFO - 2025-12-30 03:01:42,345 - DEBUG - Response for create_network : {'network': {'id': 'c5414044-cbff-44b8-aed9-afcca61a94c8', 'name': 'ctest-vn-66783148', 'tenant_id': '0b98db1be7cd40ce9d1364fb11279554', 'project_id': '0b98db1be7cd40ce9d1364fb11279554', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97874326', 'ctest-vn-66783148'], 'port_security_enabled': True, 'description': ''}} 2025-12-30 03:01:42,539 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a9a23972-0b7a-4ebc-89a7-17eb36518878', 'name': '', 'tenant_id': '0b98db1be7cd40ce9d1364fb11279554', 'network_id': 'c5414044-cbff-44b8-aed9-afcca61a94c8', 'ip_version': 4, 'cidr': '33.46.39.128/26', 'allocation_pools': [{'start': '33.46.39.130', 'end': '33.46.39.190'}], 'gateway_ip': '33.46.39.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '33.46.39.130', 'tags': [], 'project_id': '0b98db1be7cd40ce9d1364fb11279554'}} 2025-12-30 03:01:42,554 - INFO - Created VN ctest-vn-66783148 2025-12-30 03:01:42,606 - DEBUG - VN ctest-vn-66783148 UUID is c5414044-cbff-44b8-aed9-afcca61a94c8 2025-12-30 03:01:42,907 - DEBUG - Response for create_network : {'network': {'id': '6dc10e08-5cff-4207-80c5-d6c7499c25d3', 'name': 'ctest-vn-38520773', 'tenant_id': '0b98db1be7cd40ce9d1364fb11279554', 'project_id': '0b98db1be7cd40ce9d1364fb11279554', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97874326', 'ctest-vn-38520773'], 'port_security_enabled': True, 'description': ''}} 2025-12-30 03:01:43,040 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e9bbe42d-f950-4556-833d-c17de1e2aeb9', 'name': '', 'tenant_id': '0b98db1be7cd40ce9d1364fb11279554', 'network_id': '6dc10e08-5cff-4207-80c5-d6c7499c25d3', 'ip_version': 4, 'cidr': '109.159.248.192/26', 'allocation_pools': [{'start': '109.159.248.194', 'end': '109.159.248.254'}], 'gateway_ip': '109.159.248.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '109.159.248.194', 'tags': [], 'project_id': '0b98db1be7cd40ce9d1364fb11279554'}} 2025-12-30 03:01:43,056 - INFO - Created VN ctest-vn-38520773 2025-12-30 03:01:43,110 - DEBUG - VN ctest-vn-38520773 UUID is 6dc10e08-5cff-4207-80c5-d6c7499c25d3 2025-12-30 03:01:43,253 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-97874326:ctest-vn-66783148, 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-97874326:ctest-vn-38520773, 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-12-30 03:01:43,527 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c5414044-cbff-44b8-aed9-afcca61a94c8', 'name': 'ctest-vn-66783148', 'tenant_id': '0b98db1be7cd40ce9d1364fb11279554', 'project_id': '0b98db1be7cd40ce9d1364fb11279554', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a9a23972-0b7a-4ebc-89a7-17eb36518878'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97874326', 'ctest-vn-66783148'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-97874326', 'ctest-policy-allow-all-41882939']], 'subnet_ipam': [{'subnet_cidr': '33.46.39.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-30 03:01:43,740 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6dc10e08-5cff-4207-80c5-d6c7499c25d3', 'name': 'ctest-vn-38520773', 'tenant_id': '0b98db1be7cd40ce9d1364fb11279554', 'project_id': '0b98db1be7cd40ce9d1364fb11279554', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e9bbe42d-f950-4556-833d-c17de1e2aeb9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97874326', 'ctest-vn-38520773'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-97874326', 'ctest-policy-allow-all-41882939']], 'subnet_ipam': [{'subnet_cidr': '109.159.248.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-30 03:01:43,886 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-12-30 03:01:44,184 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-12-30 03:01:44,211 - DEBUG - Requesting: http://10.0.0.249:8082/domain/150b051f-c1fa-4acc-b2e5-58d0303793b6 2025-12-30 03:01:44,221 - DEBUG - Requesting: http://10.0.0.249:8082/project/0b98db1b-e7cd-40ce-9d13-64fb11279554 2025-12-30 03:01:44,290 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/c5414044-cbff-44b8-aed9-afcca61a94c8 2025-12-30 03:01:44,300 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/c5414044-cbff-44b8-aed9-afcca61a94c8 2025-12-30 03:01:44,308 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/e76bd575-5723-457d-83e5-65640a614df1 2025-12-30 03:01:44,322 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/e76bd575-5723-457d-83e5-65640a614df1 2025-12-30 03:01:44,328 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/f1ecfafe-a214-43ef-bdb1-d59b1ef717a5 2025-12-30 03:01:44,334 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-30 03:01:44,334 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/c5414044-cbff-44b8-aed9-afcca61a94c8 2025-12-30 03:01:44,342 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/e76bd575-5723-457d-83e5-65640a614df1 2025-12-30 03:01:44,353 - INFO - Verified VN network id 11 for VN c5414044-cbff-44b8-aed9-afcca61a94c8 2025-12-30 03:01:44,353 - INFO - Verifications in API Server for VN ctest-vn-66783148 passed 2025-12-30 03:01:44,353 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/c5414044-cbff-44b8-aed9-afcca61a94c8 2025-12-30 03:01:44,361 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/e76bd575-5723-457d-83e5-65640a614df1 2025-12-30 03:01:44,367 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/e76bd575-5723-457d-83e5-65640a614df1 2025-12-30 03:01:44,373 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/f1ecfafe-a214-43ef-bdb1-d59b1ef717a5 2025-12-30 03:01:44,382 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-97874326:ctest-vn-66783148', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-97874326', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14213712563182453944', 'uuid-lslong': '12599294726040622280'}, 'enable': 'true', 'created': '2025-12-30T03:01:42', 'last-modified': '2025-12-30T03:01:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.872464'} 2025-12-30 03:01:44,387 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-30 03:01:44,387 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-66783148 passed 2025-12-30 03:01:44,388 - DEBUG - ====Verifying policy data for ctest-vn-66783148 in API_Server ====== 2025-12-30 03:01:44,388 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-12-30 03:01:44,392 - DEBUG - Requesting: http://10.0.0.249:8082/domain/150b051f-c1fa-4acc-b2e5-58d0303793b6 2025-12-30 03:01:44,404 - DEBUG - Requesting: http://10.0.0.249:8082/project/0b98db1b-e7cd-40ce-9d13-64fb11279554 2025-12-30 03:01:44,470 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/c5414044-cbff-44b8-aed9-afcca61a94c8 2025-12-30 03:01:44,478 - DEBUG - ==>Verifying data for policy with id: 756f88fd-35d3-488a-a886-23655393fc4f, fqn: ['default-domain', 'ctest-TestBasicPolicy-97874326', 'ctest-policy-allow-all-41882939'] 2025-12-30 03:01:44,478 - INFO - VN ctest-vn-66783148 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-30 03:01:44,479 - DEBUG - Verifying the vn in opserver 2025-12-30 03:01:44,479 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-97874326:ctest-vn-66783148 virtual network link through opserver 10.0.0.249 2025-12-30 03:01:44,479 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-12-30 03:01:44,772 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-12-30 03:01:44,828 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-97874326:ctest-vn-66783148', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-97874326:ctest-vn-66783148?flat'} 2025-12-30 03:01:44,828 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-97874326:ctest-vn-66783148 is found in opserver 2025-12-30 03:01:44,837 - DEBUG - Do not have enough data to verify VN in agent 2025-12-30 03:01:44,841 - DEBUG - VRF ids for VN ctest-vn-66783148: {} 2025-12-30 03:01:44,841 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-12-30 03:01:44,846 - DEBUG - Requesting: http://10.0.0.249:8082/domain/150b051f-c1fa-4acc-b2e5-58d0303793b6 2025-12-30 03:01:44,857 - DEBUG - Requesting: http://10.0.0.249:8082/project/0b98db1b-e7cd-40ce-9d13-64fb11279554 2025-12-30 03:01:44,927 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/6dc10e08-5cff-4207-80c5-d6c7499c25d3 2025-12-30 03:01:44,940 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/6dc10e08-5cff-4207-80c5-d6c7499c25d3 2025-12-30 03:01:44,949 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/efc06f37-75a9-4671-ae0f-ce96fe745649 2025-12-30 03:01:44,955 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/efc06f37-75a9-4671-ae0f-ce96fe745649 2025-12-30 03:01:44,960 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/46c4c295-6900-43f7-9372-7fe3dc540476 2025-12-30 03:01:44,966 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-30 03:01:44,966 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/6dc10e08-5cff-4207-80c5-d6c7499c25d3 2025-12-30 03:01:44,974 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/efc06f37-75a9-4671-ae0f-ce96fe745649 2025-12-30 03:01:44,986 - INFO - Verified VN network id 12 for VN 6dc10e08-5cff-4207-80c5-d6c7499c25d3 2025-12-30 03:01:44,986 - INFO - Verifications in API Server for VN ctest-vn-38520773 passed 2025-12-30 03:01:44,986 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/6dc10e08-5cff-4207-80c5-d6c7499c25d3 2025-12-30 03:01:44,993 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/efc06f37-75a9-4671-ae0f-ce96fe745649 2025-12-30 03:01:44,998 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/efc06f37-75a9-4671-ae0f-ce96fe745649 2025-12-30 03:01:45,003 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/46c4c295-6900-43f7-9372-7fe3dc540476 2025-12-30 03:01:45,012 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-97874326:ctest-vn-38520773', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-97874326', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7908617849722061319', 'uuid-lslong': '9279058758688581075'}, 'enable': 'true', 'created': '2025-12-30T03:01:42', 'last-modified': '2025-12-30T03:01:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.289182'} 2025-12-30 03:01:45,017 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-30 03:01:45,017 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-38520773 passed 2025-12-30 03:01:45,017 - DEBUG - ====Verifying policy data for ctest-vn-38520773 in API_Server ====== 2025-12-30 03:01:45,017 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-12-30 03:01:45,024 - DEBUG - Requesting: http://10.0.0.249:8082/domain/150b051f-c1fa-4acc-b2e5-58d0303793b6 2025-12-30 03:01:45,034 - DEBUG - Requesting: http://10.0.0.249:8082/project/0b98db1b-e7cd-40ce-9d13-64fb11279554 2025-12-30 03:01:45,104 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/6dc10e08-5cff-4207-80c5-d6c7499c25d3 2025-12-30 03:01:45,112 - DEBUG - ==>Verifying data for policy with id: 756f88fd-35d3-488a-a886-23655393fc4f, fqn: ['default-domain', 'ctest-TestBasicPolicy-97874326', 'ctest-policy-allow-all-41882939'] 2025-12-30 03:01:45,113 - INFO - VN ctest-vn-38520773 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-30 03:01:45,113 - DEBUG - Verifying the vn in opserver 2025-12-30 03:01:45,113 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-97874326:ctest-vn-38520773 virtual network link through opserver 10.0.0.249 2025-12-30 03:01:45,113 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-12-30 03:01:45,121 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-97874326:ctest-vn-38520773', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-97874326:ctest-vn-38520773?flat'} 2025-12-30 03:01:45,121 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-97874326:ctest-vn-38520773 is found in opserver 2025-12-30 03:01:45,129 - DEBUG - Do not have enough data to verify VN in agent 2025-12-30 03:01:45,133 - DEBUG - VRF ids for VN ctest-vn-38520773: {} 2025-12-30 03:01:45,183 - DEBUG - Services list from nova: [, , ] 2025-12-30 03:01:46,166 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4939-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4939-1) 2025-12-30 03:01:47,240 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4939-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4939-1) 2025-12-30 03:01:47,240 - INFO - Waiting for VM ctest-TestBasicPolicy-97874326-87237636 to be up.. 2025-12-30 03:01:47,309 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-30 03:01:52,380 - DEBUG - VM is in ACTIVE state now 2025-12-30 03:01:52,380 - INFO - VM name : ctest-TestBasicPolicy-97874326-87237636 2025-12-30 03:01:52,460 - DEBUG - VM ctest-TestBasicPolicy-97874326-87237636 ID is dc3f24ba-b56e-4b28-bfcd-43ae42d4e424 2025-12-30 03:01:52,485 - DEBUG - VM ctest-TestBasicPolicy-97874326-87237636 launched on Node cn-jenkins-deploy-platform-ansible-os-4939-1 2025-12-30 03:01:52,567 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/dc3f24ba-b56e-4b28-bfcd-43ae42d4e424 2025-12-30 03:01:52,575 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/30f04fd3-0e1b-4baf-86c2-e2688473699e 2025-12-30 03:01:55,833 - 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-12-30 03:01:55,833 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-97874326-87237636 failed! 2025-12-30 03:01:55,886 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-97874326:ctest-vn-66783148 is 33.46.39.129 and allocation pool is NOT set 2025-12-30 03:01:57,948 - 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=4.89 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.84 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 = 1.840/3.363/4.886/1.523 ms') 2025-12-30 03:01:57,948 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-97874326-87237636 passed 2025-12-30 03:01:58,098 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-30 03:01:58,098 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-97874326-87237636, IP 33.46.39.131, Port 22 2025-12-30 03:01:58,153 - 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-12-30 03:01:58,224 - DEBUG - VM ctest-TestBasicPolicy-97874326-87237636 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-30 03:02:03,225 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-30 03:02:03,225 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-97874326-87237636, IP 33.46.39.131, Port 22 2025-12-30 03:02:03,381 - DEBUG - VM ctest-TestBasicPolicy-97874326-87237636 is ready for SSH connections 2025-12-30 03:02:03,381 - INFO - Waiting for VM ctest-TestBasicPolicy-97874326-34668759 to be up.. 2025-12-30 03:02:03,457 - DEBUG - VM is in ACTIVE state now 2025-12-30 03:02:03,457 - INFO - VM name : ctest-TestBasicPolicy-97874326-34668759 2025-12-30 03:02:03,523 - DEBUG - VM ctest-TestBasicPolicy-97874326-34668759 ID is b91c2730-489c-4ff1-865a-7846e46a9673 2025-12-30 03:02:03,523 - DEBUG - VM ctest-TestBasicPolicy-97874326-34668759 launched on Node cn-jenkins-deploy-platform-ansible-os-4939-1 2025-12-30 03:02:03,588 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/b91c2730-489c-4ff1-865a-7846e46a9673 2025-12-30 03:02:03,595 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/264e33df-7def-4746-8f63-eb3f40c5c8cc 2025-12-30 03:02:04,828 - 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.96 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.324 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.324/1.640/2.956/1.316 ms') 2025-12-30 03:02:04,828 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-97874326-34668759 passed 2025-12-30 03:02:04,974 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-30 03:02:04,974 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-97874326-34668759, IP 109.159.248.195, Port 22 2025-12-30 03:02:05,129 - DEBUG - VM ctest-TestBasicPolicy-97874326-34668759 is ready for SSH connections 2025-12-30 03:02:05,129 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-30 03:02:05,129 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 109.159.248.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-12-30 03:02:05,129 - DEBUG - ping -s 56 -c 3 -W 1 109.159.248.195 2025-12-30 03:02:09,125 - DEBUG - PING 109.159.248.195 (109.159.248.195): 56 data bytes 64 bytes from 109.159.248.195: seq=0 ttl=63 time=3.298 ms 64 bytes from 109.159.248.195: seq=1 ttl=63 time=0.767 ms 64 bytes from 109.159.248.195: seq=2 ttl=63 time=0.738 ms --- 109.159.248.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.738/1.601/3.298 ms 2025-12-30 03:02:09,125 - INFO - Ping to IP 109.159.248.195 from VM ctest-TestBasicPolicy-97874326-87237636 passed 2025-12-30 03:02:09,297 - DEBUG - Policy Update Response {"network-policy": {"uuid": "756f88fd-35d3-488a-a886-23655393fc4f", "href": "http://10.0.0.249:8082/network-policy/756f88fd-35d3-488a-a886-23655393fc4f"}} 2025-12-30 03:02:09,298 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-30 03:02:09,298 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 109.159.248.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-12-30 03:02:09,298 - DEBUG - ping -s 56 -c 3 -W 1 109.159.248.195 2025-12-30 03:02:12,508 - DEBUG - PING 109.159.248.195 (109.159.248.195): 56 data bytes 64 bytes from 109.159.248.195: seq=0 ttl=63 time=1.490 ms --- 109.159.248.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.490/1.490/1.490 ms 2025-12-30 03:02:12,509 - WARNING - Ping to IP 109.159.248.195 from VM ctest-TestBasicPolicy-97874326-87237636 failed 2025-12-30 03:02:12,509 - INFO - Deleting VM ctest-TestBasicPolicy-97874326-34668759 2025-12-30 03:02:12,578 - INFO - Deleting VM ctest-TestBasicPolicy-97874326-87237636 2025-12-30 03:02:12,895 - INFO - Deleted policy ctest-policy-allow-all-41882939 2025-12-30 03:02:12,896 - INFO - Deleting VN ctest-vn-38520773 2025-12-30 03:02:12,927 - DEBUG - VN 6dc10e08-5cff-4207-80c5-d6c7499c25d3 still in use: Unable to complete operation on network 6dc10e08-5cff-4207-80c5-d6c7499c25d3. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-31c66735-a804-47a6-8d79-79f51079108a'] 2025-12-30 03:02:12,928 - WARNING - Deleting VN ctest-vn-38520773 failed..Will retry 2025-12-30 03:02:15,020 - DEBUG - Response for deleting network () 2025-12-30 03:02:15,020 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/efc06f37-75a9-4671-ae0f-ce96fe745649 2025-12-30 03:02:15,028 - DEBUG - Response Code: 404 2025-12-30 03:02:15,028 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-12-30 03:02:15,033 - DEBUG - Requesting: http://10.0.0.249:8082/domain/150b051f-c1fa-4acc-b2e5-58d0303793b6 2025-12-30 03:02:15,087 - DEBUG - Requesting: http://10.0.0.249:8082/project/0b98db1b-e7cd-40ce-9d13-64fb11279554 2025-12-30 03:02:15,153 - INFO - Validated that VN ctest-vn-38520773 is not found in API Server 2025-12-30 03:02:15,161 - DEBUG - VN ctest-vn-38520773 is not present in Agent 10.0.0.249 2025-12-30 03:02:15,161 - INFO - Validated that VN ctest-vn-38520773 is not in any agent 2025-12-30 03:02:15,174 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-38520773 info 2025-12-30 03:02:15,174 - INFO - Deleting VN ctest-vn-66783148 2025-12-30 03:02:15,254 - DEBUG - Response for deleting network () 2025-12-30 03:02:15,255 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/e76bd575-5723-457d-83e5-65640a614df1 2025-12-30 03:02:15,259 - DEBUG - Response Code: 404 2025-12-30 03:02:15,259 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-12-30 03:02:15,263 - DEBUG - Requesting: http://10.0.0.249:8082/domain/150b051f-c1fa-4acc-b2e5-58d0303793b6 2025-12-30 03:02:15,314 - DEBUG - Requesting: http://10.0.0.249:8082/project/0b98db1b-e7cd-40ce-9d13-64fb11279554 2025-12-30 03:02:15,380 - INFO - Validated that VN ctest-vn-66783148 is not found in API Server 2025-12-30 03:02:15,388 - DEBUG - VN ctest-vn-66783148 is not present in Agent 10.0.0.249 2025-12-30 03:02:15,388 - INFO - Validated that VN ctest-vn-66783148 is not in any agent 2025-12-30 03:02:15,399 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-66783148 info 2025-12-30 03:02:15,661 - DEBUG - No XMPP flaps were noticed during the test
2025-12-30 03:02:15,661 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:34]
2025-12-30 03:02:15,661 - INFO - -------------------------------------------------------------------------------- 2025-12-30 03:02:16,301 - INFO - Deleted project: ctest-TestBasicPolicy-97874326, ID : 0b98db1b-e7cd-40ce-9d13-64fb11279554