2025-08-11 21:36:04,372 - INFO - Domain Default found not creating 2025-08-11 21:36:04,491 - INFO - Project ctest-TestPorts-15974440 not found, creating it 2025-08-11 21:36:04,930 - INFO - Created Project:ctest-TestPorts-15974440, ID : c00c2d99-d111-48f0-83db-12d53925ec92 2025-08-11 21:36:06,297 - INFO - ================================================================================ 2025-08-11 21:36:06,297 - INFO - STARTING TEST : test_ports_bindings 2025-08-11 21:36:06,297 - 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-11 21:36:06,554 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-08-11 21:36:06,554 - INFO - Initial checks done. Running the testcase now 2025-08-11 21:36:06,554 - INFO - 2025-08-11 21:36:07,063 - DEBUG - Response for create_network : {'network': {'id': '3f69ccd7-6b8f-474f-b365-271de296a48a', 'name': 'ctest-vn-54466071', 'tenant_id': 'c00c2d99d11148f083db12d53925ec92', 'project_id': 'c00c2d99d11148f083db12d53925ec92', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-15974440', 'ctest-vn-54466071'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 21:36:07,217 - DEBUG - Response for create_subnet : {'subnet': {'id': '61b17ef4-5bb5-4681-9efa-2c922e8988b6', 'name': '', 'tenant_id': 'c00c2d99d11148f083db12d53925ec92', 'network_id': '3f69ccd7-6b8f-474f-b365-271de296a48a', 'ip_version': 4, 'cidr': '133.41.15.128/26', 'allocation_pools': [{'start': '133.41.15.130', 'end': '133.41.15.190'}], 'gateway_ip': '133.41.15.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '133.41.15.130', 'tags': [], 'project_id': 'c00c2d99d11148f083db12d53925ec92'}} 2025-08-11 21:36:07,232 - INFO - Created VN ctest-vn-54466071 2025-08-11 21:36:07,284 - DEBUG - VN ctest-vn-54466071 UUID is 3f69ccd7-6b8f-474f-b365-271de296a48a 2025-08-11 21:36:07,383 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-15974440', 'ctest-vmi-77113242']} 2025-08-11 21:36:07,646 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-77113242', 'id': '70f8f710-9dd4-4fe3-a353-70a6dd3832d1', 'tenant_id': 'c00c2d99d11148f083db12d53925ec92', 'network_id': '3f69ccd7-6b8f-474f-b365-271de296a48a', 'mac_address': '02:70:f8:f7:10:9d', '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': '133.41.15.131', 'subnet_id': '61b17ef4-5bb5-4681-9efa-2c922e8988b6'}], 'security_groups': ['94331a2c-96ff-407e-a95a-e453c077f294'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'c00c2d99d11148f083db12d53925ec92'}} 2025-08-11 21:36:07,647 - DEBUG - Created port 70f8f710-9dd4-4fe3-a353-70a6dd3832d1 2025-08-11 21:36:07,748 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/70f8f710-9dd4-4fe3-a353-70a6dd3832d1 2025-08-11 21:36:08,035 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/70f8f710-9dd4-4fe3-a353-70a6dd3832d1 2025-08-11 21:36:08,063 - INFO - VMI 70f8f710-9dd4-4fe3-a353-70a6dd3832d1 verification in API Server passed 2025-08-11 21:36:08,134 - DEBUG - Response for delete_port : () 2025-08-11 21:36:08,135 - INFO - Deleted port 70f8f710-9dd4-4fe3-a353-70a6dd3832d1 2025-08-11 21:36:08,135 - INFO - Deleting VN ctest-vn-54466071 2025-08-11 21:36:08,218 - DEBUG - Response for deleting network () 2025-08-11 21:36:08,469 - DEBUG - No XMPP flaps were noticed during the test
2025-08-11 21:36:08,470 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-08-11 21:36:08,470 - INFO - -------------------------------------------------------------------------------- 2025-08-11 21:36:08,472 - INFO - ================================================================================ 2025-08-11 21:36:08,472 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-11 21:36:08,472 - 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-11 21:36:08,758 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-08-11 21:36:08,758 - INFO - Initial checks done. Running the testcase now 2025-08-11 21:36:08,758 - INFO - 2025-08-11 21:36:08,926 - DEBUG - Response for create_network : {'network': {'id': 'e2d1cc44-b31a-4938-88e7-c0a9af959036', 'name': 'ctest-vn1-08815332', 'tenant_id': 'c00c2d99d11148f083db12d53925ec92', 'project_id': 'c00c2d99d11148f083db12d53925ec92', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-15974440', 'ctest-vn1-08815332'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 21:36:09,113 - DEBUG - Response for create_subnet : {'subnet': {'id': '5a5b9da5-da54-4c29-86f6-e46209eb6873', 'name': '', 'tenant_id': 'c00c2d99d11148f083db12d53925ec92', 'network_id': 'e2d1cc44-b31a-4938-88e7-c0a9af959036', 'ip_version': 4, 'cidr': '20.170.11.128/26', 'allocation_pools': [{'start': '20.170.11.130', 'end': '20.170.11.190'}], 'gateway_ip': '20.170.11.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '20.170.11.130', 'tags': [], 'project_id': 'c00c2d99d11148f083db12d53925ec92'}} 2025-08-11 21:36:09,237 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bb748f5d-b47c-4bd2-b8d9-cf3530c37a25', 'name': '', 'tenant_id': 'c00c2d99d11148f083db12d53925ec92', 'network_id': 'e2d1cc44-b31a-4938-88e7-c0a9af959036', 'ip_version': 4, 'cidr': '76.230.99.64/26', 'allocation_pools': [{'start': '76.230.99.66', 'end': '76.230.99.126'}], 'gateway_ip': '76.230.99.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '76.230.99.66', 'tags': [], 'project_id': 'c00c2d99d11148f083db12d53925ec92'}} 2025-08-11 21:36:09,254 - INFO - Created VN ctest-vn1-08815332 2025-08-11 21:36:09,308 - DEBUG - VN ctest-vn1-08815332 UUID is e2d1cc44-b31a-4938-88e7-c0a9af959036 2025-08-11 21:36:09,559 - DEBUG - Response for create_port : {'port': {'name': 'dad42222-62db-41a5-80fb-066811735150', 'id': 'dad42222-62db-41a5-80fb-066811735150', 'tenant_id': 'c00c2d99d11148f083db12d53925ec92', 'network_id': 'e2d1cc44-b31a-4938-88e7-c0a9af959036', 'mac_address': '02:da:d4:22:22:62', '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': '20.170.11.133', 'subnet_id': '5a5b9da5-da54-4c29-86f6-e46209eb6873'}], 'security_groups': ['94331a2c-96ff-407e-a95a-e453c077f294'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'c00c2d99d11148f083db12d53925ec92'}} 2025-08-11 21:36:09,718 - DEBUG - Response for create_port : {'port': {'name': 'e6c10ae2-1b87-4dfb-b41f-03aa6996130a', 'id': 'e6c10ae2-1b87-4dfb-b41f-03aa6996130a', 'tenant_id': 'c00c2d99d11148f083db12d53925ec92', 'network_id': 'e2d1cc44-b31a-4938-88e7-c0a9af959036', 'mac_address': '02:e6:c1:0a:e2:1b', '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': '76.230.99.69', 'subnet_id': 'bb748f5d-b47c-4bd2-b8d9-cf3530c37a25'}], 'security_groups': ['94331a2c-96ff-407e-a95a-e453c077f294'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'c00c2d99d11148f083db12d53925ec92'}} 2025-08-11 21:36:09,766 - DEBUG - Services list from nova: [, , ] 2025-08-11 21:36:10,031 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3823-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3823-1) 2025-08-11 21:36:10,459 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3823-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3823-1) 2025-08-11 21:36:10,459 - INFO - Waiting for VM ctest-vn1-vm1-18983582 to be up.. 2025-08-11 21:36:10,493 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-11 21:36:15,556 - DEBUG - VM is in ACTIVE state now 2025-08-11 21:36:15,556 - INFO - VM name : ctest-vn1-vm1-18983582 2025-08-11 21:36:15,617 - DEBUG - VM ctest-vn1-vm1-18983582 ID is 812058a4-e309-4c96-9e7f-e0335deddd87 2025-08-11 21:36:15,633 - DEBUG - VM ctest-vn1-vm1-18983582 launched on Node cn-jenkins-deploy-platform-ansible-os-3823-1 2025-08-11 21:36:15,695 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/812058a4-e309-4c96-9e7f-e0335deddd87 2025-08-11 21:36:15,702 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/dad42222-62db-41a5-80fb-066811735150 2025-08-11 21:36:18,946 - 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 1004ms') 2025-08-11 21:36:18,946 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-18983582 failed! 2025-08-11 21:36:19,000 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-15974440:ctest-vn1-08815332 is 20.170.11.129 and allocation pool is NOT set 2025-08-11 21:36:19,001 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-15974440:ctest-vn1-08815332 is 76.230.99.65 and allocation pool is NOT set 2025-08-11 21:36:21,062 - 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.51 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.24 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 = 1.241/2.374/3.508/1.133 ms') 2025-08-11 21:36:21,063 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-18983582 passed 2025-08-11 21:36:21,212 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 21:36:21,213 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-18983582, IP 20.170.11.133, Port 22 2025-08-11 21:36:21,368 - DEBUG - VM ctest-vn1-vm1-18983582 is ready for SSH connections 2025-08-11 21:36:21,368 - INFO - Waiting for VM ctest-vn1-vm2-65147169 to be up.. 2025-08-11 21:36:21,431 - DEBUG - VM is in ACTIVE state now 2025-08-11 21:36:21,431 - INFO - VM name : ctest-vn1-vm2-65147169 2025-08-11 21:36:21,490 - DEBUG - VM ctest-vn1-vm2-65147169 ID is ec5cfb4c-53f7-4044-a1ea-cd457fa6b40b 2025-08-11 21:36:21,490 - DEBUG - VM ctest-vn1-vm2-65147169 launched on Node cn-jenkins-deploy-platform-ansible-os-3823-1 2025-08-11 21:36:21,550 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ec5cfb4c-53f7-4044-a1ea-cd457fa6b40b 2025-08-11 21:36:21,558 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/e6c10ae2-1b87-4dfb-b41f-03aa6996130a 2025-08-11 21:36:22,789 - 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.61 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.280 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.280/1.445/2.610/1.165 ms') 2025-08-11 21:36:22,789 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-65147169 passed 2025-08-11 21:36:22,932 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 21:36:22,933 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-65147169, IP 76.230.99.69, Port 22 2025-08-11 21:36:23,087 - DEBUG - VM ctest-vn1-vm2-65147169 is ready for SSH connections 2025-08-11 21:36:23,088 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 21:36:23,088 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 21:36:23,088 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 21:36:23,088 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 20.170.11.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-11 21:36:23,088 - DEBUG - ping -s 56 -c 3 -W 1 20.170.11.133 2025-08-11 21:36:25,980 - DEBUG - PING 20.170.11.133 (20.170.11.133): 56 data bytes 64 bytes from 20.170.11.133: seq=0 ttl=63 time=3.109 ms 64 bytes from 20.170.11.133: seq=1 ttl=63 time=0.689 ms 64 bytes from 20.170.11.133: seq=2 ttl=63 time=0.642 ms --- 20.170.11.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.642/1.480/3.109 ms 2025-08-11 21:36:25,981 - INFO - Ping to IP 20.170.11.133 from VM ctest-vn1-vm2-65147169 passed 2025-08-11 21:36:25,981 - INFO - Detaching port e6c10ae2-1b87-4dfb-b41f-03aa6996130a from VM ctest-vn1-vm2-65147169 2025-08-11 21:36:26,026 - INFO - Deleting VM ctest-vn1-vm2-65147169 2025-08-11 21:36:26,094 - INFO - Detaching port dad42222-62db-41a5-80fb-066811735150 from VM ctest-vn1-vm1-18983582 2025-08-11 21:36:26,127 - INFO - Deleting VM ctest-vn1-vm1-18983582 2025-08-11 21:36:26,309 - DEBUG - Response for delete_port : () 2025-08-11 21:36:26,446 - DEBUG - Response for delete_port : () 2025-08-11 21:36:26,446 - INFO - Deleting VN ctest-vn1-08815332 2025-08-11 21:36:26,611 - DEBUG - Response for deleting network () 2025-08-11 21:36:26,866 - DEBUG - No XMPP flaps were noticed during the test
2025-08-11 21:36:26,866 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:18]
2025-08-11 21:36:26,866 - INFO - -------------------------------------------------------------------------------- 2025-08-11 21:36:27,514 - INFO - Deleted project: ctest-TestPorts-15974440, ID : c00c2d99-d111-48f0-83db-12d53925ec92