2025-08-13 15:22:47,728 - INFO - Domain Default found not creating 2025-08-13 15:22:47,864 - INFO - Project ctest-TestPorts-13400525 not found, creating it 2025-08-13 15:22:48,312 - INFO - Created Project:ctest-TestPorts-13400525, ID : b7265e8c-c9eb-4821-bf2c-e6d4be515cd6 2025-08-13 15:22:49,677 - INFO - ================================================================================ 2025-08-13 15:22:49,677 - INFO - STARTING TEST : test_ports_bindings 2025-08-13 15:22:49,677 - 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-08-13 15:22:49,935 - DEBUG - Nothing to compare xmpp stats {'10.0.0.133': {'10.20.0.254': '0'}} with 2025-08-13 15:22:49,935 - INFO - Initial checks done. Running the testcase now 2025-08-13 15:22:49,935 - INFO - 2025-08-13 15:22:50,471 - DEBUG - Response for create_network : {'network': {'id': 'abc0ecc2-2d51-4f0f-bafd-ed1d3c082649', 'name': 'ctest-vn-77420363', 'tenant_id': 'b7265e8cc9eb4821bf2ce6d4be515cd6', 'project_id': 'b7265e8cc9eb4821bf2ce6d4be515cd6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-13400525', 'ctest-vn-77420363'], 'port_security_enabled': True, 'description': ''}} 2025-08-13 15:22:50,615 - DEBUG - Response for create_subnet : {'subnet': {'id': '5e67bd23-ee30-46aa-b0cf-af66d8fb595b', 'name': '', 'tenant_id': 'b7265e8cc9eb4821bf2ce6d4be515cd6', 'network_id': 'abc0ecc2-2d51-4f0f-bafd-ed1d3c082649', 'ip_version': 4, 'cidr': '169.156.232.128/26', 'allocation_pools': [{'start': '169.156.232.130', 'end': '169.156.232.190'}], 'gateway_ip': '169.156.232.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '169.156.232.130', 'tags': [], 'project_id': 'b7265e8cc9eb4821bf2ce6d4be515cd6'}} 2025-08-13 15:22:50,633 - INFO - Created VN ctest-vn-77420363 2025-08-13 15:22:50,685 - DEBUG - VN ctest-vn-77420363 UUID is abc0ecc2-2d51-4f0f-bafd-ed1d3c082649 2025-08-13 15:22:50,787 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-13400525', 'ctest-vmi-20493594']} 2025-08-13 15:22:51,064 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-20493594', 'id': 'e60b5c5c-55a0-441e-879a-7ed8b0618cb1', 'tenant_id': 'b7265e8cc9eb4821bf2ce6d4be515cd6', 'network_id': 'abc0ecc2-2d51-4f0f-bafd-ed1d3c082649', 'mac_address': '02:e6:0b:5c:5c:55', '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': '169.156.232.131', 'subnet_id': '5e67bd23-ee30-46aa-b0cf-af66d8fb595b'}], 'security_groups': ['165dc8c7-957f-4964-8bdc-f7fd6163300e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b7265e8cc9eb4821bf2ce6d4be515cd6'}} 2025-08-13 15:22:51,065 - DEBUG - Created port e60b5c5c-55a0-441e-879a-7ed8b0618cb1 2025-08-13 15:22:51,173 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine-interface/e60b5c5c-55a0-441e-879a-7ed8b0618cb1 2025-08-13 15:22:51,464 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine-interface/e60b5c5c-55a0-441e-879a-7ed8b0618cb1 2025-08-13 15:22:51,497 - INFO - VMI e60b5c5c-55a0-441e-879a-7ed8b0618cb1 verification in API Server passed 2025-08-13 15:22:51,578 - DEBUG - Response for delete_port : () 2025-08-13 15:22:51,578 - INFO - Deleted port e60b5c5c-55a0-441e-879a-7ed8b0618cb1 2025-08-13 15:22:51,578 - INFO - Deleting VN ctest-vn-77420363 2025-08-13 15:22:51,689 - DEBUG - Response for deleting network () 2025-08-13 15:22:51,943 - DEBUG - No XMPP flaps were noticed during the test 2025-08-13 15:22:51,944 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-08-13 15:22:51,944 - INFO - -------------------------------------------------------------------------------- 2025-08-13 15:22:51,947 - INFO - ================================================================================ 2025-08-13 15:22:51,947 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-13 15:22:51,947 - 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-08-13 15:22:52,230 - DEBUG - Nothing to compare xmpp stats {'10.0.0.133': {'10.20.0.254': '0'}} with 2025-08-13 15:22:52,230 - INFO - Initial checks done. Running the testcase now 2025-08-13 15:22:52,230 - INFO - 2025-08-13 15:22:52,415 - DEBUG - Response for create_network : {'network': {'id': '4a7933fc-e64a-45de-bbcc-429781208a6f', 'name': 'ctest-vn1-71420412', 'tenant_id': 'b7265e8cc9eb4821bf2ce6d4be515cd6', 'project_id': 'b7265e8cc9eb4821bf2ce6d4be515cd6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-13400525', 'ctest-vn1-71420412'], 'port_security_enabled': True, 'description': ''}} 2025-08-13 15:22:52,644 - DEBUG - Response for create_subnet : {'subnet': {'id': '995ff9e0-067a-4cc5-8d18-ca562ed09ce4', 'name': '', 'tenant_id': 'b7265e8cc9eb4821bf2ce6d4be515cd6', 'network_id': '4a7933fc-e64a-45de-bbcc-429781208a6f', 'ip_version': 4, 'cidr': '102.9.238.192/26', 'allocation_pools': [{'start': '102.9.238.194', 'end': '102.9.238.254'}], 'gateway_ip': '102.9.238.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '102.9.238.194', 'tags': [], 'project_id': 'b7265e8cc9eb4821bf2ce6d4be515cd6'}} 2025-08-13 15:22:52,822 - DEBUG - Response for create_subnet : {'subnet': {'id': '0774c1f5-05e6-41fb-b641-a39bb4ef1467', 'name': '', 'tenant_id': 'b7265e8cc9eb4821bf2ce6d4be515cd6', 'network_id': '4a7933fc-e64a-45de-bbcc-429781208a6f', 'ip_version': 4, 'cidr': '173.248.178.128/26', 'allocation_pools': [{'start': '173.248.178.130', 'end': '173.248.178.190'}], 'gateway_ip': '173.248.178.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '173.248.178.130', 'tags': [], 'project_id': 'b7265e8cc9eb4821bf2ce6d4be515cd6'}} 2025-08-13 15:22:52,841 - INFO - Created VN ctest-vn1-71420412 2025-08-13 15:22:52,893 - DEBUG - VN ctest-vn1-71420412 UUID is 4a7933fc-e64a-45de-bbcc-429781208a6f 2025-08-13 15:22:53,195 - DEBUG - Response for create_port : {'port': {'name': '7a7cc853-4092-4330-a2df-4ddd24af1a18', 'id': '7a7cc853-4092-4330-a2df-4ddd24af1a18', 'tenant_id': 'b7265e8cc9eb4821bf2ce6d4be515cd6', 'network_id': '4a7933fc-e64a-45de-bbcc-429781208a6f', 'mac_address': '02:7a:7c:c8:53:40', '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': '102.9.238.197', 'subnet_id': '995ff9e0-067a-4cc5-8d18-ca562ed09ce4'}], 'security_groups': ['165dc8c7-957f-4964-8bdc-f7fd6163300e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b7265e8cc9eb4821bf2ce6d4be515cd6'}} 2025-08-13 15:22:53,386 - DEBUG - Response for create_port : {'port': {'name': 'e4c77011-c9e8-41d9-a920-84d51957aeeb', 'id': 'e4c77011-c9e8-41d9-a920-84d51957aeeb', 'tenant_id': 'b7265e8cc9eb4821bf2ce6d4be515cd6', 'network_id': '4a7933fc-e64a-45de-bbcc-429781208a6f', 'mac_address': '02:e4:c7:70:11:c9', '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': '173.248.178.133', 'subnet_id': '0774c1f5-05e6-41fb-b641-a39bb4ef1467'}], 'security_groups': ['165dc8c7-957f-4964-8bdc-f7fd6163300e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b7265e8cc9eb4821bf2ce6d4be515cd6'}} 2025-08-13 15:22:53,442 - DEBUG - Services list from nova: [, , ] 2025-08-13 15:22:53,767 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3840-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3840-1) 2025-08-13 15:22:54,154 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3840-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3840-1) 2025-08-13 15:22:54,154 - INFO - Waiting for VM ctest-vn1-vm1-50289925 to be up.. 2025-08-13 15:22:54,195 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-13 15:22:59,271 - DEBUG - VM is in ACTIVE state now 2025-08-13 15:22:59,271 - INFO - VM name : ctest-vn1-vm1-50289925 2025-08-13 15:22:59,352 - DEBUG - VM ctest-vn1-vm1-50289925 ID is 1d8dc1f2-5614-4c31-810b-b8b67df19d99 2025-08-13 15:22:59,377 - DEBUG - VM ctest-vn1-vm1-50289925 launched on Node cn-jenkins-deploy-platform-ansible-os-3840-1 2025-08-13 15:22:59,604 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine/1d8dc1f2-5614-4c31-810b-b8b67df19d99 2025-08-13 15:22:59,616 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine-interface/7a7cc853-4092-4330-a2df-4ddd24af1a18 2025-08-13 15:23:02,892 - 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-08-13 15:23:02,892 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-50289925 failed! 2025-08-13 15:23:02,953 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-13400525:ctest-vn1-71420412 is 102.9.238.193 and allocation pool is NOT set 2025-08-13 15:23:02,953 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-13400525:ctest-vn1-71420412 is 173.248.178.129 and allocation pool is NOT set 2025-08-13 15:23:05,011 - 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.50 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.771 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.771/2.636/4.502/1.865 ms') 2025-08-13 15:23:05,011 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-50289925 passed 2025-08-13 15:23:05,165 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 15:23:05,165 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-50289925, IP 102.9.238.197, Port 22 2025-08-13 15:23:05,335 - DEBUG - VM ctest-vn1-vm1-50289925 is ready for SSH connections 2025-08-13 15:23:05,335 - INFO - Waiting for VM ctest-vn1-vm2-36722062 to be up.. 2025-08-13 15:23:05,413 - DEBUG - VM is in ACTIVE state now 2025-08-13 15:23:05,413 - INFO - VM name : ctest-vn1-vm2-36722062 2025-08-13 15:23:05,486 - DEBUG - VM ctest-vn1-vm2-36722062 ID is 6dd98a68-b354-497a-a5ff-a9c2e3fad4c8 2025-08-13 15:23:05,486 - DEBUG - VM ctest-vn1-vm2-36722062 launched on Node cn-jenkins-deploy-platform-ansible-os-3840-1 2025-08-13 15:23:05,554 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine/6dd98a68-b354-497a-a5ff-a9c2e3fad4c8 2025-08-13 15:23:05,562 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine-interface/e4c77011-c9e8-41d9-a920-84d51957aeeb 2025-08-13 15:23:06,793 - 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.30 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.448 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.448/1.873/3.298/1.425 ms') 2025-08-13 15:23:06,793 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-36722062 passed 2025-08-13 15:23:06,949 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 15:23:06,949 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-36722062, IP 173.248.178.133, Port 22 2025-08-13 15:23:07,109 - DEBUG - VM ctest-vn1-vm2-36722062 is ready for SSH connections 2025-08-13 15:23:07,109 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 15:23:07,109 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 15:23:07,109 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 15:23:07,109 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 102.9.238.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.133, gateway password: c0ntrail123 2025-08-13 15:23:07,109 - DEBUG - ping -s 56 -c 3 -W 1 102.9.238.197 2025-08-13 15:23:09,760 - DEBUG - PING 102.9.238.197 (102.9.238.197): 56 data bytes 64 bytes from 102.9.238.197: seq=0 ttl=63 time=3.497 ms 64 bytes from 102.9.238.197: seq=1 ttl=63 time=0.752 ms 64 bytes from 102.9.238.197: seq=2 ttl=63 time=0.820 ms --- 102.9.238.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.752/1.689/3.497 ms 2025-08-13 15:23:09,760 - INFO - Ping to IP 102.9.238.197 from VM ctest-vn1-vm2-36722062 passed 2025-08-13 15:23:09,760 - INFO - Detaching port e4c77011-c9e8-41d9-a920-84d51957aeeb from VM ctest-vn1-vm2-36722062 2025-08-13 15:23:09,811 - INFO - Deleting VM ctest-vn1-vm2-36722062 2025-08-13 15:23:09,881 - INFO - Detaching port 7a7cc853-4092-4330-a2df-4ddd24af1a18 from VM ctest-vn1-vm1-50289925 2025-08-13 15:23:09,912 - INFO - Deleting VM ctest-vn1-vm1-50289925 2025-08-13 15:23:10,133 - DEBUG - Response for delete_port : () 2025-08-13 15:23:10,278 - DEBUG - Response for delete_port : () 2025-08-13 15:23:10,278 - INFO - Deleting VN ctest-vn1-71420412 2025-08-13 15:23:10,398 - DEBUG - Response for deleting network () 2025-08-13 15:23:10,665 - DEBUG - No XMPP flaps were noticed during the test 2025-08-13 15:23:10,666 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19] 2025-08-13 15:23:10,666 - INFO - -------------------------------------------------------------------------------- 2025-08-13 15:23:11,333 - INFO - Deleted project: ctest-TestPorts-13400525, ID : b7265e8c-c9eb-4821-bf2c-e6d4be515cd6