2025-10-30 02:00:18,338 - INFO - Reading existing Domain with UUID e05897ec-8f26-4de0-b53d-6381700aec6a 2025-10-30 02:00:18,352 - INFO - Using existing domain ['admin_domain'](e05897ec-8f26-4de0-b53d-6381700aec6a) 2025-10-30 02:00:18,576 - INFO - Project ctest-TestPorts-79827075 not found, creating it 2025-10-30 02:00:19,082 - INFO - Created Project:ctest-TestPorts-79827075, ID : ca952a4e-eaa5-4ce3-bc8d-2bbc922cf6f0 2025-10-30 02:00:20,827 - INFO - ================================================================================ 2025-10-30 02:00:20,827 - INFO - STARTING TEST : test_ports_bindings 2025-10-30 02:00:20,827 - 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-30 02:00:21,224 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.0.0.27': '0'}} with 2025-10-30 02:00:21,225 - INFO - Initial checks done. Running the testcase now 2025-10-30 02:00:21,225 - INFO - 2025-10-30 02:00:22,051 - DEBUG - Response for create_network : {'network': {'id': 'e5fdebdd-f5dc-4ed2-af37-a0ce3d757346', 'name': 'ctest-vn-00771941', 'tenant_id': 'ca952a4eeaa54ce3bc8d2bbc922cf6f0', 'project_id': 'ca952a4eeaa54ce3bc8d2bbc922cf6f0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestPorts-79827075', 'ctest-vn-00771941'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-10-30 02:00:22,315 - DEBUG - Response for create_subnet : {'subnet': {'id': '5a9cc053-3d23-4d5b-bf27-d2769c89a62f', 'name': '', 'tenant_id': 'ca952a4eeaa54ce3bc8d2bbc922cf6f0', 'network_id': 'e5fdebdd-f5dc-4ed2-af37-a0ce3d757346', 'ip_version': 4, 'cidr': '52.239.15.0/26', 'allocation_pools': [{'start': '52.239.15.2', 'end': '52.239.15.62'}], 'gateway_ip': '52.239.15.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-10-30T02:00:22.193430', 'updated_at': '2025-10-30T02:00:22.193430', 'dns_server_address': '52.239.15.2', 'tags': [], 'project_id': 'ca952a4eeaa54ce3bc8d2bbc922cf6f0'}} 2025-10-30 02:00:22,381 - INFO - Created VN ctest-vn-00771941 2025-10-30 02:00:22,435 - DEBUG - VN ctest-vn-00771941 UUID is e5fdebdd-f5dc-4ed2-af37-a0ce3d757346 2025-10-30 02:00:22,642 - DEBUG - Read virtual machine interface {'fq_name': ['admin_domain', 'ctest-TestPorts-79827075', 'ctest-vmi-49768069']} 2025-10-30 02:00:22,964 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-49768069', 'id': '701a7745-c4db-48c4-8c78-d672186fbf23', 'tenant_id': 'ca952a4eeaa54ce3bc8d2bbc922cf6f0', 'network_id': 'e5fdebdd-f5dc-4ed2-af37-a0ce3d757346', 'mac_address': '02:70:1a:77:45:c4', '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': '52.239.15.3', 'subnet_id': '5a9cc053-3d23-4d5b-bf27-d2769c89a62f'}], 'security_groups': ['1ffc386f-be58-450f-a09f-bc279bb0e83c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'created_at': '2025-10-30T02:00:22.766320', 'updated_at': '2025-10-30T02:00:22.837932', 'project_id': 'ca952a4eeaa54ce3bc8d2bbc922cf6f0'}} 2025-10-30 02:00:22,964 - DEBUG - Created port 701a7745-c4db-48c4-8c78-d672186fbf23 2025-10-30 02:00:23,079 - DEBUG - Requesting: https://10.0.0.27:8082/virtual-machine-interface/701a7745-c4db-48c4-8c78-d672186fbf23 2025-10-30 02:00:23,432 - DEBUG - Requesting: https://10.0.0.27:8082/virtual-machine-interface/701a7745-c4db-48c4-8c78-d672186fbf23 2025-10-30 02:00:23,542 - INFO - VMI 701a7745-c4db-48c4-8c78-d672186fbf23 verification in API Server passed 2025-10-30 02:00:23,994 - DEBUG - Response for delete_port : () 2025-10-30 02:00:23,994 - INFO - Deleted port 701a7745-c4db-48c4-8c78-d672186fbf23 2025-10-30 02:00:23,994 - INFO - Deleting VN ctest-vn-00771941 2025-10-30 02:00:24,226 - DEBUG - Response for deleting network () 2025-10-30 02:00:24,648 - DEBUG - No XMPP flaps were noticed during the test 2025-10-30 02:00:24,648 - INFO - END TEST : test_ports_bindings : PASSED[0:00:04] 2025-10-30 02:00:24,648 - INFO - -------------------------------------------------------------------------------- 2025-10-30 02:00:24,652 - INFO - ================================================================================ 2025-10-30 02:00:24,652 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-30 02:00:24,652 - 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-30 02:00:25,053 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.0.0.27': '0'}} with 2025-10-30 02:00:25,053 - INFO - Initial checks done. Running the testcase now 2025-10-30 02:00:25,053 - INFO - 2025-10-30 02:00:25,397 - DEBUG - Response for create_network : {'network': {'id': '4257d0ac-3201-4a17-975d-cfb9f9475e08', 'name': 'ctest-vn1-24653738', 'tenant_id': 'ca952a4eeaa54ce3bc8d2bbc922cf6f0', 'project_id': 'ca952a4eeaa54ce3bc8d2bbc922cf6f0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestPorts-79827075', 'ctest-vn1-24653738'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-10-30 02:00:25,732 - DEBUG - Response for create_subnet : {'subnet': {'id': '04529a37-4dd4-44ba-ae29-6b8a051d5cd0', 'name': '', 'tenant_id': 'ca952a4eeaa54ce3bc8d2bbc922cf6f0', 'network_id': '4257d0ac-3201-4a17-975d-cfb9f9475e08', 'ip_version': 4, 'cidr': '7.224.134.192/26', 'allocation_pools': [{'start': '7.224.134.194', 'end': '7.224.134.254'}], 'gateway_ip': '7.224.134.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-10-30T02:00:25.616929', 'updated_at': '2025-10-30T02:00:25.616929', 'dns_server_address': '7.224.134.194', 'tags': [], 'project_id': 'ca952a4eeaa54ce3bc8d2bbc922cf6f0'}} 2025-10-30 02:00:25,957 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c7e8f18b-bf9c-4d74-b63f-392d955bbb7f', 'name': '', 'tenant_id': 'ca952a4eeaa54ce3bc8d2bbc922cf6f0', 'network_id': '4257d0ac-3201-4a17-975d-cfb9f9475e08', 'ip_version': 4, 'cidr': '33.142.53.192/26', 'allocation_pools': [{'start': '33.142.53.194', 'end': '33.142.53.254'}], 'gateway_ip': '33.142.53.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-10-30T02:00:25.842013', 'updated_at': '2025-10-30T02:00:25.842013', 'dns_server_address': '33.142.53.194', 'tags': [], 'project_id': 'ca952a4eeaa54ce3bc8d2bbc922cf6f0'}} 2025-10-30 02:00:26,029 - INFO - Created VN ctest-vn1-24653738 2025-10-30 02:00:26,083 - DEBUG - VN ctest-vn1-24653738 UUID is 4257d0ac-3201-4a17-975d-cfb9f9475e08 2025-10-30 02:00:26,663 - DEBUG - Response for create_port : {'port': {'name': '46280ae1-7819-44f8-94fd-072d4bcaa102', 'id': '46280ae1-7819-44f8-94fd-072d4bcaa102', 'tenant_id': 'ca952a4eeaa54ce3bc8d2bbc922cf6f0', 'network_id': '4257d0ac-3201-4a17-975d-cfb9f9475e08', 'mac_address': '02:46:28:0a:e1:78', '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': '7.224.134.197', 'subnet_id': '04529a37-4dd4-44ba-ae29-6b8a051d5cd0'}], 'security_groups': ['1ffc386f-be58-450f-a09f-bc279bb0e83c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'created_at': '2025-10-30T02:00:26.438801', 'updated_at': '2025-10-30T02:00:26.508672', 'project_id': 'ca952a4eeaa54ce3bc8d2bbc922cf6f0'}} 2025-10-30 02:00:26,973 - DEBUG - Response for create_port : {'port': {'name': 'cc0986b3-5e81-44ea-9745-14db3d7deed4', 'id': 'cc0986b3-5e81-44ea-9745-14db3d7deed4', 'tenant_id': 'ca952a4eeaa54ce3bc8d2bbc922cf6f0', 'network_id': '4257d0ac-3201-4a17-975d-cfb9f9475e08', 'mac_address': '02:cc:09:86:b3:5e', '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': '33.142.53.197', 'subnet_id': 'c7e8f18b-bf9c-4d74-b63f-392d955bbb7f'}], 'security_groups': ['1ffc386f-be58-450f-a09f-bc279bb0e83c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'created_at': '2025-10-30T02:00:26.734688', 'updated_at': '2025-10-30T02:00:26.801810', 'project_id': 'ca952a4eeaa54ce3bc8d2bbc922cf6f0'}} 2025-10-30 02:00:27,050 - DEBUG - Services list from nova: [, , ] 2025-10-30 02:00:28,567 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-610-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-610-1) 2025-10-30 02:00:29,403 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-610-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-610-1) 2025-10-30 02:00:29,403 - INFO - Waiting for VM ctest-vn1-vm1-82366262 to be up.. 2025-10-30 02:00:29,502 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-30 02:00:34,642 - DEBUG - VM is in ACTIVE state now 2025-10-30 02:00:34,642 - INFO - VM name : ctest-vn1-vm1-82366262 2025-10-30 02:00:34,793 - DEBUG - VM ctest-vn1-vm1-82366262 ID is 97231d31-ad97-4f65-85f1-fa0aee8d3bba 2025-10-30 02:00:34,832 - DEBUG - VM ctest-vn1-vm1-82366262 launched on Node cn-jenkins-deploy-platform-juju-os-610-1 2025-10-30 02:00:34,959 - DEBUG - Requesting: https://10.0.0.27:8082/virtual-machine/97231d31-ad97-4f65-85f1-fa0aee8d3bba 2025-10-30 02:00:35,012 - DEBUG - Requesting: https://10.0.0.27:8082/virtual-machine-interface/46280ae1-7819-44f8-94fd-072d4bcaa102 2025-10-30 02:00:38,490 - 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 1021ms') 2025-10-30 02:00:38,490 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-82366262 failed! 2025-10-30 02:00:38,543 - DEBUG - Gateway for vn admin_domain:ctest-TestPorts-79827075:ctest-vn1-24653738 is 7.224.134.193 and allocation pool is NOT set 2025-10-30 02:00:38,543 - DEBUG - Gateway for vn admin_domain:ctest-TestPorts-79827075:ctest-vn1-24653738 is 33.142.53.193 and allocation pool is NOT set 2025-10-30 02:00:42,656 - 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 1023ms') 2025-10-30 02:00:42,657 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-82366262 failed! 2025-10-30 02:00:42,711 - DEBUG - Gateway for vn admin_domain:ctest-TestPorts-79827075:ctest-vn1-24653738 is 7.224.134.193 and allocation pool is NOT set 2025-10-30 02:00:42,711 - DEBUG - Gateway for vn admin_domain:ctest-TestPorts-79827075:ctest-vn1-24653738 is 33.142.53.193 and allocation pool is NOT set 2025-10-30 02:00:44,804 - 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.94 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.74 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 = 1.739/2.837/3.936/1.098 ms') 2025-10-30 02:00:44,804 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-82366262 passed 2025-10-30 02:00:44,963 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 02:00:44,963 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-82366262, IP 7.224.134.197, Port 22 2025-10-30 02:00:45,173 - DEBUG - VM ctest-vn1-vm1-82366262 is ready for SSH connections 2025-10-30 02:00:45,173 - INFO - Waiting for VM ctest-vn1-vm2-03065868 to be up.. 2025-10-30 02:00:45,308 - DEBUG - VM is in ACTIVE state now 2025-10-30 02:00:45,308 - INFO - VM name : ctest-vn1-vm2-03065868 2025-10-30 02:00:45,443 - DEBUG - VM ctest-vn1-vm2-03065868 ID is e5b34333-fe25-4499-be5e-be912a579d90 2025-10-30 02:00:45,443 - DEBUG - VM ctest-vn1-vm2-03065868 launched on Node cn-jenkins-deploy-platform-juju-os-610-1 2025-10-30 02:00:45,571 - DEBUG - Requesting: https://10.0.0.27:8082/virtual-machine/e5b34333-fe25-4499-be5e-be912a579d90 2025-10-30 02:00:45,623 - DEBUG - Requesting: https://10.0.0.27:8082/virtual-machine-interface/cc0986b3-5e81-44ea-9745-14db3d7deed4 2025-10-30 02:00:47,075 - 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.89 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.464 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.464/1.674/2.885/1.210 ms') 2025-10-30 02:00:47,075 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-03065868 passed 2025-10-30 02:00:47,239 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 02:00:47,239 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-03065868, IP 33.142.53.197, Port 22 2025-10-30 02:00:47,452 - DEBUG - VM ctest-vn1-vm2-03065868 is ready for SSH connections 2025-10-30 02:00:47,452 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 02:00:47,453 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 02:00:47,453 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 02:00:47,453 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 7.224.134.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-10-30 02:00:47,453 - DEBUG - ping -s 56 -c 3 -W 1 7.224.134.197 2025-10-30 02:00:50,544 - DEBUG - PING 7.224.134.197 (7.224.134.197): 56 data bytes 64 bytes from 7.224.134.197: seq=0 ttl=63 time=4.671 ms 64 bytes from 7.224.134.197: seq=1 ttl=63 time=0.995 ms 64 bytes from 7.224.134.197: seq=2 ttl=63 time=1.202 ms --- 7.224.134.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.995/2.289/4.671 ms 2025-10-30 02:00:50,544 - INFO - Ping to IP 7.224.134.197 from VM ctest-vn1-vm2-03065868 passed 2025-10-30 02:00:50,544 - INFO - Detaching port cc0986b3-5e81-44ea-9745-14db3d7deed4 from VM ctest-vn1-vm2-03065868 2025-10-30 02:00:50,624 - INFO - Deleting VM ctest-vn1-vm2-03065868 2025-10-30 02:00:51,342 - INFO - Detaching port 46280ae1-7819-44f8-94fd-072d4bcaa102 from VM ctest-vn1-vm1-82366262 2025-10-30 02:00:51,466 - INFO - Deleting VM ctest-vn1-vm1-82366262 2025-10-30 02:00:52,546 - DEBUG - Response for delete_port : () 2025-10-30 02:00:53,242 - DEBUG - Response for delete_port : () 2025-10-30 02:00:53,242 - INFO - Deleting VN ctest-vn1-24653738 2025-10-30 02:00:53,515 - DEBUG - Response for deleting network () 2025-10-30 02:00:53,912 - DEBUG - No XMPP flaps were noticed during the test 2025-10-30 02:00:53,912 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:29] 2025-10-30 02:00:53,912 - INFO - -------------------------------------------------------------------------------- 2025-10-30 02:00:54,644 - INFO - Deleted project: ctest-TestPorts-79827075, ID : ca952a4e-eaa5-4ce3-bc8d-2bbc922cf6f0