2025-11-01 13:57:23,258 - INFO - Domain Default found not creating 2025-11-01 13:57:23,383 - INFO - Project ctest-TestPorts-38181875 not found, creating it 2025-11-01 13:57:23,857 - INFO - Created Project:ctest-TestPorts-38181875, ID : 3564ab4d-6005-468e-adf6-54612fb8647f 2025-11-01 13:57:25,239 - INFO - ================================================================================ 2025-11-01 13:57:25,239 - INFO - STARTING TEST : test_ports_bindings 2025-11-01 13:57:25,240 - 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-11-01 13:57:25,494 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.129': '0'}} with 2025-11-01 13:57:25,495 - INFO - Initial checks done. Running the testcase now 2025-11-01 13:57:25,495 - INFO - 2025-11-01 13:57:25,996 - DEBUG - Response for create_network : {'network': {'id': '0c7406eb-4687-41a2-b2a6-88a7dd4b6f27', 'name': 'ctest-vn-67205651', 'tenant_id': '3564ab4d6005468eadf654612fb8647f', 'project_id': '3564ab4d6005468eadf654612fb8647f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-38181875', 'ctest-vn-67205651'], 'port_security_enabled': True, 'description': ''}} 2025-11-01 13:57:26,217 - DEBUG - Response for create_subnet : {'subnet': {'id': '5886c73b-842f-4415-9070-b89ba885ca9a', 'name': '', 'tenant_id': '3564ab4d6005468eadf654612fb8647f', 'network_id': '0c7406eb-4687-41a2-b2a6-88a7dd4b6f27', 'ip_version': 4, 'cidr': '52.211.93.192/26', 'allocation_pools': [{'start': '52.211.93.194', 'end': '52.211.93.254'}], 'gateway_ip': '52.211.93.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '52.211.93.194', 'tags': [], 'project_id': '3564ab4d6005468eadf654612fb8647f'}} 2025-11-01 13:57:26,232 - INFO - Created VN ctest-vn-67205651 2025-11-01 13:57:26,282 - DEBUG - VN ctest-vn-67205651 UUID is 0c7406eb-4687-41a2-b2a6-88a7dd4b6f27 2025-11-01 13:57:26,378 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-38181875', 'ctest-vmi-25859664']} 2025-11-01 13:57:26,647 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-25859664', 'id': '41c75ced-29b2-4f6b-aeb7-c1239b7302de', 'tenant_id': '3564ab4d6005468eadf654612fb8647f', 'network_id': '0c7406eb-4687-41a2-b2a6-88a7dd4b6f27', 'mac_address': '02:41:c7:5c:ed:29', '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': '52.211.93.195', 'subnet_id': '5886c73b-842f-4415-9070-b89ba885ca9a'}], 'security_groups': ['91f090dc-ddac-4387-853b-b965e339d5b4'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3564ab4d6005468eadf654612fb8647f'}} 2025-11-01 13:57:26,647 - DEBUG - Created port 41c75ced-29b2-4f6b-aeb7-c1239b7302de 2025-11-01 13:57:26,750 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/41c75ced-29b2-4f6b-aeb7-c1239b7302de 2025-11-01 13:57:27,037 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/41c75ced-29b2-4f6b-aeb7-c1239b7302de 2025-11-01 13:57:27,063 - INFO - VMI 41c75ced-29b2-4f6b-aeb7-c1239b7302de verification in API Server passed 2025-11-01 13:57:27,133 - DEBUG - Response for delete_port : () 2025-11-01 13:57:27,133 - INFO - Deleted port 41c75ced-29b2-4f6b-aeb7-c1239b7302de 2025-11-01 13:57:27,134 - INFO - Deleting VN ctest-vn-67205651 2025-11-01 13:57:27,216 - DEBUG - Response for deleting network () 2025-11-01 13:57:27,470 - DEBUG - No XMPP flaps were noticed during the test
2025-11-01 13:57:27,470 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-11-01 13:57:27,470 - INFO - -------------------------------------------------------------------------------- 2025-11-01 13:57:27,472 - INFO - ================================================================================ 2025-11-01 13:57:27,472 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-01 13:57:27,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-11-01 13:57:27,755 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.129': '0'}} with 2025-11-01 13:57:27,755 - INFO - Initial checks done. Running the testcase now 2025-11-01 13:57:27,755 - INFO - 2025-11-01 13:57:28,058 - DEBUG - Response for create_network : {'network': {'id': '888f6ac5-03d7-44d7-bd80-1ce1e15433e6', 'name': 'ctest-vn1-45728879', 'tenant_id': '3564ab4d6005468eadf654612fb8647f', 'project_id': '3564ab4d6005468eadf654612fb8647f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-38181875', 'ctest-vn1-45728879'], 'port_security_enabled': True, 'description': ''}} 2025-11-01 13:57:28,387 - DEBUG - Response for create_subnet : {'subnet': {'id': '1903c189-c8ad-4c49-a904-30796e6d32c4', 'name': '', 'tenant_id': '3564ab4d6005468eadf654612fb8647f', 'network_id': '888f6ac5-03d7-44d7-bd80-1ce1e15433e6', 'ip_version': 4, 'cidr': '141.225.191.64/26', 'allocation_pools': [{'start': '141.225.191.66', 'end': '141.225.191.126'}], 'gateway_ip': '141.225.191.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '141.225.191.66', 'tags': [], 'project_id': '3564ab4d6005468eadf654612fb8647f'}} 2025-11-01 13:57:28,568 - DEBUG - Response for create_subnet : {'subnet': {'id': '2809c1e3-404a-4f81-a704-82cf2f948d91', 'name': '', 'tenant_id': '3564ab4d6005468eadf654612fb8647f', 'network_id': '888f6ac5-03d7-44d7-bd80-1ce1e15433e6', 'ip_version': 4, 'cidr': '61.77.227.64/26', 'allocation_pools': [{'start': '61.77.227.66', 'end': '61.77.227.126'}], 'gateway_ip': '61.77.227.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '61.77.227.66', 'tags': [], 'project_id': '3564ab4d6005468eadf654612fb8647f'}} 2025-11-01 13:57:28,585 - INFO - Created VN ctest-vn1-45728879 2025-11-01 13:57:28,634 - DEBUG - VN ctest-vn1-45728879 UUID is 888f6ac5-03d7-44d7-bd80-1ce1e15433e6 2025-11-01 13:57:28,906 - DEBUG - Response for create_port : {'port': {'name': 'c9fb05b1-43dc-4bb9-a525-aa6b463870be', 'id': 'c9fb05b1-43dc-4bb9-a525-aa6b463870be', 'tenant_id': '3564ab4d6005468eadf654612fb8647f', 'network_id': '888f6ac5-03d7-44d7-bd80-1ce1e15433e6', 'mac_address': '02:c9:fb:05:b1:43', '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': '141.225.191.69', 'subnet_id': '1903c189-c8ad-4c49-a904-30796e6d32c4'}], 'security_groups': ['91f090dc-ddac-4387-853b-b965e339d5b4'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3564ab4d6005468eadf654612fb8647f'}} 2025-11-01 13:57:29,070 - DEBUG - Response for create_port : {'port': {'name': '6842b05f-15e5-4f68-8f2e-34be1199b883', 'id': '6842b05f-15e5-4f68-8f2e-34be1199b883', 'tenant_id': '3564ab4d6005468eadf654612fb8647f', 'network_id': '888f6ac5-03d7-44d7-bd80-1ce1e15433e6', 'mac_address': '02:68:42:b0:5f:15', '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': '61.77.227.69', 'subnet_id': '2809c1e3-404a-4f81-a704-82cf2f948d91'}], 'security_groups': ['91f090dc-ddac-4387-853b-b965e339d5b4'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3564ab4d6005468eadf654612fb8647f'}} 2025-11-01 13:57:29,121 - DEBUG - Services list from nova: [, , ] 2025-11-01 13:57:29,436 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4588-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4588-1) 2025-11-01 13:57:29,805 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4588-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4588-1) 2025-11-01 13:57:29,805 - INFO - Waiting for VM ctest-vn1-vm1-38687305 to be up.. 2025-11-01 13:57:29,843 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-01 13:57:34,909 - DEBUG - VM is in ACTIVE state now 2025-11-01 13:57:34,909 - INFO - VM name : ctest-vn1-vm1-38687305 2025-11-01 13:57:34,975 - DEBUG - VM ctest-vn1-vm1-38687305 ID is e51435d5-0b1a-45d2-8746-98a0da14a1ae 2025-11-01 13:57:34,992 - DEBUG - VM ctest-vn1-vm1-38687305 launched on Node cn-jenkins-deploy-platform-ansible-os-4588-1 2025-11-01 13:57:35,172 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/e51435d5-0b1a-45d2-8746-98a0da14a1ae 2025-11-01 13:57:35,178 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/c9fb05b1-43dc-4bb9-a525-aa6b463870be 2025-11-01 13:57:38,421 - 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 1019ms') 2025-11-01 13:57:38,421 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-38687305 failed! 2025-11-01 13:57:38,474 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-38181875:ctest-vn1-45728879 is 141.225.191.65 and allocation pool is NOT set 2025-11-01 13:57:38,474 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-38181875:ctest-vn1-45728879 is 61.77.227.65 and allocation pool is NOT set 2025-11-01 13:57:40,538 - 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.42 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.40 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.402/2.911/4.421/1.509 ms') 2025-11-01 13:57:40,538 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-38687305 passed 2025-11-01 13:57:40,686 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-01 13:57:40,686 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-38687305, IP 141.225.191.69, Port 22 2025-11-01 13:57:40,845 - DEBUG - VM ctest-vn1-vm1-38687305 is ready for SSH connections 2025-11-01 13:57:40,845 - INFO - Waiting for VM ctest-vn1-vm2-64397923 to be up.. 2025-11-01 13:57:40,910 - DEBUG - VM is in ACTIVE state now 2025-11-01 13:57:40,910 - INFO - VM name : ctest-vn1-vm2-64397923 2025-11-01 13:57:40,974 - DEBUG - VM ctest-vn1-vm2-64397923 ID is 7a08537f-7519-4e91-811a-50633aa61d60 2025-11-01 13:57:40,975 - DEBUG - VM ctest-vn1-vm2-64397923 launched on Node cn-jenkins-deploy-platform-ansible-os-4588-1 2025-11-01 13:57:41,038 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/7a08537f-7519-4e91-811a-50633aa61d60 2025-11-01 13:57:41,045 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/6842b05f-15e5-4f68-8f2e-34be1199b883 2025-11-01 13:57:42,276 - 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.71 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.357 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.357/1.532/2.707/1.175 ms') 2025-11-01 13:57:42,276 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-64397923 passed 2025-11-01 13:57:42,430 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-01 13:57:42,430 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-64397923, IP 61.77.227.69, Port 22 2025-11-01 13:57:42,585 - DEBUG - VM ctest-vn1-vm2-64397923 is ready for SSH connections 2025-11-01 13:57:42,585 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-01 13:57:42,585 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-01 13:57:42,585 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-01 13:57:42,585 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 141.225.191.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-01 13:57:42,585 - DEBUG - ping -s 56 -c 3 -W 1 141.225.191.69 2025-11-01 13:57:45,502 - DEBUG - PING 141.225.191.69 (141.225.191.69): 56 data bytes 64 bytes from 141.225.191.69: seq=0 ttl=63 time=3.682 ms 64 bytes from 141.225.191.69: seq=1 ttl=63 time=0.812 ms 64 bytes from 141.225.191.69: seq=2 ttl=63 time=0.676 ms --- 141.225.191.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.676/1.723/3.682 ms 2025-11-01 13:57:45,502 - INFO - Ping to IP 141.225.191.69 from VM ctest-vn1-vm2-64397923 passed 2025-11-01 13:57:45,503 - INFO - Detaching port 6842b05f-15e5-4f68-8f2e-34be1199b883 from VM ctest-vn1-vm2-64397923 2025-11-01 13:57:45,546 - INFO - Deleting VM ctest-vn1-vm2-64397923 2025-11-01 13:57:45,604 - INFO - Detaching port c9fb05b1-43dc-4bb9-a525-aa6b463870be from VM ctest-vn1-vm1-38687305 2025-11-01 13:57:45,635 - INFO - Deleting VM ctest-vn1-vm1-38687305 2025-11-01 13:57:45,827 - DEBUG - Response for delete_port : () 2025-11-01 13:57:45,960 - DEBUG - Response for delete_port : () 2025-11-01 13:57:45,960 - INFO - Deleting VN ctest-vn1-45728879 2025-11-01 13:57:46,086 - DEBUG - Response for deleting network () 2025-11-01 13:57:46,346 - DEBUG - No XMPP flaps were noticed during the test
2025-11-01 13:57:46,347 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19]
2025-11-01 13:57:46,347 - INFO - -------------------------------------------------------------------------------- 2025-11-01 13:57:47,010 - INFO - Deleted project: ctest-TestPorts-38181875, ID : 3564ab4d-6005-468e-adf6-54612fb8647f