2025-10-22 12:56:03,405 - INFO - Domain Default found not creating 2025-10-22 12:56:03,572 - INFO - Project ctest-TestPorts-72514519 not found, creating it 2025-10-22 12:56:04,042 - INFO - Created Project:ctest-TestPorts-72514519, ID : 59423ce4-6caf-48af-af37-9aab6f29de14 2025-10-22 12:56:05,626 - INFO - ================================================================================ 2025-10-22 12:56:05,626 - INFO - STARTING TEST : test_ports_bindings 2025-10-22 12:56:05,626 - 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-10-22 12:56:05,880 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.14': '0'}} with 2025-10-22 12:56:05,880 - INFO - Initial checks done. Running the testcase now 2025-10-22 12:56:05,880 - INFO - 2025-10-22 12:56:06,483 - DEBUG - Response for create_network : {'network': {'id': 'b7b4e1c1-6127-48b7-80a5-5eab5ecc6497', 'name': 'ctest-vn-51561149', 'tenant_id': '59423ce46caf48afaf379aab6f29de14', 'project_id': '59423ce46caf48afaf379aab6f29de14', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-72514519', 'ctest-vn-51561149'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 12:56:06,674 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ef619bd3-adba-46c8-858f-51dad9de50e6', 'name': '', 'tenant_id': '59423ce46caf48afaf379aab6f29de14', 'network_id': 'b7b4e1c1-6127-48b7-80a5-5eab5ecc6497', 'ip_version': 4, 'cidr': '209.197.184.64/26', 'allocation_pools': [{'start': '209.197.184.66', 'end': '209.197.184.126'}], 'gateway_ip': '209.197.184.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '209.197.184.66', 'tags': [], 'project_id': '59423ce46caf48afaf379aab6f29de14'}} 2025-10-22 12:56:06,693 - INFO - Created VN ctest-vn-51561149 2025-10-22 12:56:06,746 - DEBUG - VN ctest-vn-51561149 UUID is b7b4e1c1-6127-48b7-80a5-5eab5ecc6497 2025-10-22 12:56:06,860 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-72514519', 'ctest-vmi-05067665']} 2025-10-22 12:56:07,111 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-05067665', 'id': '4894884e-2768-4db3-80ff-a3174ea90da1', 'tenant_id': '59423ce46caf48afaf379aab6f29de14', 'network_id': 'b7b4e1c1-6127-48b7-80a5-5eab5ecc6497', 'mac_address': '02:48:94:88:4e:27', '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': '209.197.184.67', 'subnet_id': 'ef619bd3-adba-46c8-858f-51dad9de50e6'}], 'security_groups': ['660e982c-7fa7-466e-987d-5b251030389e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '59423ce46caf48afaf379aab6f29de14'}} 2025-10-22 12:56:07,112 - DEBUG - Created port 4894884e-2768-4db3-80ff-a3174ea90da1 2025-10-22 12:56:07,218 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/4894884e-2768-4db3-80ff-a3174ea90da1 2025-10-22 12:56:07,558 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/4894884e-2768-4db3-80ff-a3174ea90da1 2025-10-22 12:56:07,590 - INFO - VMI 4894884e-2768-4db3-80ff-a3174ea90da1 verification in API Server passed 2025-10-22 12:56:07,675 - DEBUG - Response for delete_port : () 2025-10-22 12:56:07,675 - INFO - Deleted port 4894884e-2768-4db3-80ff-a3174ea90da1 2025-10-22 12:56:07,675 - INFO - Deleting VN ctest-vn-51561149 2025-10-22 12:56:07,775 - DEBUG - Response for deleting network () 2025-10-22 12:56:08,031 - DEBUG - No XMPP flaps were noticed during the test 2025-10-22 12:56:08,031 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-10-22 12:56:08,031 - INFO - -------------------------------------------------------------------------------- 2025-10-22 12:56:08,034 - INFO - ================================================================================ 2025-10-22 12:56:08,034 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-22 12:56:08,034 - 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-10-22 12:56:08,323 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.14': '0'}} with 2025-10-22 12:56:08,323 - INFO - Initial checks done. Running the testcase now 2025-10-22 12:56:08,323 - INFO - 2025-10-22 12:56:08,520 - DEBUG - Response for create_network : {'network': {'id': '67450a50-5e77-426d-8ad2-717c789a9c1d', 'name': 'ctest-vn1-94774207', 'tenant_id': '59423ce46caf48afaf379aab6f29de14', 'project_id': '59423ce46caf48afaf379aab6f29de14', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-72514519', 'ctest-vn1-94774207'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 12:56:08,666 - DEBUG - Response for create_subnet : {'subnet': {'id': '7ef287ba-ccef-4499-8adc-00df17c96e57', 'name': '', 'tenant_id': '59423ce46caf48afaf379aab6f29de14', 'network_id': '67450a50-5e77-426d-8ad2-717c789a9c1d', 'ip_version': 4, 'cidr': '41.131.136.64/26', 'allocation_pools': [{'start': '41.131.136.66', 'end': '41.131.136.126'}], 'gateway_ip': '41.131.136.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '41.131.136.66', 'tags': [], 'project_id': '59423ce46caf48afaf379aab6f29de14'}} 2025-10-22 12:56:08,850 - DEBUG - Response for create_subnet : {'subnet': {'id': '437308ee-0097-4372-8cc6-4946e3fb5fe3', 'name': '', 'tenant_id': '59423ce46caf48afaf379aab6f29de14', 'network_id': '67450a50-5e77-426d-8ad2-717c789a9c1d', 'ip_version': 4, 'cidr': '95.25.240.128/26', 'allocation_pools': [{'start': '95.25.240.130', 'end': '95.25.240.190'}], 'gateway_ip': '95.25.240.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '95.25.240.130', 'tags': [], 'project_id': '59423ce46caf48afaf379aab6f29de14'}} 2025-10-22 12:56:08,876 - INFO - Created VN ctest-vn1-94774207 2025-10-22 12:56:08,930 - DEBUG - VN ctest-vn1-94774207 UUID is 67450a50-5e77-426d-8ad2-717c789a9c1d 2025-10-22 12:56:09,250 - DEBUG - Response for create_port : {'port': {'name': 'f126ff0d-9eea-4e02-b62a-66cdbc9921e7', 'id': 'f126ff0d-9eea-4e02-b62a-66cdbc9921e7', 'tenant_id': '59423ce46caf48afaf379aab6f29de14', 'network_id': '67450a50-5e77-426d-8ad2-717c789a9c1d', 'mac_address': '02:f1:26:ff:0d:9e', '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': '41.131.136.69', 'subnet_id': '7ef287ba-ccef-4499-8adc-00df17c96e57'}], 'security_groups': ['660e982c-7fa7-466e-987d-5b251030389e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '59423ce46caf48afaf379aab6f29de14'}} 2025-10-22 12:56:09,439 - DEBUG - Response for create_port : {'port': {'name': '5210adaa-2b2d-4522-9ac1-9e210b74a965', 'id': '5210adaa-2b2d-4522-9ac1-9e210b74a965', 'tenant_id': '59423ce46caf48afaf379aab6f29de14', 'network_id': '67450a50-5e77-426d-8ad2-717c789a9c1d', 'mac_address': '02:52:10:ad:aa:2b', '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': '95.25.240.133', 'subnet_id': '437308ee-0097-4372-8cc6-4946e3fb5fe3'}], 'security_groups': ['660e982c-7fa7-466e-987d-5b251030389e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '59423ce46caf48afaf379aab6f29de14'}} 2025-10-22 12:56:09,509 - DEBUG - Services list from nova: [, , ] 2025-10-22 12:56:09,944 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4428-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4428-1) 2025-10-22 12:56:10,393 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4428-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4428-1) 2025-10-22 12:56:10,393 - INFO - Waiting for VM ctest-vn1-vm1-94432337 to be up.. 2025-10-22 12:56:10,441 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-22 12:56:15,543 - DEBUG - VM is in ACTIVE state now 2025-10-22 12:56:15,543 - INFO - VM name : ctest-vn1-vm1-94432337 2025-10-22 12:56:15,649 - DEBUG - VM ctest-vn1-vm1-94432337 ID is d1e155fa-0075-473d-9ba8-6213a8863a89 2025-10-22 12:56:15,692 - DEBUG - VM ctest-vn1-vm1-94432337 launched on Node cn-jenkins-deploy-platform-ansible-os-4428-1 2025-10-22 12:56:15,792 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/d1e155fa-0075-473d-9ba8-6213a8863a89 2025-10-22 12:56:15,801 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/f126ff0d-9eea-4e02-b62a-66cdbc9921e7 2025-10-22 12:56:19,081 - 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 1024ms') 2025-10-22 12:56:19,081 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-94432337 failed! 2025-10-22 12:56:19,134 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-72514519:ctest-vn1-94774207 is 41.131.136.65 and allocation pool is NOT set 2025-10-22 12:56:19,134 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-72514519:ctest-vn1-94774207 is 95.25.240.129 and allocation pool is NOT set 2025-10-22 12:56:23,209 - 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 1013ms') 2025-10-22 12:56:23,209 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-94432337 failed! 2025-10-22 12:56:23,262 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-72514519:ctest-vn1-94774207 is 41.131.136.65 and allocation pool is NOT set 2025-10-22 12:56:23,263 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-72514519:ctest-vn1-94774207 is 95.25.240.129 and allocation pool is NOT set 2025-10-22 12:56:25,328 - 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.52 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.359 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.359/1.939/3.519/1.580 ms') 2025-10-22 12:56:25,329 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-94432337 passed 2025-10-22 12:56:25,482 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 12:56:25,482 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-94432337, IP 41.131.136.69, Port 22 2025-10-22 12:56:25,642 - DEBUG - VM ctest-vn1-vm1-94432337 is ready for SSH connections 2025-10-22 12:56:25,642 - INFO - Waiting for VM ctest-vn1-vm2-62099648 to be up.. 2025-10-22 12:56:25,723 - DEBUG - VM is in ACTIVE state now 2025-10-22 12:56:25,723 - INFO - VM name : ctest-vn1-vm2-62099648 2025-10-22 12:56:25,798 - DEBUG - VM ctest-vn1-vm2-62099648 ID is da35ef57-1f06-43a1-9cdb-19f9fb2909ae 2025-10-22 12:56:25,798 - DEBUG - VM ctest-vn1-vm2-62099648 launched on Node cn-jenkins-deploy-platform-ansible-os-4428-1 2025-10-22 12:56:25,882 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/da35ef57-1f06-43a1-9cdb-19f9fb2909ae 2025-10-22 12:56:25,891 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/5210adaa-2b2d-4522-9ac1-9e210b74a965 2025-10-22 12:56:27,130 - 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.82 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.151/3.815/1.664 ms') 2025-10-22 12:56:27,130 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-62099648 passed 2025-10-22 12:56:27,282 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 12:56:27,282 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-62099648, IP 95.25.240.133, Port 22 2025-10-22 12:56:27,452 - DEBUG - VM ctest-vn1-vm2-62099648 is ready for SSH connections 2025-10-22 12:56:27,452 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 12:56:27,452 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 12:56:27,452 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 12:56:27,452 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 41.131.136.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-10-22 12:56:27,453 - DEBUG - ping -s 56 -c 3 -W 1 41.131.136.69 2025-10-22 12:56:30,173 - DEBUG - PING 41.131.136.69 (41.131.136.69): 56 data bytes 64 bytes from 41.131.136.69: seq=0 ttl=63 time=4.928 ms 64 bytes from 41.131.136.69: seq=1 ttl=63 time=0.878 ms 64 bytes from 41.131.136.69: seq=2 ttl=63 time=0.810 ms --- 41.131.136.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.810/2.205/4.928 ms 2025-10-22 12:56:30,173 - INFO - Ping to IP 41.131.136.69 from VM ctest-vn1-vm2-62099648 passed 2025-10-22 12:56:30,173 - INFO - Detaching port 5210adaa-2b2d-4522-9ac1-9e210b74a965 from VM ctest-vn1-vm2-62099648 2025-10-22 12:56:30,231 - INFO - Deleting VM ctest-vn1-vm2-62099648 2025-10-22 12:56:30,307 - INFO - Detaching port f126ff0d-9eea-4e02-b62a-66cdbc9921e7 from VM ctest-vn1-vm1-94432337 2025-10-22 12:56:30,344 - INFO - Deleting VM ctest-vn1-vm1-94432337 2025-10-22 12:56:30,612 - DEBUG - Response for delete_port : () 2025-10-22 12:56:30,812 - DEBUG - Response for delete_port : () 2025-10-22 12:56:30,812 - INFO - Deleting VN ctest-vn1-94774207 2025-10-22 12:56:31,054 - DEBUG - Response for deleting network () 2025-10-22 12:56:31,328 - DEBUG - No XMPP flaps were noticed during the test 2025-10-22 12:56:31,328 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:23] 2025-10-22 12:56:31,328 - INFO - -------------------------------------------------------------------------------- 2025-10-22 12:56:32,040 - INFO - Deleted project: ctest-TestPorts-72514519, ID : 59423ce4-6caf-48af-af37-9aab6f29de14