2025-11-03 02:01:34,218 - INFO - Domain Default found not creating 2025-11-03 02:01:34,367 - INFO - Project ctest-TestPorts-90338849 not found, creating it 2025-11-03 02:01:34,832 - INFO - Created Project:ctest-TestPorts-90338849, ID : 821ae16d-9654-4d9a-9d3e-d55c7552114b 2025-11-03 02:01:36,306 - INFO - ================================================================================ 2025-11-03 02:01:36,306 - INFO - STARTING TEST : test_ports_bindings 2025-11-03 02:01:36,306 - INFO - TEST DESCRIPTION : Verify that we are able to create a port with custom port bindings Steps: 1) Create Port with Port bindings profile set to {'foo': 'bar'} 2) Retrieve and verify the same is set 2025-11-03 02:01:36,565 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.14': '0'}} with 2025-11-03 02:01:36,566 - INFO - Initial checks done. Running the testcase now 2025-11-03 02:01:36,566 - INFO - 2025-11-03 02:01:37,136 - DEBUG - Response for create_network : {'network': {'id': '7d68e65f-9f5e-423c-9277-384c2d425749', 'name': 'ctest-vn-75171107', 'tenant_id': '821ae16d96544d9a9d3ed55c7552114b', 'project_id': '821ae16d96544d9a9d3ed55c7552114b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-90338849', 'ctest-vn-75171107'], 'port_security_enabled': True, 'description': ''}} 2025-11-03 02:01:37,285 - DEBUG - Response for create_subnet : {'subnet': {'id': '28246e8f-3580-451b-908e-5cd18f3b1995', 'name': '', 'tenant_id': '821ae16d96544d9a9d3ed55c7552114b', 'network_id': '7d68e65f-9f5e-423c-9277-384c2d425749', 'ip_version': 4, 'cidr': '134.139.234.0/26', 'allocation_pools': [{'start': '134.139.234.2', 'end': '134.139.234.62'}], 'gateway_ip': '134.139.234.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '134.139.234.2', 'tags': [], 'project_id': '821ae16d96544d9a9d3ed55c7552114b'}} 2025-11-03 02:01:37,302 - INFO - Created VN ctest-vn-75171107 2025-11-03 02:01:37,352 - DEBUG - VN ctest-vn-75171107 UUID is 7d68e65f-9f5e-423c-9277-384c2d425749 2025-11-03 02:01:37,457 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-90338849', 'ctest-vmi-07546442']} 2025-11-03 02:01:37,741 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-07546442', 'id': '5ea36d8b-edc0-40ea-bd5f-099d65111ff5', 'tenant_id': '821ae16d96544d9a9d3ed55c7552114b', 'network_id': '7d68e65f-9f5e-423c-9277-384c2d425749', 'mac_address': '02:5e:a3:6d:8b:ed', 'binding:profile': {'foo': 'bar'}, 'binding:vnic_type': 'normal', 'binding:vif_details': {'port_filter': True}, 'binding:vif_type': 'unbound', 'binding:host_id': None, 'allowed_address_pairs': [], 'fixed_ips': [{'ip_address': '134.139.234.3', 'subnet_id': '28246e8f-3580-451b-908e-5cd18f3b1995'}], 'security_groups': ['735b9d41-cdaf-4599-9fb3-04b918a500f9'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '821ae16d96544d9a9d3ed55c7552114b'}} 2025-11-03 02:01:37,741 - DEBUG - Created port 5ea36d8b-edc0-40ea-bd5f-099d65111ff5 2025-11-03 02:01:37,844 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/5ea36d8b-edc0-40ea-bd5f-099d65111ff5 2025-11-03 02:01:38,145 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/5ea36d8b-edc0-40ea-bd5f-099d65111ff5 2025-11-03 02:01:38,179 - INFO - VMI 5ea36d8b-edc0-40ea-bd5f-099d65111ff5 verification in API Server passed 2025-11-03 02:01:38,265 - DEBUG - Response for delete_port : () 2025-11-03 02:01:38,265 - INFO - Deleted port 5ea36d8b-edc0-40ea-bd5f-099d65111ff5 2025-11-03 02:01:38,265 - INFO - Deleting VN ctest-vn-75171107 2025-11-03 02:01:38,368 - DEBUG - Response for deleting network () 2025-11-03 02:01:38,621 - DEBUG - No XMPP flaps were noticed during the test
2025-11-03 02:01:38,621 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-11-03 02:01:38,621 - INFO - -------------------------------------------------------------------------------- 2025-11-03 02:01:38,624 - INFO - ================================================================================ 2025-11-03 02:01:38,624 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-03 02:01:38,624 - INFO - TEST DESCRIPTION : Create ports with specific Subnet and IP Create two ports in a VN with 2 subnets and specific IPs Attach to two VMs Ping between them should pass 2025-11-03 02:01:38,908 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.14': '0'}} with 2025-11-03 02:01:38,908 - INFO - Initial checks done. Running the testcase now 2025-11-03 02:01:38,909 - INFO - 2025-11-03 02:01:39,098 - DEBUG - Response for create_network : {'network': {'id': 'ded92d2a-8b0c-4d6f-93cc-166803785d14', 'name': 'ctest-vn1-65292114', 'tenant_id': '821ae16d96544d9a9d3ed55c7552114b', 'project_id': '821ae16d96544d9a9d3ed55c7552114b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-90338849', 'ctest-vn1-65292114'], 'port_security_enabled': True, 'description': ''}} 2025-11-03 02:01:39,323 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b2199066-55e9-4122-bbc7-4413d3957bf9', 'name': '', 'tenant_id': '821ae16d96544d9a9d3ed55c7552114b', 'network_id': 'ded92d2a-8b0c-4d6f-93cc-166803785d14', 'ip_version': 4, 'cidr': '82.199.240.192/26', 'allocation_pools': [{'start': '82.199.240.194', 'end': '82.199.240.254'}], 'gateway_ip': '82.199.240.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '82.199.240.194', 'tags': [], 'project_id': '821ae16d96544d9a9d3ed55c7552114b'}} 2025-11-03 02:01:39,515 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c9dc4241-ff4f-46b7-8338-d1330840455e', 'name': '', 'tenant_id': '821ae16d96544d9a9d3ed55c7552114b', 'network_id': 'ded92d2a-8b0c-4d6f-93cc-166803785d14', 'ip_version': 4, 'cidr': '46.202.71.192/26', 'allocation_pools': [{'start': '46.202.71.194', 'end': '46.202.71.254'}], 'gateway_ip': '46.202.71.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '46.202.71.194', 'tags': [], 'project_id': '821ae16d96544d9a9d3ed55c7552114b'}} 2025-11-03 02:01:39,534 - INFO - Created VN ctest-vn1-65292114 2025-11-03 02:01:39,584 - DEBUG - VN ctest-vn1-65292114 UUID is ded92d2a-8b0c-4d6f-93cc-166803785d14 2025-11-03 02:01:39,901 - DEBUG - Response for create_port : {'port': {'name': '3c189b9f-e810-4352-bb49-42fa3f833bac', 'id': '3c189b9f-e810-4352-bb49-42fa3f833bac', 'tenant_id': '821ae16d96544d9a9d3ed55c7552114b', 'network_id': 'ded92d2a-8b0c-4d6f-93cc-166803785d14', 'mac_address': '02:3c:18:9b:9f:e8', 'binding:vnic_type': 'normal', 'binding:vif_details': {'port_filter': True}, 'binding:vif_type': 'unbound', 'binding:host_id': None, 'allowed_address_pairs': [], 'fixed_ips': [{'ip_address': '82.199.240.197', 'subnet_id': 'b2199066-55e9-4122-bbc7-4413d3957bf9'}], 'security_groups': ['735b9d41-cdaf-4599-9fb3-04b918a500f9'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '821ae16d96544d9a9d3ed55c7552114b'}} 2025-11-03 02:01:40,075 - DEBUG - Response for create_port : {'port': {'name': '326dfab2-be86-4a89-846b-419eba919bed', 'id': '326dfab2-be86-4a89-846b-419eba919bed', 'tenant_id': '821ae16d96544d9a9d3ed55c7552114b', 'network_id': 'ded92d2a-8b0c-4d6f-93cc-166803785d14', 'mac_address': '02:32:6d:fa:b2:be', 'binding:vnic_type': 'normal', 'binding:vif_details': {'port_filter': True}, 'binding:vif_type': 'unbound', 'binding:host_id': None, 'allowed_address_pairs': [], 'fixed_ips': [{'ip_address': '46.202.71.197', 'subnet_id': 'c9dc4241-ff4f-46b7-8338-d1330840455e'}], 'security_groups': ['735b9d41-cdaf-4599-9fb3-04b918a500f9'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '821ae16d96544d9a9d3ed55c7552114b'}} 2025-11-03 02:01:40,142 - DEBUG - Services list from nova: [, , ] 2025-11-03 02:01:40,483 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4600-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4600-1) 2025-11-03 02:01:40,880 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4600-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4600-1) 2025-11-03 02:01:40,880 - INFO - Waiting for VM ctest-vn1-vm1-51506180 to be up.. 2025-11-03 02:01:40,922 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-03 02:01:46,003 - DEBUG - VM is in ACTIVE state now 2025-11-03 02:01:46,003 - INFO - VM name : ctest-vn1-vm1-51506180 2025-11-03 02:01:46,080 - DEBUG - VM ctest-vn1-vm1-51506180 ID is c231bff8-6ecf-4ef4-ba73-1b6f3854953b 2025-11-03 02:01:46,102 - DEBUG - VM ctest-vn1-vm1-51506180 launched on Node cn-jenkins-deploy-platform-ansible-os-4600-1 2025-11-03 02:01:46,180 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/c231bff8-6ecf-4ef4-ba73-1b6f3854953b 2025-11-03 02:01:46,189 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/3c189b9f-e810-4352-bb49-42fa3f833bac 2025-11-03 02:01:49,472 - 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-11-03 02:01:49,472 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-51506180 failed! 2025-11-03 02:01:49,528 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-90338849:ctest-vn1-65292114 is 82.199.240.193 and allocation pool is NOT set 2025-11-03 02:01:49,528 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-90338849:ctest-vn1-65292114 is 46.202.71.193 and allocation pool is NOT set 2025-11-03 02:01:53,595 - 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=2 ttl=63 time=6.79 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1011ms\r\nrtt min/avg/max/mdev = 6.785/6.785/6.785/0.000 ms') 2025-11-03 02:01:53,595 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-51506180 passed 2025-11-03 02:01:53,752 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 02:01:53,752 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-51506180, IP 82.199.240.197, Port 22 2025-11-03 02:01:53,908 - DEBUG - VM ctest-vn1-vm1-51506180 is ready for SSH connections 2025-11-03 02:01:53,908 - INFO - Waiting for VM ctest-vn1-vm2-76992865 to be up.. 2025-11-03 02:01:53,990 - DEBUG - VM is in ACTIVE state now 2025-11-03 02:01:53,990 - INFO - VM name : ctest-vn1-vm2-76992865 2025-11-03 02:01:54,061 - DEBUG - VM ctest-vn1-vm2-76992865 ID is 49485603-968f-4daa-9637-0bcbef5daf72 2025-11-03 02:01:54,062 - DEBUG - VM ctest-vn1-vm2-76992865 launched on Node cn-jenkins-deploy-platform-ansible-os-4600-1 2025-11-03 02:01:54,140 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/49485603-968f-4daa-9637-0bcbef5daf72 2025-11-03 02:01:54,149 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/326dfab2-be86-4a89-846b-419eba919bed 2025-11-03 02:01:55,394 - 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.86 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.487 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.487/2.174/3.862/1.687 ms') 2025-11-03 02:01:55,394 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-76992865 passed 2025-11-03 02:01:55,544 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 02:01:55,544 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-76992865, IP 46.202.71.197, Port 22 2025-11-03 02:01:55,703 - DEBUG - VM ctest-vn1-vm2-76992865 is ready for SSH connections 2025-11-03 02:01:55,704 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 02:01:55,704 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 02:01:55,704 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 02:01:55,704 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 82.199.240.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-11-03 02:01:55,704 - DEBUG - ping -s 56 -c 3 -W 1 82.199.240.197 2025-11-03 02:01:58,365 - DEBUG - PING 82.199.240.197 (82.199.240.197): 56 data bytes 64 bytes from 82.199.240.197: seq=0 ttl=63 time=5.375 ms 64 bytes from 82.199.240.197: seq=1 ttl=63 time=2.092 ms 64 bytes from 82.199.240.197: seq=2 ttl=63 time=0.834 ms --- 82.199.240.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.834/2.767/5.375 ms 2025-11-03 02:01:58,365 - INFO - Ping to IP 82.199.240.197 from VM ctest-vn1-vm2-76992865 passed 2025-11-03 02:01:58,365 - INFO - Detaching port 326dfab2-be86-4a89-846b-419eba919bed from VM ctest-vn1-vm2-76992865 2025-11-03 02:01:58,418 - INFO - Deleting VM ctest-vn1-vm2-76992865 2025-11-03 02:01:58,502 - INFO - Detaching port 3c189b9f-e810-4352-bb49-42fa3f833bac from VM ctest-vn1-vm1-51506180 2025-11-03 02:01:58,539 - INFO - Deleting VM ctest-vn1-vm1-51506180 2025-11-03 02:01:58,786 - DEBUG - Response for delete_port : () 2025-11-03 02:01:58,940 - DEBUG - Response for delete_port : () 2025-11-03 02:01:58,940 - INFO - Deleting VN ctest-vn1-65292114 2025-11-03 02:01:59,091 - DEBUG - Response for deleting network () 2025-11-03 02:01:59,349 - DEBUG - No XMPP flaps were noticed during the test
2025-11-03 02:01:59,349 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21]
2025-11-03 02:01:59,350 - INFO - -------------------------------------------------------------------------------- 2025-11-03 02:02:00,012 - INFO - Deleted project: ctest-TestPorts-90338849, ID : 821ae16d-9654-4d9a-9d3e-d55c7552114b