2025-10-27 01:55:03,175 - INFO - Reading existing Domain with UUID 15e0ce75-9595-48f6-b10e-49e8c56bef44 2025-10-27 01:55:03,186 - INFO - Using existing domain ['admin_domain'](15e0ce75-9595-48f6-b10e-49e8c56bef44) 2025-10-27 01:55:03,388 - INFO - Project ctest-TestBasicPolicy-65152553 not found, creating it 2025-10-27 01:55:03,880 - INFO - Created Project:ctest-TestBasicPolicy-65152553, ID : a388eba1-6e52-4396-85a8-bf11d1693caa 2025-10-27 01:55:05,563 - INFO - ================================================================================ 2025-10-27 01:55:05,563 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-27 01:55:05,563 - 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-27 01:55:05,958 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.0.0.27': '0'}} with 2025-10-27 01:55:05,958 - INFO - Initial checks done. Running the testcase now 2025-10-27 01:55:05,958 - INFO - 2025-10-27 01:55:06,720 - DEBUG - Response for create_network : {'network': {'id': 'b4bd57f0-d291-4072-82b7-4c095b5671fb', 'name': 'ctest-vn-78860873', 'tenant_id': 'a388eba16e52439685a8bf11d1693caa', 'project_id': 'a388eba16e52439685a8bf11d1693caa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-65152553', 'ctest-vn-78860873'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-10-27 01:55:06,930 - DEBUG - Response for create_subnet : {'subnet': {'id': '75dba449-a016-431f-ae0b-457fc79b3a84', 'name': '', 'tenant_id': 'a388eba16e52439685a8bf11d1693caa', 'network_id': 'b4bd57f0-d291-4072-82b7-4c095b5671fb', 'ip_version': 4, 'cidr': '86.13.254.192/26', 'allocation_pools': [{'start': '86.13.254.194', 'end': '86.13.254.254'}], 'gateway_ip': '86.13.254.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-10-27T01:55:06.824444', 'updated_at': '2025-10-27T01:55:06.824444', 'dns_server_address': '86.13.254.194', 'tags': [], 'project_id': 'a388eba16e52439685a8bf11d1693caa'}} 2025-10-27 01:55:07,002 - INFO - Created VN ctest-vn-78860873 2025-10-27 01:55:07,056 - DEBUG - VN ctest-vn-78860873 UUID is b4bd57f0-d291-4072-82b7-4c095b5671fb 2025-10-27 01:55:07,562 - DEBUG - Response for create_network : {'network': {'id': 'd562a80c-0d97-4a75-87bf-dca138a84d62', 'name': 'ctest-vn-61631004', 'tenant_id': 'a388eba16e52439685a8bf11d1693caa', 'project_id': 'a388eba16e52439685a8bf11d1693caa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-65152553', 'ctest-vn-61631004'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-10-27 01:55:07,800 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b0a4d509-44a6-4484-9a4a-b32ddbf6487b', 'name': '', 'tenant_id': 'a388eba16e52439685a8bf11d1693caa', 'network_id': 'd562a80c-0d97-4a75-87bf-dca138a84d62', 'ip_version': 4, 'cidr': '74.83.166.128/26', 'allocation_pools': [{'start': '74.83.166.130', 'end': '74.83.166.190'}], 'gateway_ip': '74.83.166.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-10-27T01:55:07.693903', 'updated_at': '2025-10-27T01:55:07.693903', 'dns_server_address': '74.83.166.130', 'tags': [], 'project_id': 'a388eba16e52439685a8bf11d1693caa'}} 2025-10-27 01:55:07,866 - INFO - Created VN ctest-vn-61631004 2025-10-27 01:55:07,920 - DEBUG - VN ctest-vn-61631004 UUID is d562a80c-0d97-4a75-87bf-dca138a84d62 2025-10-27 01:55:08,136 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = admin_domain:ctest-TestBasicPolicy-65152553:ctest-vn-78860873, 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-65152553:ctest-vn-61631004, 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-27 01:55:08,552 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b4bd57f0-d291-4072-82b7-4c095b5671fb', 'name': 'ctest-vn-78860873', 'tenant_id': 'a388eba16e52439685a8bf11d1693caa', 'project_id': 'a388eba16e52439685a8bf11d1693caa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['75dba449-a016-431f-ae0b-457fc79b3a84'], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-65152553', 'ctest-vn-78860873'], 'policys': [['admin_domain', 'ctest-TestBasicPolicy-65152553', 'ctest-policy-allow-all-75854759']], 'subnet_ipam': [{'subnet_cidr': '86.13.254.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2025-10-27T01:55:06.645773', 'updated_at': '2025-10-27T01:55:06.838411'}} 2025-10-27 01:55:08,895 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd562a80c-0d97-4a75-87bf-dca138a84d62', 'name': 'ctest-vn-61631004', 'tenant_id': 'a388eba16e52439685a8bf11d1693caa', 'project_id': 'a388eba16e52439685a8bf11d1693caa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b0a4d509-44a6-4484-9a4a-b32ddbf6487b'], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-65152553', 'ctest-vn-61631004'], 'policys': [['admin_domain', 'ctest-TestBasicPolicy-65152553', 'ctest-policy-allow-all-75854759']], 'subnet_ipam': [{'subnet_cidr': '74.83.166.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2025-10-27T01:55:07.477782', 'updated_at': '2025-10-27T01:55:07.706071'}} 2025-10-27 01:55:09,104 - DEBUG - Requesting: https://10.0.0.27:8082/domains 2025-10-27 01:55:09,458 - DEBUG - Requesting: https://10.0.0.27:8082/domains 2025-10-27 01:55:09,536 - DEBUG - Requesting: https://10.0.0.27:8082/domain/15e0ce75-9595-48f6-b10e-49e8c56bef44 2025-10-27 01:55:09,593 - DEBUG - Requesting: https://10.0.0.27:8082/project/a388eba1-6e52-4396-85a8-bf11d1693caa 2025-10-27 01:55:09,677 - DEBUG - Requesting: https://10.0.0.27:8082/virtual-network/b4bd57f0-d291-4072-82b7-4c095b5671fb 2025-10-27 01:55:09,733 - DEBUG - Requesting: https://10.0.0.27:8082/virtual-network/b4bd57f0-d291-4072-82b7-4c095b5671fb 2025-10-27 01:55:09,790 - DEBUG - Requesting: https://10.0.0.27:8082/routing-instance/bca52eb3-be8c-4a7e-8eb3-1fc6bae4e87c 2025-10-27 01:55:09,845 - DEBUG - Requesting: https://10.0.0.27:8082/routing-instance/bca52eb3-be8c-4a7e-8eb3-1fc6bae4e87c 2025-10-27 01:55:09,897 - DEBUG - Requesting: https://10.0.0.27:8082/route-target/fec1db93-c845-4c8d-9d6a-4342678c6ac8 2025-10-27 01:55:09,949 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-27 01:55:09,949 - DEBUG - Requesting: https://10.0.0.27:8082/virtual-network/b4bd57f0-d291-4072-82b7-4c095b5671fb 2025-10-27 01:55:10,005 - DEBUG - Requesting: https://10.0.0.27:8082/routing-instance/bca52eb3-be8c-4a7e-8eb3-1fc6bae4e87c 2025-10-27 01:55:10,064 - INFO - Verified VN network id 11 for VN b4bd57f0-d291-4072-82b7-4c095b5671fb 2025-10-27 01:55:10,064 - INFO - Verifications in API Server for VN ctest-vn-78860873 passed 2025-10-27 01:55:10,064 - DEBUG - Requesting: https://10.0.0.27:8082/virtual-network/b4bd57f0-d291-4072-82b7-4c095b5671fb 2025-10-27 01:55:10,117 - DEBUG - Requesting: https://10.0.0.27:8082/routing-instance/bca52eb3-be8c-4a7e-8eb3-1fc6bae4e87c 2025-10-27 01:55:10,170 - DEBUG - Requesting: https://10.0.0.27:8082/routing-instance/bca52eb3-be8c-4a7e-8eb3-1fc6bae4e87c 2025-10-27 01:55:10,225 - DEBUG - Requesting: https://10.0.0.27:8082/route-target/fec1db93-c845-4c8d-9d6a-4342678c6ac8 2025-10-27 01:55:10,333 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicy-65152553:ctest-vn-78860873', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-65152553', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13023662389261844594', 'uuid-lslong': '9419080748739490299'}, 'enable': 'true', 'created': '2025-10-27T01:55:06', 'last-modified': '2025-10-27T01:55:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.811346'} 2025-10-27 01:55:10,386 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-27 01:55:10,386 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-78860873 passed 2025-10-27 01:55:10,386 - DEBUG - ====Verifying policy data for ctest-vn-78860873 in API_Server ====== 2025-10-27 01:55:10,386 - DEBUG - Requesting: https://10.0.0.27:8082/domains 2025-10-27 01:55:10,436 - DEBUG - Requesting: https://10.0.0.27:8082/domain/15e0ce75-9595-48f6-b10e-49e8c56bef44 2025-10-27 01:55:10,493 - DEBUG - Requesting: https://10.0.0.27:8082/project/a388eba1-6e52-4396-85a8-bf11d1693caa 2025-10-27 01:55:10,565 - DEBUG - Requesting: https://10.0.0.27:8082/virtual-network/b4bd57f0-d291-4072-82b7-4c095b5671fb 2025-10-27 01:55:10,621 - DEBUG - ==>Verifying data for policy with id: 3177f0e9-6ec3-442f-9f89-61915354a8db, fqn: ['admin_domain', 'ctest-TestBasicPolicy-65152553', 'ctest-policy-allow-all-75854759'] 2025-10-27 01:55:10,622 - INFO - VN ctest-vn-78860873 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-27 01:55:10,622 - DEBUG - Verifying the vn in opserver 2025-10-27 01:55:10,622 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicy-65152553:ctest-vn-78860873 virtual network link through opserver 10.0.0.27 2025-10-27 01:55:10,622 - DEBUG - Requesting: https://10.0.0.27:8081/analytics/uves/virtual-networks 2025-10-27 01:55:10,971 - DEBUG - Requesting: https://10.0.0.27:8081/analytics/uves/virtual-networks 2025-10-27 01:55:11,088 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicy-65152553:ctest-vn-78860873', 'href': 'https://10.0.0.27:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicy-65152553:ctest-vn-78860873?flat'} 2025-10-27 01:55:11,088 - INFO - Validated that VN admin_domain:ctest-TestBasicPolicy-65152553:ctest-vn-78860873 is found in opserver 2025-10-27 01:55:11,184 - DEBUG - Do not have enough data to verify VN in agent 2025-10-27 01:55:11,232 - DEBUG - VRF ids for VN ctest-vn-78860873: {} 2025-10-27 01:55:11,232 - DEBUG - Requesting: https://10.0.0.27:8082/domains 2025-10-27 01:55:11,284 - DEBUG - Requesting: https://10.0.0.27:8082/domain/15e0ce75-9595-48f6-b10e-49e8c56bef44 2025-10-27 01:55:11,341 - DEBUG - Requesting: https://10.0.0.27:8082/project/a388eba1-6e52-4396-85a8-bf11d1693caa 2025-10-27 01:55:11,421 - DEBUG - Requesting: https://10.0.0.27:8082/virtual-network/d562a80c-0d97-4a75-87bf-dca138a84d62 2025-10-27 01:55:11,478 - DEBUG - Requesting: https://10.0.0.27:8082/virtual-network/d562a80c-0d97-4a75-87bf-dca138a84d62 2025-10-27 01:55:11,533 - DEBUG - Requesting: https://10.0.0.27:8082/routing-instance/f78eae6f-536d-44c8-aced-cd5dd7c5687a 2025-10-27 01:55:11,585 - DEBUG - Requesting: https://10.0.0.27:8082/routing-instance/f78eae6f-536d-44c8-aced-cd5dd7c5687a 2025-10-27 01:55:11,637 - DEBUG - Requesting: https://10.0.0.27:8082/route-target/a8c3df33-a440-4162-9a9b-27de8ba9706e 2025-10-27 01:55:11,692 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-27 01:55:11,692 - DEBUG - Requesting: https://10.0.0.27:8082/virtual-network/d562a80c-0d97-4a75-87bf-dca138a84d62 2025-10-27 01:55:11,746 - DEBUG - Requesting: https://10.0.0.27:8082/routing-instance/f78eae6f-536d-44c8-aced-cd5dd7c5687a 2025-10-27 01:55:11,809 - INFO - Verified VN network id 12 for VN d562a80c-0d97-4a75-87bf-dca138a84d62 2025-10-27 01:55:11,810 - INFO - Verifications in API Server for VN ctest-vn-61631004 passed 2025-10-27 01:55:11,810 - DEBUG - Requesting: https://10.0.0.27:8082/virtual-network/d562a80c-0d97-4a75-87bf-dca138a84d62 2025-10-27 01:55:11,865 - DEBUG - Requesting: https://10.0.0.27:8082/routing-instance/f78eae6f-536d-44c8-aced-cd5dd7c5687a 2025-10-27 01:55:11,921 - DEBUG - Requesting: https://10.0.0.27:8082/routing-instance/f78eae6f-536d-44c8-aced-cd5dd7c5687a 2025-10-27 01:55:11,973 - DEBUG - Requesting: https://10.0.0.27:8082/route-target/a8c3df33-a440-4162-9a9b-27de8ba9706e 2025-10-27 01:55:12,073 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicy-65152553:ctest-vn-61631004', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-65152553', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15376036847517387381', 'uuid-lslong': '9781779500670405986'}, 'enable': 'true', 'created': '2025-10-27T01:55:07', 'last-modified': '2025-10-27T01:55:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:03.202448'} 2025-10-27 01:55:12,129 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-27 01:55:12,130 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-61631004 passed 2025-10-27 01:55:12,130 - DEBUG - ====Verifying policy data for ctest-vn-61631004 in API_Server ====== 2025-10-27 01:55:12,130 - DEBUG - Requesting: https://10.0.0.27:8082/domains 2025-10-27 01:55:12,180 - DEBUG - Requesting: https://10.0.0.27:8082/domain/15e0ce75-9595-48f6-b10e-49e8c56bef44 2025-10-27 01:55:12,237 - DEBUG - Requesting: https://10.0.0.27:8082/project/a388eba1-6e52-4396-85a8-bf11d1693caa 2025-10-27 01:55:12,314 - DEBUG - Requesting: https://10.0.0.27:8082/virtual-network/d562a80c-0d97-4a75-87bf-dca138a84d62 2025-10-27 01:55:12,369 - DEBUG - ==>Verifying data for policy with id: 3177f0e9-6ec3-442f-9f89-61915354a8db, fqn: ['admin_domain', 'ctest-TestBasicPolicy-65152553', 'ctest-policy-allow-all-75854759'] 2025-10-27 01:55:12,369 - INFO - VN ctest-vn-61631004 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-27 01:55:12,370 - DEBUG - Verifying the vn in opserver 2025-10-27 01:55:12,370 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicy-65152553:ctest-vn-61631004 virtual network link through opserver 10.0.0.27 2025-10-27 01:55:12,370 - DEBUG - Requesting: https://10.0.0.27:8081/analytics/uves/virtual-networks 2025-10-27 01:55:12,429 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicy-65152553:ctest-vn-61631004', 'href': 'https://10.0.0.27:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicy-65152553:ctest-vn-61631004?flat'} 2025-10-27 01:55:12,429 - INFO - Validated that VN admin_domain:ctest-TestBasicPolicy-65152553:ctest-vn-61631004 is found in opserver 2025-10-27 01:55:12,532 - DEBUG - Do not have enough data to verify VN in agent 2025-10-27 01:55:12,580 - DEBUG - VRF ids for VN ctest-vn-61631004: {} 2025-10-27 01:55:12,649 - DEBUG - Services list from nova: [, , ] 2025-10-27 01:55:13,757 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-607-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-607-1) 2025-10-27 01:55:15,071 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-607-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-607-1) 2025-10-27 01:55:15,072 - INFO - Waiting for VM ctest-TestBasicPolicy-65152553-69822638 to be up.. 2025-10-27 01:55:15,216 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-27 01:55:20,351 - DEBUG - VM is in ACTIVE state now 2025-10-27 01:55:20,351 - INFO - VM name : ctest-TestBasicPolicy-65152553-69822638 2025-10-27 01:55:20,483 - DEBUG - VM ctest-TestBasicPolicy-65152553-69822638 ID is d02d2fa2-1d80-4031-b690-98bc281bcb4e 2025-10-27 01:55:20,506 - DEBUG - VM ctest-TestBasicPolicy-65152553-69822638 launched on Node cn-jenkins-deploy-platform-juju-os-607-1 2025-10-27 01:55:20,650 - DEBUG - Requesting: https://10.0.0.27:8082/virtual-machine/d02d2fa2-1d80-4031-b690-98bc281bcb4e 2025-10-27 01:55:20,712 - DEBUG - Requesting: https://10.0.0.27:8082/virtual-machine-interface/ae063de9-a309-4a49-b82a-2b543cbbddb8 2025-10-27 01:55:24,179 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1015ms') 2025-10-27 01:55:24,179 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-65152553-69822638 failed! 2025-10-27 01:55:24,236 - DEBUG - Gateway for vn admin_domain:ctest-TestBasicPolicy-65152553:ctest-vn-78860873 is 86.13.254.193 and allocation pool is NOT set 2025-10-27 01:55:26,338 - 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=2.75 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.287 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 = 0.287/1.519/2.752/1.232 ms') 2025-10-27 01:55:26,338 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-65152553-69822638 passed 2025-10-27 01:55:26,489 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 01:55:26,489 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-65152553-69822638, IP 86.13.254.195, Port 22 2025-10-27 01:55:26,698 - DEBUG - VM ctest-TestBasicPolicy-65152553-69822638 is ready for SSH connections 2025-10-27 01:55:26,698 - INFO - Waiting for VM ctest-TestBasicPolicy-65152553-34915502 to be up.. 2025-10-27 01:55:26,835 - DEBUG - VM is in ACTIVE state now 2025-10-27 01:55:26,835 - INFO - VM name : ctest-TestBasicPolicy-65152553-34915502 2025-10-27 01:55:26,969 - DEBUG - VM ctest-TestBasicPolicy-65152553-34915502 ID is 6a7db850-6030-4869-96ab-9971ddd3a996 2025-10-27 01:55:26,969 - DEBUG - VM ctest-TestBasicPolicy-65152553-34915502 launched on Node cn-jenkins-deploy-platform-juju-os-607-1 2025-10-27 01:55:27,102 - DEBUG - Requesting: https://10.0.0.27:8082/virtual-machine/6a7db850-6030-4869-96ab-9971ddd3a996 2025-10-27 01:55:27,161 - DEBUG - Requesting: https://10.0.0.27:8082/virtual-machine-interface/c88b33ec-510c-45ba-9858-99ba82c048ca 2025-10-27 01:55:28,614 - 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.77 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.399 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.399/1.582/2.766/1.183 ms') 2025-10-27 01:55:28,614 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-65152553-34915502 passed 2025-10-27 01:55:28,760 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 01:55:28,760 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-65152553-34915502, IP 74.83.166.131, Port 22 2025-10-27 01:55:28,974 - DEBUG - VM ctest-TestBasicPolicy-65152553-34915502 is ready for SSH connections 2025-10-27 01:55:28,974 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 01:55:28,975 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 74.83.166.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-10-27 01:55:28,975 - DEBUG - ping -s 56 -c 3 -W 1 74.83.166.131 2025-10-27 01:55:32,645 - DEBUG - PING 74.83.166.131 (74.83.166.131): 56 data bytes 64 bytes from 74.83.166.131: seq=0 ttl=63 time=3.671 ms 64 bytes from 74.83.166.131: seq=1 ttl=63 time=1.025 ms 64 bytes from 74.83.166.131: seq=2 ttl=63 time=0.929 ms --- 74.83.166.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.929/1.875/3.671 ms 2025-10-27 01:55:32,645 - INFO - Ping to IP 74.83.166.131 from VM ctest-TestBasicPolicy-65152553-69822638 passed 2025-10-27 01:55:32,831 - DEBUG - Policy Update Response {"network-policy": {"uuid": "3177f0e9-6ec3-442f-9f89-61915354a8db", "href": "https://10.0.0.27:8082/network-policy/3177f0e9-6ec3-442f-9f89-61915354a8db"}} 2025-10-27 01:55:32,832 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 01:55:32,832 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 74.83.166.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-10-27 01:55:32,832 - DEBUG - ping -s 56 -c 3 -W 1 74.83.166.131 2025-10-27 01:55:36,031 - DEBUG - PING 74.83.166.131 (74.83.166.131): 56 data bytes --- 74.83.166.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-27 01:55:36,031 - WARNING - Ping to IP 74.83.166.131 from VM ctest-TestBasicPolicy-65152553-69822638 failed 2025-10-27 01:55:36,031 - INFO - Deleting VM ctest-TestBasicPolicy-65152553-34915502 2025-10-27 01:55:36,148 - INFO - Deleting VM ctest-TestBasicPolicy-65152553-69822638 2025-10-27 01:55:36,936 - INFO - Deleted policy ctest-policy-allow-all-75854759 2025-10-27 01:55:36,937 - INFO - Deleting VN ctest-vn-61631004 2025-10-27 01:55:37,075 - DEBUG - VN d562a80c-0d97-4a75-87bf-dca138a84d62 still in use: Unable to complete operation on network d562a80c-0d97-4a75-87bf-dca138a84d62. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-dbfa9d0a-372d-481a-a17e-0f9ff51deebe'] 2025-10-27 01:55:37,075 - WARNING - Deleting VN ctest-vn-61631004 failed..Will retry 2025-10-27 01:55:39,237 - DEBUG - Response for deleting network () 2025-10-27 01:55:39,237 - DEBUG - Requesting: https://10.0.0.27:8082/routing-instance/f78eae6f-536d-44c8-aced-cd5dd7c5687a 2025-10-27 01:55:39,292 - DEBUG - Response Code: 404 2025-10-27 01:55:39,292 - DEBUG - Requesting: https://10.0.0.27:8082/domains 2025-10-27 01:55:39,344 - DEBUG - Requesting: https://10.0.0.27:8082/domain/15e0ce75-9595-48f6-b10e-49e8c56bef44 2025-10-27 01:55:39,400 - DEBUG - Requesting: https://10.0.0.27:8082/project/a388eba1-6e52-4396-85a8-bf11d1693caa 2025-10-27 01:55:39,477 - INFO - Validated that VN ctest-vn-61631004 is not found in API Server 2025-10-27 01:55:39,576 - DEBUG - VN ctest-vn-61631004 is not present in Agent 10.0.0.27 2025-10-27 01:55:39,576 - INFO - Validated that VN ctest-vn-61631004 is not in any agent 2025-10-27 01:55:39,725 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-61631004 info 2025-10-27 01:55:39,725 - INFO - Deleting VN ctest-vn-78860873 2025-10-27 01:55:39,882 - DEBUG - Response for deleting network () 2025-10-27 01:55:39,882 - DEBUG - Requesting: https://10.0.0.27:8082/routing-instance/bca52eb3-be8c-4a7e-8eb3-1fc6bae4e87c 2025-10-27 01:55:39,936 - DEBUG - Response Code: 404 2025-10-27 01:55:39,936 - DEBUG - Requesting: https://10.0.0.27:8082/domains 2025-10-27 01:55:39,988 - DEBUG - Requesting: https://10.0.0.27:8082/domain/15e0ce75-9595-48f6-b10e-49e8c56bef44 2025-10-27 01:55:40,049 - DEBUG - Requesting: https://10.0.0.27:8082/project/a388eba1-6e52-4396-85a8-bf11d1693caa 2025-10-27 01:55:40,125 - INFO - Validated that VN ctest-vn-78860873 is not found in API Server 2025-10-27 01:55:40,220 - DEBUG - VN ctest-vn-78860873 is not present in Agent 10.0.0.27 2025-10-27 01:55:40,220 - INFO - Validated that VN ctest-vn-78860873 is not in any agent 2025-10-27 01:55:40,369 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-78860873 info 2025-10-27 01:55:40,749 - DEBUG - No XMPP flaps were noticed during the test 2025-10-27 01:55:40,749 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2025-10-27 01:55:40,749 - INFO - -------------------------------------------------------------------------------- 2025-10-27 01:55:41,475 - INFO - Deleted project: ctest-TestBasicPolicy-65152553, ID : a388eba1-6e52-4396-85a8-bf11d1693caa