2025-06-20 15:21:00,045 - INFO - Domain Default found not creating 2025-06-20 15:21:00,175 - INFO - Project ctest-TestBasicPolicy-09212387 not found, creating it 2025-06-20 15:21:00,610 - INFO - Created Project:ctest-TestBasicPolicy-09212387, ID : 5c8907d5-5e5d-4b6c-ac07-9672f998a166 2025-06-20 15:21:02,084 - INFO - ================================================================================ 2025-06-20 15:21:02,084 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-20 15:21:02,084 - 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-06-20 15:21:02,339 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.17': '0'}} with 2025-06-20 15:21:02,339 - INFO - Initial checks done. Running the testcase now 2025-06-20 15:21:02,339 - INFO - 2025-06-20 15:21:02,880 - DEBUG - Response for create_network : {'network': {'id': '892e5597-50d4-4800-bf3e-c3461e6a5fec', 'name': 'ctest-vn-17513282', 'tenant_id': '5c8907d55e5d4b6cac079672f998a166', 'project_id': '5c8907d55e5d4b6cac079672f998a166', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09212387', 'ctest-vn-17513282'], 'port_security_enabled': True, 'description': ''}} 2025-06-20 15:21:03,031 - DEBUG - Response for create_subnet : {'subnet': {'id': '71e98e7b-2e8a-4ecb-940d-9b9011eb60b7', 'name': '', 'tenant_id': '5c8907d55e5d4b6cac079672f998a166', 'network_id': '892e5597-50d4-4800-bf3e-c3461e6a5fec', 'ip_version': 4, 'cidr': '204.221.156.64/26', 'allocation_pools': [{'start': '204.221.156.66', 'end': '204.221.156.126'}], 'gateway_ip': '204.221.156.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '204.221.156.66', 'tags': [], 'project_id': '5c8907d55e5d4b6cac079672f998a166'}} 2025-06-20 15:21:03,046 - INFO - Created VN ctest-vn-17513282 2025-06-20 15:21:03,097 - DEBUG - VN ctest-vn-17513282 UUID is 892e5597-50d4-4800-bf3e-c3461e6a5fec 2025-06-20 15:21:03,409 - DEBUG - Response for create_network : {'network': {'id': '3fd9d958-1f51-4459-93fd-5ce4cc45e3aa', 'name': 'ctest-vn-37382431', 'tenant_id': '5c8907d55e5d4b6cac079672f998a166', 'project_id': '5c8907d55e5d4b6cac079672f998a166', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09212387', 'ctest-vn-37382431'], 'port_security_enabled': True, 'description': ''}} 2025-06-20 15:21:03,598 - DEBUG - Response for create_subnet : {'subnet': {'id': '195d203a-d8c9-41e3-9ea1-26e036da092f', 'name': '', 'tenant_id': '5c8907d55e5d4b6cac079672f998a166', 'network_id': '3fd9d958-1f51-4459-93fd-5ce4cc45e3aa', 'ip_version': 4, 'cidr': '211.227.203.64/26', 'allocation_pools': [{'start': '211.227.203.66', 'end': '211.227.203.126'}], 'gateway_ip': '211.227.203.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '211.227.203.66', 'tags': [], 'project_id': '5c8907d55e5d4b6cac079672f998a166'}} 2025-06-20 15:21:03,617 - INFO - Created VN ctest-vn-37382431 2025-06-20 15:21:03,676 - DEBUG - VN ctest-vn-37382431 UUID is 3fd9d958-1f51-4459-93fd-5ce4cc45e3aa 2025-06-20 15:21:03,798 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-09212387:ctest-vn-17513282, 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-09212387:ctest-vn-37382431, 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-06-20 15:21:04,102 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '892e5597-50d4-4800-bf3e-c3461e6a5fec', 'name': 'ctest-vn-17513282', 'tenant_id': '5c8907d55e5d4b6cac079672f998a166', 'project_id': '5c8907d55e5d4b6cac079672f998a166', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['71e98e7b-2e8a-4ecb-940d-9b9011eb60b7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09212387', 'ctest-vn-17513282'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-09212387', 'ctest-policy-allow-all-38503807']], 'subnet_ipam': [{'subnet_cidr': '204.221.156.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-20 15:21:04,370 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3fd9d958-1f51-4459-93fd-5ce4cc45e3aa', 'name': 'ctest-vn-37382431', 'tenant_id': '5c8907d55e5d4b6cac079672f998a166', 'project_id': '5c8907d55e5d4b6cac079672f998a166', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['195d203a-d8c9-41e3-9ea1-26e036da092f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09212387', 'ctest-vn-37382431'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-09212387', 'ctest-policy-allow-all-38503807']], 'subnet_ipam': [{'subnet_cidr': '211.227.203.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-20 15:21:04,521 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2025-06-20 15:21:04,820 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2025-06-20 15:21:04,849 - DEBUG - Requesting: http://10.0.0.241:8082/domain/931e4a2a-bd3e-48d7-90a6-0f94815c1059 2025-06-20 15:21:04,863 - DEBUG - Requesting: http://10.0.0.241:8082/project/5c8907d5-5e5d-4b6c-ac07-9672f998a166 2025-06-20 15:21:04,936 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/892e5597-50d4-4800-bf3e-c3461e6a5fec 2025-06-20 15:21:04,947 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/892e5597-50d4-4800-bf3e-c3461e6a5fec 2025-06-20 15:21:04,957 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/b575180d-c6b2-4612-9174-92e19b68afa7 2025-06-20 15:21:04,965 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/b575180d-c6b2-4612-9174-92e19b68afa7 2025-06-20 15:21:04,972 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/57081304-066a-4e5f-90e1-849373c10265 2025-06-20 15:21:04,979 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-20 15:21:04,979 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/892e5597-50d4-4800-bf3e-c3461e6a5fec 2025-06-20 15:21:04,989 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/b575180d-c6b2-4612-9174-92e19b68afa7 2025-06-20 15:21:05,003 - INFO - Verified VN network id 8 for VN 892e5597-50d4-4800-bf3e-c3461e6a5fec 2025-06-20 15:21:05,003 - INFO - Verifications in API Server for VN ctest-vn-17513282 passed 2025-06-20 15:21:05,003 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/892e5597-50d4-4800-bf3e-c3461e6a5fec 2025-06-20 15:21:05,013 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/b575180d-c6b2-4612-9174-92e19b68afa7 2025-06-20 15:21:05,023 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/b575180d-c6b2-4612-9174-92e19b68afa7 2025-06-20 15:21:05,030 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/57081304-066a-4e5f-90e1-849373c10265 2025-06-20 15:21:05,042 - DEBUG - Control-node 10.0.0.241 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-09212387:ctest-vn-17513282', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-09212387', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9884932340509329408', 'uuid-lslong': '13780666615725711340'}, 'enable': 'true', 'created': '2025-06-20T15:21:02', 'last-modified': '2025-06-20T15:21:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.964993'} 2025-06-20 15:21:05,049 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-20 15:21:05,049 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-17513282 passed 2025-06-20 15:21:05,049 - DEBUG - ====Verifying policy data for ctest-vn-17513282 in API_Server ====== 2025-06-20 15:21:05,050 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2025-06-20 15:21:05,064 - DEBUG - Requesting: http://10.0.0.241:8082/domain/931e4a2a-bd3e-48d7-90a6-0f94815c1059 2025-06-20 15:21:05,076 - DEBUG - Requesting: http://10.0.0.241:8082/project/5c8907d5-5e5d-4b6c-ac07-9672f998a166 2025-06-20 15:21:05,152 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/892e5597-50d4-4800-bf3e-c3461e6a5fec 2025-06-20 15:21:05,162 - DEBUG - ==>Verifying data for policy with id: 6f0cdac3-a02f-4081-978f-add5b3f95f26, fqn: ['default-domain', 'ctest-TestBasicPolicy-09212387', 'ctest-policy-allow-all-38503807'] 2025-06-20 15:21:05,162 - INFO - VN ctest-vn-17513282 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-20 15:21:05,162 - DEBUG - Verifying the vn in opserver 2025-06-20 15:21:05,163 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-09212387:ctest-vn-17513282 virtual network link through opserver 10.0.0.241 2025-06-20 15:21:05,163 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks 2025-06-20 15:21:05,456 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks 2025-06-20 15:21:05,510 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-09212387:ctest-vn-17513282', 'href': 'http://10.0.0.241:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-09212387:ctest-vn-17513282?flat'} 2025-06-20 15:21:05,510 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-09212387:ctest-vn-17513282 is found in opserver 2025-06-20 15:21:05,521 - DEBUG - Do not have enough data to verify VN in agent 2025-06-20 15:21:05,527 - DEBUG - VRF ids for VN ctest-vn-17513282: {} 2025-06-20 15:21:05,527 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2025-06-20 15:21:05,534 - DEBUG - Requesting: http://10.0.0.241:8082/domain/931e4a2a-bd3e-48d7-90a6-0f94815c1059 2025-06-20 15:21:05,547 - DEBUG - Requesting: http://10.0.0.241:8082/project/5c8907d5-5e5d-4b6c-ac07-9672f998a166 2025-06-20 15:21:05,631 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/3fd9d958-1f51-4459-93fd-5ce4cc45e3aa 2025-06-20 15:21:05,643 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/3fd9d958-1f51-4459-93fd-5ce4cc45e3aa 2025-06-20 15:21:05,652 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/88ee39b4-0d96-4a07-966b-5054fbcb1617 2025-06-20 15:21:05,661 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/88ee39b4-0d96-4a07-966b-5054fbcb1617 2025-06-20 15:21:05,669 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/d8de3744-ac38-4b6d-b4c1-1c282ad9deec 2025-06-20 15:21:05,675 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-20 15:21:05,675 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/3fd9d958-1f51-4459-93fd-5ce4cc45e3aa 2025-06-20 15:21:05,686 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/88ee39b4-0d96-4a07-966b-5054fbcb1617 2025-06-20 15:21:05,704 - INFO - Verified VN network id 9 for VN 3fd9d958-1f51-4459-93fd-5ce4cc45e3aa 2025-06-20 15:21:05,704 - INFO - Verifications in API Server for VN ctest-vn-37382431 passed 2025-06-20 15:21:05,704 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/3fd9d958-1f51-4459-93fd-5ce4cc45e3aa 2025-06-20 15:21:05,714 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/88ee39b4-0d96-4a07-966b-5054fbcb1617 2025-06-20 15:21:05,724 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/88ee39b4-0d96-4a07-966b-5054fbcb1617 2025-06-20 15:21:05,731 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/d8de3744-ac38-4b6d-b4c1-1c282ad9deec 2025-06-20 15:21:05,744 - DEBUG - Control-node 10.0.0.241 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-09212387:ctest-vn-37382431', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-09212387', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4600947466841441369', 'uuid-lslong': '10663781630432633770'}, 'enable': 'true', 'created': '2025-06-20T15:21:03', 'last-modified': '2025-06-20T15:21:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.438103'} 2025-06-20 15:21:05,750 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-20 15:21:05,751 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-37382431 passed 2025-06-20 15:21:05,751 - DEBUG - ====Verifying policy data for ctest-vn-37382431 in API_Server ====== 2025-06-20 15:21:05,751 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2025-06-20 15:21:05,757 - DEBUG - Requesting: http://10.0.0.241:8082/domain/931e4a2a-bd3e-48d7-90a6-0f94815c1059 2025-06-20 15:21:05,769 - DEBUG - Requesting: http://10.0.0.241:8082/project/5c8907d5-5e5d-4b6c-ac07-9672f998a166 2025-06-20 15:21:05,843 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/3fd9d958-1f51-4459-93fd-5ce4cc45e3aa 2025-06-20 15:21:05,853 - DEBUG - ==>Verifying data for policy with id: 6f0cdac3-a02f-4081-978f-add5b3f95f26, fqn: ['default-domain', 'ctest-TestBasicPolicy-09212387', 'ctest-policy-allow-all-38503807'] 2025-06-20 15:21:05,853 - INFO - VN ctest-vn-37382431 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-20 15:21:05,853 - DEBUG - Verifying the vn in opserver 2025-06-20 15:21:05,853 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-09212387:ctest-vn-37382431 virtual network link through opserver 10.0.0.241 2025-06-20 15:21:05,853 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks 2025-06-20 15:21:05,864 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-09212387:ctest-vn-37382431', 'href': 'http://10.0.0.241:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-09212387:ctest-vn-37382431?flat'} 2025-06-20 15:21:05,864 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-09212387:ctest-vn-37382431 is found in opserver 2025-06-20 15:21:05,876 - DEBUG - Do not have enough data to verify VN in agent 2025-06-20 15:21:05,881 - DEBUG - VRF ids for VN ctest-vn-37382431: {} 2025-06-20 15:21:05,943 - DEBUG - Services list from nova: [, , ] 2025-06-20 15:21:06,935 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3508-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3508-1) 2025-06-20 15:21:08,197 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3508-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3508-1) 2025-06-20 15:21:08,197 - INFO - Waiting for VM ctest-TestBasicPolicy-09212387-72588789 to be up.. 2025-06-20 15:21:08,275 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-20 15:21:13,349 - DEBUG - VM is in ACTIVE state now 2025-06-20 15:21:13,349 - INFO - VM name : ctest-TestBasicPolicy-09212387-72588789 2025-06-20 15:21:13,419 - DEBUG - VM ctest-TestBasicPolicy-09212387-72588789 ID is 851e3f14-20cc-44e6-a32c-98c96cf8000a 2025-06-20 15:21:13,438 - DEBUG - VM ctest-TestBasicPolicy-09212387-72588789 launched on Node cn-jenkins-deploy-platform-ansible-os-3508-1 2025-06-20 15:21:13,511 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/851e3f14-20cc-44e6-a32c-98c96cf8000a 2025-06-20 15:21:13,520 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/388b76f9-e3db-45f8-a995-39e02e69b4bf 2025-06-20 15:21:16,749 - 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 1027ms') 2025-06-20 15:21:16,749 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-09212387-72588789 failed! 2025-06-20 15:21:16,809 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-09212387:ctest-vn-17513282 is 204.221.156.65 and allocation pool is NOT set 2025-06-20 15:21:18,867 - 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=4.17 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.395 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.395/2.281/4.168/1.886 ms') 2025-06-20 15:21:18,867 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-09212387-72588789 passed 2025-06-20 15:21:19,017 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-20 15:21:19,017 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-09212387-72588789, IP 204.221.156.67, Port 22 2025-06-20 15:21:19,172 - DEBUG - VM ctest-TestBasicPolicy-09212387-72588789 is ready for SSH connections 2025-06-20 15:21:19,172 - INFO - Waiting for VM ctest-TestBasicPolicy-09212387-90703450 to be up.. 2025-06-20 15:21:19,252 - DEBUG - VM is in ACTIVE state now 2025-06-20 15:21:19,253 - INFO - VM name : ctest-TestBasicPolicy-09212387-90703450 2025-06-20 15:21:19,327 - DEBUG - VM ctest-TestBasicPolicy-09212387-90703450 ID is 9f13d6cc-5836-413e-aef4-e3c6ed5f7593 2025-06-20 15:21:19,327 - DEBUG - VM ctest-TestBasicPolicy-09212387-90703450 launched on Node cn-jenkins-deploy-platform-ansible-os-3508-1 2025-06-20 15:21:19,399 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/9f13d6cc-5836-413e-aef4-e3c6ed5f7593 2025-06-20 15:21:19,407 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/bb95485c-1b3f-40d1-9562-0c5db25e19bd 2025-06-20 15:21:20,643 - 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.454 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.454/1.613/2.772/1.159 ms') 2025-06-20 15:21:20,643 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-09212387-90703450 passed 2025-06-20 15:21:20,793 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-20 15:21:20,793 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-09212387-90703450, IP 211.227.203.67, Port 22 2025-06-20 15:21:20,949 - DEBUG - VM ctest-TestBasicPolicy-09212387-90703450 is ready for SSH connections 2025-06-20 15:21:20,949 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-20 15:21:20,949 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 211.227.203.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-06-20 15:21:20,949 - DEBUG - ping -s 56 -c 3 -W 1 211.227.203.67 2025-06-20 15:21:25,090 - DEBUG - PING 211.227.203.67 (211.227.203.67): 56 data bytes 64 bytes from 211.227.203.67: seq=0 ttl=63 time=3.055 ms 64 bytes from 211.227.203.67: seq=1 ttl=63 time=0.925 ms 64 bytes from 211.227.203.67: seq=2 ttl=63 time=0.684 ms --- 211.227.203.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.684/1.554/3.055 ms 2025-06-20 15:21:25,091 - INFO - Ping to IP 211.227.203.67 from VM ctest-TestBasicPolicy-09212387-72588789 passed 2025-06-20 15:21:25,292 - DEBUG - Policy Update Response {"network-policy": {"uuid": "6f0cdac3-a02f-4081-978f-add5b3f95f26", "href": "http://10.0.0.241:8082/network-policy/6f0cdac3-a02f-4081-978f-add5b3f95f26"}} 2025-06-20 15:21:25,292 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-20 15:21:25,293 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 211.227.203.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-06-20 15:21:25,293 - DEBUG - ping -s 56 -c 3 -W 1 211.227.203.67 2025-06-20 15:21:28,490 - DEBUG - PING 211.227.203.67 (211.227.203.67): 56 data bytes 64 bytes from 211.227.203.67: seq=0 ttl=63 time=1.315 ms --- 211.227.203.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.315/1.315/1.315 ms 2025-06-20 15:21:28,490 - WARNING - Ping to IP 211.227.203.67 from VM ctest-TestBasicPolicy-09212387-72588789 failed 2025-06-20 15:21:28,490 - INFO - Deleting VM ctest-TestBasicPolicy-09212387-90703450 2025-06-20 15:21:28,559 - INFO - Deleting VM ctest-TestBasicPolicy-09212387-72588789 2025-06-20 15:21:28,939 - INFO - Deleted policy ctest-policy-allow-all-38503807 2025-06-20 15:21:28,939 - INFO - Deleting VN ctest-vn-37382431 2025-06-20 15:21:28,972 - DEBUG - VN 3fd9d958-1f51-4459-93fd-5ce4cc45e3aa still in use: Unable to complete operation on network 3fd9d958-1f51-4459-93fd-5ce4cc45e3aa. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a8cdd33e-b044-42d2-ba40-9a242af33c2b'] 2025-06-20 15:21:28,972 - WARNING - Deleting VN ctest-vn-37382431 failed..Will retry 2025-06-20 15:21:31,081 - DEBUG - Response for deleting network () 2025-06-20 15:21:31,082 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/88ee39b4-0d96-4a07-966b-5054fbcb1617 2025-06-20 15:21:31,091 - DEBUG - Response Code: 404 2025-06-20 15:21:31,091 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2025-06-20 15:21:31,099 - DEBUG - Requesting: http://10.0.0.241:8082/domain/931e4a2a-bd3e-48d7-90a6-0f94815c1059 2025-06-20 15:21:31,155 - DEBUG - Requesting: http://10.0.0.241:8082/project/5c8907d5-5e5d-4b6c-ac07-9672f998a166 2025-06-20 15:21:31,228 - INFO - Validated that VN ctest-vn-37382431 is not found in API Server 2025-06-20 15:21:31,240 - DEBUG - VN ctest-vn-37382431 is not present in Agent 10.0.0.241 2025-06-20 15:21:31,240 - INFO - Validated that VN ctest-vn-37382431 is not in any agent 2025-06-20 15:21:31,257 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-37382431 info 2025-06-20 15:21:31,257 - INFO - Deleting VN ctest-vn-17513282 2025-06-20 15:21:31,356 - DEBUG - Response for deleting network () 2025-06-20 15:21:31,356 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/b575180d-c6b2-4612-9174-92e19b68afa7 2025-06-20 15:21:31,361 - DEBUG - Response Code: 404 2025-06-20 15:21:31,362 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2025-06-20 15:21:31,366 - DEBUG - Requesting: http://10.0.0.241:8082/domain/931e4a2a-bd3e-48d7-90a6-0f94815c1059 2025-06-20 15:21:31,423 - DEBUG - Requesting: http://10.0.0.241:8082/project/5c8907d5-5e5d-4b6c-ac07-9672f998a166 2025-06-20 15:21:31,514 - INFO - Validated that VN ctest-vn-17513282 is not found in API Server 2025-06-20 15:21:31,526 - DEBUG - VN ctest-vn-17513282 is not present in Agent 10.0.0.241 2025-06-20 15:21:31,526 - INFO - Validated that VN ctest-vn-17513282 is not in any agent 2025-06-20 15:21:31,544 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-17513282 info 2025-06-20 15:21:31,800 - DEBUG - No XMPP flaps were noticed during the test
2025-06-20 15:21:31,800 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-06-20 15:21:31,801 - INFO - -------------------------------------------------------------------------------- 2025-06-20 15:21:32,485 - INFO - Deleted project: ctest-TestBasicPolicy-09212387, ID : 5c8907d5-5e5d-4b6c-ac07-9672f998a166