2025-03-22 02:34:35,018 - INFO - Domain Default found not creating 2025-03-22 02:34:35,186 - INFO - Project ctest-TestBasicPolicy-97282554 not found, creating it 2025-03-22 02:34:35,713 - INFO - Created Project:ctest-TestBasicPolicy-97282554, ID : 02ec9969-5ab1-4cd4-a71f-caa1afbb9ec1 2025-03-22 02:34:37,230 - INFO - ================================================================================ 2025-03-22 02:34:37,230 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-03-22 02:34:37,230 - 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-03-22 02:34:37,491 - DEBUG - Nothing to compare xmpp stats {'10.0.0.28': {'10.20.0.13': '0'}} with 2025-03-22 02:34:37,491 - INFO - Initial checks done. Running the testcase now 2025-03-22 02:34:37,491 - INFO - 2025-03-22 02:34:38,088 - DEBUG - Response for create_network : {'network': {'id': 'c1e58702-404f-4d6c-bd20-ad498993d291', 'name': 'ctest-vn-38028386', 'tenant_id': '02ec99695ab14cd4a71fcaa1afbb9ec1', 'project_id': '02ec99695ab14cd4a71fcaa1afbb9ec1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97282554', 'ctest-vn-38028386'], 'port_security_enabled': True, 'description': ''}} 2025-03-22 02:34:38,301 - DEBUG - Response for create_subnet : {'subnet': {'id': '8a0ec316-87b4-4d18-9bdb-130b4300c635', 'name': '', 'tenant_id': '02ec99695ab14cd4a71fcaa1afbb9ec1', 'network_id': 'c1e58702-404f-4d6c-bd20-ad498993d291', 'ip_version': 4, 'cidr': '173.70.75.192/26', 'allocation_pools': [{'start': '173.70.75.194', 'end': '173.70.75.254'}], 'gateway_ip': '173.70.75.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '173.70.75.194', 'tags': [], 'project_id': '02ec99695ab14cd4a71fcaa1afbb9ec1'}} 2025-03-22 02:34:38,322 - INFO - Created VN ctest-vn-38028386 2025-03-22 02:34:38,377 - DEBUG - VN ctest-vn-38028386 UUID is c1e58702-404f-4d6c-bd20-ad498993d291 2025-03-22 02:34:38,743 - DEBUG - Response for create_network : {'network': {'id': '7cde0b70-2d4f-450f-9307-f437032d84b6', 'name': 'ctest-vn-69776883', 'tenant_id': '02ec99695ab14cd4a71fcaa1afbb9ec1', 'project_id': '02ec99695ab14cd4a71fcaa1afbb9ec1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97282554', 'ctest-vn-69776883'], 'port_security_enabled': True, 'description': ''}} 2025-03-22 02:34:38,953 - DEBUG - Response for create_subnet : {'subnet': {'id': '2433482c-732a-4b26-86c5-22a044b3ea19', 'name': '', 'tenant_id': '02ec99695ab14cd4a71fcaa1afbb9ec1', 'network_id': '7cde0b70-2d4f-450f-9307-f437032d84b6', 'ip_version': 4, 'cidr': '213.19.19.128/26', 'allocation_pools': [{'start': '213.19.19.130', 'end': '213.19.19.190'}], 'gateway_ip': '213.19.19.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '213.19.19.130', 'tags': [], 'project_id': '02ec99695ab14cd4a71fcaa1afbb9ec1'}} 2025-03-22 02:34:38,973 - INFO - Created VN ctest-vn-69776883 2025-03-22 02:34:39,025 - DEBUG - VN ctest-vn-69776883 UUID is 7cde0b70-2d4f-450f-9307-f437032d84b6 2025-03-22 02:34:39,150 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-97282554:ctest-vn-38028386, 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-97282554:ctest-vn-69776883, 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-03-22 02:34:39,468 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c1e58702-404f-4d6c-bd20-ad498993d291', 'name': 'ctest-vn-38028386', 'tenant_id': '02ec99695ab14cd4a71fcaa1afbb9ec1', 'project_id': '02ec99695ab14cd4a71fcaa1afbb9ec1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8a0ec316-87b4-4d18-9bdb-130b4300c635'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97282554', 'ctest-vn-38028386'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-97282554', 'ctest-policy-allow-all-44933077']], 'subnet_ipam': [{'subnet_cidr': '173.70.75.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-03-22 02:34:39,775 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7cde0b70-2d4f-450f-9307-f437032d84b6', 'name': 'ctest-vn-69776883', 'tenant_id': '02ec99695ab14cd4a71fcaa1afbb9ec1', 'project_id': '02ec99695ab14cd4a71fcaa1afbb9ec1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2433482c-732a-4b26-86c5-22a044b3ea19'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97282554', 'ctest-vn-69776883'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-97282554', 'ctest-policy-allow-all-44933077']], 'subnet_ipam': [{'subnet_cidr': '213.19.19.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-03-22 02:34:39,929 - DEBUG - Requesting: http://10.0.0.28:8082/domains 2025-03-22 02:34:40,229 - DEBUG - Requesting: http://10.0.0.28:8082/domains 2025-03-22 02:34:40,259 - DEBUG - Requesting: http://10.0.0.28:8082/domain/7515f5f3-a6e3-4058-9d58-c95eec6d9d9a 2025-03-22 02:34:40,278 - DEBUG - Requesting: http://10.0.0.28:8082/project/02ec9969-5ab1-4cd4-a71f-caa1afbb9ec1 2025-03-22 02:34:40,365 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/c1e58702-404f-4d6c-bd20-ad498993d291 2025-03-22 02:34:40,377 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/c1e58702-404f-4d6c-bd20-ad498993d291 2025-03-22 02:34:40,388 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/ef7642ec-cdc9-4b2c-9443-0ced953d8b58 2025-03-22 02:34:40,397 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/ef7642ec-cdc9-4b2c-9443-0ced953d8b58 2025-03-22 02:34:40,406 - DEBUG - Requesting: http://10.0.0.28:8082/route-target/1e63f08a-0130-41ae-b283-8aafbe709dbf 2025-03-22 02:34:40,417 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-03-22 02:34:40,417 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/c1e58702-404f-4d6c-bd20-ad498993d291 2025-03-22 02:34:40,431 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/ef7642ec-cdc9-4b2c-9443-0ced953d8b58 2025-03-22 02:34:40,452 - INFO - Verified VN network id 8 for VN c1e58702-404f-4d6c-bd20-ad498993d291 2025-03-22 02:34:40,453 - INFO - Verifications in API Server for VN ctest-vn-38028386 passed 2025-03-22 02:34:40,453 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/c1e58702-404f-4d6c-bd20-ad498993d291 2025-03-22 02:34:40,470 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/ef7642ec-cdc9-4b2c-9443-0ced953d8b58 2025-03-22 02:34:40,480 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/ef7642ec-cdc9-4b2c-9443-0ced953d8b58 2025-03-22 02:34:40,488 - DEBUG - Requesting: http://10.0.0.28:8082/route-target/1e63f08a-0130-41ae-b283-8aafbe709dbf 2025-03-22 02:34:40,503 - DEBUG - Control-node 10.0.0.28 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-97282554:ctest-vn-38028386', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-97282554', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13971721862725455212', 'uuid-lslong': '13628083003775505041'}, 'enable': 'true', 'created': '2025-03-22T02:34:38', 'last-modified': '2025-03-22T02:34:39', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.060816'} 2025-03-22 02:34:40,511 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-03-22 02:34:40,511 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-38028386 passed 2025-03-22 02:34:40,511 - DEBUG - ====Verifying policy data for ctest-vn-38028386 in API_Server ====== 2025-03-22 02:34:40,511 - DEBUG - Requesting: http://10.0.0.28:8082/domains 2025-03-22 02:34:40,519 - DEBUG - Requesting: http://10.0.0.28:8082/domain/7515f5f3-a6e3-4058-9d58-c95eec6d9d9a 2025-03-22 02:34:40,532 - DEBUG - Requesting: http://10.0.0.28:8082/project/02ec9969-5ab1-4cd4-a71f-caa1afbb9ec1 2025-03-22 02:34:40,613 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/c1e58702-404f-4d6c-bd20-ad498993d291 2025-03-22 02:34:40,626 - DEBUG - ==>Verifying data for policy with id: 37b7cb53-3552-4cc4-937b-5487bb0c87b3, fqn: ['default-domain', 'ctest-TestBasicPolicy-97282554', 'ctest-policy-allow-all-44933077'] 2025-03-22 02:34:40,626 - INFO - VN ctest-vn-38028386 Policy verification: verify_vn_policy_in_api_server, status: True 2025-03-22 02:34:40,626 - DEBUG - Verifying the vn in opserver 2025-03-22 02:34:40,626 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-97282554:ctest-vn-38028386 virtual network link through opserver 10.0.0.28 2025-03-22 02:34:40,626 - DEBUG - Requesting: http://10.0.0.28:8081/analytics/uves/virtual-networks 2025-03-22 02:34:40,921 - DEBUG - Requesting: http://10.0.0.28:8081/analytics/uves/virtual-networks 2025-03-22 02:34:40,992 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-97282554:ctest-vn-38028386', 'href': 'http://10.0.0.28:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-97282554:ctest-vn-38028386?flat'} 2025-03-22 02:34:40,992 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-97282554:ctest-vn-38028386 is found in opserver 2025-03-22 02:34:41,006 - DEBUG - Do not have enough data to verify VN in agent 2025-03-22 02:34:41,012 - DEBUG - VRF ids for VN ctest-vn-38028386: {} 2025-03-22 02:34:41,012 - DEBUG - Requesting: http://10.0.0.28:8082/domains 2025-03-22 02:34:41,019 - DEBUG - Requesting: http://10.0.0.28:8082/domain/7515f5f3-a6e3-4058-9d58-c95eec6d9d9a 2025-03-22 02:34:41,036 - DEBUG - Requesting: http://10.0.0.28:8082/project/02ec9969-5ab1-4cd4-a71f-caa1afbb9ec1 2025-03-22 02:34:41,125 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/7cde0b70-2d4f-450f-9307-f437032d84b6 2025-03-22 02:34:41,141 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/7cde0b70-2d4f-450f-9307-f437032d84b6 2025-03-22 02:34:41,154 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/614022a9-3f6b-4478-8a3b-6c5ff7cfe08e 2025-03-22 02:34:41,165 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/614022a9-3f6b-4478-8a3b-6c5ff7cfe08e 2025-03-22 02:34:41,177 - DEBUG - Requesting: http://10.0.0.28:8082/route-target/37970759-a28b-4fb9-8da6-3960087a9f90 2025-03-22 02:34:41,187 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-03-22 02:34:41,187 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/7cde0b70-2d4f-450f-9307-f437032d84b6 2025-03-22 02:34:41,199 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/614022a9-3f6b-4478-8a3b-6c5ff7cfe08e 2025-03-22 02:34:41,215 - INFO - Verified VN network id 9 for VN 7cde0b70-2d4f-450f-9307-f437032d84b6 2025-03-22 02:34:41,215 - INFO - Verifications in API Server for VN ctest-vn-69776883 passed 2025-03-22 02:34:41,215 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/7cde0b70-2d4f-450f-9307-f437032d84b6 2025-03-22 02:34:41,228 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/614022a9-3f6b-4478-8a3b-6c5ff7cfe08e 2025-03-22 02:34:41,239 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/614022a9-3f6b-4478-8a3b-6c5ff7cfe08e 2025-03-22 02:34:41,249 - DEBUG - Requesting: http://10.0.0.28:8082/route-target/37970759-a28b-4fb9-8da6-3960087a9f90 2025-03-22 02:34:41,267 - DEBUG - Control-node 10.0.0.28 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-97282554:ctest-vn-69776883', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-97282554', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8997641681957242127', 'uuid-lslong': '10594705165526074550'}, 'enable': 'true', 'created': '2025-03-22T02:34:38', 'last-modified': '2025-03-22T02:34:39', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.572046'} 2025-03-22 02:34:41,274 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-03-22 02:34:41,274 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-69776883 passed 2025-03-22 02:34:41,275 - DEBUG - ====Verifying policy data for ctest-vn-69776883 in API_Server ====== 2025-03-22 02:34:41,275 - DEBUG - Requesting: http://10.0.0.28:8082/domains 2025-03-22 02:34:41,283 - DEBUG - Requesting: http://10.0.0.28:8082/domain/7515f5f3-a6e3-4058-9d58-c95eec6d9d9a 2025-03-22 02:34:41,300 - DEBUG - Requesting: http://10.0.0.28:8082/project/02ec9969-5ab1-4cd4-a71f-caa1afbb9ec1 2025-03-22 02:34:41,384 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/7cde0b70-2d4f-450f-9307-f437032d84b6 2025-03-22 02:34:41,396 - DEBUG - ==>Verifying data for policy with id: 37b7cb53-3552-4cc4-937b-5487bb0c87b3, fqn: ['default-domain', 'ctest-TestBasicPolicy-97282554', 'ctest-policy-allow-all-44933077'] 2025-03-22 02:34:41,396 - INFO - VN ctest-vn-69776883 Policy verification: verify_vn_policy_in_api_server, status: True 2025-03-22 02:34:41,396 - DEBUG - Verifying the vn in opserver 2025-03-22 02:34:41,396 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-97282554:ctest-vn-69776883 virtual network link through opserver 10.0.0.28 2025-03-22 02:34:41,396 - DEBUG - Requesting: http://10.0.0.28:8081/analytics/uves/virtual-networks 2025-03-22 02:34:41,409 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-97282554:ctest-vn-69776883', 'href': 'http://10.0.0.28:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-97282554:ctest-vn-69776883?flat'} 2025-03-22 02:34:41,409 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-97282554:ctest-vn-69776883 is found in opserver 2025-03-22 02:34:41,422 - DEBUG - Do not have enough data to verify VN in agent 2025-03-22 02:34:41,428 - DEBUG - VRF ids for VN ctest-vn-69776883: {} 2025-03-22 02:34:41,490 - DEBUG - Services list from nova: [, , ] 2025-03-22 02:34:42,530 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2933-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2933-1) 2025-03-22 02:34:43,822 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2933-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2933-1) 2025-03-22 02:34:43,822 - INFO - Waiting for VM ctest-TestBasicPolicy-97282554-18234097 to be up.. 2025-03-22 02:34:43,911 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-03-22 02:34:48,998 - DEBUG - VM is in ACTIVE state now 2025-03-22 02:34:48,998 - INFO - VM name : ctest-TestBasicPolicy-97282554-18234097 2025-03-22 02:34:49,100 - DEBUG - VM ctest-TestBasicPolicy-97282554-18234097 ID is 98922813-12ed-4780-a26f-03005d5a5640 2025-03-22 02:34:49,120 - DEBUG - VM ctest-TestBasicPolicy-97282554-18234097 launched on Node cn-jenkins-deploy-platform-ansible-os-2933-1 2025-03-22 02:34:49,201 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/98922813-12ed-4780-a26f-03005d5a5640 2025-03-22 02:34:49,214 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/f5fa6cb1-07cd-4965-abd4-4ea16c13559f 2025-03-22 02:34:52,484 - 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-03-22 02:34:52,484 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-97282554-18234097 failed! 2025-03-22 02:34:52,541 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-97282554:ctest-vn-38028386 is 173.70.75.193 and allocation pool is NOT set 2025-03-22 02:34:54,609 - 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=10.8 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.898 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.898/5.838/10.779/4.940 ms') 2025-03-22 02:34:54,610 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-97282554-18234097 passed 2025-03-22 02:34:54,769 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-22 02:34:54,769 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-97282554-18234097, IP 173.70.75.195, Port 22 2025-03-22 02:34:54,925 - DEBUG - VM ctest-TestBasicPolicy-97282554-18234097 is ready for SSH connections 2025-03-22 02:34:54,925 - INFO - Waiting for VM ctest-TestBasicPolicy-97282554-53790402 to be up.. 2025-03-22 02:34:55,020 - DEBUG - VM is in ACTIVE state now 2025-03-22 02:34:55,020 - INFO - VM name : ctest-TestBasicPolicy-97282554-53790402 2025-03-22 02:34:55,105 - DEBUG - VM ctest-TestBasicPolicy-97282554-53790402 ID is da988277-3262-414b-993b-094fcaa9a46c 2025-03-22 02:34:55,105 - DEBUG - VM ctest-TestBasicPolicy-97282554-53790402 launched on Node cn-jenkins-deploy-platform-ansible-os-2933-1 2025-03-22 02:34:55,191 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/da988277-3262-414b-993b-094fcaa9a46c 2025-03-22 02:34:55,202 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/37244404-e2e9-498c-976f-08a90adfc82f 2025-03-22 02:34:56,453 - 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.08 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.24 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 = 1.239/2.657/4.076/1.418 ms') 2025-03-22 02:34:56,453 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-97282554-53790402 passed 2025-03-22 02:34:56,609 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-22 02:34:56,609 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-97282554-53790402, IP 213.19.19.131, Port 22 2025-03-22 02:34:56,775 - DEBUG - VM ctest-TestBasicPolicy-97282554-53790402 is ready for SSH connections 2025-03-22 02:34:56,775 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-22 02:34:56,775 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 213.19.19.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.28, gateway password: c0ntrail123 2025-03-22 02:34:56,775 - DEBUG - ping -s 56 -c 3 -W 1 213.19.19.131 2025-03-22 02:35:00,815 - DEBUG - PING 213.19.19.131 (213.19.19.131): 56 data bytes 64 bytes from 213.19.19.131: seq=0 ttl=63 time=4.259 ms 64 bytes from 213.19.19.131: seq=1 ttl=63 time=1.028 ms 64 bytes from 213.19.19.131: seq=2 ttl=63 time=1.024 ms --- 213.19.19.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.024/2.103/4.259 ms 2025-03-22 02:35:00,815 - INFO - Ping to IP 213.19.19.131 from VM ctest-TestBasicPolicy-97282554-18234097 passed 2025-03-22 02:35:01,001 - DEBUG - Policy Update Response {"network-policy": {"uuid": "37b7cb53-3552-4cc4-937b-5487bb0c87b3", "href": "http://10.0.0.28:8082/network-policy/37b7cb53-3552-4cc4-937b-5487bb0c87b3"}} 2025-03-22 02:35:01,001 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-22 02:35:01,001 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 213.19.19.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.28, gateway password: c0ntrail123 2025-03-22 02:35:01,001 - DEBUG - ping -s 56 -c 3 -W 1 213.19.19.131 2025-03-22 02:35:04,215 - DEBUG - PING 213.19.19.131 (213.19.19.131): 56 data bytes 64 bytes from 213.19.19.131: seq=0 ttl=63 time=2.128 ms --- 213.19.19.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 2.128/2.128/2.128 ms 2025-03-22 02:35:04,215 - WARNING - Ping to IP 213.19.19.131 from VM ctest-TestBasicPolicy-97282554-18234097 failed 2025-03-22 02:35:04,215 - INFO - Deleting VM ctest-TestBasicPolicy-97282554-53790402 2025-03-22 02:35:04,303 - INFO - Deleting VM ctest-TestBasicPolicy-97282554-18234097 2025-03-22 02:35:04,723 - INFO - Deleted policy ctest-policy-allow-all-44933077 2025-03-22 02:35:04,724 - INFO - Deleting VN ctest-vn-69776883 2025-03-22 02:35:04,762 - DEBUG - VN 7cde0b70-2d4f-450f-9307-f437032d84b6 still in use: Unable to complete operation on network 7cde0b70-2d4f-450f-9307-f437032d84b6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-35744861-b4a8-433c-9405-e8956c992cfd'] 2025-03-22 02:35:04,762 - WARNING - Deleting VN ctest-vn-69776883 failed..Will retry 2025-03-22 02:35:06,895 - DEBUG - Response for deleting network () 2025-03-22 02:35:06,895 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/614022a9-3f6b-4478-8a3b-6c5ff7cfe08e 2025-03-22 02:35:06,901 - DEBUG - Response Code: 404 2025-03-22 02:35:06,901 - DEBUG - Requesting: http://10.0.0.28:8082/domains 2025-03-22 02:35:06,914 - DEBUG - Requesting: http://10.0.0.28:8082/domain/7515f5f3-a6e3-4058-9d58-c95eec6d9d9a 2025-03-22 02:35:06,970 - DEBUG - Requesting: http://10.0.0.28:8082/project/02ec9969-5ab1-4cd4-a71f-caa1afbb9ec1 2025-03-22 02:35:07,049 - INFO - Validated that VN ctest-vn-69776883 is not found in API Server 2025-03-22 02:35:07,061 - DEBUG - VN ctest-vn-69776883 is not present in Agent 10.0.0.28 2025-03-22 02:35:07,061 - INFO - Validated that VN ctest-vn-69776883 is not in any agent 2025-03-22 02:35:07,078 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-69776883 info 2025-03-22 02:35:07,079 - INFO - Deleting VN ctest-vn-38028386 2025-03-22 02:35:07,199 - DEBUG - Response for deleting network () 2025-03-22 02:35:07,199 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/ef7642ec-cdc9-4b2c-9443-0ced953d8b58 2025-03-22 02:35:07,205 - DEBUG - Response Code: 404 2025-03-22 02:35:07,205 - DEBUG - Requesting: http://10.0.0.28:8082/domains 2025-03-22 02:35:07,214 - DEBUG - Requesting: http://10.0.0.28:8082/domain/7515f5f3-a6e3-4058-9d58-c95eec6d9d9a 2025-03-22 02:35:07,271 - DEBUG - Requesting: http://10.0.0.28:8082/project/02ec9969-5ab1-4cd4-a71f-caa1afbb9ec1 2025-03-22 02:35:07,356 - INFO - Validated that VN ctest-vn-38028386 is not found in API Server 2025-03-22 02:35:07,370 - DEBUG - VN ctest-vn-38028386 is not present in Agent 10.0.0.28 2025-03-22 02:35:07,370 - INFO - Validated that VN ctest-vn-38028386 is not in any agent 2025-03-22 02:35:07,387 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-38028386 info 2025-03-22 02:35:07,649 - DEBUG - No XMPP flaps were noticed during the test
2025-03-22 02:35:07,649 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-03-22 02:35:07,649 - INFO - -------------------------------------------------------------------------------- 2025-03-22 02:35:08,358 - INFO - Deleted project: ctest-TestBasicPolicy-97282554, ID : 02ec9969-5ab1-4cd4-a71f-caa1afbb9ec1