2025-11-03 09:12:51,201 - INFO - Domain Default found not creating 2025-11-03 09:12:51,359 - INFO - Project ctest-TestBasicPolicy-47051311 not found, creating it 2025-11-03 09:12:51,810 - INFO - Created Project:ctest-TestBasicPolicy-47051311, ID : 6fd654de-d448-421b-8893-78eeee5b72ef 2025-11-03 09:12:53,393 - INFO - ================================================================================ 2025-11-03 09:12:53,393 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-03 09:12:53,393 - 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-03 09:12:53,647 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.254': '0'}} with 2025-11-03 09:12:53,647 - INFO - Initial checks done. Running the testcase now 2025-11-03 09:12:53,648 - INFO - 2025-11-03 09:12:54,248 - DEBUG - Response for create_network : {'network': {'id': 'a81d7829-c806-4394-abaa-d7e0856b8b78', 'name': 'ctest-vn-14575304', 'tenant_id': '6fd654ded448421b889378eeee5b72ef', 'project_id': '6fd654ded448421b889378eeee5b72ef', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-47051311', 'ctest-vn-14575304'], 'port_security_enabled': True, 'description': ''}} 2025-11-03 09:12:54,432 - DEBUG - Response for create_subnet : {'subnet': {'id': 'eba847a6-4509-4e78-97fd-8b8fb1ddfdff', 'name': '', 'tenant_id': '6fd654ded448421b889378eeee5b72ef', 'network_id': 'a81d7829-c806-4394-abaa-d7e0856b8b78', 'ip_version': 4, 'cidr': '149.117.247.128/26', 'allocation_pools': [{'start': '149.117.247.130', 'end': '149.117.247.190'}], 'gateway_ip': '149.117.247.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '149.117.247.130', 'tags': [], 'project_id': '6fd654ded448421b889378eeee5b72ef'}} 2025-11-03 09:12:54,450 - INFO - Created VN ctest-vn-14575304 2025-11-03 09:12:54,506 - DEBUG - VN ctest-vn-14575304 UUID is a81d7829-c806-4394-abaa-d7e0856b8b78 2025-11-03 09:12:54,829 - DEBUG - Response for create_network : {'network': {'id': '8e24c731-1e66-481d-af43-02987fcd1484', 'name': 'ctest-vn-04530419', 'tenant_id': '6fd654ded448421b889378eeee5b72ef', 'project_id': '6fd654ded448421b889378eeee5b72ef', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-47051311', 'ctest-vn-04530419'], 'port_security_enabled': True, 'description': ''}} 2025-11-03 09:12:55,005 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a3e97a35-139c-4d6a-a3a8-ef78b366edbc', 'name': '', 'tenant_id': '6fd654ded448421b889378eeee5b72ef', 'network_id': '8e24c731-1e66-481d-af43-02987fcd1484', 'ip_version': 4, 'cidr': '57.73.93.128/26', 'allocation_pools': [{'start': '57.73.93.130', 'end': '57.73.93.190'}], 'gateway_ip': '57.73.93.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '57.73.93.130', 'tags': [], 'project_id': '6fd654ded448421b889378eeee5b72ef'}} 2025-11-03 09:12:55,023 - INFO - Created VN ctest-vn-04530419 2025-11-03 09:12:55,074 - DEBUG - VN ctest-vn-04530419 UUID is 8e24c731-1e66-481d-af43-02987fcd1484 2025-11-03 09:12:55,226 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-47051311:ctest-vn-14575304, 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-47051311:ctest-vn-04530419, 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-03 09:12:55,537 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a81d7829-c806-4394-abaa-d7e0856b8b78', 'name': 'ctest-vn-14575304', 'tenant_id': '6fd654ded448421b889378eeee5b72ef', 'project_id': '6fd654ded448421b889378eeee5b72ef', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['eba847a6-4509-4e78-97fd-8b8fb1ddfdff'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-47051311', 'ctest-vn-14575304'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-47051311', 'ctest-policy-allow-all-95575279']], 'subnet_ipam': [{'subnet_cidr': '149.117.247.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-03 09:12:55,784 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8e24c731-1e66-481d-af43-02987fcd1484', 'name': 'ctest-vn-04530419', 'tenant_id': '6fd654ded448421b889378eeee5b72ef', 'project_id': '6fd654ded448421b889378eeee5b72ef', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a3e97a35-139c-4d6a-a3a8-ef78b366edbc'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-47051311', 'ctest-vn-04530419'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-47051311', 'ctest-policy-allow-all-95575279']], 'subnet_ipam': [{'subnet_cidr': '57.73.93.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-03 09:12:55,962 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-11-03 09:12:56,311 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-11-03 09:12:56,342 - DEBUG - Requesting: http://10.0.0.65:8082/domain/411773d3-55f5-43b5-aeca-a54e26606168 2025-11-03 09:12:56,355 - DEBUG - Requesting: http://10.0.0.65:8082/project/6fd654de-d448-421b-8893-78eeee5b72ef 2025-11-03 09:12:56,426 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/a81d7829-c806-4394-abaa-d7e0856b8b78 2025-11-03 09:12:56,436 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/a81d7829-c806-4394-abaa-d7e0856b8b78 2025-11-03 09:12:56,444 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/b4291001-2677-4d6a-94d6-ee7260f4b689 2025-11-03 09:12:56,450 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/b4291001-2677-4d6a-94d6-ee7260f4b689 2025-11-03 09:12:56,455 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/a686bb4c-defb-474b-92d0-eeb20f4d3369 2025-11-03 09:12:56,461 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-03 09:12:56,461 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/a81d7829-c806-4394-abaa-d7e0856b8b78 2025-11-03 09:12:56,469 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/b4291001-2677-4d6a-94d6-ee7260f4b689 2025-11-03 09:12:56,481 - INFO - Verified VN network id 11 for VN a81d7829-c806-4394-abaa-d7e0856b8b78 2025-11-03 09:12:56,481 - INFO - Verifications in API Server for VN ctest-vn-14575304 passed 2025-11-03 09:12:56,481 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/a81d7829-c806-4394-abaa-d7e0856b8b78 2025-11-03 09:12:56,489 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/b4291001-2677-4d6a-94d6-ee7260f4b689 2025-11-03 09:12:56,495 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/b4291001-2677-4d6a-94d6-ee7260f4b689 2025-11-03 09:12:56,501 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/a686bb4c-defb-474b-92d0-eeb20f4d3369 2025-11-03 09:12:56,511 - DEBUG - Control-node 10.0.0.65 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-47051311:ctest-vn-14575304', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-47051311', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12113970693541348244', 'uuid-lslong': '12369936685837552504'}, 'enable': 'true', 'created': '2025-11-03T09:12:54', 'last-modified': '2025-11-03T09:12:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.997726'} 2025-11-03 09:12:56,516 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-03 09:12:56,517 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-14575304 passed 2025-11-03 09:12:56,517 - DEBUG - ====Verifying policy data for ctest-vn-14575304 in API_Server ====== 2025-11-03 09:12:56,517 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-11-03 09:12:56,521 - DEBUG - Requesting: http://10.0.0.65:8082/domain/411773d3-55f5-43b5-aeca-a54e26606168 2025-11-03 09:12:56,533 - DEBUG - Requesting: http://10.0.0.65:8082/project/6fd654de-d448-421b-8893-78eeee5b72ef 2025-11-03 09:12:56,602 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/a81d7829-c806-4394-abaa-d7e0856b8b78 2025-11-03 09:12:56,611 - DEBUG - ==>Verifying data for policy with id: 2503c3c9-be8e-406b-8a95-ca33f9d94f0f, fqn: ['default-domain', 'ctest-TestBasicPolicy-47051311', 'ctest-policy-allow-all-95575279'] 2025-11-03 09:12:56,612 - INFO - VN ctest-vn-14575304 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-03 09:12:56,612 - DEBUG - Verifying the vn in opserver 2025-11-03 09:12:56,612 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-47051311:ctest-vn-14575304 virtual network link through opserver 10.0.0.65 2025-11-03 09:12:56,612 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2025-11-03 09:12:56,950 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2025-11-03 09:12:57,006 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-47051311:ctest-vn-14575304', 'href': 'http://10.0.0.65:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-47051311:ctest-vn-14575304?flat'} 2025-11-03 09:12:57,006 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-47051311:ctest-vn-14575304 is found in opserver 2025-11-03 09:12:57,016 - DEBUG - Do not have enough data to verify VN in agent 2025-11-03 09:12:57,020 - DEBUG - VRF ids for VN ctest-vn-14575304: {} 2025-11-03 09:12:57,020 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-11-03 09:12:57,025 - DEBUG - Requesting: http://10.0.0.65:8082/domain/411773d3-55f5-43b5-aeca-a54e26606168 2025-11-03 09:12:57,036 - DEBUG - Requesting: http://10.0.0.65:8082/project/6fd654de-d448-421b-8893-78eeee5b72ef 2025-11-03 09:12:57,106 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/8e24c731-1e66-481d-af43-02987fcd1484 2025-11-03 09:12:57,119 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/8e24c731-1e66-481d-af43-02987fcd1484 2025-11-03 09:12:57,129 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/b36ace0e-5ab8-480e-88cf-1ccc56cb36a1 2025-11-03 09:12:57,137 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/b36ace0e-5ab8-480e-88cf-1ccc56cb36a1 2025-11-03 09:12:57,145 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/350b43b9-f690-4bea-836e-dd7a107a61c2 2025-11-03 09:12:57,153 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-03 09:12:57,153 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/8e24c731-1e66-481d-af43-02987fcd1484 2025-11-03 09:12:57,163 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/b36ace0e-5ab8-480e-88cf-1ccc56cb36a1 2025-11-03 09:12:57,176 - INFO - Verified VN network id 12 for VN 8e24c731-1e66-481d-af43-02987fcd1484 2025-11-03 09:12:57,177 - INFO - Verifications in API Server for VN ctest-vn-04530419 passed 2025-11-03 09:12:57,177 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/8e24c731-1e66-481d-af43-02987fcd1484 2025-11-03 09:12:57,186 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/b36ace0e-5ab8-480e-88cf-1ccc56cb36a1 2025-11-03 09:12:57,193 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/b36ace0e-5ab8-480e-88cf-1ccc56cb36a1 2025-11-03 09:12:57,200 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/350b43b9-f690-4bea-836e-dd7a107a61c2 2025-11-03 09:12:57,212 - DEBUG - Control-node 10.0.0.65 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-47051311:ctest-vn-04530419', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-47051311', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10242530466324695069', 'uuid-lslong': '12628940634079433860'}, 'enable': 'true', 'created': '2025-11-03T09:12:54', 'last-modified': '2025-11-03T09:12:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.451177'} 2025-11-03 09:12:57,219 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-03 09:12:57,219 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-04530419 passed 2025-11-03 09:12:57,219 - DEBUG - ====Verifying policy data for ctest-vn-04530419 in API_Server ====== 2025-11-03 09:12:57,219 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-11-03 09:12:57,225 - DEBUG - Requesting: http://10.0.0.65:8082/domain/411773d3-55f5-43b5-aeca-a54e26606168 2025-11-03 09:12:57,235 - DEBUG - Requesting: http://10.0.0.65:8082/project/6fd654de-d448-421b-8893-78eeee5b72ef 2025-11-03 09:12:57,301 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/8e24c731-1e66-481d-af43-02987fcd1484 2025-11-03 09:12:57,310 - DEBUG - ==>Verifying data for policy with id: 2503c3c9-be8e-406b-8a95-ca33f9d94f0f, fqn: ['default-domain', 'ctest-TestBasicPolicy-47051311', 'ctest-policy-allow-all-95575279'] 2025-11-03 09:12:57,310 - INFO - VN ctest-vn-04530419 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-03 09:12:57,310 - DEBUG - Verifying the vn in opserver 2025-11-03 09:12:57,310 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-47051311:ctest-vn-04530419 virtual network link through opserver 10.0.0.65 2025-11-03 09:12:57,310 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2025-11-03 09:12:57,320 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-47051311:ctest-vn-04530419', 'href': 'http://10.0.0.65:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-47051311:ctest-vn-04530419?flat'} 2025-11-03 09:12:57,320 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-47051311:ctest-vn-04530419 is found in opserver 2025-11-03 09:12:57,331 - DEBUG - Do not have enough data to verify VN in agent 2025-11-03 09:12:57,336 - DEBUG - VRF ids for VN ctest-vn-04530419: {} 2025-11-03 09:12:57,394 - DEBUG - Services list from nova: [, , ] 2025-11-03 09:12:58,500 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4603-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4603-1) 2025-11-03 09:12:59,730 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4603-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4603-1) 2025-11-03 09:12:59,730 - INFO - Waiting for VM ctest-TestBasicPolicy-47051311-30685430 to be up.. 2025-11-03 09:12:59,805 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-03 09:13:04,890 - DEBUG - VM is in ACTIVE state now 2025-11-03 09:13:04,890 - INFO - VM name : ctest-TestBasicPolicy-47051311-30685430 2025-11-03 09:13:04,989 - DEBUG - VM ctest-TestBasicPolicy-47051311-30685430 ID is 5990b9f4-ac8b-4f48-9705-ea557a4c01c5 2025-11-03 09:13:05,013 - DEBUG - VM ctest-TestBasicPolicy-47051311-30685430 launched on Node cn-jenkins-deploy-platform-ansible-os-4603-1 2025-11-03 09:13:05,106 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/5990b9f4-ac8b-4f48-9705-ea557a4c01c5 2025-11-03 09:13:05,115 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/9b364d55-e797-4693-a42d-34783a77d762 2025-11-03 09:13:08,377 - 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 1022ms') 2025-11-03 09:13:08,378 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-47051311-30685430 failed! 2025-11-03 09:13:08,434 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-47051311:ctest-vn-14575304 is 149.117.247.129 and allocation pool is NOT set 2025-11-03 09:13:10,496 - 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=23.1 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.42 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 = 3.417/13.234/23.052/9.817 ms') 2025-11-03 09:13:10,496 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-47051311-30685430 passed 2025-11-03 09:13:10,654 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 09:13:10,654 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-47051311-30685430, IP 149.117.247.131, Port 22 2025-11-03 09:13:10,720 - 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-11-03 09:13:10,839 - DEBUG - VM ctest-TestBasicPolicy-47051311-30685430 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-03 09:13:15,840 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 09:13:15,840 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-47051311-30685430, IP 149.117.247.131, Port 22 2025-11-03 09:13:15,998 - DEBUG - VM ctest-TestBasicPolicy-47051311-30685430 is ready for SSH connections 2025-11-03 09:13:15,998 - INFO - Waiting for VM ctest-TestBasicPolicy-47051311-41385468 to be up.. 2025-11-03 09:13:16,075 - DEBUG - VM is in ACTIVE state now 2025-11-03 09:13:16,075 - INFO - VM name : ctest-TestBasicPolicy-47051311-41385468 2025-11-03 09:13:16,150 - DEBUG - VM ctest-TestBasicPolicy-47051311-41385468 ID is 964b6705-d8dc-4dd9-b162-e540463f7f98 2025-11-03 09:13:16,150 - DEBUG - VM ctest-TestBasicPolicy-47051311-41385468 launched on Node cn-jenkins-deploy-platform-ansible-os-4603-1 2025-11-03 09:13:16,224 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/964b6705-d8dc-4dd9-b162-e540463f7f98 2025-11-03 09:13:16,232 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/4d676abc-84a4-4f72-9b9c-8d762f94c948 2025-11-03 09:13:17,471 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=4.06 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.425 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.425/2.243/4.062/1.818 ms') 2025-11-03 09:13:17,471 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-47051311-41385468 passed 2025-11-03 09:13:17,622 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 09:13:17,622 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-47051311-41385468, IP 57.73.93.131, Port 22 2025-11-03 09:13:17,781 - DEBUG - VM ctest-TestBasicPolicy-47051311-41385468 is ready for SSH connections 2025-11-03 09:13:17,782 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 09:13:17,782 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 57.73.93.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-11-03 09:13:17,782 - DEBUG - ping -s 56 -c 3 -W 1 57.73.93.131 2025-11-03 09:13:21,860 - DEBUG - PING 57.73.93.131 (57.73.93.131): 56 data bytes 64 bytes from 57.73.93.131: seq=0 ttl=63 time=3.756 ms 64 bytes from 57.73.93.131: seq=1 ttl=63 time=1.113 ms 64 bytes from 57.73.93.131: seq=2 ttl=63 time=0.866 ms --- 57.73.93.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.866/1.911/3.756 ms 2025-11-03 09:13:21,860 - INFO - Ping to IP 57.73.93.131 from VM ctest-TestBasicPolicy-47051311-30685430 passed 2025-11-03 09:13:22,038 - DEBUG - Policy Update Response {"network-policy": {"uuid": "2503c3c9-be8e-406b-8a95-ca33f9d94f0f", "href": "http://10.0.0.65:8082/network-policy/2503c3c9-be8e-406b-8a95-ca33f9d94f0f"}} 2025-11-03 09:13:22,038 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 09:13:22,038 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 57.73.93.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-11-03 09:13:22,038 - DEBUG - ping -s 56 -c 3 -W 1 57.73.93.131 2025-11-03 09:13:25,298 - DEBUG - PING 57.73.93.131 (57.73.93.131): 56 data bytes --- 57.73.93.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-03 09:13:25,298 - WARNING - Ping to IP 57.73.93.131 from VM ctest-TestBasicPolicy-47051311-30685430 failed 2025-11-03 09:13:25,298 - INFO - Deleting VM ctest-TestBasicPolicy-47051311-41385468 2025-11-03 09:13:25,384 - INFO - Deleting VM ctest-TestBasicPolicy-47051311-30685430 2025-11-03 09:13:25,794 - INFO - Deleted policy ctest-policy-allow-all-95575279 2025-11-03 09:13:25,794 - INFO - Deleting VN ctest-vn-04530419 2025-11-03 09:13:25,841 - DEBUG - VN 8e24c731-1e66-481d-af43-02987fcd1484 still in use: Unable to complete operation on network 8e24c731-1e66-481d-af43-02987fcd1484. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ef634b64-dc1c-4b1d-b5ad-2f1ebd28f204'] 2025-11-03 09:13:25,841 - WARNING - Deleting VN ctest-vn-04530419 failed..Will retry 2025-11-03 09:13:27,963 - DEBUG - Response for deleting network () 2025-11-03 09:13:27,963 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/b36ace0e-5ab8-480e-88cf-1ccc56cb36a1 2025-11-03 09:13:27,971 - DEBUG - Response Code: 404 2025-11-03 09:13:27,971 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-11-03 09:13:27,976 - DEBUG - Requesting: http://10.0.0.65:8082/domain/411773d3-55f5-43b5-aeca-a54e26606168 2025-11-03 09:13:28,029 - DEBUG - Requesting: http://10.0.0.65:8082/project/6fd654de-d448-421b-8893-78eeee5b72ef 2025-11-03 09:13:28,107 - INFO - Validated that VN ctest-vn-04530419 is not found in API Server 2025-11-03 09:13:28,117 - DEBUG - VN ctest-vn-04530419 is not present in Agent 10.0.0.65 2025-11-03 09:13:28,117 - INFO - Validated that VN ctest-vn-04530419 is not in any agent 2025-11-03 09:13:28,130 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-04530419 info 2025-11-03 09:13:28,130 - INFO - Deleting VN ctest-vn-14575304 2025-11-03 09:13:28,233 - DEBUG - Response for deleting network () 2025-11-03 09:13:28,233 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/b4291001-2677-4d6a-94d6-ee7260f4b689 2025-11-03 09:13:28,240 - DEBUG - Response Code: 404 2025-11-03 09:13:28,240 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-11-03 09:13:28,245 - DEBUG - Requesting: http://10.0.0.65:8082/domain/411773d3-55f5-43b5-aeca-a54e26606168 2025-11-03 09:13:28,300 - DEBUG - Requesting: http://10.0.0.65:8082/project/6fd654de-d448-421b-8893-78eeee5b72ef 2025-11-03 09:13:28,377 - INFO - Validated that VN ctest-vn-14575304 is not found in API Server 2025-11-03 09:13:28,389 - DEBUG - VN ctest-vn-14575304 is not present in Agent 10.0.0.65 2025-11-03 09:13:28,390 - INFO - Validated that VN ctest-vn-14575304 is not in any agent 2025-11-03 09:13:28,407 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-14575304 info 2025-11-03 09:13:28,689 - DEBUG - No XMPP flaps were noticed during the test 2025-11-03 09:13:28,689 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2025-11-03 09:13:28,689 - INFO - -------------------------------------------------------------------------------- 2025-11-03 09:13:29,542 - INFO - Deleted project: ctest-TestBasicPolicy-47051311, ID : 6fd654de-d448-421b-8893-78eeee5b72ef