2026-07-30 14:55:01,555 - INFO - Domain Default found not creating 2026-07-30 14:55:01,761 - INFO - Project ctest-TestBasicPolicy-20091527 not found, creating it 2026-07-30 14:55:02,344 - INFO - Created Project:ctest-TestBasicPolicy-20091527, ID : 281fe4f2-bf02-4826-9755-7a32ffa1f754 2026-07-30 14:55:04,207 - INFO - ================================================================================ 2026-07-30 14:55:04,209 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-07-30 14:55:04,209 - 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-07-30 14:55:04,481 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-07-30 14:55:04,481 - INFO - Initial checks done. Running the testcase now 2026-07-30 14:55:04,481 - INFO - 2026-07-30 14:55:05,204 - DEBUG - Response for create_network : {'network': {'id': 'fa7acbc5-64db-42b2-b362-5cf20c4c67d2', 'name': 'ctest-vn-27312212', 'tenant_id': '281fe4f2bf02482697557a32ffa1f754', 'project_id': '281fe4f2bf02482697557a32ffa1f754', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20091527', 'ctest-vn-27312212'], 'port_security_enabled': True, 'description': ''}} 2026-07-30 14:55:05,474 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fa7223a9-5d6e-4aee-8331-16db9fa74e4c', 'name': '', 'tenant_id': '281fe4f2bf02482697557a32ffa1f754', 'network_id': 'fa7acbc5-64db-42b2-b362-5cf20c4c67d2', 'ip_version': 4, 'cidr': '165.113.78.0/26', 'allocation_pools': [{'start': '165.113.78.2', 'end': '165.113.78.62'}], 'gateway_ip': '165.113.78.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '165.113.78.2', 'tags': [], 'project_id': '281fe4f2bf02482697557a32ffa1f754'}} 2026-07-30 14:55:05,497 - INFO - Created VN ctest-vn-27312212 2026-07-30 14:55:05,555 - DEBUG - VN ctest-vn-27312212 UUID is fa7acbc5-64db-42b2-b362-5cf20c4c67d2 2026-07-30 14:55:05,900 - DEBUG - Response for create_network : {'network': {'id': '152b5eba-c798-4572-8847-d07a45d4afbe', 'name': 'ctest-vn-95409389', 'tenant_id': '281fe4f2bf02482697557a32ffa1f754', 'project_id': '281fe4f2bf02482697557a32ffa1f754', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20091527', 'ctest-vn-95409389'], 'port_security_enabled': True, 'description': ''}} 2026-07-30 14:55:06,166 - DEBUG - Response for create_subnet : {'subnet': {'id': '787566bb-0740-481f-aeef-cb0e643f22f8', 'name': '', 'tenant_id': '281fe4f2bf02482697557a32ffa1f754', 'network_id': '152b5eba-c798-4572-8847-d07a45d4afbe', 'ip_version': 4, 'cidr': '64.140.22.192/26', 'allocation_pools': [{'start': '64.140.22.194', 'end': '64.140.22.254'}], 'gateway_ip': '64.140.22.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '64.140.22.194', 'tags': [], 'project_id': '281fe4f2bf02482697557a32ffa1f754'}} 2026-07-30 14:55:06,187 - INFO - Created VN ctest-vn-95409389 2026-07-30 14:55:06,248 - DEBUG - VN ctest-vn-95409389 UUID is 152b5eba-c798-4572-8847-d07a45d4afbe 2026-07-30 14:55:06,374 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-20091527:ctest-vn-27312212, 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-20091527:ctest-vn-95409389, 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-07-30 14:55:06,713 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fa7acbc5-64db-42b2-b362-5cf20c4c67d2', 'name': 'ctest-vn-27312212', 'tenant_id': '281fe4f2bf02482697557a32ffa1f754', 'project_id': '281fe4f2bf02482697557a32ffa1f754', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['fa7223a9-5d6e-4aee-8331-16db9fa74e4c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20091527', 'ctest-vn-27312212'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-20091527', 'ctest-policy-allow-all-39154367']], 'subnet_ipam': [{'subnet_cidr': '165.113.78.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-07-30 14:55:06,969 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '152b5eba-c798-4572-8847-d07a45d4afbe', 'name': 'ctest-vn-95409389', 'tenant_id': '281fe4f2bf02482697557a32ffa1f754', 'project_id': '281fe4f2bf02482697557a32ffa1f754', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['787566bb-0740-481f-aeef-cb0e643f22f8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20091527', 'ctest-vn-95409389'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-20091527', 'ctest-policy-allow-all-39154367']], 'subnet_ipam': [{'subnet_cidr': '64.140.22.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-07-30 14:55:07,139 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-07-30 14:55:07,522 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-07-30 14:55:07,556 - DEBUG - Requesting: http://10.0.0.50:8082/domain/77e36f81-42b0-4332-b49d-16b6f23e45a5 2026-07-30 14:55:07,573 - DEBUG - Requesting: http://10.0.0.50:8082/project/281fe4f2-bf02-4826-9755-7a32ffa1f754 2026-07-30 14:55:07,658 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/fa7acbc5-64db-42b2-b362-5cf20c4c67d2 2026-07-30 14:55:07,671 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/fa7acbc5-64db-42b2-b362-5cf20c4c67d2 2026-07-30 14:55:07,683 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a1e9074e-9d9a-4cd5-847e-f6dcde0d5f92 2026-07-30 14:55:07,693 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a1e9074e-9d9a-4cd5-847e-f6dcde0d5f92 2026-07-30 14:55:07,701 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/04603bce-3815-404b-bca2-81d4fe2b52b7 2026-07-30 14:55:07,713 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-07-30 14:55:07,713 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/fa7acbc5-64db-42b2-b362-5cf20c4c67d2 2026-07-30 14:55:07,725 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a1e9074e-9d9a-4cd5-847e-f6dcde0d5f92 2026-07-30 14:55:07,746 - INFO - Verified VN network id 11 for VN fa7acbc5-64db-42b2-b362-5cf20c4c67d2 2026-07-30 14:55:07,746 - INFO - Verifications in API Server for VN ctest-vn-27312212 passed 2026-07-30 14:55:07,746 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/fa7acbc5-64db-42b2-b362-5cf20c4c67d2 2026-07-30 14:55:07,761 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a1e9074e-9d9a-4cd5-847e-f6dcde0d5f92 2026-07-30 14:55:07,776 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a1e9074e-9d9a-4cd5-847e-f6dcde0d5f92 2026-07-30 14:55:07,789 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/04603bce-3815-404b-bca2-81d4fe2b52b7 2026-07-30 14:55:07,812 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-20091527:ctest-vn-27312212', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-20091527', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18048962505301770930', 'uuid-lslong': '12925996075164919762'}, 'enable': 'true', 'created': '2026-07-30T14:55:05', 'last-modified': '2026-07-30T14:55:06', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.140157'} 2026-07-30 14:55:07,821 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-07-30 14:55:07,822 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-27312212 passed 2026-07-30 14:55:07,822 - DEBUG - ====Verifying policy data for ctest-vn-27312212 in API_Server ====== 2026-07-30 14:55:07,822 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-07-30 14:55:07,832 - DEBUG - Requesting: http://10.0.0.50:8082/domain/77e36f81-42b0-4332-b49d-16b6f23e45a5 2026-07-30 14:55:07,847 - DEBUG - Requesting: http://10.0.0.50:8082/project/281fe4f2-bf02-4826-9755-7a32ffa1f754 2026-07-30 14:55:07,925 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/fa7acbc5-64db-42b2-b362-5cf20c4c67d2 2026-07-30 14:55:07,937 - DEBUG - ==>Verifying data for policy with id: 5cb4e826-4e45-437a-8f9a-67ecca0f7641, fqn: ['default-domain', 'ctest-TestBasicPolicy-20091527', 'ctest-policy-allow-all-39154367'] 2026-07-30 14:55:07,937 - INFO - VN ctest-vn-27312212 Policy verification: verify_vn_policy_in_api_server, status: True 2026-07-30 14:55:07,937 - DEBUG - Verifying the vn in opserver 2026-07-30 14:55:07,937 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-20091527:ctest-vn-27312212 virtual network link through opserver 10.0.0.50 2026-07-30 14:55:07,937 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-07-30 14:55:08,307 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-07-30 14:55:08,378 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-20091527:ctest-vn-27312212', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-20091527:ctest-vn-27312212?flat'} 2026-07-30 14:55:08,378 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-20091527:ctest-vn-27312212 is found in opserver 2026-07-30 14:55:08,391 - DEBUG - Do not have enough data to verify VN in agent 2026-07-30 14:55:08,398 - DEBUG - VRF ids for VN ctest-vn-27312212: {} 2026-07-30 14:55:08,398 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-07-30 14:55:08,406 - DEBUG - Requesting: http://10.0.0.50:8082/domain/77e36f81-42b0-4332-b49d-16b6f23e45a5 2026-07-30 14:55:08,418 - DEBUG - Requesting: http://10.0.0.50:8082/project/281fe4f2-bf02-4826-9755-7a32ffa1f754 2026-07-30 14:55:08,502 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/152b5eba-c798-4572-8847-d07a45d4afbe 2026-07-30 14:55:08,520 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/152b5eba-c798-4572-8847-d07a45d4afbe 2026-07-30 14:55:08,532 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d5edb0c4-b36a-4939-86d4-7ddbbeecdd0a 2026-07-30 14:55:08,543 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d5edb0c4-b36a-4939-86d4-7ddbbeecdd0a 2026-07-30 14:55:08,553 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/82116c63-9f3f-4118-9118-ebfffd64ddcc 2026-07-30 14:55:08,562 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-07-30 14:55:08,563 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/152b5eba-c798-4572-8847-d07a45d4afbe 2026-07-30 14:55:08,574 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d5edb0c4-b36a-4939-86d4-7ddbbeecdd0a 2026-07-30 14:55:08,615 - INFO - Verified VN network id 12 for VN 152b5eba-c798-4572-8847-d07a45d4afbe 2026-07-30 14:55:08,615 - INFO - Verifications in API Server for VN ctest-vn-95409389 passed 2026-07-30 14:55:08,615 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/152b5eba-c798-4572-8847-d07a45d4afbe 2026-07-30 14:55:08,627 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d5edb0c4-b36a-4939-86d4-7ddbbeecdd0a 2026-07-30 14:55:08,635 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d5edb0c4-b36a-4939-86d4-7ddbbeecdd0a 2026-07-30 14:55:08,645 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/82116c63-9f3f-4118-9118-ebfffd64ddcc 2026-07-30 14:55:08,661 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-20091527:ctest-vn-95409389', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-20091527', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1525417055100618098', 'uuid-lslong': '9820046736080809918'}, 'enable': 'true', 'created': '2026-07-30T14:55:05', 'last-modified': '2026-07-30T14:55:06', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.733355'} 2026-07-30 14:55:08,669 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-07-30 14:55:08,669 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-95409389 passed 2026-07-30 14:55:08,669 - DEBUG - ====Verifying policy data for ctest-vn-95409389 in API_Server ====== 2026-07-30 14:55:08,669 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-07-30 14:55:08,676 - DEBUG - Requesting: http://10.0.0.50:8082/domain/77e36f81-42b0-4332-b49d-16b6f23e45a5 2026-07-30 14:55:08,690 - DEBUG - Requesting: http://10.0.0.50:8082/project/281fe4f2-bf02-4826-9755-7a32ffa1f754 2026-07-30 14:55:08,770 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/152b5eba-c798-4572-8847-d07a45d4afbe 2026-07-30 14:55:08,782 - DEBUG - ==>Verifying data for policy with id: 5cb4e826-4e45-437a-8f9a-67ecca0f7641, fqn: ['default-domain', 'ctest-TestBasicPolicy-20091527', 'ctest-policy-allow-all-39154367'] 2026-07-30 14:55:08,782 - INFO - VN ctest-vn-95409389 Policy verification: verify_vn_policy_in_api_server, status: True 2026-07-30 14:55:08,782 - DEBUG - Verifying the vn in opserver 2026-07-30 14:55:08,782 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-20091527:ctest-vn-95409389 virtual network link through opserver 10.0.0.50 2026-07-30 14:55:08,782 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-07-30 14:55:08,796 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-20091527:ctest-vn-95409389', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-20091527:ctest-vn-95409389?flat'} 2026-07-30 14:55:08,796 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-20091527:ctest-vn-95409389 is found in opserver 2026-07-30 14:55:08,810 - DEBUG - Do not have enough data to verify VN in agent 2026-07-30 14:55:08,819 - DEBUG - VRF ids for VN ctest-vn-95409389: {} 2026-07-30 14:55:08,905 - DEBUG - Services list from nova: [, , ] 2026-07-30 14:55:09,336 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6125-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6125-1) 2026-07-30 14:55:09,791 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6125-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6125-1) 2026-07-30 14:55:09,792 - INFO - Waiting for VM ctest-TestBasicPolicy-20091527-63189225 to be up.. 2026-07-30 14:55:09,837 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-30 14:55:14,931 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-30 14:55:20,026 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-30 14:55:25,123 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-30 14:55:30,233 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-30 14:55:35,326 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-30 14:55:40,418 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-30 14:55:45,518 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-30 14:55:50,651 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-30 14:55:55,754 - DEBUG - VM is in ACTIVE state now 2026-07-30 14:55:55,754 - INFO - VM name : ctest-TestBasicPolicy-20091527-63189225 2026-07-30 14:55:55,853 - DEBUG - VM ctest-TestBasicPolicy-20091527-63189225 ID is e32ba017-9bc4-4313-9795-212abf1f45f5 2026-07-30 14:55:55,880 - DEBUG - VM ctest-TestBasicPolicy-20091527-63189225 launched on Node cn-jenkins-deploy-platform-ansible-os-6125-1 2026-07-30 14:55:55,974 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/e32ba017-9bc4-4313-9795-212abf1f45f5 2026-07-30 14:55:55,985 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/0f1484b9-ba16-4ac6-bb7c-4c7b33eaca9f 2026-07-30 14:55:59,282 - 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 1034ms') 2026-07-30 14:55:59,282 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-20091527-63189225 failed! 2026-07-30 14:55:59,347 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-20091527:ctest-vn-27312212 is 165.113.78.1 and allocation pool is NOT set 2026-07-30 14:56:01,410 - 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=3.90 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.605 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 = 0.605/2.253/3.901/1.648 ms') 2026-07-30 14:56:01,410 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-20091527-63189225 passed 2026-07-30 14:56:01,567 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-30 14:56:01,567 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-20091527-63189225, IP 165.113.78.3, Port 22 2026-07-30 14:56:01,741 - DEBUG - VM ctest-TestBasicPolicy-20091527-63189225 is ready for SSH connections 2026-07-30 14:56:01,742 - INFO - Waiting for VM ctest-TestBasicPolicy-20091527-72601345 to be up.. 2026-07-30 14:56:01,846 - DEBUG - VM is in ACTIVE state now 2026-07-30 14:56:01,846 - INFO - VM name : ctest-TestBasicPolicy-20091527-72601345 2026-07-30 14:56:01,951 - DEBUG - VM ctest-TestBasicPolicy-20091527-72601345 ID is 14ba76ef-c556-4b62-b837-15b01ceb4c56 2026-07-30 14:56:01,951 - DEBUG - VM ctest-TestBasicPolicy-20091527-72601345 launched on Node cn-jenkins-deploy-platform-ansible-os-6125-1 2026-07-30 14:56:02,042 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/14ba76ef-c556-4b62-b837-15b01ceb4c56 2026-07-30 14:56:02,053 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/04ed78a0-d446-4bb6-85dc-20995c30e734 2026-07-30 14:56:03,309 - 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.604 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.604/2.332/4.061/1.728 ms') 2026-07-30 14:56:03,310 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-20091527-72601345 passed 2026-07-30 14:56:03,467 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-30 14:56:03,467 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-20091527-72601345, IP 64.140.22.195, Port 22 2026-07-30 14:56:03,645 - DEBUG - VM ctest-TestBasicPolicy-20091527-72601345 is ready for SSH connections 2026-07-30 14:56:03,645 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-30 14:56:03,645 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 64.140.22.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-07-30 14:56:03,645 - DEBUG - ping -s 56 -c 3 -W 1 64.140.22.195 2026-07-30 14:56:08,008 - DEBUG - PING 64.140.22.195 (64.140.22.195): 56 data bytes 64 bytes from 64.140.22.195: seq=0 ttl=63 time=5.198 ms 64 bytes from 64.140.22.195: seq=1 ttl=63 time=1.108 ms 64 bytes from 64.140.22.195: seq=2 ttl=63 time=1.479 ms --- 64.140.22.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.108/2.595/5.198 ms 2026-07-30 14:56:08,008 - INFO - Ping to IP 64.140.22.195 from VM ctest-TestBasicPolicy-20091527-63189225 passed 2026-07-30 14:56:08,203 - DEBUG - Policy Update Response {"network-policy": {"uuid": "5cb4e826-4e45-437a-8f9a-67ecca0f7641", "href": "http://10.0.0.50:8082/network-policy/5cb4e826-4e45-437a-8f9a-67ecca0f7641"}} 2026-07-30 14:56:08,203 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-30 14:56:08,203 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 64.140.22.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-07-30 14:56:08,203 - DEBUG - ping -s 56 -c 3 -W 1 64.140.22.195 2026-07-30 14:56:11,566 - DEBUG - PING 64.140.22.195 (64.140.22.195): 56 data bytes 64 bytes from 64.140.22.195: seq=0 ttl=63 time=1.497 ms --- 64.140.22.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.497/1.497/1.497 ms 2026-07-30 14:56:11,566 - WARNING - Ping to IP 64.140.22.195 from VM ctest-TestBasicPolicy-20091527-63189225 failed 2026-07-30 14:56:11,566 - INFO - Deleting VM ctest-TestBasicPolicy-20091527-72601345 2026-07-30 14:56:11,661 - INFO - Deleting VM ctest-TestBasicPolicy-20091527-63189225 2026-07-30 14:56:12,086 - INFO - Deleted policy ctest-policy-allow-all-39154367 2026-07-30 14:56:12,087 - INFO - Deleting VN ctest-vn-95409389 2026-07-30 14:56:12,127 - DEBUG - VN 152b5eba-c798-4572-8847-d07a45d4afbe still in use: Unable to complete operation on network 152b5eba-c798-4572-8847-d07a45d4afbe. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-972a9362-fa50-4312-b6ca-6b440294a715'] 2026-07-30 14:56:12,127 - WARNING - Deleting VN ctest-vn-95409389 failed..Will retry 2026-07-30 14:56:14,262 - DEBUG - Response for deleting network () 2026-07-30 14:56:14,262 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d5edb0c4-b36a-4939-86d4-7ddbbeecdd0a 2026-07-30 14:56:14,273 - DEBUG - Response Code: 404 2026-07-30 14:56:14,273 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-07-30 14:56:14,282 - DEBUG - Requesting: http://10.0.0.50:8082/domain/77e36f81-42b0-4332-b49d-16b6f23e45a5 2026-07-30 14:56:14,339 - DEBUG - Requesting: http://10.0.0.50:8082/project/281fe4f2-bf02-4826-9755-7a32ffa1f754 2026-07-30 14:56:14,424 - INFO - Validated that VN ctest-vn-95409389 is not found in API Server 2026-07-30 14:56:14,437 - DEBUG - VN ctest-vn-95409389 is not present in Agent 10.0.0.50 2026-07-30 14:56:14,437 - INFO - Validated that VN ctest-vn-95409389 is not in any agent 2026-07-30 14:56:14,455 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-95409389 info 2026-07-30 14:56:14,455 - INFO - Deleting VN ctest-vn-27312212 2026-07-30 14:56:14,583 - DEBUG - Response for deleting network () 2026-07-30 14:56:14,584 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a1e9074e-9d9a-4cd5-847e-f6dcde0d5f92 2026-07-30 14:56:14,589 - DEBUG - Response Code: 404 2026-07-30 14:56:14,589 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-07-30 14:56:14,600 - DEBUG - Requesting: http://10.0.0.50:8082/domain/77e36f81-42b0-4332-b49d-16b6f23e45a5 2026-07-30 14:56:14,658 - DEBUG - Requesting: http://10.0.0.50:8082/project/281fe4f2-bf02-4826-9755-7a32ffa1f754 2026-07-30 14:56:14,744 - INFO - Validated that VN ctest-vn-27312212 is not found in API Server 2026-07-30 14:56:14,756 - DEBUG - VN ctest-vn-27312212 is not present in Agent 10.0.0.50 2026-07-30 14:56:14,756 - INFO - Validated that VN ctest-vn-27312212 is not in any agent 2026-07-30 14:56:14,773 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-27312212 info 2026-07-30 14:56:15,044 - DEBUG - No XMPP flaps were noticed during the test 2026-07-30 14:56:15,044 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:11] 2026-07-30 14:56:15,044 - INFO - -------------------------------------------------------------------------------- 2026-07-30 14:56:15,848 - INFO - Deleted project: ctest-TestBasicPolicy-20091527, ID : 281fe4f2-bf02-4826-9755-7a32ffa1f754