2025-02-11 16:53:00,433 - INFO - Domain Default found not creating 2025-02-11 16:53:00,597 - INFO - Project ctest-TestBasicPolicy-96694939 not found, creating it 2025-02-11 16:53:01,088 - INFO - Created Project:ctest-TestBasicPolicy-96694939, ID : 81a7e743-5dc8-4384-bbcd-a28fbccec7ab 2025-02-11 16:53:02,704 - INFO - ================================================================================ 2025-02-11 16:53:02,704 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-02-11 16:53:02,704 - 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-02-11 16:53:02,964 - DEBUG - Nothing to compare xmpp stats {'10.0.0.12': {'10.20.0.5': '0'}} with 2025-02-11 16:53:02,964 - INFO - Initial checks done. Running the testcase now 2025-02-11 16:53:02,964 - INFO - 2025-02-11 16:53:03,560 - DEBUG - Response for create_network : {'network': {'id': '94a3641e-d9b1-4a85-bc85-4a3986a9f447', 'name': 'ctest-vn-90100646', 'tenant_id': '81a7e7435dc84384bbcda28fbccec7ab', 'project_id': '81a7e7435dc84384bbcda28fbccec7ab', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96694939', 'ctest-vn-90100646'], 'port_security_enabled': True, 'description': ''}} 2025-02-11 16:53:03,712 - DEBUG - Response for create_subnet : {'subnet': {'id': '71d5fbb4-0450-439b-80ee-9fc666602a0a', 'name': '', 'tenant_id': '81a7e7435dc84384bbcda28fbccec7ab', 'network_id': '94a3641e-d9b1-4a85-bc85-4a3986a9f447', 'ip_version': 4, 'cidr': '61.155.0.128/26', 'allocation_pools': [{'start': '61.155.0.130', 'end': '61.155.0.190'}], 'gateway_ip': '61.155.0.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '61.155.0.130', 'tags': [], 'project_id': '81a7e7435dc84384bbcda28fbccec7ab'}} 2025-02-11 16:53:03,732 - INFO - Created VN ctest-vn-90100646 2025-02-11 16:53:03,786 - DEBUG - VN ctest-vn-90100646 UUID is 94a3641e-d9b1-4a85-bc85-4a3986a9f447 2025-02-11 16:53:04,078 - DEBUG - Response for create_network : {'network': {'id': 'fc8cdd63-931f-44a7-a35f-506b53cd82d4', 'name': 'ctest-vn-19847906', 'tenant_id': '81a7e7435dc84384bbcda28fbccec7ab', 'project_id': '81a7e7435dc84384bbcda28fbccec7ab', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96694939', 'ctest-vn-19847906'], 'port_security_enabled': True, 'description': ''}} 2025-02-11 16:53:04,234 - DEBUG - Response for create_subnet : {'subnet': {'id': '9fcbb662-7069-4eee-9bab-94695d8adee1', 'name': '', 'tenant_id': '81a7e7435dc84384bbcda28fbccec7ab', 'network_id': 'fc8cdd63-931f-44a7-a35f-506b53cd82d4', 'ip_version': 4, 'cidr': '64.42.214.64/26', 'allocation_pools': [{'start': '64.42.214.66', 'end': '64.42.214.126'}], 'gateway_ip': '64.42.214.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '64.42.214.66', 'tags': [], 'project_id': '81a7e7435dc84384bbcda28fbccec7ab'}} 2025-02-11 16:53:04,253 - INFO - Created VN ctest-vn-19847906 2025-02-11 16:53:04,306 - DEBUG - VN ctest-vn-19847906 UUID is fc8cdd63-931f-44a7-a35f-506b53cd82d4 2025-02-11 16:53:04,425 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-96694939:ctest-vn-90100646, 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-96694939:ctest-vn-19847906, 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-02-11 16:53:04,728 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '94a3641e-d9b1-4a85-bc85-4a3986a9f447', 'name': 'ctest-vn-90100646', 'tenant_id': '81a7e7435dc84384bbcda28fbccec7ab', 'project_id': '81a7e7435dc84384bbcda28fbccec7ab', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['71d5fbb4-0450-439b-80ee-9fc666602a0a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96694939', 'ctest-vn-90100646'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-96694939', 'ctest-policy-allow-all-47016255']], 'subnet_ipam': [{'subnet_cidr': '61.155.0.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-02-11 16:53:04,978 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fc8cdd63-931f-44a7-a35f-506b53cd82d4', 'name': 'ctest-vn-19847906', 'tenant_id': '81a7e7435dc84384bbcda28fbccec7ab', 'project_id': '81a7e7435dc84384bbcda28fbccec7ab', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9fcbb662-7069-4eee-9bab-94695d8adee1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96694939', 'ctest-vn-19847906'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-96694939', 'ctest-policy-allow-all-47016255']], 'subnet_ipam': [{'subnet_cidr': '64.42.214.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-02-11 16:53:05,150 - DEBUG - Requesting: http://10.0.0.12:8082/domains 2025-02-11 16:53:05,490 - DEBUG - Requesting: http://10.0.0.12:8082/domains 2025-02-11 16:53:05,521 - DEBUG - Requesting: http://10.0.0.12:8082/domain/8f6c3a80-1bbe-446f-9113-c2d8185d40f0 2025-02-11 16:53:05,536 - DEBUG - Requesting: http://10.0.0.12:8082/project/81a7e743-5dc8-4384-bbcd-a28fbccec7ab 2025-02-11 16:53:05,618 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-network/94a3641e-d9b1-4a85-bc85-4a3986a9f447 2025-02-11 16:53:05,633 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-network/94a3641e-d9b1-4a85-bc85-4a3986a9f447 2025-02-11 16:53:05,645 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/bc132ad7-02e5-4c07-b052-c6f800891b96 2025-02-11 16:53:05,654 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/bc132ad7-02e5-4c07-b052-c6f800891b96 2025-02-11 16:53:05,661 - DEBUG - Requesting: http://10.0.0.12:8082/route-target/4f517bbe-076c-4918-9897-3808518b0cfb 2025-02-11 16:53:05,668 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-02-11 16:53:05,669 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-network/94a3641e-d9b1-4a85-bc85-4a3986a9f447 2025-02-11 16:53:05,679 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/bc132ad7-02e5-4c07-b052-c6f800891b96 2025-02-11 16:53:05,696 - INFO - Verified VN network id 8 for VN 94a3641e-d9b1-4a85-bc85-4a3986a9f447 2025-02-11 16:53:05,696 - INFO - Verifications in API Server for VN ctest-vn-90100646 passed 2025-02-11 16:53:05,696 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-network/94a3641e-d9b1-4a85-bc85-4a3986a9f447 2025-02-11 16:53:05,708 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/bc132ad7-02e5-4c07-b052-c6f800891b96 2025-02-11 16:53:05,715 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/bc132ad7-02e5-4c07-b052-c6f800891b96 2025-02-11 16:53:05,723 - DEBUG - Requesting: http://10.0.0.12:8082/route-target/4f517bbe-076c-4918-9897-3808518b0cfb 2025-02-11 16:53:05,736 - DEBUG - Control-node 10.0.0.12 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-96694939:ctest-vn-90100646', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-96694939', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10710514422481242757', 'uuid-lslong': '13584345461965845575'}, 'enable': 'true', 'created': '2025-02-11T16:53:03', 'last-modified': '2025-02-11T16:53:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.027731'} 2025-02-11 16:53:05,743 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-02-11 16:53:05,743 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-90100646 passed 2025-02-11 16:53:05,744 - DEBUG - ====Verifying policy data for ctest-vn-90100646 in API_Server ====== 2025-02-11 16:53:05,744 - DEBUG - Requesting: http://10.0.0.12:8082/domains 2025-02-11 16:53:05,750 - DEBUG - Requesting: http://10.0.0.12:8082/domain/8f6c3a80-1bbe-446f-9113-c2d8185d40f0 2025-02-11 16:53:05,762 - DEBUG - Requesting: http://10.0.0.12:8082/project/81a7e743-5dc8-4384-bbcd-a28fbccec7ab 2025-02-11 16:53:05,833 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-network/94a3641e-d9b1-4a85-bc85-4a3986a9f447 2025-02-11 16:53:05,844 - DEBUG - ==>Verifying data for policy with id: ac850ed6-46e9-45e9-aee3-ca4179bce774, fqn: ['default-domain', 'ctest-TestBasicPolicy-96694939', 'ctest-policy-allow-all-47016255'] 2025-02-11 16:53:05,844 - INFO - VN ctest-vn-90100646 Policy verification: verify_vn_policy_in_api_server, status: True 2025-02-11 16:53:05,844 - DEBUG - Verifying the vn in opserver 2025-02-11 16:53:05,845 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-96694939:ctest-vn-90100646 virtual network link through opserver 10.0.0.12 2025-02-11 16:53:05,845 - DEBUG - Requesting: http://10.0.0.12:8081/analytics/uves/virtual-networks 2025-02-11 16:53:06,181 - DEBUG - Requesting: http://10.0.0.12:8081/analytics/uves/virtual-networks 2025-02-11 16:53:06,242 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-96694939:ctest-vn-90100646', 'href': 'http://10.0.0.12:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-96694939:ctest-vn-90100646?flat'} 2025-02-11 16:53:06,243 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-96694939:ctest-vn-90100646 is found in opserver 2025-02-11 16:53:06,255 - DEBUG - Do not have enough data to verify VN in agent 2025-02-11 16:53:06,261 - DEBUG - VRF ids for VN ctest-vn-90100646: {} 2025-02-11 16:53:06,261 - DEBUG - Requesting: http://10.0.0.12:8082/domains 2025-02-11 16:53:06,268 - DEBUG - Requesting: http://10.0.0.12:8082/domain/8f6c3a80-1bbe-446f-9113-c2d8185d40f0 2025-02-11 16:53:06,282 - DEBUG - Requesting: http://10.0.0.12:8082/project/81a7e743-5dc8-4384-bbcd-a28fbccec7ab 2025-02-11 16:53:06,357 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-network/fc8cdd63-931f-44a7-a35f-506b53cd82d4 2025-02-11 16:53:06,370 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-network/fc8cdd63-931f-44a7-a35f-506b53cd82d4 2025-02-11 16:53:06,380 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/e20bc2b2-ec12-4c76-9d03-c34f86a40220 2025-02-11 16:53:06,388 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/e20bc2b2-ec12-4c76-9d03-c34f86a40220 2025-02-11 16:53:06,396 - DEBUG - Requesting: http://10.0.0.12:8082/route-target/3e90067c-e563-443c-b9e4-5d536d065d0a 2025-02-11 16:53:06,403 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-02-11 16:53:06,403 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-network/fc8cdd63-931f-44a7-a35f-506b53cd82d4 2025-02-11 16:53:06,413 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/e20bc2b2-ec12-4c76-9d03-c34f86a40220 2025-02-11 16:53:06,428 - INFO - Verified VN network id 9 for VN fc8cdd63-931f-44a7-a35f-506b53cd82d4 2025-02-11 16:53:06,428 - INFO - Verifications in API Server for VN ctest-vn-19847906 passed 2025-02-11 16:53:06,428 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-network/fc8cdd63-931f-44a7-a35f-506b53cd82d4 2025-02-11 16:53:06,439 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/e20bc2b2-ec12-4c76-9d03-c34f86a40220 2025-02-11 16:53:06,447 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/e20bc2b2-ec12-4c76-9d03-c34f86a40220 2025-02-11 16:53:06,454 - DEBUG - Requesting: http://10.0.0.12:8082/route-target/3e90067c-e563-443c-b9e4-5d536d065d0a 2025-02-11 16:53:06,467 - DEBUG - Control-node 10.0.0.12 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-96694939:ctest-vn-19847906', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-96694939', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18198163614037132455', 'uuid-lslong': '11772216372867465940'}, 'enable': 'true', 'created': '2025-02-11T16:53:04', 'last-modified': '2025-02-11T16:53:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.519359'} 2025-02-11 16:53:06,474 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-02-11 16:53:06,474 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-19847906 passed 2025-02-11 16:53:06,474 - DEBUG - ====Verifying policy data for ctest-vn-19847906 in API_Server ====== 2025-02-11 16:53:06,475 - DEBUG - Requesting: http://10.0.0.12:8082/domains 2025-02-11 16:53:06,480 - DEBUG - Requesting: http://10.0.0.12:8082/domain/8f6c3a80-1bbe-446f-9113-c2d8185d40f0 2025-02-11 16:53:06,494 - DEBUG - Requesting: http://10.0.0.12:8082/project/81a7e743-5dc8-4384-bbcd-a28fbccec7ab 2025-02-11 16:53:06,565 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-network/fc8cdd63-931f-44a7-a35f-506b53cd82d4 2025-02-11 16:53:06,577 - DEBUG - ==>Verifying data for policy with id: ac850ed6-46e9-45e9-aee3-ca4179bce774, fqn: ['default-domain', 'ctest-TestBasicPolicy-96694939', 'ctest-policy-allow-all-47016255'] 2025-02-11 16:53:06,577 - INFO - VN ctest-vn-19847906 Policy verification: verify_vn_policy_in_api_server, status: True 2025-02-11 16:53:06,577 - DEBUG - Verifying the vn in opserver 2025-02-11 16:53:06,577 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-96694939:ctest-vn-19847906 virtual network link through opserver 10.0.0.12 2025-02-11 16:53:06,577 - DEBUG - Requesting: http://10.0.0.12:8081/analytics/uves/virtual-networks 2025-02-11 16:53:06,589 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-96694939:ctest-vn-19847906', 'href': 'http://10.0.0.12:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-96694939:ctest-vn-19847906?flat'} 2025-02-11 16:53:06,589 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-96694939:ctest-vn-19847906 is found in opserver 2025-02-11 16:53:06,600 - DEBUG - Do not have enough data to verify VN in agent 2025-02-11 16:53:06,606 - DEBUG - VRF ids for VN ctest-vn-19847906: {} 2025-02-11 16:53:06,666 - DEBUG - Services list from nova: [, , ] 2025-02-11 16:53:07,776 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2721-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2721-1) 2025-02-11 16:53:09,111 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2721-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2721-1) 2025-02-11 16:53:09,111 - INFO - Waiting for VM ctest-TestBasicPolicy-96694939-69801980 to be up.. 2025-02-11 16:53:09,203 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-11 16:53:14,286 - DEBUG - VM is in ACTIVE state now 2025-02-11 16:53:14,286 - INFO - VM name : ctest-TestBasicPolicy-96694939-69801980 2025-02-11 16:53:14,370 - DEBUG - VM ctest-TestBasicPolicy-96694939-69801980 ID is c91686f1-82f9-4630-8bdc-f9187d38cbd0 2025-02-11 16:53:14,392 - DEBUG - VM ctest-TestBasicPolicy-96694939-69801980 launched on Node cn-jenkins-deploy-platform-ansible-os-2721-1 2025-02-11 16:53:14,482 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/c91686f1-82f9-4630-8bdc-f9187d38cbd0 2025-02-11 16:53:14,494 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/a6e30b88-4926-4b67-8869-822b0b9e5cc1 2025-02-11 16:53:17,752 - 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 1010ms') 2025-02-11 16:53:17,752 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-96694939-69801980 failed! 2025-02-11 16:53:17,810 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-96694939:ctest-vn-90100646 is 61.155.0.129 and allocation pool is NOT set 2025-02-11 16:53:19,876 - 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=9.35 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.36 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 = 2.356/5.852/9.349/3.496 ms') 2025-02-11 16:53:19,877 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-96694939-69801980 passed 2025-02-11 16:53:20,030 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-11 16:53:20,030 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-96694939-69801980, IP 61.155.0.131, Port 22 2025-02-11 16:53:20,086 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-02-11 16:53:20,166 - DEBUG - VM ctest-TestBasicPolicy-96694939-69801980 is NOT ready for SSH connections, VM status: ACTIVE 2025-02-11 16:53:25,167 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-11 16:53:25,167 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-96694939-69801980, IP 61.155.0.131, Port 22 2025-02-11 16:53:25,326 - DEBUG - VM ctest-TestBasicPolicy-96694939-69801980 is ready for SSH connections 2025-02-11 16:53:25,326 - INFO - Waiting for VM ctest-TestBasicPolicy-96694939-31128143 to be up.. 2025-02-11 16:53:25,406 - DEBUG - VM is in ACTIVE state now 2025-02-11 16:53:25,406 - INFO - VM name : ctest-TestBasicPolicy-96694939-31128143 2025-02-11 16:53:25,483 - DEBUG - VM ctest-TestBasicPolicy-96694939-31128143 ID is 6f679532-61f6-435d-9368-327de2b6ae7e 2025-02-11 16:53:25,484 - DEBUG - VM ctest-TestBasicPolicy-96694939-31128143 launched on Node cn-jenkins-deploy-platform-ansible-os-2721-1 2025-02-11 16:53:25,560 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/6f679532-61f6-435d-9368-327de2b6ae7e 2025-02-11 16:53:25,571 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/b493fd48-ca88-40c0-be65-684deb7fa9f7 2025-02-11 16:53:26,818 - 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=3.04 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.394 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.394/1.719/3.044/1.325 ms') 2025-02-11 16:53:26,818 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-96694939-31128143 passed 2025-02-11 16:53:26,974 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-11 16:53:26,975 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-96694939-31128143, IP 64.42.214.67, Port 22 2025-02-11 16:53:27,130 - DEBUG - VM ctest-TestBasicPolicy-96694939-31128143 is ready for SSH connections 2025-02-11 16:53:27,130 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-11 16:53:27,130 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 64.42.214.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.12, gateway password: c0ntrail123 2025-02-11 16:53:27,130 - DEBUG - ping -s 56 -c 3 -W 1 64.42.214.67 2025-02-11 16:53:30,853 - DEBUG - PING 64.42.214.67 (64.42.214.67): 56 data bytes 64 bytes from 64.42.214.67: seq=0 ttl=63 time=4.284 ms 64 bytes from 64.42.214.67: seq=1 ttl=63 time=0.944 ms 64 bytes from 64.42.214.67: seq=2 ttl=63 time=0.807 ms --- 64.42.214.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.807/2.011/4.284 ms 2025-02-11 16:53:30,853 - INFO - Ping to IP 64.42.214.67 from VM ctest-TestBasicPolicy-96694939-69801980 passed 2025-02-11 16:53:31,038 - DEBUG - Policy Update Response {"network-policy": {"uuid": "ac850ed6-46e9-45e9-aee3-ca4179bce774", "href": "http://10.0.0.12:8082/network-policy/ac850ed6-46e9-45e9-aee3-ca4179bce774"}} 2025-02-11 16:53:31,038 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-11 16:53:31,038 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 64.42.214.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.12, gateway password: c0ntrail123 2025-02-11 16:53:31,038 - DEBUG - ping -s 56 -c 3 -W 1 64.42.214.67 2025-02-11 16:53:34,257 - DEBUG - PING 64.42.214.67 (64.42.214.67): 56 data bytes 64 bytes from 64.42.214.67: seq=0 ttl=63 time=1.434 ms --- 64.42.214.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.434/1.434/1.434 ms 2025-02-11 16:53:34,258 - WARNING - Ping to IP 64.42.214.67 from VM ctest-TestBasicPolicy-96694939-69801980 failed 2025-02-11 16:53:34,258 - INFO - Deleting VM ctest-TestBasicPolicy-96694939-31128143 2025-02-11 16:53:34,328 - INFO - Deleting VM ctest-TestBasicPolicy-96694939-69801980 2025-02-11 16:53:34,783 - INFO - Deleted policy ctest-policy-allow-all-47016255 2025-02-11 16:53:34,783 - INFO - Deleting VN ctest-vn-19847906 2025-02-11 16:53:34,839 - DEBUG - VN fc8cdd63-931f-44a7-a35f-506b53cd82d4 still in use: Unable to complete operation on network fc8cdd63-931f-44a7-a35f-506b53cd82d4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6a515bef-c1dd-44b7-8858-b8f4b8961ad0'] 2025-02-11 16:53:34,839 - WARNING - Deleting VN ctest-vn-19847906 failed..Will retry 2025-02-11 16:53:36,951 - DEBUG - Response for deleting network () 2025-02-11 16:53:36,951 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/e20bc2b2-ec12-4c76-9d03-c34f86a40220 2025-02-11 16:53:36,957 - DEBUG - Response Code: 404 2025-02-11 16:53:36,957 - DEBUG - Requesting: http://10.0.0.12:8082/domains 2025-02-11 16:53:36,963 - DEBUG - Requesting: http://10.0.0.12:8082/domain/8f6c3a80-1bbe-446f-9113-c2d8185d40f0 2025-02-11 16:53:37,021 - DEBUG - Requesting: http://10.0.0.12:8082/project/81a7e743-5dc8-4384-bbcd-a28fbccec7ab 2025-02-11 16:53:37,094 - INFO - Validated that VN ctest-vn-19847906 is not found in API Server 2025-02-11 16:53:37,106 - DEBUG - VN ctest-vn-19847906 is not present in Agent 10.0.0.12 2025-02-11 16:53:37,106 - INFO - Validated that VN ctest-vn-19847906 is not in any agent 2025-02-11 16:53:37,124 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-19847906 info 2025-02-11 16:53:37,124 - INFO - Deleting VN ctest-vn-90100646 2025-02-11 16:53:37,256 - DEBUG - Response for deleting network () 2025-02-11 16:53:37,256 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/bc132ad7-02e5-4c07-b052-c6f800891b96 2025-02-11 16:53:37,268 - DEBUG - Response Code: 404 2025-02-11 16:53:37,268 - DEBUG - Requesting: http://10.0.0.12:8082/domains 2025-02-11 16:53:37,275 - DEBUG - Requesting: http://10.0.0.12:8082/domain/8f6c3a80-1bbe-446f-9113-c2d8185d40f0 2025-02-11 16:53:37,332 - DEBUG - Requesting: http://10.0.0.12:8082/project/81a7e743-5dc8-4384-bbcd-a28fbccec7ab 2025-02-11 16:53:37,406 - INFO - Validated that VN ctest-vn-90100646 is not found in API Server 2025-02-11 16:53:37,418 - DEBUG - VN ctest-vn-90100646 is not present in Agent 10.0.0.12 2025-02-11 16:53:37,418 - INFO - Validated that VN ctest-vn-90100646 is not in any agent 2025-02-11 16:53:37,436 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-90100646 info 2025-02-11 16:53:37,696 - DEBUG - No XMPP flaps were noticed during the test 2025-02-11 16:53:37,696 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2025-02-11 16:53:37,696 - INFO - -------------------------------------------------------------------------------- 2025-02-11 16:53:38,409 - INFO - Deleted project: ctest-TestBasicPolicy-96694939, ID : 81a7e743-5dc8-4384-bbcd-a28fbccec7ab