2025-08-04 02:21:58,287 - INFO - Domain Default found not creating 2025-08-04 02:21:58,443 - INFO - Project ctest-TestPorts-10305540 not found, creating it 2025-08-04 02:21:58,921 - INFO - Created Project:ctest-TestPorts-10305540, ID : d13b5fe4-1102-4674-bbf4-25329b78f0f3 2025-08-04 02:22:00,430 - INFO - ================================================================================ 2025-08-04 02:22:00,431 - INFO - STARTING TEST : test_ports_bindings 2025-08-04 02:22:00,431 - 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-04 02:22:00,696 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.14': '0'}} with 2025-08-04 02:22:00,696 - INFO - Initial checks done. Running the testcase now 2025-08-04 02:22:00,696 - INFO - 2025-08-04 02:22:01,275 - DEBUG - Response for create_network : {'network': {'id': '78cd1346-63c5-4aa3-9808-cb62d7fe4f24', 'name': 'ctest-vn-04830078', 'tenant_id': 'd13b5fe411024674bbf425329b78f0f3', 'project_id': 'd13b5fe411024674bbf425329b78f0f3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-10305540', 'ctest-vn-04830078'], 'port_security_enabled': True, 'description': ''}} 2025-08-04 02:22:01,502 - DEBUG - Response for create_subnet : {'subnet': {'id': '759d4e06-1276-46af-a3e9-f938dfdbf386', 'name': '', 'tenant_id': 'd13b5fe411024674bbf425329b78f0f3', 'network_id': '78cd1346-63c5-4aa3-9808-cb62d7fe4f24', 'ip_version': 4, 'cidr': '21.47.234.128/26', 'allocation_pools': [{'start': '21.47.234.130', 'end': '21.47.234.190'}], 'gateway_ip': '21.47.234.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '21.47.234.130', 'tags': [], 'project_id': 'd13b5fe411024674bbf425329b78f0f3'}} 2025-08-04 02:22:01,525 - INFO - Created VN ctest-vn-04830078 2025-08-04 02:22:01,587 - DEBUG - VN ctest-vn-04830078 UUID is 78cd1346-63c5-4aa3-9808-cb62d7fe4f24 2025-08-04 02:22:01,704 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-10305540', 'ctest-vmi-71865984']} 2025-08-04 02:22:01,989 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-71865984', 'id': 'de0848f4-2b7e-4707-b6fe-630db717d273', 'tenant_id': 'd13b5fe411024674bbf425329b78f0f3', 'network_id': '78cd1346-63c5-4aa3-9808-cb62d7fe4f24', 'mac_address': '02:de:08:48:f4:2b', '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': '21.47.234.131', 'subnet_id': '759d4e06-1276-46af-a3e9-f938dfdbf386'}], 'security_groups': ['8970fc84-7bb8-4156-9115-5f26a70a226a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd13b5fe411024674bbf425329b78f0f3'}} 2025-08-04 02:22:01,990 - DEBUG - Created port de0848f4-2b7e-4707-b6fe-630db717d273 2025-08-04 02:22:02,107 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/de0848f4-2b7e-4707-b6fe-630db717d273 2025-08-04 02:22:02,404 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/de0848f4-2b7e-4707-b6fe-630db717d273 2025-08-04 02:22:02,442 - INFO - VMI de0848f4-2b7e-4707-b6fe-630db717d273 verification in API Server passed 2025-08-04 02:22:02,551 - DEBUG - Response for delete_port : () 2025-08-04 02:22:02,552 - INFO - Deleted port de0848f4-2b7e-4707-b6fe-630db717d273 2025-08-04 02:22:02,552 - INFO - Deleting VN ctest-vn-04830078 2025-08-04 02:22:02,707 - DEBUG - Response for deleting network () 2025-08-04 02:22:02,993 - DEBUG - No XMPP flaps were noticed during the test 2025-08-04 02:22:02,993 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-08-04 02:22:02,993 - INFO - -------------------------------------------------------------------------------- 2025-08-04 02:22:02,996 - INFO - ================================================================================ 2025-08-04 02:22:02,997 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-04 02:22:02,997 - 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-04 02:22:03,298 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.14': '0'}} with 2025-08-04 02:22:03,298 - INFO - Initial checks done. Running the testcase now 2025-08-04 02:22:03,298 - INFO - 2025-08-04 02:22:03,501 - DEBUG - Response for create_network : {'network': {'id': 'e6e43972-0b91-48bd-93be-2d3e211e4369', 'name': 'ctest-vn1-67417500', 'tenant_id': 'd13b5fe411024674bbf425329b78f0f3', 'project_id': 'd13b5fe411024674bbf425329b78f0f3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-10305540', 'ctest-vn1-67417500'], 'port_security_enabled': True, 'description': ''}} 2025-08-04 02:22:03,773 - DEBUG - Response for create_subnet : {'subnet': {'id': '2839c0ac-b66e-4ff1-8575-788b1aec6315', 'name': '', 'tenant_id': 'd13b5fe411024674bbf425329b78f0f3', 'network_id': 'e6e43972-0b91-48bd-93be-2d3e211e4369', 'ip_version': 4, 'cidr': '172.141.148.128/26', 'allocation_pools': [{'start': '172.141.148.130', 'end': '172.141.148.190'}], 'gateway_ip': '172.141.148.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '172.141.148.130', 'tags': [], 'project_id': 'd13b5fe411024674bbf425329b78f0f3'}} 2025-08-04 02:22:03,994 - DEBUG - Response for create_subnet : {'subnet': {'id': '06fdfd50-5c45-4a29-8ca2-05f3fb0733ec', 'name': '', 'tenant_id': 'd13b5fe411024674bbf425329b78f0f3', 'network_id': 'e6e43972-0b91-48bd-93be-2d3e211e4369', 'ip_version': 4, 'cidr': '161.79.42.128/26', 'allocation_pools': [{'start': '161.79.42.130', 'end': '161.79.42.190'}], 'gateway_ip': '161.79.42.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '161.79.42.130', 'tags': [], 'project_id': 'd13b5fe411024674bbf425329b78f0f3'}} 2025-08-04 02:22:04,020 - INFO - Created VN ctest-vn1-67417500 2025-08-04 02:22:04,075 - DEBUG - VN ctest-vn1-67417500 UUID is e6e43972-0b91-48bd-93be-2d3e211e4369 2025-08-04 02:22:04,438 - DEBUG - Response for create_port : {'port': {'name': 'ad18729d-c01a-4521-ad5c-53b0522116c4', 'id': 'ad18729d-c01a-4521-ad5c-53b0522116c4', 'tenant_id': 'd13b5fe411024674bbf425329b78f0f3', 'network_id': 'e6e43972-0b91-48bd-93be-2d3e211e4369', 'mac_address': '02:ad:18:72:9d:c0', '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': '172.141.148.133', 'subnet_id': '2839c0ac-b66e-4ff1-8575-788b1aec6315'}], 'security_groups': ['8970fc84-7bb8-4156-9115-5f26a70a226a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd13b5fe411024674bbf425329b78f0f3'}} 2025-08-04 02:22:04,635 - DEBUG - Response for create_port : {'port': {'name': '8ce9f874-ec69-4290-bda3-a10c935b6479', 'id': '8ce9f874-ec69-4290-bda3-a10c935b6479', 'tenant_id': 'd13b5fe411024674bbf425329b78f0f3', 'network_id': 'e6e43972-0b91-48bd-93be-2d3e211e4369', 'mac_address': '02:8c:e9:f8:74:ec', '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': '161.79.42.133', 'subnet_id': '06fdfd50-5c45-4a29-8ca2-05f3fb0733ec'}], 'security_groups': ['8970fc84-7bb8-4156-9115-5f26a70a226a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd13b5fe411024674bbf425329b78f0f3'}} 2025-08-04 02:22:04,705 - DEBUG - Services list from nova: [, , ] 2025-08-04 02:22:05,106 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3749-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3749-1) 2025-08-04 02:22:05,665 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3749-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3749-1) 2025-08-04 02:22:05,666 - INFO - Waiting for VM ctest-vn1-vm1-73167649 to be up.. 2025-08-04 02:22:05,722 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-04 02:22:10,827 - DEBUG - VM is in ACTIVE state now 2025-08-04 02:22:10,827 - INFO - VM name : ctest-vn1-vm1-73167649 2025-08-04 02:22:10,912 - DEBUG - VM ctest-vn1-vm1-73167649 ID is 56c0d1ad-9244-4081-b1a1-bc4c9bcd01e7 2025-08-04 02:22:10,939 - DEBUG - VM ctest-vn1-vm1-73167649 launched on Node cn-jenkins-deploy-platform-ansible-os-3749-1 2025-08-04 02:22:11,021 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/56c0d1ad-9244-4081-b1a1-bc4c9bcd01e7 2025-08-04 02:22:11,034 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/ad18729d-c01a-4521-ad5c-53b0522116c4 2025-08-04 02:22:14,308 - 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-04 02:22:14,308 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-73167649 failed! 2025-08-04 02:22:14,363 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-10305540:ctest-vn1-67417500 is 172.141.148.129 and allocation pool is NOT set 2025-08-04 02:22:14,363 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-10305540:ctest-vn1-67417500 is 161.79.42.129 and allocation pool is NOT set 2025-08-04 02:22:18,440 - 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=7.58 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1022ms\r\nrtt min/avg/max/mdev = 7.584/7.584/7.584/0.000 ms') 2025-08-04 02:22:18,440 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-73167649 passed 2025-08-04 02:22:18,595 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 02:22:18,595 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-73167649, IP 172.141.148.133, Port 22 2025-08-04 02:22:18,762 - DEBUG - VM ctest-vn1-vm1-73167649 is ready for SSH connections 2025-08-04 02:22:18,762 - INFO - Waiting for VM ctest-vn1-vm2-52102469 to be up.. 2025-08-04 02:22:18,849 - DEBUG - VM is in ACTIVE state now 2025-08-04 02:22:18,849 - INFO - VM name : ctest-vn1-vm2-52102469 2025-08-04 02:22:18,931 - DEBUG - VM ctest-vn1-vm2-52102469 ID is 380d0b74-9267-45ed-9cfa-03444714bc3d 2025-08-04 02:22:18,931 - DEBUG - VM ctest-vn1-vm2-52102469 launched on Node cn-jenkins-deploy-platform-ansible-os-3749-1 2025-08-04 02:22:19,019 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/380d0b74-9267-45ed-9cfa-03444714bc3d 2025-08-04 02:22:19,031 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/8ce9f874-ec69-4290-bda3-a10c935b6479 2025-08-04 02:22:20,285 - 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.38 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.444 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.444/1.912/3.380/1.468 ms') 2025-08-04 02:22:20,285 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-52102469 passed 2025-08-04 02:22:20,443 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 02:22:20,444 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-52102469, IP 161.79.42.133, Port 22 2025-08-04 02:22:20,617 - DEBUG - VM ctest-vn1-vm2-52102469 is ready for SSH connections 2025-08-04 02:22:20,618 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 02:22:20,618 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 02:22:20,618 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 02:22:20,618 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 172.141.148.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-08-04 02:22:20,618 - DEBUG - ping -s 56 -c 3 -W 1 172.141.148.133 2025-08-04 02:22:23,280 - DEBUG - PING 172.141.148.133 (172.141.148.133): 56 data bytes 64 bytes from 172.141.148.133: seq=0 ttl=63 time=3.920 ms 64 bytes from 172.141.148.133: seq=1 ttl=63 time=1.103 ms 64 bytes from 172.141.148.133: seq=2 ttl=63 time=1.245 ms --- 172.141.148.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.103/2.089/3.920 ms 2025-08-04 02:22:23,280 - INFO - Ping to IP 172.141.148.133 from VM ctest-vn1-vm2-52102469 passed 2025-08-04 02:22:23,281 - INFO - Detaching port 8ce9f874-ec69-4290-bda3-a10c935b6479 from VM ctest-vn1-vm2-52102469 2025-08-04 02:22:23,338 - INFO - Deleting VM ctest-vn1-vm2-52102469 2025-08-04 02:22:23,419 - INFO - Detaching port ad18729d-c01a-4521-ad5c-53b0522116c4 from VM ctest-vn1-vm1-73167649 2025-08-04 02:22:23,464 - INFO - Deleting VM ctest-vn1-vm1-73167649 2025-08-04 02:22:23,745 - DEBUG - Response for delete_port : () 2025-08-04 02:22:23,945 - DEBUG - Response for delete_port : () 2025-08-04 02:22:23,945 - INFO - Deleting VN ctest-vn1-67417500 2025-08-04 02:22:24,101 - DEBUG - Response for deleting network () 2025-08-04 02:22:24,366 - DEBUG - No XMPP flaps were noticed during the test 2025-08-04 02:22:24,366 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:22] 2025-08-04 02:22:24,366 - INFO - -------------------------------------------------------------------------------- 2025-08-04 02:22:25,071 - INFO - Deleted project: ctest-TestPorts-10305540, ID : d13b5fe4-1102-4674-bbf4-25329b78f0f3