2025-08-15 17:02:22,569 - INFO - Domain Default found not creating 2025-08-15 17:02:22,696 - INFO - Project ctest-TestPorts-76521154 not found, creating it 2025-08-15 17:02:23,125 - INFO - Created Project:ctest-TestPorts-76521154, ID : 1a0e78ca-0771-4e66-8e38-0b2befbae412 2025-08-15 17:02:24,497 - INFO - ================================================================================ 2025-08-15 17:02:24,497 - INFO - STARTING TEST : test_ports_bindings 2025-08-15 17:02:24,497 - 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-15 17:02:24,752 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.0.0.254': '0'}} with 2025-08-15 17:02:24,752 - INFO - Initial checks done. Running the testcase now 2025-08-15 17:02:24,752 - INFO - 2025-08-15 17:02:25,272 - DEBUG - Response for create_network : {'network': {'id': 'b043b3da-40f5-4f25-a460-93a98a71c3d4', 'name': 'ctest-vn-84958838', 'tenant_id': '1a0e78ca07714e668e380b2befbae412', 'project_id': '1a0e78ca07714e668e380b2befbae412', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-76521154', 'ctest-vn-84958838'], 'port_security_enabled': True, 'description': ''}} 2025-08-15 17:02:25,419 - DEBUG - Response for create_subnet : {'subnet': {'id': '9a110a4b-edec-4375-9226-e63475427044', 'name': '', 'tenant_id': '1a0e78ca07714e668e380b2befbae412', 'network_id': 'b043b3da-40f5-4f25-a460-93a98a71c3d4', 'ip_version': 4, 'cidr': '125.81.88.128/26', 'allocation_pools': [{'start': '125.81.88.130', 'end': '125.81.88.190'}], 'gateway_ip': '125.81.88.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '125.81.88.130', 'tags': [], 'project_id': '1a0e78ca07714e668e380b2befbae412'}} 2025-08-15 17:02:25,434 - INFO - Created VN ctest-vn-84958838 2025-08-15 17:02:25,487 - DEBUG - VN ctest-vn-84958838 UUID is b043b3da-40f5-4f25-a460-93a98a71c3d4 2025-08-15 17:02:25,584 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-76521154', 'ctest-vmi-61638607']} 2025-08-15 17:02:25,847 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-61638607', 'id': '298b0f6c-5004-4202-a724-58cc4cadf505', 'tenant_id': '1a0e78ca07714e668e380b2befbae412', 'network_id': 'b043b3da-40f5-4f25-a460-93a98a71c3d4', 'mac_address': '02:29:8b:0f:6c:50', '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': '125.81.88.131', 'subnet_id': '9a110a4b-edec-4375-9226-e63475427044'}], 'security_groups': ['f6a7de73-eb88-4dc0-a495-8e245dc9e1f1'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1a0e78ca07714e668e380b2befbae412'}} 2025-08-15 17:02:25,847 - DEBUG - Created port 298b0f6c-5004-4202-a724-58cc4cadf505 2025-08-15 17:02:25,951 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/298b0f6c-5004-4202-a724-58cc4cadf505 2025-08-15 17:02:26,244 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/298b0f6c-5004-4202-a724-58cc4cadf505 2025-08-15 17:02:26,275 - INFO - VMI 298b0f6c-5004-4202-a724-58cc4cadf505 verification in API Server passed 2025-08-15 17:02:26,351 - DEBUG - Response for delete_port : () 2025-08-15 17:02:26,351 - INFO - Deleted port 298b0f6c-5004-4202-a724-58cc4cadf505 2025-08-15 17:02:26,351 - INFO - Deleting VN ctest-vn-84958838 2025-08-15 17:02:26,448 - DEBUG - Response for deleting network () 2025-08-15 17:02:26,711 - DEBUG - No XMPP flaps were noticed during the test
2025-08-15 17:02:26,712 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-08-15 17:02:26,712 - INFO - -------------------------------------------------------------------------------- 2025-08-15 17:02:26,714 - INFO - ================================================================================ 2025-08-15 17:02:26,714 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-15 17:02:26,714 - 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-15 17:02:27,003 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.0.0.254': '0'}} with 2025-08-15 17:02:27,003 - INFO - Initial checks done. Running the testcase now 2025-08-15 17:02:27,003 - INFO - 2025-08-15 17:02:27,173 - DEBUG - Response for create_network : {'network': {'id': '763acf4a-4a99-439d-a744-34a349979965', 'name': 'ctest-vn1-69977766', 'tenant_id': '1a0e78ca07714e668e380b2befbae412', 'project_id': '1a0e78ca07714e668e380b2befbae412', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-76521154', 'ctest-vn1-69977766'], 'port_security_enabled': True, 'description': ''}} 2025-08-15 17:02:27,382 - DEBUG - Response for create_subnet : {'subnet': {'id': '9e0c0602-eec9-4256-ac6d-fa7d29bc5171', 'name': '', 'tenant_id': '1a0e78ca07714e668e380b2befbae412', 'network_id': '763acf4a-4a99-439d-a744-34a349979965', 'ip_version': 4, 'cidr': '156.232.223.0/26', 'allocation_pools': [{'start': '156.232.223.2', 'end': '156.232.223.62'}], 'gateway_ip': '156.232.223.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '156.232.223.2', 'tags': [], 'project_id': '1a0e78ca07714e668e380b2befbae412'}} 2025-08-15 17:02:27,536 - DEBUG - Response for create_subnet : {'subnet': {'id': '65d958b4-db1f-433c-8bad-5d7089a6297a', 'name': '', 'tenant_id': '1a0e78ca07714e668e380b2befbae412', 'network_id': '763acf4a-4a99-439d-a744-34a349979965', 'ip_version': 4, 'cidr': '8.208.94.128/26', 'allocation_pools': [{'start': '8.208.94.130', 'end': '8.208.94.190'}], 'gateway_ip': '8.208.94.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '8.208.94.130', 'tags': [], 'project_id': '1a0e78ca07714e668e380b2befbae412'}} 2025-08-15 17:02:27,553 - INFO - Created VN ctest-vn1-69977766 2025-08-15 17:02:27,603 - DEBUG - VN ctest-vn1-69977766 UUID is 763acf4a-4a99-439d-a744-34a349979965 2025-08-15 17:02:27,897 - DEBUG - Response for create_port : {'port': {'name': '894c33aa-23dd-4350-a2d3-77e06ae67b0c', 'id': '894c33aa-23dd-4350-a2d3-77e06ae67b0c', 'tenant_id': '1a0e78ca07714e668e380b2befbae412', 'network_id': '763acf4a-4a99-439d-a744-34a349979965', 'mac_address': '02:89:4c:33:aa:23', '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': '156.232.223.5', 'subnet_id': '9e0c0602-eec9-4256-ac6d-fa7d29bc5171'}], 'security_groups': ['f6a7de73-eb88-4dc0-a495-8e245dc9e1f1'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1a0e78ca07714e668e380b2befbae412'}} 2025-08-15 17:02:28,065 - DEBUG - Response for create_port : {'port': {'name': '4c933557-ad7d-44f7-bc17-100f39ec9d25', 'id': '4c933557-ad7d-44f7-bc17-100f39ec9d25', 'tenant_id': '1a0e78ca07714e668e380b2befbae412', 'network_id': '763acf4a-4a99-439d-a744-34a349979965', 'mac_address': '02:4c:93:35:57:ad', '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': '8.208.94.133', 'subnet_id': '65d958b4-db1f-433c-8bad-5d7089a6297a'}], 'security_groups': ['f6a7de73-eb88-4dc0-a495-8e245dc9e1f1'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1a0e78ca07714e668e380b2befbae412'}} 2025-08-15 17:02:28,117 - DEBUG - Services list from nova: [, , ] 2025-08-15 17:02:28,399 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3867-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3867-1) 2025-08-15 17:02:28,727 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3867-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3867-1) 2025-08-15 17:02:28,727 - INFO - Waiting for VM ctest-vn1-vm1-28876928 to be up.. 2025-08-15 17:02:28,760 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-15 17:02:33,831 - DEBUG - VM is in ACTIVE state now 2025-08-15 17:02:33,831 - INFO - VM name : ctest-vn1-vm1-28876928 2025-08-15 17:02:34,056 - DEBUG - VM ctest-vn1-vm1-28876928 ID is 03c55418-e6b9-43b0-b62b-dbb2dd10ed8a 2025-08-15 17:02:34,075 - DEBUG - VM ctest-vn1-vm1-28876928 launched on Node cn-jenkins-deploy-platform-ansible-os-3867-1. 2025-08-15 17:02:34,149 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/03c55418-e6b9-43b0-b62b-dbb2dd10ed8a 2025-08-15 17:02:34,158 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/894c33aa-23dd-4350-a2d3-77e06ae67b0c 2025-08-15 17:02:37,420 - 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-08-15 17:02:37,420 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-28876928 failed! 2025-08-15 17:02:37,471 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-76521154:ctest-vn1-69977766 is 156.232.223.1 and allocation pool is NOT set 2025-08-15 17:02:37,471 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-76521154:ctest-vn1-69977766 is 8.208.94.129 and allocation pool is NOT set 2025-08-15 17:02:39,532 - 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.80 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.945 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.945/2.370/3.795/1.425 ms') 2025-08-15 17:02:39,533 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-28876928 passed 2025-08-15 17:02:39,683 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 17:02:39,683 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-28876928, IP 156.232.223.5, Port 22 2025-08-15 17:02:39,850 - DEBUG - VM ctest-vn1-vm1-28876928 is ready for SSH connections 2025-08-15 17:02:39,851 - INFO - Waiting for VM ctest-vn1-vm2-73012535 to be up.. 2025-08-15 17:02:39,918 - DEBUG - VM is in ACTIVE state now 2025-08-15 17:02:39,918 - INFO - VM name : ctest-vn1-vm2-73012535 2025-08-15 17:02:39,985 - DEBUG - VM ctest-vn1-vm2-73012535 ID is 0c319a30-df34-44e7-909b-ef680b8dd43a 2025-08-15 17:02:39,985 - DEBUG - VM ctest-vn1-vm2-73012535 launched on Node cn-jenkins-deploy-platform-ansible-os-3867-1. 2025-08-15 17:02:40,047 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/0c319a30-df34-44e7-909b-ef680b8dd43a 2025-08-15 17:02:40,054 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/4c933557-ad7d-44f7-bc17-100f39ec9d25 2025-08-15 17:02:41,292 - 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.17 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.353 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.353/1.762/3.172/1.409 ms') 2025-08-15 17:02:41,292 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-73012535 passed 2025-08-15 17:02:41,439 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 17:02:41,440 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-73012535, IP 8.208.94.133, Port 22 2025-08-15 17:02:41,591 - DEBUG - VM ctest-vn1-vm2-73012535 is ready for SSH connections 2025-08-15 17:02:41,591 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 17:02:41,592 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 17:02:41,592 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 17:02:41,592 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 156.232.223.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-15 17:02:41,592 - DEBUG - ping -s 56 -c 3 -W 1 156.232.223.5 2025-08-15 17:02:44,312 - DEBUG - PING 156.232.223.5 (156.232.223.5): 56 data bytes 64 bytes from 156.232.223.5: seq=0 ttl=63 time=3.325 ms 64 bytes from 156.232.223.5: seq=1 ttl=63 time=0.729 ms 64 bytes from 156.232.223.5: seq=2 ttl=63 time=0.663 ms --- 156.232.223.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.663/1.572/3.325 ms 2025-08-15 17:02:44,312 - INFO - Ping to IP 156.232.223.5 from VM ctest-vn1-vm2-73012535 passed 2025-08-15 17:02:44,313 - INFO - Detaching port 4c933557-ad7d-44f7-bc17-100f39ec9d25 from VM ctest-vn1-vm2-73012535 2025-08-15 17:02:44,362 - INFO - Deleting VM ctest-vn1-vm2-73012535 2025-08-15 17:02:44,425 - INFO - Detaching port 894c33aa-23dd-4350-a2d3-77e06ae67b0c from VM ctest-vn1-vm1-28876928 2025-08-15 17:02:44,452 - INFO - Deleting VM ctest-vn1-vm1-28876928 2025-08-15 17:02:44,642 - DEBUG - Response for delete_port : () 2025-08-15 17:02:44,783 - DEBUG - Response for delete_port : () 2025-08-15 17:02:44,783 - INFO - Deleting VN ctest-vn1-69977766 2025-08-15 17:02:44,934 - DEBUG - Response for deleting network () 2025-08-15 17:02:45,209 - DEBUG - No XMPP flaps were noticed during the test
2025-08-15 17:02:45,209 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19]
2025-08-15 17:02:45,209 - INFO - -------------------------------------------------------------------------------- 2025-08-15 17:02:45,997 - INFO - Deleted project: ctest-TestPorts-76521154, ID : 1a0e78ca-0771-4e66-8e38-0b2befbae412