2025-08-08 05:37:00,939 - INFO - Domain Default found not creating 2025-08-08 05:37:01,128 - INFO - Project ctest-TestPorts-42596458 not found, creating it 2025-08-08 05:37:01,634 - INFO - Created Project:ctest-TestPorts-42596458, ID : 7c3b93d1-7a7b-419c-9180-dbab2d584ff3 2025-08-08 05:37:03,158 - INFO - ================================================================================ 2025-08-08 05:37:03,159 - INFO - STARTING TEST : test_ports_bindings 2025-08-08 05:37:03,159 - 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-08 05:37:03,414 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-08-08 05:37:03,414 - INFO - Initial checks done. Running the testcase now 2025-08-08 05:37:03,415 - INFO - 2025-08-08 05:37:04,016 - DEBUG - Response for create_network : {'network': {'id': '738a8ef9-1e5f-479b-ae85-bfd47873244c', 'name': 'ctest-vn-02497330', 'tenant_id': '7c3b93d17a7b419c9180dbab2d584ff3', 'project_id': '7c3b93d17a7b419c9180dbab2d584ff3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-42596458', 'ctest-vn-02497330'], 'port_security_enabled': True, 'description': ''}} 2025-08-08 05:37:04,192 - DEBUG - Response for create_subnet : {'subnet': {'id': '379ef03e-edf0-4a67-85d7-89d8f8df5b40', 'name': '', 'tenant_id': '7c3b93d17a7b419c9180dbab2d584ff3', 'network_id': '738a8ef9-1e5f-479b-ae85-bfd47873244c', 'ip_version': 4, 'cidr': '216.90.155.0/26', 'allocation_pools': [{'start': '216.90.155.2', 'end': '216.90.155.62'}], 'gateway_ip': '216.90.155.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '216.90.155.2', 'tags': [], 'project_id': '7c3b93d17a7b419c9180dbab2d584ff3'}} 2025-08-08 05:37:04,214 - INFO - Created VN ctest-vn-02497330 2025-08-08 05:37:04,271 - DEBUG - VN ctest-vn-02497330 UUID is 738a8ef9-1e5f-479b-ae85-bfd47873244c 2025-08-08 05:37:04,389 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-42596458', 'ctest-vmi-01304323']} 2025-08-08 05:37:04,646 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-01304323', 'id': 'fa8abddf-65fc-42fa-a6c8-41c6cfe646c1', 'tenant_id': '7c3b93d17a7b419c9180dbab2d584ff3', 'network_id': '738a8ef9-1e5f-479b-ae85-bfd47873244c', 'mac_address': '02:fa:8a:bd:df:65', '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': '216.90.155.3', 'subnet_id': '379ef03e-edf0-4a67-85d7-89d8f8df5b40'}], 'security_groups': ['25c44d1f-e1d7-4b4e-a9ec-9673b132a4f9'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '7c3b93d17a7b419c9180dbab2d584ff3'}} 2025-08-08 05:37:04,646 - DEBUG - Created port fa8abddf-65fc-42fa-a6c8-41c6cfe646c1 2025-08-08 05:37:04,763 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/fa8abddf-65fc-42fa-a6c8-41c6cfe646c1 2025-08-08 05:37:05,054 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/fa8abddf-65fc-42fa-a6c8-41c6cfe646c1 2025-08-08 05:37:05,089 - INFO - VMI fa8abddf-65fc-42fa-a6c8-41c6cfe646c1 verification in API Server passed 2025-08-08 05:37:05,194 - DEBUG - Response for delete_port : () 2025-08-08 05:37:05,194 - INFO - Deleted port fa8abddf-65fc-42fa-a6c8-41c6cfe646c1 2025-08-08 05:37:05,195 - INFO - Deleting VN ctest-vn-02497330 2025-08-08 05:37:05,316 - DEBUG - Response for deleting network () 2025-08-08 05:37:05,578 - DEBUG - No XMPP flaps were noticed during the test
2025-08-08 05:37:05,578 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-08-08 05:37:05,578 - INFO - -------------------------------------------------------------------------------- 2025-08-08 05:37:05,580 - INFO - ================================================================================ 2025-08-08 05:37:05,581 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-08 05:37:05,581 - 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-08 05:37:05,880 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-08-08 05:37:05,880 - INFO - Initial checks done. Running the testcase now 2025-08-08 05:37:05,880 - INFO - 2025-08-08 05:37:06,085 - DEBUG - Response for create_network : {'network': {'id': '5449271a-6bb1-4b89-9d13-f45ba60a70d3', 'name': 'ctest-vn1-10857783', 'tenant_id': '7c3b93d17a7b419c9180dbab2d584ff3', 'project_id': '7c3b93d17a7b419c9180dbab2d584ff3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-42596458', 'ctest-vn1-10857783'], 'port_security_enabled': True, 'description': ''}} 2025-08-08 05:37:06,293 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a5957b32-bbe5-401c-a975-d25b04368e9b', 'name': '', 'tenant_id': '7c3b93d17a7b419c9180dbab2d584ff3', 'network_id': '5449271a-6bb1-4b89-9d13-f45ba60a70d3', 'ip_version': 4, 'cidr': '4.156.251.64/26', 'allocation_pools': [{'start': '4.156.251.66', 'end': '4.156.251.126'}], 'gateway_ip': '4.156.251.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '4.156.251.66', 'tags': [], 'project_id': '7c3b93d17a7b419c9180dbab2d584ff3'}} 2025-08-08 05:37:06,514 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e2100a31-46b8-4de4-a281-275b5080b419', 'name': '', 'tenant_id': '7c3b93d17a7b419c9180dbab2d584ff3', 'network_id': '5449271a-6bb1-4b89-9d13-f45ba60a70d3', 'ip_version': 4, 'cidr': '166.215.86.0/26', 'allocation_pools': [{'start': '166.215.86.2', 'end': '166.215.86.62'}], 'gateway_ip': '166.215.86.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '166.215.86.2', 'tags': [], 'project_id': '7c3b93d17a7b419c9180dbab2d584ff3'}} 2025-08-08 05:37:06,537 - INFO - Created VN ctest-vn1-10857783 2025-08-08 05:37:06,591 - DEBUG - VN ctest-vn1-10857783 UUID is 5449271a-6bb1-4b89-9d13-f45ba60a70d3 2025-08-08 05:37:06,949 - DEBUG - Response for create_port : {'port': {'name': '6a7d5040-0a19-48c7-8fef-87ece0efda50', 'id': '6a7d5040-0a19-48c7-8fef-87ece0efda50', 'tenant_id': '7c3b93d17a7b419c9180dbab2d584ff3', 'network_id': '5449271a-6bb1-4b89-9d13-f45ba60a70d3', 'mac_address': '02:6a:7d:50:40:0a', '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': '4.156.251.69', 'subnet_id': 'a5957b32-bbe5-401c-a975-d25b04368e9b'}], 'security_groups': ['25c44d1f-e1d7-4b4e-a9ec-9673b132a4f9'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '7c3b93d17a7b419c9180dbab2d584ff3'}} 2025-08-08 05:37:07,160 - DEBUG - Response for create_port : {'port': {'name': '5cb1fd79-de97-4f6d-98af-081bde7611ef', 'id': '5cb1fd79-de97-4f6d-98af-081bde7611ef', 'tenant_id': '7c3b93d17a7b419c9180dbab2d584ff3', 'network_id': '5449271a-6bb1-4b89-9d13-f45ba60a70d3', 'mac_address': '02:5c:b1:fd:79:de', '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': '166.215.86.5', 'subnet_id': 'e2100a31-46b8-4de4-a281-275b5080b419'}], 'security_groups': ['25c44d1f-e1d7-4b4e-a9ec-9673b132a4f9'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '7c3b93d17a7b419c9180dbab2d584ff3'}} 2025-08-08 05:37:07,217 - DEBUG - Services list from nova: [, , ] 2025-08-08 05:37:07,563 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3780-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3780-1) 2025-08-08 05:37:07,962 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3780-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3780-1) 2025-08-08 05:37:07,963 - INFO - Waiting for VM ctest-vn1-vm1-10045071 to be up.. 2025-08-08 05:37:08,003 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-08 05:37:13,099 - DEBUG - VM is in ACTIVE state now 2025-08-08 05:37:13,099 - INFO - VM name : ctest-vn1-vm1-10045071 2025-08-08 05:37:13,177 - DEBUG - VM ctest-vn1-vm1-10045071 ID is a786b908-20d4-4567-b0df-11a16cc55a06 2025-08-08 05:37:13,198 - DEBUG - VM ctest-vn1-vm1-10045071 launched on Node cn-jenkins-deploy-platform-ansible-os-3780-1 2025-08-08 05:37:13,279 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/a786b908-20d4-4567-b0df-11a16cc55a06 2025-08-08 05:37:13,292 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/6a7d5040-0a19-48c7-8fef-87ece0efda50 2025-08-08 05:37:16,566 - 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 1018ms') 2025-08-08 05:37:16,566 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-10045071 failed! 2025-08-08 05:37:16,627 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-42596458:ctest-vn1-10857783 is 4.156.251.65 and allocation pool is NOT set 2025-08-08 05:37:16,627 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-42596458:ctest-vn1-10857783 is 166.215.86.1 and allocation pool is NOT set 2025-08-08 05:37:20,702 - 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=5.92 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1015ms\r\nrtt min/avg/max/mdev = 5.915/5.915/5.915/0.000 ms') 2025-08-08 05:37:20,702 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-10045071 passed 2025-08-08 05:37:20,859 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-08 05:37:20,860 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-10045071, IP 4.156.251.69, Port 22 2025-08-08 05:37:21,015 - DEBUG - VM ctest-vn1-vm1-10045071 is ready for SSH connections 2025-08-08 05:37:21,015 - INFO - Waiting for VM ctest-vn1-vm2-07144930 to be up.. 2025-08-08 05:37:21,089 - DEBUG - VM is in ACTIVE state now 2025-08-08 05:37:21,090 - INFO - VM name : ctest-vn1-vm2-07144930 2025-08-08 05:37:21,163 - DEBUG - VM ctest-vn1-vm2-07144930 ID is b21fc3e8-ca33-4665-b298-e6666677bfb4 2025-08-08 05:37:21,164 - DEBUG - VM ctest-vn1-vm2-07144930 launched on Node cn-jenkins-deploy-platform-ansible-os-3780-1 2025-08-08 05:37:21,235 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/b21fc3e8-ca33-4665-b298-e6666677bfb4 2025-08-08 05:37:21,245 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/5cb1fd79-de97-4f6d-98af-081bde7611ef 2025-08-08 05:37:22,492 - 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.15 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.429 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.429/1.788/3.147/1.359 ms') 2025-08-08 05:37:22,492 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-07144930 passed 2025-08-08 05:37:22,647 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-08 05:37:22,647 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-07144930, IP 166.215.86.5, Port 22 2025-08-08 05:37:22,803 - DEBUG - VM ctest-vn1-vm2-07144930 is ready for SSH connections 2025-08-08 05:37:22,803 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-08 05:37:22,803 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-08 05:37:22,803 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-08 05:37:22,803 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 4.156.251.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-08 05:37:22,803 - DEBUG - ping -s 56 -c 3 -W 1 4.156.251.69 2025-08-08 05:37:25,463 - DEBUG - PING 4.156.251.69 (4.156.251.69): 56 data bytes 64 bytes from 4.156.251.69: seq=0 ttl=63 time=3.699 ms 64 bytes from 4.156.251.69: seq=1 ttl=63 time=1.138 ms 64 bytes from 4.156.251.69: seq=2 ttl=63 time=1.107 ms --- 4.156.251.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.107/1.981/3.699 ms 2025-08-08 05:37:25,464 - INFO - Ping to IP 4.156.251.69 from VM ctest-vn1-vm2-07144930 passed 2025-08-08 05:37:25,464 - INFO - Detaching port 5cb1fd79-de97-4f6d-98af-081bde7611ef from VM ctest-vn1-vm2-07144930 2025-08-08 05:37:25,517 - INFO - Deleting VM ctest-vn1-vm2-07144930 2025-08-08 05:37:25,599 - INFO - Detaching port 6a7d5040-0a19-48c7-8fef-87ece0efda50 from VM ctest-vn1-vm1-10045071 2025-08-08 05:37:25,636 - INFO - Deleting VM ctest-vn1-vm1-10045071 2025-08-08 05:37:25,883 - DEBUG - Response for delete_port : () 2025-08-08 05:37:26,084 - DEBUG - Response for delete_port : () 2025-08-08 05:37:26,084 - INFO - Deleting VN ctest-vn1-10857783 2025-08-08 05:37:26,231 - DEBUG - Response for deleting network () 2025-08-08 05:37:26,494 - DEBUG - No XMPP flaps were noticed during the test
2025-08-08 05:37:26,494 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21]
2025-08-08 05:37:26,494 - INFO - -------------------------------------------------------------------------------- 2025-08-08 05:37:27,224 - INFO - Deleted project: ctest-TestPorts-42596458, ID : 7c3b93d1-7a7b-419c-9180-dbab2d584ff3