2025-08-27 07:05:13,818 - INFO - Domain Default found not creating 2025-08-27 07:05:13,960 - INFO - Project ctest-TestPorts-27474220 not found, creating it 2025-08-27 07:05:14,395 - INFO - Created Project:ctest-TestPorts-27474220, ID : b44d7e03-c863-4e18-a5a6-007d292eef80 2025-08-27 07:05:15,991 - INFO - ================================================================================ 2025-08-27 07:05:15,991 - INFO - STARTING TEST : test_ports_bindings 2025-08-27 07:05:15,991 - 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-27 07:05:16,249 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-08-27 07:05:16,250 - INFO - Initial checks done. Running the testcase now 2025-08-27 07:05:16,250 - INFO - 2025-08-27 07:05:16,839 - DEBUG - Response for create_network : {'network': {'id': '0385bad3-ba1d-4b29-b683-493c48dcd8e5', 'name': 'ctest-vn-96585862', 'tenant_id': 'b44d7e03c8634e18a5a6007d292eef80', 'project_id': 'b44d7e03c8634e18a5a6007d292eef80', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-27474220', 'ctest-vn-96585862'], 'port_security_enabled': True, 'description': ''}} 2025-08-27 07:05:16,997 - DEBUG - Response for create_subnet : {'subnet': {'id': '2ba5d35b-4046-485c-8832-c347a614a46f', 'name': '', 'tenant_id': 'b44d7e03c8634e18a5a6007d292eef80', 'network_id': '0385bad3-ba1d-4b29-b683-493c48dcd8e5', 'ip_version': 4, 'cidr': '109.207.38.128/26', 'allocation_pools': [{'start': '109.207.38.130', 'end': '109.207.38.190'}], 'gateway_ip': '109.207.38.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '109.207.38.130', 'tags': [], 'project_id': 'b44d7e03c8634e18a5a6007d292eef80'}} 2025-08-27 07:05:17,016 - INFO - Created VN ctest-vn-96585862 2025-08-27 07:05:17,070 - DEBUG - VN ctest-vn-96585862 UUID is 0385bad3-ba1d-4b29-b683-493c48dcd8e5 2025-08-27 07:05:17,170 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-27474220', 'ctest-vmi-42491072']} 2025-08-27 07:05:17,454 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-42491072', 'id': '241205cf-08da-46e6-8bdb-27fc118df0ec', 'tenant_id': 'b44d7e03c8634e18a5a6007d292eef80', 'network_id': '0385bad3-ba1d-4b29-b683-493c48dcd8e5', 'mac_address': '02:24:12:05:cf:08', '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': '109.207.38.131', 'subnet_id': '2ba5d35b-4046-485c-8832-c347a614a46f'}], 'security_groups': ['a8dd69dd-fbc1-4712-9673-3fa3913c979d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b44d7e03c8634e18a5a6007d292eef80'}} 2025-08-27 07:05:17,454 - DEBUG - Created port 241205cf-08da-46e6-8bdb-27fc118df0ec 2025-08-27 07:05:17,558 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/241205cf-08da-46e6-8bdb-27fc118df0ec 2025-08-27 07:05:17,888 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/241205cf-08da-46e6-8bdb-27fc118df0ec 2025-08-27 07:05:17,920 - INFO - VMI 241205cf-08da-46e6-8bdb-27fc118df0ec verification in API Server passed 2025-08-27 07:05:18,001 - DEBUG - Response for delete_port : () 2025-08-27 07:05:18,001 - INFO - Deleted port 241205cf-08da-46e6-8bdb-27fc118df0ec 2025-08-27 07:05:18,001 - INFO - Deleting VN ctest-vn-96585862 2025-08-27 07:05:18,110 - DEBUG - Response for deleting network () 2025-08-27 07:05:18,367 - DEBUG - No XMPP flaps were noticed during the test
2025-08-27 07:05:18,367 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-08-27 07:05:18,367 - INFO - -------------------------------------------------------------------------------- 2025-08-27 07:05:18,369 - INFO - ================================================================================ 2025-08-27 07:05:18,369 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-27 07:05:18,369 - 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-27 07:05:18,658 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-08-27 07:05:18,658 - INFO - Initial checks done. Running the testcase now 2025-08-27 07:05:18,658 - INFO - 2025-08-27 07:05:18,815 - DEBUG - Response for create_network : {'network': {'id': 'c85aa8d0-d701-4845-8980-338048b0bf91', 'name': 'ctest-vn1-73056924', 'tenant_id': 'b44d7e03c8634e18a5a6007d292eef80', 'project_id': 'b44d7e03c8634e18a5a6007d292eef80', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-27474220', 'ctest-vn1-73056924'], 'port_security_enabled': True, 'description': ''}} 2025-08-27 07:05:19,023 - DEBUG - Response for create_subnet : {'subnet': {'id': '52b1446d-3ba8-4053-979a-38c6db43e315', 'name': '', 'tenant_id': 'b44d7e03c8634e18a5a6007d292eef80', 'network_id': 'c85aa8d0-d701-4845-8980-338048b0bf91', 'ip_version': 4, 'cidr': '202.155.129.192/26', 'allocation_pools': [{'start': '202.155.129.194', 'end': '202.155.129.254'}], 'gateway_ip': '202.155.129.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '202.155.129.194', 'tags': [], 'project_id': 'b44d7e03c8634e18a5a6007d292eef80'}} 2025-08-27 07:05:19,173 - DEBUG - Response for create_subnet : {'subnet': {'id': '414b23b2-6311-4650-99e4-17c9de3540a5', 'name': '', 'tenant_id': 'b44d7e03c8634e18a5a6007d292eef80', 'network_id': 'c85aa8d0-d701-4845-8980-338048b0bf91', 'ip_version': 4, 'cidr': '117.47.26.128/26', 'allocation_pools': [{'start': '117.47.26.130', 'end': '117.47.26.190'}], 'gateway_ip': '117.47.26.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '117.47.26.130', 'tags': [], 'project_id': 'b44d7e03c8634e18a5a6007d292eef80'}} 2025-08-27 07:05:19,191 - INFO - Created VN ctest-vn1-73056924 2025-08-27 07:05:19,242 - DEBUG - VN ctest-vn1-73056924 UUID is c85aa8d0-d701-4845-8980-338048b0bf91 2025-08-27 07:05:19,522 - DEBUG - Response for create_port : {'port': {'name': '717bcb01-d4a0-4764-9bcd-36071f3bd0a5', 'id': '717bcb01-d4a0-4764-9bcd-36071f3bd0a5', 'tenant_id': 'b44d7e03c8634e18a5a6007d292eef80', 'network_id': 'c85aa8d0-d701-4845-8980-338048b0bf91', 'mac_address': '02:71:7b:cb:01:d4', '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': '202.155.129.197', 'subnet_id': '52b1446d-3ba8-4053-979a-38c6db43e315'}], 'security_groups': ['a8dd69dd-fbc1-4712-9673-3fa3913c979d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b44d7e03c8634e18a5a6007d292eef80'}} 2025-08-27 07:05:19,682 - DEBUG - Response for create_port : {'port': {'name': '95a414ba-3b73-4640-ac4b-b2140e9be1da', 'id': '95a414ba-3b73-4640-ac4b-b2140e9be1da', 'tenant_id': 'b44d7e03c8634e18a5a6007d292eef80', 'network_id': 'c85aa8d0-d701-4845-8980-338048b0bf91', 'mac_address': '02:95:a4:14:ba:3b', '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': '117.47.26.133', 'subnet_id': '414b23b2-6311-4650-99e4-17c9de3540a5'}], 'security_groups': ['a8dd69dd-fbc1-4712-9673-3fa3913c979d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b44d7e03c8634e18a5a6007d292eef80'}} 2025-08-27 07:05:19,736 - DEBUG - Services list from nova: [, , ] 2025-08-27 07:05:20,044 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3946-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3946-1) 2025-08-27 07:05:20,443 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3946-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3946-1) 2025-08-27 07:05:20,443 - INFO - Waiting for VM ctest-vn1-vm1-00797715 to be up.. 2025-08-27 07:05:20,478 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-27 07:05:25,547 - DEBUG - VM is in ACTIVE state now 2025-08-27 07:05:25,547 - INFO - VM name : ctest-vn1-vm1-00797715 2025-08-27 07:05:25,617 - DEBUG - VM ctest-vn1-vm1-00797715 ID is 1b850f6f-537f-4873-96c1-7c5997e4bb87 2025-08-27 07:05:25,635 - DEBUG - VM ctest-vn1-vm1-00797715 launched on Node cn-jenkins-deploy-platform-ansible-os-3946-1 2025-08-27 07:05:25,708 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/1b850f6f-537f-4873-96c1-7c5997e4bb87 2025-08-27 07:05:25,718 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/717bcb01-d4a0-4764-9bcd-36071f3bd0a5 2025-08-27 07:05:28,977 - 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 1030ms') 2025-08-27 07:05:28,977 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-00797715 failed! 2025-08-27 07:05:29,034 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-27474220:ctest-vn1-73056924 is 202.155.129.193 and allocation pool is NOT set 2025-08-27 07:05:29,034 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-27474220:ctest-vn1-73056924 is 117.47.26.129 and allocation pool is NOT set 2025-08-27 07:05:33,112 - 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=8.65 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1019ms\r\nrtt min/avg/max/mdev = 8.654/8.654/8.654/0.000 ms') 2025-08-27 07:05:33,112 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-00797715 passed 2025-08-27 07:05:33,266 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-27 07:05:33,266 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-00797715, IP 202.155.129.197, Port 22 2025-08-27 07:05:33,421 - DEBUG - VM ctest-vn1-vm1-00797715 is ready for SSH connections 2025-08-27 07:05:33,421 - INFO - Waiting for VM ctest-vn1-vm2-54824363 to be up.. 2025-08-27 07:05:33,499 - DEBUG - VM is in ACTIVE state now 2025-08-27 07:05:33,499 - INFO - VM name : ctest-vn1-vm2-54824363 2025-08-27 07:05:33,567 - DEBUG - VM ctest-vn1-vm2-54824363 ID is aaacff86-94bc-43c0-a84d-aec12734499e 2025-08-27 07:05:33,567 - DEBUG - VM ctest-vn1-vm2-54824363 launched on Node cn-jenkins-deploy-platform-ansible-os-3946-1 2025-08-27 07:05:33,633 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/aaacff86-94bc-43c0-a84d-aec12734499e 2025-08-27 07:05:33,641 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/95a414ba-3b73-4640-ac4b-b2140e9be1da 2025-08-27 07:05:34,875 - 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.94 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.323 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.323/1.632/2.941/1.309 ms') 2025-08-27 07:05:34,875 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-54824363 passed 2025-08-27 07:05:35,022 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-27 07:05:35,022 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-54824363, IP 117.47.26.133, Port 22 2025-08-27 07:05:35,178 - DEBUG - VM ctest-vn1-vm2-54824363 is ready for SSH connections 2025-08-27 07:05:35,178 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-27 07:05:35,178 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-27 07:05:35,178 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-27 07:05:35,178 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 202.155.129.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-27 07:05:35,178 - DEBUG - ping -s 56 -c 3 -W 1 202.155.129.197 2025-08-27 07:05:37,850 - DEBUG - PING 202.155.129.197 (202.155.129.197): 56 data bytes 64 bytes from 202.155.129.197: seq=0 ttl=63 time=4.152 ms 64 bytes from 202.155.129.197: seq=1 ttl=63 time=0.794 ms 64 bytes from 202.155.129.197: seq=2 ttl=63 time=0.753 ms --- 202.155.129.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.753/1.899/4.152 ms 2025-08-27 07:05:37,850 - INFO - Ping to IP 202.155.129.197 from VM ctest-vn1-vm2-54824363 passed 2025-08-27 07:05:37,851 - INFO - Detaching port 95a414ba-3b73-4640-ac4b-b2140e9be1da from VM ctest-vn1-vm2-54824363 2025-08-27 07:05:37,897 - INFO - Deleting VM ctest-vn1-vm2-54824363 2025-08-27 07:05:37,961 - INFO - Detaching port 717bcb01-d4a0-4764-9bcd-36071f3bd0a5 from VM ctest-vn1-vm1-00797715 2025-08-27 07:05:37,998 - INFO - Deleting VM ctest-vn1-vm1-00797715 2025-08-27 07:05:38,195 - DEBUG - Response for delete_port : () 2025-08-27 07:05:38,324 - DEBUG - Response for delete_port : () 2025-08-27 07:05:38,324 - INFO - Deleting VN ctest-vn1-73056924 2025-08-27 07:05:38,436 - DEBUG - Response for deleting network () 2025-08-27 07:05:38,702 - DEBUG - No XMPP flaps were noticed during the test
2025-08-27 07:05:38,702 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:20]
2025-08-27 07:05:38,702 - INFO - -------------------------------------------------------------------------------- 2025-08-27 07:05:39,386 - INFO - Deleted project: ctest-TestPorts-27474220, ID : b44d7e03-c863-4e18-a5a6-007d292eef80