2025-08-31 06:40:26,351 - INFO - Domain Default found not creating 2025-08-31 06:40:26,515 - INFO - Project ctest-TestPorts-12350522 not found, creating it 2025-08-31 06:40:26,988 - INFO - Created Project:ctest-TestPorts-12350522, ID : 558e93ba-d5c5-45ba-a15b-df998f715f1b 2025-08-31 06:40:28,561 - INFO - ================================================================================ 2025-08-31 06:40:28,561 - INFO - STARTING TEST : test_ports_bindings 2025-08-31 06:40:28,562 - 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-31 06:40:28,815 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-08-31 06:40:28,815 - INFO - Initial checks done. Running the testcase now 2025-08-31 06:40:28,815 - INFO - 2025-08-31 06:40:29,339 - DEBUG - Response for create_network : {'network': {'id': '30d488af-2748-4787-bbd9-02d0f1ea726b', 'name': 'ctest-vn-71843021', 'tenant_id': '558e93bad5c545baa15bdf998f715f1b', 'project_id': '558e93bad5c545baa15bdf998f715f1b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-12350522', 'ctest-vn-71843021'], 'port_security_enabled': True, 'description': ''}} 2025-08-31 06:40:29,480 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e9f05b62-a2a7-455a-ac99-bb2c03484bc3', 'name': '', 'tenant_id': '558e93bad5c545baa15bdf998f715f1b', 'network_id': '30d488af-2748-4787-bbd9-02d0f1ea726b', 'ip_version': 4, 'cidr': '116.25.234.192/26', 'allocation_pools': [{'start': '116.25.234.194', 'end': '116.25.234.254'}], 'gateway_ip': '116.25.234.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '116.25.234.194', 'tags': [], 'project_id': '558e93bad5c545baa15bdf998f715f1b'}} 2025-08-31 06:40:29,497 - INFO - Created VN ctest-vn-71843021 2025-08-31 06:40:29,549 - DEBUG - VN ctest-vn-71843021 UUID is 30d488af-2748-4787-bbd9-02d0f1ea726b 2025-08-31 06:40:29,656 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-12350522', 'ctest-vmi-20706245']} 2025-08-31 06:40:29,896 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-20706245', 'id': 'c978fa0b-7f2d-43a8-ba19-c3e8da56767b', 'tenant_id': '558e93bad5c545baa15bdf998f715f1b', 'network_id': '30d488af-2748-4787-bbd9-02d0f1ea726b', 'mac_address': '02:c9:78:fa:0b:7f', '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': '116.25.234.195', 'subnet_id': 'e9f05b62-a2a7-455a-ac99-bb2c03484bc3'}], 'security_groups': ['55e27eb4-98b1-49b3-92f4-8b2ed6fa6b08'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '558e93bad5c545baa15bdf998f715f1b'}} 2025-08-31 06:40:29,896 - DEBUG - Created port c978fa0b-7f2d-43a8-ba19-c3e8da56767b 2025-08-31 06:40:30,001 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/c978fa0b-7f2d-43a8-ba19-c3e8da56767b 2025-08-31 06:40:30,296 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/c978fa0b-7f2d-43a8-ba19-c3e8da56767b 2025-08-31 06:40:30,326 - INFO - VMI c978fa0b-7f2d-43a8-ba19-c3e8da56767b verification in API Server passed 2025-08-31 06:40:30,406 - DEBUG - Response for delete_port : () 2025-08-31 06:40:30,407 - INFO - Deleted port c978fa0b-7f2d-43a8-ba19-c3e8da56767b 2025-08-31 06:40:30,407 - INFO - Deleting VN ctest-vn-71843021 2025-08-31 06:40:30,513 - DEBUG - Response for deleting network () 2025-08-31 06:40:30,766 - DEBUG - No XMPP flaps were noticed during the test
2025-08-31 06:40:30,766 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-08-31 06:40:30,766 - INFO - -------------------------------------------------------------------------------- 2025-08-31 06:40:30,769 - INFO - ================================================================================ 2025-08-31 06:40:30,769 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-31 06:40:30,769 - 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-31 06:40:31,055 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-08-31 06:40:31,056 - INFO - Initial checks done. Running the testcase now 2025-08-31 06:40:31,056 - INFO - 2025-08-31 06:40:31,222 - DEBUG - Response for create_network : {'network': {'id': '6a28b630-0fdc-4229-a26f-f29ad3bb6a1a', 'name': 'ctest-vn1-26251808', 'tenant_id': '558e93bad5c545baa15bdf998f715f1b', 'project_id': '558e93bad5c545baa15bdf998f715f1b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-12350522', 'ctest-vn1-26251808'], 'port_security_enabled': True, 'description': ''}} 2025-08-31 06:40:31,414 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c82bb800-f100-4984-8611-90e0254d3678', 'name': '', 'tenant_id': '558e93bad5c545baa15bdf998f715f1b', 'network_id': '6a28b630-0fdc-4229-a26f-f29ad3bb6a1a', 'ip_version': 4, 'cidr': '121.81.170.128/26', 'allocation_pools': [{'start': '121.81.170.130', 'end': '121.81.170.190'}], 'gateway_ip': '121.81.170.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '121.81.170.130', 'tags': [], 'project_id': '558e93bad5c545baa15bdf998f715f1b'}} 2025-08-31 06:40:31,592 - DEBUG - Response for create_subnet : {'subnet': {'id': '3fe82707-602e-490b-905d-3c703e82d6ba', 'name': '', 'tenant_id': '558e93bad5c545baa15bdf998f715f1b', 'network_id': '6a28b630-0fdc-4229-a26f-f29ad3bb6a1a', 'ip_version': 4, 'cidr': '54.141.16.0/26', 'allocation_pools': [{'start': '54.141.16.2', 'end': '54.141.16.62'}], 'gateway_ip': '54.141.16.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '54.141.16.2', 'tags': [], 'project_id': '558e93bad5c545baa15bdf998f715f1b'}} 2025-08-31 06:40:31,612 - INFO - Created VN ctest-vn1-26251808 2025-08-31 06:40:31,665 - DEBUG - VN ctest-vn1-26251808 UUID is 6a28b630-0fdc-4229-a26f-f29ad3bb6a1a 2025-08-31 06:40:31,948 - DEBUG - Response for create_port : {'port': {'name': 'b71720c6-3079-40b3-a463-e333872bf89f', 'id': 'b71720c6-3079-40b3-a463-e333872bf89f', 'tenant_id': '558e93bad5c545baa15bdf998f715f1b', 'network_id': '6a28b630-0fdc-4229-a26f-f29ad3bb6a1a', 'mac_address': '02:b7:17:20:c6:30', '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': '121.81.170.133', 'subnet_id': 'c82bb800-f100-4984-8611-90e0254d3678'}], 'security_groups': ['55e27eb4-98b1-49b3-92f4-8b2ed6fa6b08'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '558e93bad5c545baa15bdf998f715f1b'}} 2025-08-31 06:40:32,113 - DEBUG - Response for create_port : {'port': {'name': 'c47cff8f-c76e-41f5-a05e-9f2f7bcbe599', 'id': 'c47cff8f-c76e-41f5-a05e-9f2f7bcbe599', 'tenant_id': '558e93bad5c545baa15bdf998f715f1b', 'network_id': '6a28b630-0fdc-4229-a26f-f29ad3bb6a1a', 'mac_address': '02:c4:7c:ff:8f:c7', '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': '54.141.16.5', 'subnet_id': '3fe82707-602e-490b-905d-3c703e82d6ba'}], 'security_groups': ['55e27eb4-98b1-49b3-92f4-8b2ed6fa6b08'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '558e93bad5c545baa15bdf998f715f1b'}} 2025-08-31 06:40:32,169 - DEBUG - Services list from nova: [, , ] 2025-08-31 06:40:32,539 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3988-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3988-1) 2025-08-31 06:40:32,959 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3988-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3988-1) 2025-08-31 06:40:32,960 - INFO - Waiting for VM ctest-vn1-vm1-81153481 to be up.. 2025-08-31 06:40:33,013 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-31 06:40:38,096 - DEBUG - VM is in ACTIVE state now 2025-08-31 06:40:38,096 - INFO - VM name : ctest-vn1-vm1-81153481 2025-08-31 06:40:38,169 - DEBUG - VM ctest-vn1-vm1-81153481 ID is c2e5b462-b48c-450a-8dfd-abbdc2869dbb 2025-08-31 06:40:38,194 - DEBUG - VM ctest-vn1-vm1-81153481 launched on Node cn-jenkins-deploy-platform-ansible-os-3988-1 2025-08-31 06:40:38,278 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/c2e5b462-b48c-450a-8dfd-abbdc2869dbb 2025-08-31 06:40:38,286 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/b71720c6-3079-40b3-a463-e333872bf89f 2025-08-31 06:40:41,541 - 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 1007ms') 2025-08-31 06:40:41,541 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-81153481 failed! 2025-08-31 06:40:41,597 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-12350522:ctest-vn1-26251808 is 121.81.170.129 and allocation pool is NOT set 2025-08-31 06:40:41,598 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-12350522:ctest-vn1-26251808 is 54.141.16.1 and allocation pool is NOT set 2025-08-31 06:40:43,668 - 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.59 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.82 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.823/3.207/4.592/1.384 ms') 2025-08-31 06:40:43,668 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-81153481 passed 2025-08-31 06:40:43,821 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-31 06:40:43,822 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-81153481, IP 121.81.170.133, Port 22 2025-08-31 06:40:43,985 - DEBUG - VM ctest-vn1-vm1-81153481 is ready for SSH connections 2025-08-31 06:40:43,985 - INFO - Waiting for VM ctest-vn1-vm2-14370210 to be up.. 2025-08-31 06:40:44,061 - DEBUG - VM is in ACTIVE state now 2025-08-31 06:40:44,061 - INFO - VM name : ctest-vn1-vm2-14370210 2025-08-31 06:40:44,138 - DEBUG - VM ctest-vn1-vm2-14370210 ID is e9b4f002-e55b-4aa2-9bad-6e0947e709af 2025-08-31 06:40:44,138 - DEBUG - VM ctest-vn1-vm2-14370210 launched on Node cn-jenkins-deploy-platform-ansible-os-3988-1 2025-08-31 06:40:44,234 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/e9b4f002-e55b-4aa2-9bad-6e0947e709af 2025-08-31 06:40:44,243 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/c47cff8f-c76e-41f5-a05e-9f2f7bcbe599 2025-08-31 06:40:45,483 - 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.88 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.470 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.470/2.176/3.883/1.706 ms') 2025-08-31 06:40:45,483 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-14370210 passed 2025-08-31 06:40:45,633 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-31 06:40:45,634 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-14370210, IP 54.141.16.5, Port 22 2025-08-31 06:40:45,805 - DEBUG - VM ctest-vn1-vm2-14370210 is ready for SSH connections 2025-08-31 06:40:45,805 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-31 06:40:45,806 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-31 06:40:45,806 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-31 06:40:45,806 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 121.81.170.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-08-31 06:40:45,806 - DEBUG - ping -s 56 -c 3 -W 1 121.81.170.133 2025-08-31 06:40:48,485 - DEBUG - PING 121.81.170.133 (121.81.170.133): 56 data bytes 64 bytes from 121.81.170.133: seq=0 ttl=63 time=4.051 ms 64 bytes from 121.81.170.133: seq=1 ttl=63 time=1.111 ms 64 bytes from 121.81.170.133: seq=2 ttl=63 time=0.974 ms --- 121.81.170.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.974/2.045/4.051 ms 2025-08-31 06:40:48,485 - INFO - Ping to IP 121.81.170.133 from VM ctest-vn1-vm2-14370210 passed 2025-08-31 06:40:48,485 - INFO - Detaching port c47cff8f-c76e-41f5-a05e-9f2f7bcbe599 from VM ctest-vn1-vm2-14370210 2025-08-31 06:40:48,536 - INFO - Deleting VM ctest-vn1-vm2-14370210 2025-08-31 06:40:48,612 - INFO - Detaching port b71720c6-3079-40b3-a463-e333872bf89f from VM ctest-vn1-vm1-81153481 2025-08-31 06:40:48,651 - INFO - Deleting VM ctest-vn1-vm1-81153481 2025-08-31 06:40:48,906 - DEBUG - Response for delete_port : () 2025-08-31 06:40:49,071 - DEBUG - Response for delete_port : () 2025-08-31 06:40:49,071 - INFO - Deleting VN ctest-vn1-26251808 2025-08-31 06:40:49,191 - DEBUG - Response for deleting network () 2025-08-31 06:40:49,455 - DEBUG - No XMPP flaps were noticed during the test
2025-08-31 06:40:49,455 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19]
2025-08-31 06:40:49,455 - INFO - -------------------------------------------------------------------------------- 2025-08-31 06:40:50,119 - INFO - Deleted project: ctest-TestPorts-12350522, ID : 558e93ba-d5c5-45ba-a15b-df998f715f1b