2025-12-01 02:04:31,377 - INFO - Domain Default found not creating 2025-12-01 02:04:31,543 - INFO - Project ctest-TestPorts-35081114 not found, creating it 2025-12-01 02:04:32,005 - INFO - Created Project:ctest-TestPorts-35081114, ID : edd263d7-0694-440b-a169-3e9fa1b4cb70 2025-12-01 02:04:33,536 - INFO - ================================================================================ 2025-12-01 02:04:33,536 - INFO - STARTING TEST : test_ports_bindings 2025-12-01 02:04:33,536 - 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-12-01 02:04:33,803 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.17': '0'}} with 2025-12-01 02:04:33,803 - INFO - Initial checks done. Running the testcase now 2025-12-01 02:04:33,803 - INFO - 2025-12-01 02:04:34,336 - DEBUG - Response for create_network : {'network': {'id': '6c3a63f4-5a81-4c6e-9f0f-53d1af020ce2', 'name': 'ctest-vn-74911514', 'tenant_id': 'edd263d70694440ba1693e9fa1b4cb70', 'project_id': 'edd263d70694440ba1693e9fa1b4cb70', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-35081114', 'ctest-vn-74911514'], 'port_security_enabled': True, 'description': ''}} 2025-12-01 02:04:34,549 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e3f60e5b-2e25-4a61-8014-76471ca4a246', 'name': '', 'tenant_id': 'edd263d70694440ba1693e9fa1b4cb70', 'network_id': '6c3a63f4-5a81-4c6e-9f0f-53d1af020ce2', 'ip_version': 4, 'cidr': '39.243.3.128/26', 'allocation_pools': [{'start': '39.243.3.130', 'end': '39.243.3.190'}], 'gateway_ip': '39.243.3.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '39.243.3.130', 'tags': [], 'project_id': 'edd263d70694440ba1693e9fa1b4cb70'}} 2025-12-01 02:04:34,566 - INFO - Created VN ctest-vn-74911514 2025-12-01 02:04:34,617 - DEBUG - VN ctest-vn-74911514 UUID is 6c3a63f4-5a81-4c6e-9f0f-53d1af020ce2 2025-12-01 02:04:34,726 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-35081114', 'ctest-vmi-69972585']} 2025-12-01 02:04:35,000 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-69972585', 'id': '5a9765e1-c8f3-46f9-9c39-34f8d2bea40a', 'tenant_id': 'edd263d70694440ba1693e9fa1b4cb70', 'network_id': '6c3a63f4-5a81-4c6e-9f0f-53d1af020ce2', 'mac_address': '02:5a:97:65:e1:c8', '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': '39.243.3.131', 'subnet_id': 'e3f60e5b-2e25-4a61-8014-76471ca4a246'}], 'security_groups': ['f2c525dc-1269-4b46-908b-0d0e444a6167'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'edd263d70694440ba1693e9fa1b4cb70'}} 2025-12-01 02:04:35,000 - DEBUG - Created port 5a9765e1-c8f3-46f9-9c39-34f8d2bea40a 2025-12-01 02:04:35,109 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/5a9765e1-c8f3-46f9-9c39-34f8d2bea40a 2025-12-01 02:04:35,408 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/5a9765e1-c8f3-46f9-9c39-34f8d2bea40a 2025-12-01 02:04:35,446 - INFO - VMI 5a9765e1-c8f3-46f9-9c39-34f8d2bea40a verification in API Server passed 2025-12-01 02:04:35,541 - DEBUG - Response for delete_port : () 2025-12-01 02:04:35,541 - INFO - Deleted port 5a9765e1-c8f3-46f9-9c39-34f8d2bea40a 2025-12-01 02:04:35,542 - INFO - Deleting VN ctest-vn-74911514 2025-12-01 02:04:35,643 - DEBUG - Response for deleting network () 2025-12-01 02:04:35,898 - DEBUG - No XMPP flaps were noticed during the test
2025-12-01 02:04:35,898 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-12-01 02:04:35,898 - INFO - -------------------------------------------------------------------------------- 2025-12-01 02:04:35,900 - INFO - ================================================================================ 2025-12-01 02:04:35,900 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-12-01 02:04:35,901 - 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-12-01 02:04:36,194 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.17': '0'}} with 2025-12-01 02:04:36,194 - INFO - Initial checks done. Running the testcase now 2025-12-01 02:04:36,194 - INFO - 2025-12-01 02:04:36,375 - DEBUG - Response for create_network : {'network': {'id': '85748d6f-9ac3-460d-b71e-0cfa343963c8', 'name': 'ctest-vn1-39944358', 'tenant_id': 'edd263d70694440ba1693e9fa1b4cb70', 'project_id': 'edd263d70694440ba1693e9fa1b4cb70', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-35081114', 'ctest-vn1-39944358'], 'port_security_enabled': True, 'description': ''}} 2025-12-01 02:04:36,537 - DEBUG - Response for create_subnet : {'subnet': {'id': '8e999a6d-0fd0-49f5-82ce-d9ec5fcd7d85', 'name': '', 'tenant_id': 'edd263d70694440ba1693e9fa1b4cb70', 'network_id': '85748d6f-9ac3-460d-b71e-0cfa343963c8', 'ip_version': 4, 'cidr': '223.108.192.0/26', 'allocation_pools': [{'start': '223.108.192.2', 'end': '223.108.192.62'}], 'gateway_ip': '223.108.192.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '223.108.192.2', 'tags': [], 'project_id': 'edd263d70694440ba1693e9fa1b4cb70'}} 2025-12-01 02:04:36,737 - DEBUG - Response for create_subnet : {'subnet': {'id': '4155e018-4a12-43c2-891b-ceefa2c9ddf3', 'name': '', 'tenant_id': 'edd263d70694440ba1693e9fa1b4cb70', 'network_id': '85748d6f-9ac3-460d-b71e-0cfa343963c8', 'ip_version': 4, 'cidr': '209.175.203.192/26', 'allocation_pools': [{'start': '209.175.203.194', 'end': '209.175.203.254'}], 'gateway_ip': '209.175.203.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '209.175.203.194', 'tags': [], 'project_id': 'edd263d70694440ba1693e9fa1b4cb70'}} 2025-12-01 02:04:36,759 - INFO - Created VN ctest-vn1-39944358 2025-12-01 02:04:36,813 - DEBUG - VN ctest-vn1-39944358 UUID is 85748d6f-9ac3-460d-b71e-0cfa343963c8 2025-12-01 02:04:37,125 - DEBUG - Response for create_port : {'port': {'name': '736b4d1e-14c1-4de5-85e1-e77680289937', 'id': '736b4d1e-14c1-4de5-85e1-e77680289937', 'tenant_id': 'edd263d70694440ba1693e9fa1b4cb70', 'network_id': '85748d6f-9ac3-460d-b71e-0cfa343963c8', 'mac_address': '02:73:6b:4d:1e:14', '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': '223.108.192.5', 'subnet_id': '8e999a6d-0fd0-49f5-82ce-d9ec5fcd7d85'}], 'security_groups': ['f2c525dc-1269-4b46-908b-0d0e444a6167'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'edd263d70694440ba1693e9fa1b4cb70'}} 2025-12-01 02:04:37,285 - DEBUG - Response for create_port : {'port': {'name': '1e132503-3689-4a38-8f0c-a08edbaaba83', 'id': '1e132503-3689-4a38-8f0c-a08edbaaba83', 'tenant_id': 'edd263d70694440ba1693e9fa1b4cb70', 'network_id': '85748d6f-9ac3-460d-b71e-0cfa343963c8', 'mac_address': '02:1e:13:25:03:36', '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.175.203.197', 'subnet_id': '4155e018-4a12-43c2-891b-ceefa2c9ddf3'}], 'security_groups': ['f2c525dc-1269-4b46-908b-0d0e444a6167'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'edd263d70694440ba1693e9fa1b4cb70'}} 2025-12-01 02:04:37,345 - DEBUG - Services list from nova: [, , ] 2025-12-01 02:04:37,695 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4824-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4824-1) 2025-12-01 02:04:38,108 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4824-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4824-1) 2025-12-01 02:04:38,108 - INFO - Waiting for VM ctest-vn1-vm1-94975521 to be up.. 2025-12-01 02:04:38,145 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-01 02:04:43,211 - DEBUG - VM is in ACTIVE state now 2025-12-01 02:04:43,211 - INFO - VM name : ctest-vn1-vm1-94975521 2025-12-01 02:04:43,283 - DEBUG - VM ctest-vn1-vm1-94975521 ID is f98b1cdb-16e5-46b6-85f9-19480cacdb19 2025-12-01 02:04:43,301 - DEBUG - VM ctest-vn1-vm1-94975521 launched on Node cn-jenkins-deploy-platform-ansible-os-4824-1 2025-12-01 02:04:43,368 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/f98b1cdb-16e5-46b6-85f9-19480cacdb19 2025-12-01 02:04:43,376 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/736b4d1e-14c1-4de5-85e1-e77680289937 2025-12-01 02:04:46,636 - 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 1026ms') 2025-12-01 02:04:46,636 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-94975521 failed! 2025-12-01 02:04:46,689 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-35081114:ctest-vn1-39944358 is 223.108.192.1 and allocation pool is NOT set 2025-12-01 02:04:46,689 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-35081114:ctest-vn1-39944358 is 209.175.203.193 and allocation pool is NOT set 2025-12-01 02:04:50,750 - 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=8.98 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1003ms\r\nrtt min/avg/max/mdev = 8.981/8.981/8.981/0.000 ms') 2025-12-01 02:04:50,750 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-94975521 passed 2025-12-01 02:04:50,897 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-01 02:04:50,897 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-94975521, IP 223.108.192.5, Port 22 2025-12-01 02:04:51,071 - DEBUG - VM ctest-vn1-vm1-94975521 is ready for SSH connections 2025-12-01 02:04:51,072 - INFO - Waiting for VM ctest-vn1-vm2-72866793 to be up.. 2025-12-01 02:04:51,141 - DEBUG - VM is in ACTIVE state now 2025-12-01 02:04:51,141 - INFO - VM name : ctest-vn1-vm2-72866793 2025-12-01 02:04:51,210 - DEBUG - VM ctest-vn1-vm2-72866793 ID is dd6102a7-0547-462d-a39a-8dbb60222f5e 2025-12-01 02:04:51,210 - DEBUG - VM ctest-vn1-vm2-72866793 launched on Node cn-jenkins-deploy-platform-ansible-os-4824-1 2025-12-01 02:04:51,279 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/dd6102a7-0547-462d-a39a-8dbb60222f5e 2025-12-01 02:04:51,288 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/1e132503-3689-4a38-8f0c-a08edbaaba83 2025-12-01 02:04:52,521 - 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.84 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.390 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.390/1.617/2.844/1.227 ms') 2025-12-01 02:04:52,522 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-72866793 passed 2025-12-01 02:04:52,673 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-01 02:04:52,673 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-72866793, IP 209.175.203.197, Port 22 2025-12-01 02:04:52,841 - DEBUG - VM ctest-vn1-vm2-72866793 is ready for SSH connections 2025-12-01 02:04:52,841 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-01 02:04:52,841 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-01 02:04:52,841 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-01 02:04:52,841 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 223.108.192.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-12-01 02:04:52,841 - DEBUG - ping -s 56 -c 3 -W 1 223.108.192.5 2025-12-01 02:04:55,492 - DEBUG - PING 223.108.192.5 (223.108.192.5): 56 data bytes 64 bytes from 223.108.192.5: seq=0 ttl=63 time=4.102 ms 64 bytes from 223.108.192.5: seq=1 ttl=63 time=0.842 ms 64 bytes from 223.108.192.5: seq=2 ttl=63 time=1.036 ms --- 223.108.192.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.842/1.993/4.102 ms 2025-12-01 02:04:55,492 - INFO - Ping to IP 223.108.192.5 from VM ctest-vn1-vm2-72866793 passed 2025-12-01 02:04:55,492 - INFO - Detaching port 1e132503-3689-4a38-8f0c-a08edbaaba83 from VM ctest-vn1-vm2-72866793 2025-12-01 02:04:55,546 - INFO - Deleting VM ctest-vn1-vm2-72866793 2025-12-01 02:04:55,610 - INFO - Detaching port 736b4d1e-14c1-4de5-85e1-e77680289937 from VM ctest-vn1-vm1-94975521 2025-12-01 02:04:55,644 - INFO - Deleting VM ctest-vn1-vm1-94975521 2025-12-01 02:04:55,878 - DEBUG - Response for delete_port : () 2025-12-01 02:04:56,045 - DEBUG - Response for delete_port : () 2025-12-01 02:04:56,045 - INFO - Deleting VN ctest-vn1-39944358 2025-12-01 02:04:56,196 - DEBUG - Response for deleting network () 2025-12-01 02:04:56,454 - DEBUG - No XMPP flaps were noticed during the test
2025-12-01 02:04:56,454 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21]
2025-12-01 02:04:56,454 - INFO - -------------------------------------------------------------------------------- 2025-12-01 02:04:57,126 - INFO - Deleted project: ctest-TestPorts-35081114, ID : edd263d7-0694-440b-a169-3e9fa1b4cb70