2026-06-22 01:48:40,480 - INFO - Reading existing Domain with UUID 3d18adb4-0133-48c0-977a-27957b969067 2026-06-22 01:48:40,490 - INFO - Using existing domain ['admin_domain'](3d18adb4-0133-48c0-977a-27957b969067) 2026-06-22 01:48:40,697 - INFO - Project ctest-TestBasicPolicy-21314400 not found, creating it 2026-06-22 01:48:41,248 - INFO - Created Project:ctest-TestBasicPolicy-21314400, ID : b9210dde-c31f-4ed5-a880-4eda48388425 2026-06-22 01:48:42,982 - INFO - ================================================================================ 2026-06-22 01:48:42,982 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-06-22 01:48:42,982 - 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 2026-06-22 01:48:43,362 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.0.0.129': '0'}} with 2026-06-22 01:48:43,362 - INFO - Initial checks done. Running the testcase now 2026-06-22 01:48:43,362 - INFO - 2026-06-22 01:48:44,100 - DEBUG - Response for create_network : {'network': {'id': '6badfd5d-610d-45e1-8ce4-218569daa6ec', 'name': 'ctest-vn-73153682', 'tenant_id': 'b9210ddec31f4ed5a8804eda48388425', 'project_id': 'b9210ddec31f4ed5a8804eda48388425', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-21314400', 'ctest-vn-73153682'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-06-22 01:48:44,322 - DEBUG - Response for create_subnet : {'subnet': {'id': '8f05a9ff-5f22-465f-8e92-08e019db75f9', 'name': '', 'tenant_id': 'b9210ddec31f4ed5a8804eda48388425', 'network_id': '6badfd5d-610d-45e1-8ce4-218569daa6ec', 'ip_version': 4, 'cidr': '25.160.156.64/26', 'allocation_pools': [{'start': '25.160.156.66', 'end': '25.160.156.126'}], 'gateway_ip': '25.160.156.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-06-22T01:48:44.230667', 'updated_at': '2026-06-22T01:48:44.230667', 'dns_server_address': '25.160.156.66', 'tags': [], 'project_id': 'b9210ddec31f4ed5a8804eda48388425'}} 2026-06-22 01:48:44,383 - INFO - Created VN ctest-vn-73153682 2026-06-22 01:48:44,437 - DEBUG - VN ctest-vn-73153682 UUID is 6badfd5d-610d-45e1-8ce4-218569daa6ec 2026-06-22 01:48:44,918 - DEBUG - Response for create_network : {'network': {'id': 'a05588cb-9500-49b6-8835-5d05fa8c3a73', 'name': 'ctest-vn-74373496', 'tenant_id': 'b9210ddec31f4ed5a8804eda48388425', 'project_id': 'b9210ddec31f4ed5a8804eda48388425', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-21314400', 'ctest-vn-74373496'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-06-22 01:48:45,198 - DEBUG - Response for create_subnet : {'subnet': {'id': '6f1b4d7a-786a-4e52-a293-ead0212fb0e9', 'name': '', 'tenant_id': 'b9210ddec31f4ed5a8804eda48388425', 'network_id': 'a05588cb-9500-49b6-8835-5d05fa8c3a73', 'ip_version': 4, 'cidr': '94.246.69.128/26', 'allocation_pools': [{'start': '94.246.69.130', 'end': '94.246.69.190'}], 'gateway_ip': '94.246.69.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-06-22T01:48:45.091407', 'updated_at': '2026-06-22T01:48:45.091407', 'dns_server_address': '94.246.69.130', 'tags': [], 'project_id': 'b9210ddec31f4ed5a8804eda48388425'}} 2026-06-22 01:48:45,263 - INFO - Created VN ctest-vn-74373496 2026-06-22 01:48:45,317 - DEBUG - VN ctest-vn-74373496 UUID is a05588cb-9500-49b6-8835-5d05fa8c3a73 2026-06-22 01:48:45,529 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = admin_domain:ctest-TestBasicPolicy-21314400:ctest-vn-73153682, security_group = None, network_policy = None, subnet_list = []], src_ports = [start_port = -1, end_port = -1], application = [], dst_addresses = [subnet = None, virtual_network = admin_domain:ctest-TestBasicPolicy-21314400:ctest-vn-74373496, 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] 2026-06-22 01:48:45,937 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6badfd5d-610d-45e1-8ce4-218569daa6ec', 'name': 'ctest-vn-73153682', 'tenant_id': 'b9210ddec31f4ed5a8804eda48388425', 'project_id': 'b9210ddec31f4ed5a8804eda48388425', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8f05a9ff-5f22-465f-8e92-08e019db75f9'], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-21314400', 'ctest-vn-73153682'], 'policys': [['admin_domain', 'ctest-TestBasicPolicy-21314400', 'ctest-policy-allow-all-42084192']], 'subnet_ipam': [{'subnet_cidr': '25.160.156.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2026-06-22T01:48:44.025345', 'updated_at': '2026-06-22T01:48:44.242628'}} 2026-06-22 01:48:46,281 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a05588cb-9500-49b6-8835-5d05fa8c3a73', 'name': 'ctest-vn-74373496', 'tenant_id': 'b9210ddec31f4ed5a8804eda48388425', 'project_id': 'b9210ddec31f4ed5a8804eda48388425', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6f1b4d7a-786a-4e52-a293-ead0212fb0e9'], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-21314400', 'ctest-vn-74373496'], 'policys': [['admin_domain', 'ctest-TestBasicPolicy-21314400', 'ctest-policy-allow-all-42084192']], 'subnet_ipam': [{'subnet_cidr': '94.246.69.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2026-06-22T01:48:44.844669', 'updated_at': '2026-06-22T01:48:45.106145'}} 2026-06-22 01:48:46,461 - DEBUG - Requesting: https://10.0.0.129:8082/domains 2026-06-22 01:48:46,804 - DEBUG - Requesting: https://10.0.0.129:8082/domains 2026-06-22 01:48:46,901 - DEBUG - Requesting: https://10.0.0.129:8082/domain/3d18adb4-0133-48c0-977a-27957b969067 2026-06-22 01:48:46,958 - DEBUG - Requesting: https://10.0.0.129:8082/project/b9210dde-c31f-4ed5-a880-4eda48388425 2026-06-22 01:48:47,034 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/6badfd5d-610d-45e1-8ce4-218569daa6ec 2026-06-22 01:48:47,095 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/6badfd5d-610d-45e1-8ce4-218569daa6ec 2026-06-22 01:48:47,151 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/c4424826-5807-4f7d-b317-19f5d2e851fd 2026-06-22 01:48:47,206 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/c4424826-5807-4f7d-b317-19f5d2e851fd 2026-06-22 01:48:47,258 - DEBUG - Requesting: https://10.0.0.129:8082/route-target/21abacc0-263a-4a59-942e-c53b1d20b538 2026-06-22 01:48:47,314 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-22 01:48:47,314 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/6badfd5d-610d-45e1-8ce4-218569daa6ec 2026-06-22 01:48:47,367 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/c4424826-5807-4f7d-b317-19f5d2e851fd 2026-06-22 01:48:47,431 - INFO - Verified VN network id 9 for VN 6badfd5d-610d-45e1-8ce4-218569daa6ec 2026-06-22 01:48:47,431 - INFO - Verifications in API Server for VN ctest-vn-73153682 passed 2026-06-22 01:48:47,431 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/6badfd5d-610d-45e1-8ce4-218569daa6ec 2026-06-22 01:48:47,487 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/c4424826-5807-4f7d-b317-19f5d2e851fd 2026-06-22 01:48:47,538 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/c4424826-5807-4f7d-b317-19f5d2e851fd 2026-06-22 01:48:47,590 - DEBUG - Requesting: https://10.0.0.129:8082/route-target/21abacc0-263a-4a59-942e-c53b1d20b538 2026-06-22 01:48:47,694 - DEBUG - Control-node 10.0.0.129 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicy-21314400:ctest-vn-73153682', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-21314400', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7759136310531278305', 'uuid-lslong': '10152276316890244844'}, 'enable': 'true', 'created': '2026-06-22T01:48:44', 'last-modified': '2026-06-22T01:48:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.788348'} 2026-06-22 01:48:47,743 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-22 01:48:47,743 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-73153682 passed 2026-06-22 01:48:47,743 - DEBUG - ====Verifying policy data for ctest-vn-73153682 in API_Server ====== 2026-06-22 01:48:47,743 - DEBUG - Requesting: https://10.0.0.129:8082/domains 2026-06-22 01:48:47,793 - DEBUG - Requesting: https://10.0.0.129:8082/domain/3d18adb4-0133-48c0-977a-27957b969067 2026-06-22 01:48:47,854 - DEBUG - Requesting: https://10.0.0.129:8082/project/b9210dde-c31f-4ed5-a880-4eda48388425 2026-06-22 01:48:47,934 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/6badfd5d-610d-45e1-8ce4-218569daa6ec 2026-06-22 01:48:47,991 - DEBUG - ==>Verifying data for policy with id: e1c8ec3c-78a7-42bb-8b3f-a8d3c6222068, fqn: ['admin_domain', 'ctest-TestBasicPolicy-21314400', 'ctest-policy-allow-all-42084192'] 2026-06-22 01:48:47,991 - INFO - VN ctest-vn-73153682 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-22 01:48:47,991 - DEBUG - Verifying the vn in opserver 2026-06-22 01:48:47,991 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicy-21314400:ctest-vn-73153682 virtual network link through opserver 10.0.0.129 2026-06-22 01:48:47,991 - DEBUG - Requesting: https://10.0.0.129:8081/analytics/uves/virtual-networks 2026-06-22 01:48:48,335 - DEBUG - Requesting: https://10.0.0.129:8081/analytics/uves/virtual-networks 2026-06-22 01:48:48,445 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicy-21314400:ctest-vn-73153682', 'href': 'https://10.0.0.129:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicy-21314400:ctest-vn-73153682?flat'} 2026-06-22 01:48:48,445 - INFO - Validated that VN admin_domain:ctest-TestBasicPolicy-21314400:ctest-vn-73153682 is found in opserver 2026-06-22 01:48:48,542 - DEBUG - Do not have enough data to verify VN in agent 2026-06-22 01:48:48,589 - DEBUG - VRF ids for VN ctest-vn-73153682: {} 2026-06-22 01:48:48,589 - DEBUG - Requesting: https://10.0.0.129:8082/domains 2026-06-22 01:48:48,641 - DEBUG - Requesting: https://10.0.0.129:8082/domain/3d18adb4-0133-48c0-977a-27957b969067 2026-06-22 01:48:48,698 - DEBUG - Requesting: https://10.0.0.129:8082/project/b9210dde-c31f-4ed5-a880-4eda48388425 2026-06-22 01:48:48,774 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/a05588cb-9500-49b6-8835-5d05fa8c3a73 2026-06-22 01:48:48,830 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/a05588cb-9500-49b6-8835-5d05fa8c3a73 2026-06-22 01:48:48,887 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/8f9533b9-d8ab-4b59-91f4-d1b3a2b119ad 2026-06-22 01:48:48,942 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/8f9533b9-d8ab-4b59-91f4-d1b3a2b119ad 2026-06-22 01:48:48,994 - DEBUG - Requesting: https://10.0.0.129:8082/route-target/ef87b0b8-7302-4ee3-a1c2-b48bb53f811c 2026-06-22 01:48:49,046 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-22 01:48:49,046 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/a05588cb-9500-49b6-8835-5d05fa8c3a73 2026-06-22 01:48:49,103 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/8f9533b9-d8ab-4b59-91f4-d1b3a2b119ad 2026-06-22 01:48:49,168 - INFO - Verified VN network id 10 for VN a05588cb-9500-49b6-8835-5d05fa8c3a73 2026-06-22 01:48:49,168 - INFO - Verifications in API Server for VN ctest-vn-74373496 passed 2026-06-22 01:48:49,168 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/a05588cb-9500-49b6-8835-5d05fa8c3a73 2026-06-22 01:48:49,224 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/8f9533b9-d8ab-4b59-91f4-d1b3a2b119ad 2026-06-22 01:48:49,278 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/8f9533b9-d8ab-4b59-91f4-d1b3a2b119ad 2026-06-22 01:48:49,330 - DEBUG - Requesting: https://10.0.0.129:8082/route-target/ef87b0b8-7302-4ee3-a1c2-b48bb53f811c 2026-06-22 01:48:49,438 - DEBUG - Control-node 10.0.0.129 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicy-21314400:ctest-vn-74373496', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-21314400', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11553290827048438198', 'uuid-lslong': '9814853243183577715'}, 'enable': 'true', 'created': '2026-06-22T01:48:44', 'last-modified': '2026-06-22T01:48:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:03.189287'} 2026-06-22 01:48:49,491 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-22 01:48:49,491 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-74373496 passed 2026-06-22 01:48:49,491 - DEBUG - ====Verifying policy data for ctest-vn-74373496 in API_Server ====== 2026-06-22 01:48:49,491 - DEBUG - Requesting: https://10.0.0.129:8082/domains 2026-06-22 01:48:49,545 - DEBUG - Requesting: https://10.0.0.129:8082/domain/3d18adb4-0133-48c0-977a-27957b969067 2026-06-22 01:48:49,606 - DEBUG - Requesting: https://10.0.0.129:8082/project/b9210dde-c31f-4ed5-a880-4eda48388425 2026-06-22 01:48:49,679 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/a05588cb-9500-49b6-8835-5d05fa8c3a73 2026-06-22 01:48:49,735 - DEBUG - ==>Verifying data for policy with id: e1c8ec3c-78a7-42bb-8b3f-a8d3c6222068, fqn: ['admin_domain', 'ctest-TestBasicPolicy-21314400', 'ctest-policy-allow-all-42084192'] 2026-06-22 01:48:49,735 - INFO - VN ctest-vn-74373496 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-22 01:48:49,735 - DEBUG - Verifying the vn in opserver 2026-06-22 01:48:49,735 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicy-21314400:ctest-vn-74373496 virtual network link through opserver 10.0.0.129 2026-06-22 01:48:49,735 - DEBUG - Requesting: https://10.0.0.129:8081/analytics/uves/virtual-networks 2026-06-22 01:48:49,789 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicy-21314400:ctest-vn-74373496', 'href': 'https://10.0.0.129:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicy-21314400:ctest-vn-74373496?flat'} 2026-06-22 01:48:49,790 - INFO - Validated that VN admin_domain:ctest-TestBasicPolicy-21314400:ctest-vn-74373496 is found in opserver 2026-06-22 01:48:49,885 - DEBUG - Do not have enough data to verify VN in agent 2026-06-22 01:48:49,937 - DEBUG - VRF ids for VN ctest-vn-74373496: {} 2026-06-22 01:48:50,002 - DEBUG - Services list from nova: [, , ] 2026-06-22 01:48:51,075 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-714-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-714-1) 2026-06-22 01:48:52,331 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-714-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-714-1) 2026-06-22 01:48:52,331 - INFO - Waiting for VM ctest-TestBasicPolicy-21314400-79419289 to be up.. 2026-06-22 01:48:52,485 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-22 01:48:57,739 - DEBUG - VM is in ACTIVE state now 2026-06-22 01:48:57,739 - INFO - VM name : ctest-TestBasicPolicy-21314400-79419289 2026-06-22 01:48:57,894 - DEBUG - VM ctest-TestBasicPolicy-21314400-79419289 ID is 012f531b-07e0-4b39-843d-4f8a8a079ca9 2026-06-22 01:48:57,929 - DEBUG - VM ctest-TestBasicPolicy-21314400-79419289 launched on Node cn-jenkins-deploy-platform-juju-os-714-1 2026-06-22 01:48:58,068 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-machine/012f531b-07e0-4b39-843d-4f8a8a079ca9 2026-06-22 01:48:58,122 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-machine-interface/bae119fa-5684-4543-a785-627c8e65848d 2026-06-22 01:49:01,583 - 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 1011ms') 2026-06-22 01:49:01,583 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-21314400-79419289 failed! 2026-06-22 01:49:01,645 - DEBUG - Gateway for vn admin_domain:ctest-TestBasicPolicy-21314400:ctest-vn-73153682 is 25.160.156.65 and allocation pool is NOT set 2026-06-22 01:49:03,742 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=8.59 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.10 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.095/4.841/8.588/3.746 ms') 2026-06-22 01:49:03,742 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-21314400-79419289 passed 2026-06-22 01:49:03,897 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-22 01:49:03,897 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-21314400-79419289, IP 25.160.156.67, Port 22 2026-06-22 01:49:03,985 - 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': ''} 2026-06-22 01:49:04,119 - DEBUG - VM ctest-TestBasicPolicy-21314400-79419289 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-22 01:49:09,120 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-22 01:49:09,120 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-21314400-79419289, IP 25.160.156.67, Port 22 2026-06-22 01:49:09,331 - DEBUG - VM ctest-TestBasicPolicy-21314400-79419289 is ready for SSH connections 2026-06-22 01:49:09,332 - INFO - Waiting for VM ctest-TestBasicPolicy-21314400-14900445 to be up.. 2026-06-22 01:49:09,472 - DEBUG - VM is in ACTIVE state now 2026-06-22 01:49:09,472 - INFO - VM name : ctest-TestBasicPolicy-21314400-14900445 2026-06-22 01:49:09,604 - DEBUG - VM ctest-TestBasicPolicy-21314400-14900445 ID is ec26eeb2-e836-4008-a2b5-3a1d1ce47a54 2026-06-22 01:49:09,604 - DEBUG - VM ctest-TestBasicPolicy-21314400-14900445 launched on Node cn-jenkins-deploy-platform-juju-os-714-1 2026-06-22 01:49:09,739 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-machine/ec26eeb2-e836-4008-a2b5-3a1d1ce47a54 2026-06-22 01:49:09,794 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-machine-interface/e6dd510f-ef19-4e6b-bf4a-7fa5d3b3158d 2026-06-22 01:49:11,245 - 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.80 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.376 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.376/1.587/2.799/1.211 ms') 2026-06-22 01:49:11,245 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-21314400-14900445 passed 2026-06-22 01:49:11,397 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-22 01:49:11,397 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-21314400-14900445, IP 94.246.69.131, Port 22 2026-06-22 01:49:11,607 - DEBUG - VM ctest-TestBasicPolicy-21314400-14900445 is ready for SSH connections 2026-06-22 01:49:11,608 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-22 01:49:11,608 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 94.246.69.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2026-06-22 01:49:11,608 - DEBUG - ping -s 56 -c 3 -W 1 94.246.69.131 2026-06-22 01:49:15,772 - DEBUG - PING 94.246.69.131 (94.246.69.131): 56 data bytes 64 bytes from 94.246.69.131: seq=0 ttl=63 time=3.881 ms 64 bytes from 94.246.69.131: seq=1 ttl=63 time=0.876 ms 64 bytes from 94.246.69.131: seq=2 ttl=63 time=1.083 ms --- 94.246.69.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.876/1.946/3.881 ms 2026-06-22 01:49:15,772 - INFO - Ping to IP 94.246.69.131 from VM ctest-TestBasicPolicy-21314400-79419289 passed 2026-06-22 01:49:15,997 - DEBUG - Policy Update Response {"network-policy": {"uuid": "e1c8ec3c-78a7-42bb-8b3f-a8d3c6222068", "href": "https://10.0.0.129:8082/network-policy/e1c8ec3c-78a7-42bb-8b3f-a8d3c6222068"}} 2026-06-22 01:49:15,997 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-22 01:49:15,997 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 94.246.69.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2026-06-22 01:49:15,997 - DEBUG - ping -s 56 -c 3 -W 1 94.246.69.131 2026-06-22 01:49:19,214 - DEBUG - PING 94.246.69.131 (94.246.69.131): 56 data bytes --- 94.246.69.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-06-22 01:49:19,214 - WARNING - Ping to IP 94.246.69.131 from VM ctest-TestBasicPolicy-21314400-79419289 failed 2026-06-22 01:49:19,215 - INFO - Deleting VM ctest-TestBasicPolicy-21314400-14900445 2026-06-22 01:49:19,318 - INFO - Deleting VM ctest-TestBasicPolicy-21314400-79419289 2026-06-22 01:49:19,988 - INFO - Deleted policy ctest-policy-allow-all-42084192 2026-06-22 01:49:19,988 - INFO - Deleting VN ctest-vn-74373496 2026-06-22 01:49:20,125 - DEBUG - VN a05588cb-9500-49b6-8835-5d05fa8c3a73 still in use: Unable to complete operation on network a05588cb-9500-49b6-8835-5d05fa8c3a73. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c90d4c2d-5411-4fc5-8dc9-c147a9d3b7f2'] 2026-06-22 01:49:20,125 - WARNING - Deleting VN ctest-vn-74373496 failed..Will retry 2026-06-22 01:49:22,295 - DEBUG - Response for deleting network () 2026-06-22 01:49:22,295 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/8f9533b9-d8ab-4b59-91f4-d1b3a2b119ad 2026-06-22 01:49:22,353 - DEBUG - Response Code: 404 2026-06-22 01:49:22,353 - DEBUG - Requesting: https://10.0.0.129:8082/domains 2026-06-22 01:49:22,409 - DEBUG - Requesting: https://10.0.0.129:8082/domain/3d18adb4-0133-48c0-977a-27957b969067 2026-06-22 01:49:22,466 - DEBUG - Requesting: https://10.0.0.129:8082/project/b9210dde-c31f-4ed5-a880-4eda48388425 2026-06-22 01:49:22,542 - INFO - Validated that VN ctest-vn-74373496 is not found in API Server 2026-06-22 01:49:22,637 - DEBUG - VN ctest-vn-74373496 is not present in Agent 10.0.0.129 2026-06-22 01:49:22,637 - INFO - Validated that VN ctest-vn-74373496 is not in any agent 2026-06-22 01:49:22,782 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-74373496 info 2026-06-22 01:49:22,782 - INFO - Deleting VN ctest-vn-73153682 2026-06-22 01:49:22,947 - DEBUG - Response for deleting network () 2026-06-22 01:49:22,947 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/c4424826-5807-4f7d-b317-19f5d2e851fd 2026-06-22 01:49:23,001 - DEBUG - Response Code: 404 2026-06-22 01:49:23,001 - DEBUG - Requesting: https://10.0.0.129:8082/domains 2026-06-22 01:49:23,053 - DEBUG - Requesting: https://10.0.0.129:8082/domain/3d18adb4-0133-48c0-977a-27957b969067 2026-06-22 01:49:23,110 - DEBUG - Requesting: https://10.0.0.129:8082/project/b9210dde-c31f-4ed5-a880-4eda48388425 2026-06-22 01:49:23,198 - INFO - Validated that VN ctest-vn-73153682 is not found in API Server 2026-06-22 01:49:23,293 - DEBUG - VN ctest-vn-73153682 is not present in Agent 10.0.0.129 2026-06-22 01:49:23,294 - INFO - Validated that VN ctest-vn-73153682 is not in any agent 2026-06-22 01:49:23,446 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-73153682 info 2026-06-22 01:49:23,838 - DEBUG - No XMPP flaps were noticed during the test
2026-06-22 01:49:23,838 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:41]
2026-06-22 01:49:23,838 - INFO - -------------------------------------------------------------------------------- 2026-06-22 01:49:24,605 - INFO - Deleted project: ctest-TestBasicPolicy-21314400, ID : b9210dde-c31f-4ed5-a880-4eda48388425