2025-08-14 02:03:06,553 - INFO - Domain Default found not creating 2025-08-14 02:03:06,690 - INFO - Project ctest-TestPorts-90909623 not found, creating it 2025-08-14 02:03:07,121 - INFO - Created Project:ctest-TestPorts-90909623, ID : eb2654f1-bb3b-4fd4-bc68-48207607602c 2025-08-14 02:03:08,386 - INFO - ================================================================================ 2025-08-14 02:03:08,386 - INFO - STARTING TEST : test_ports_bindings 2025-08-14 02:03:08,386 - 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-14 02:03:08,640 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.254': '0'}} with 2025-08-14 02:03:08,640 - INFO - Initial checks done. Running the testcase now 2025-08-14 02:03:08,640 - INFO - 2025-08-14 02:03:09,272 - DEBUG - Response for create_network : {'network': {'id': '2e61d9bc-a8f4-454d-9ff2-371713053aea', 'name': 'ctest-vn-56773190', 'tenant_id': 'eb2654f1bb3b4fd4bc6848207607602c', 'project_id': 'eb2654f1bb3b4fd4bc6848207607602c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-90909623', 'ctest-vn-56773190'], 'port_security_enabled': True, 'description': ''}} 2025-08-14 02:03:09,434 - DEBUG - Response for create_subnet : {'subnet': {'id': '6b883a30-ee6c-484e-8fd9-be14126d172e', 'name': '', 'tenant_id': 'eb2654f1bb3b4fd4bc6848207607602c', 'network_id': '2e61d9bc-a8f4-454d-9ff2-371713053aea', 'ip_version': 4, 'cidr': '153.184.85.128/26', 'allocation_pools': [{'start': '153.184.85.130', 'end': '153.184.85.190'}], 'gateway_ip': '153.184.85.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '153.184.85.130', 'tags': [], 'project_id': 'eb2654f1bb3b4fd4bc6848207607602c'}} 2025-08-14 02:03:09,452 - INFO - Created VN ctest-vn-56773190 2025-08-14 02:03:09,506 - DEBUG - VN ctest-vn-56773190 UUID is 2e61d9bc-a8f4-454d-9ff2-371713053aea 2025-08-14 02:03:09,622 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-90909623', 'ctest-vmi-64581520']} 2025-08-14 02:03:09,873 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-64581520', 'id': 'dae28823-1f4b-4a04-875b-c5b3ac4fce67', 'tenant_id': 'eb2654f1bb3b4fd4bc6848207607602c', 'network_id': '2e61d9bc-a8f4-454d-9ff2-371713053aea', 'mac_address': '02:da:e2:88:23:1f', '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': '153.184.85.131', 'subnet_id': '6b883a30-ee6c-484e-8fd9-be14126d172e'}], 'security_groups': ['6d6a7099-60b2-42b7-8340-f286b32cf158'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'eb2654f1bb3b4fd4bc6848207607602c'}} 2025-08-14 02:03:09,873 - DEBUG - Created port dae28823-1f4b-4a04-875b-c5b3ac4fce67 2025-08-14 02:03:09,978 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/dae28823-1f4b-4a04-875b-c5b3ac4fce67 2025-08-14 02:03:10,234 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/dae28823-1f4b-4a04-875b-c5b3ac4fce67 2025-08-14 02:03:10,263 - INFO - VMI dae28823-1f4b-4a04-875b-c5b3ac4fce67 verification in API Server passed 2025-08-14 02:03:10,349 - DEBUG - Response for delete_port : () 2025-08-14 02:03:10,349 - INFO - Deleted port dae28823-1f4b-4a04-875b-c5b3ac4fce67 2025-08-14 02:03:10,349 - INFO - Deleting VN ctest-vn-56773190 2025-08-14 02:03:10,448 - DEBUG - Response for deleting network () 2025-08-14 02:03:10,704 - DEBUG - No XMPP flaps were noticed during the test 2025-08-14 02:03:10,704 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-08-14 02:03:10,704 - INFO - -------------------------------------------------------------------------------- 2025-08-14 02:03:10,707 - INFO - ================================================================================ 2025-08-14 02:03:10,707 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-14 02:03:10,708 - 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-14 02:03:10,991 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.254': '0'}} with 2025-08-14 02:03:10,991 - INFO - Initial checks done. Running the testcase now 2025-08-14 02:03:10,991 - INFO - 2025-08-14 02:03:11,163 - DEBUG - Response for create_network : {'network': {'id': '8f41f81c-9bbe-44a7-998b-f06c305de8f5', 'name': 'ctest-vn1-11313943', 'tenant_id': 'eb2654f1bb3b4fd4bc6848207607602c', 'project_id': 'eb2654f1bb3b4fd4bc6848207607602c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-90909623', 'ctest-vn1-11313943'], 'port_security_enabled': True, 'description': ''}} 2025-08-14 02:03:11,331 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd6960f12-22cf-44ca-a6c4-7fb0b5cf66e4', 'name': '', 'tenant_id': 'eb2654f1bb3b4fd4bc6848207607602c', 'network_id': '8f41f81c-9bbe-44a7-998b-f06c305de8f5', 'ip_version': 4, 'cidr': '46.146.129.192/26', 'allocation_pools': [{'start': '46.146.129.194', 'end': '46.146.129.254'}], 'gateway_ip': '46.146.129.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '46.146.129.194', 'tags': [], 'project_id': 'eb2654f1bb3b4fd4bc6848207607602c'}} 2025-08-14 02:03:11,513 - DEBUG - Response for create_subnet : {'subnet': {'id': '3820c757-f00d-4138-a155-a68302e15696', 'name': '', 'tenant_id': 'eb2654f1bb3b4fd4bc6848207607602c', 'network_id': '8f41f81c-9bbe-44a7-998b-f06c305de8f5', 'ip_version': 4, 'cidr': '160.17.21.192/26', 'allocation_pools': [{'start': '160.17.21.194', 'end': '160.17.21.254'}], 'gateway_ip': '160.17.21.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '160.17.21.194', 'tags': [], 'project_id': 'eb2654f1bb3b4fd4bc6848207607602c'}} 2025-08-14 02:03:11,530 - INFO - Created VN ctest-vn1-11313943 2025-08-14 02:03:11,581 - DEBUG - VN ctest-vn1-11313943 UUID is 8f41f81c-9bbe-44a7-998b-f06c305de8f5 2025-08-14 02:03:11,902 - DEBUG - Response for create_port : {'port': {'name': '95986aa0-d6c2-4715-afc0-77d0140ccb85', 'id': '95986aa0-d6c2-4715-afc0-77d0140ccb85', 'tenant_id': 'eb2654f1bb3b4fd4bc6848207607602c', 'network_id': '8f41f81c-9bbe-44a7-998b-f06c305de8f5', 'mac_address': '02:95:98:6a:a0:d6', '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': '46.146.129.197', 'subnet_id': 'd6960f12-22cf-44ca-a6c4-7fb0b5cf66e4'}], 'security_groups': ['6d6a7099-60b2-42b7-8340-f286b32cf158'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'eb2654f1bb3b4fd4bc6848207607602c'}} 2025-08-14 02:03:12,086 - DEBUG - Response for create_port : {'port': {'name': 'e0bdccbe-31a4-42c4-8896-3a4c52e13ab1', 'id': 'e0bdccbe-31a4-42c4-8896-3a4c52e13ab1', 'tenant_id': 'eb2654f1bb3b4fd4bc6848207607602c', 'network_id': '8f41f81c-9bbe-44a7-998b-f06c305de8f5', 'mac_address': '02:e0:bd:cc:be:31', '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': '160.17.21.197', 'subnet_id': '3820c757-f00d-4138-a155-a68302e15696'}], 'security_groups': ['6d6a7099-60b2-42b7-8340-f286b32cf158'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'eb2654f1bb3b4fd4bc6848207607602c'}} 2025-08-14 02:03:12,140 - DEBUG - Services list from nova: [, , ] 2025-08-14 02:03:12,442 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3848-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3848-1) 2025-08-14 02:03:12,764 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3848-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3848-1) 2025-08-14 02:03:12,764 - INFO - Waiting for VM ctest-vn1-vm1-20469646 to be up.. 2025-08-14 02:03:12,799 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-14 02:03:17,866 - DEBUG - VM is in ACTIVE state now 2025-08-14 02:03:17,866 - INFO - VM name : ctest-vn1-vm1-20469646 2025-08-14 02:03:17,932 - DEBUG - VM ctest-vn1-vm1-20469646 ID is 39e1b612-a88a-4559-8588-9b0c28162a70 2025-08-14 02:03:17,949 - DEBUG - VM ctest-vn1-vm1-20469646 launched on Node cn-jenkins-deploy-platform-ansible-os-3848-1 2025-08-14 02:03:18,152 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/39e1b612-a88a-4559-8588-9b0c28162a70 2025-08-14 02:03:18,161 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/95986aa0-d6c2-4715-afc0-77d0140ccb85 2025-08-14 02:03:21,409 - 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 1012ms') 2025-08-14 02:03:21,410 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-20469646 failed! 2025-08-14 02:03:21,469 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-90909623:ctest-vn1-11313943 is 46.146.129.193 and allocation pool is NOT set 2025-08-14 02:03:21,470 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-90909623:ctest-vn1-11313943 is 160.17.21.193 and allocation pool is NOT set 2025-08-14 02:03:23,524 - 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.00 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.641 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.641/1.819/2.998/1.178 ms') 2025-08-14 02:03:23,524 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-20469646 passed 2025-08-14 02:03:23,682 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 02:03:23,682 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-20469646, IP 46.146.129.197, Port 22 2025-08-14 02:03:23,837 - DEBUG - VM ctest-vn1-vm1-20469646 is ready for SSH connections 2025-08-14 02:03:23,837 - INFO - Waiting for VM ctest-vn1-vm2-19335098 to be up.. 2025-08-14 02:03:23,913 - DEBUG - VM is in ACTIVE state now 2025-08-14 02:03:23,914 - INFO - VM name : ctest-vn1-vm2-19335098 2025-08-14 02:03:23,983 - DEBUG - VM ctest-vn1-vm2-19335098 ID is 45f3904b-9f96-4faf-998e-9f013d0233af 2025-08-14 02:03:23,983 - DEBUG - VM ctest-vn1-vm2-19335098 launched on Node cn-jenkins-deploy-platform-ansible-os-3848-1 2025-08-14 02:03:24,052 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/45f3904b-9f96-4faf-998e-9f013d0233af 2025-08-14 02:03:24,061 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/e0bdccbe-31a4-42c4-8896-3a4c52e13ab1 2025-08-14 02:03:25,307 - 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.51 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.373 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.373/1.443/2.514/1.070 ms') 2025-08-14 02:03:25,307 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-19335098 passed 2025-08-14 02:03:25,465 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 02:03:25,466 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-19335098, IP 160.17.21.197, Port 22 2025-08-14 02:03:25,617 - DEBUG - VM ctest-vn1-vm2-19335098 is ready for SSH connections 2025-08-14 02:03:25,617 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 02:03:25,617 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 02:03:25,617 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 02:03:25,617 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 46.146.129.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-08-14 02:03:25,618 - DEBUG - ping -s 56 -c 3 -W 1 46.146.129.197 2025-08-14 02:03:28,469 - DEBUG - PING 46.146.129.197 (46.146.129.197): 56 data bytes 64 bytes from 46.146.129.197: seq=0 ttl=63 time=3.588 ms 64 bytes from 46.146.129.197: seq=1 ttl=63 time=0.861 ms 64 bytes from 46.146.129.197: seq=2 ttl=63 time=0.673 ms --- 46.146.129.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.673/1.707/3.588 ms 2025-08-14 02:03:28,470 - INFO - Ping to IP 46.146.129.197 from VM ctest-vn1-vm2-19335098 passed 2025-08-14 02:03:28,470 - INFO - Detaching port e0bdccbe-31a4-42c4-8896-3a4c52e13ab1 from VM ctest-vn1-vm2-19335098 2025-08-14 02:03:28,513 - INFO - Deleting VM ctest-vn1-vm2-19335098 2025-08-14 02:03:28,568 - INFO - Detaching port 95986aa0-d6c2-4715-afc0-77d0140ccb85 from VM ctest-vn1-vm1-20469646 2025-08-14 02:03:28,597 - INFO - Deleting VM ctest-vn1-vm1-20469646 2025-08-14 02:03:28,804 - DEBUG - Response for delete_port : () 2025-08-14 02:03:28,954 - DEBUG - Response for delete_port : () 2025-08-14 02:03:28,954 - INFO - Deleting VN ctest-vn1-11313943 2025-08-14 02:03:29,075 - DEBUG - Response for deleting network () 2025-08-14 02:03:29,335 - DEBUG - No XMPP flaps were noticed during the test 2025-08-14 02:03:29,335 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19] 2025-08-14 02:03:29,335 - INFO - -------------------------------------------------------------------------------- 2025-08-14 02:03:29,982 - INFO - Deleted project: ctest-TestPorts-90909623, ID : eb2654f1-bb3b-4fd4-bc68-48207607602c