2025-10-21 17:38:03,878 - INFO - Domain Default found not creating 2025-10-21 17:38:04,016 - INFO - Project ctest-TestPorts-86082124 not found, creating it 2025-10-21 17:38:04,489 - INFO - Created Project:ctest-TestPorts-86082124, ID : 3702eaa4-c28c-44d1-bc09-e726c926b770 2025-10-21 17:38:06,008 - INFO - ================================================================================ 2025-10-21 17:38:06,008 - INFO - STARTING TEST : test_ports_bindings 2025-10-21 17:38:06,008 - 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-10-21 17:38:06,262 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-21 17:38:06,262 - INFO - Initial checks done. Running the testcase now 2025-10-21 17:38:06,262 - INFO - 2025-10-21 17:38:06,855 - DEBUG - Response for create_network : {'network': {'id': '6a19fc70-b583-4e1b-87a0-1ec1ac57a40b', 'name': 'ctest-vn-34880467', 'tenant_id': '3702eaa4c28c44d1bc09e726c926b770', 'project_id': '3702eaa4c28c44d1bc09e726c926b770', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-86082124', 'ctest-vn-34880467'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 17:38:07,035 - DEBUG - Response for create_subnet : {'subnet': {'id': 'edf42063-a880-46d2-bb2f-7ce2170e4c16', 'name': '', 'tenant_id': '3702eaa4c28c44d1bc09e726c926b770', 'network_id': '6a19fc70-b583-4e1b-87a0-1ec1ac57a40b', 'ip_version': 4, 'cidr': '114.86.229.64/26', 'allocation_pools': [{'start': '114.86.229.66', 'end': '114.86.229.126'}], 'gateway_ip': '114.86.229.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '114.86.229.66', 'tags': [], 'project_id': '3702eaa4c28c44d1bc09e726c926b770'}} 2025-10-21 17:38:07,056 - INFO - Created VN ctest-vn-34880467 2025-10-21 17:38:07,109 - DEBUG - VN ctest-vn-34880467 UUID is 6a19fc70-b583-4e1b-87a0-1ec1ac57a40b 2025-10-21 17:38:07,216 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-86082124', 'ctest-vmi-64132188']} 2025-10-21 17:38:07,452 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-64132188', 'id': '5fe1939c-18fd-4a2a-9009-3f713351e99f', 'tenant_id': '3702eaa4c28c44d1bc09e726c926b770', 'network_id': '6a19fc70-b583-4e1b-87a0-1ec1ac57a40b', 'mac_address': '02:5f:e1:93:9c:18', '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': '114.86.229.67', 'subnet_id': 'edf42063-a880-46d2-bb2f-7ce2170e4c16'}], 'security_groups': ['e4cc09d3-cce5-43d6-acb5-74228a4686aa'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3702eaa4c28c44d1bc09e726c926b770'}} 2025-10-21 17:38:07,452 - DEBUG - Created port 5fe1939c-18fd-4a2a-9009-3f713351e99f 2025-10-21 17:38:07,557 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/5fe1939c-18fd-4a2a-9009-3f713351e99f 2025-10-21 17:38:07,892 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/5fe1939c-18fd-4a2a-9009-3f713351e99f 2025-10-21 17:38:07,926 - INFO - VMI 5fe1939c-18fd-4a2a-9009-3f713351e99f verification in API Server passed 2025-10-21 17:38:08,012 - DEBUG - Response for delete_port : () 2025-10-21 17:38:08,012 - INFO - Deleted port 5fe1939c-18fd-4a2a-9009-3f713351e99f 2025-10-21 17:38:08,012 - INFO - Deleting VN ctest-vn-34880467 2025-10-21 17:38:08,123 - DEBUG - Response for deleting network () 2025-10-21 17:38:08,380 - DEBUG - No XMPP flaps were noticed during the test
2025-10-21 17:38:08,381 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-10-21 17:38:08,381 - INFO - -------------------------------------------------------------------------------- 2025-10-21 17:38:08,385 - INFO - ================================================================================ 2025-10-21 17:38:08,385 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-21 17:38:08,385 - 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-10-21 17:38:08,666 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-21 17:38:08,666 - INFO - Initial checks done. Running the testcase now 2025-10-21 17:38:08,666 - INFO - 2025-10-21 17:38:08,852 - DEBUG - Response for create_network : {'network': {'id': 'fabdf175-5407-482d-a3db-a49d7d72bd70', 'name': 'ctest-vn1-41132403', 'tenant_id': '3702eaa4c28c44d1bc09e726c926b770', 'project_id': '3702eaa4c28c44d1bc09e726c926b770', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-86082124', 'ctest-vn1-41132403'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 17:38:09,058 - DEBUG - Response for create_subnet : {'subnet': {'id': '695f99dd-c808-4a03-984a-89c6359e889e', 'name': '', 'tenant_id': '3702eaa4c28c44d1bc09e726c926b770', 'network_id': 'fabdf175-5407-482d-a3db-a49d7d72bd70', 'ip_version': 4, 'cidr': '170.70.0.192/26', 'allocation_pools': [{'start': '170.70.0.194', 'end': '170.70.0.254'}], 'gateway_ip': '170.70.0.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '170.70.0.194', 'tags': [], 'project_id': '3702eaa4c28c44d1bc09e726c926b770'}} 2025-10-21 17:38:09,274 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a3c5091b-3e6b-41a8-ae2e-803206b2f889', 'name': '', 'tenant_id': '3702eaa4c28c44d1bc09e726c926b770', 'network_id': 'fabdf175-5407-482d-a3db-a49d7d72bd70', 'ip_version': 4, 'cidr': '185.129.65.64/26', 'allocation_pools': [{'start': '185.129.65.66', 'end': '185.129.65.126'}], 'gateway_ip': '185.129.65.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '185.129.65.66', 'tags': [], 'project_id': '3702eaa4c28c44d1bc09e726c926b770'}} 2025-10-21 17:38:09,295 - INFO - Created VN ctest-vn1-41132403 2025-10-21 17:38:09,349 - DEBUG - VN ctest-vn1-41132403 UUID is fabdf175-5407-482d-a3db-a49d7d72bd70 2025-10-21 17:38:09,637 - DEBUG - Response for create_port : {'port': {'name': '00e70715-e0f6-4441-a0e7-393a6df4e867', 'id': '00e70715-e0f6-4441-a0e7-393a6df4e867', 'tenant_id': '3702eaa4c28c44d1bc09e726c926b770', 'network_id': 'fabdf175-5407-482d-a3db-a49d7d72bd70', 'mac_address': '02:00:e7:07:15:e0', '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': '170.70.0.197', 'subnet_id': '695f99dd-c808-4a03-984a-89c6359e889e'}], 'security_groups': ['e4cc09d3-cce5-43d6-acb5-74228a4686aa'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3702eaa4c28c44d1bc09e726c926b770'}} 2025-10-21 17:38:09,803 - DEBUG - Response for create_port : {'port': {'name': '7a5153e7-fd46-4499-a7b9-704476413882', 'id': '7a5153e7-fd46-4499-a7b9-704476413882', 'tenant_id': '3702eaa4c28c44d1bc09e726c926b770', 'network_id': 'fabdf175-5407-482d-a3db-a49d7d72bd70', 'mac_address': '02:7a:51:53:e7:fd', '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': '185.129.65.69', 'subnet_id': 'a3c5091b-3e6b-41a8-ae2e-803206b2f889'}], 'security_groups': ['e4cc09d3-cce5-43d6-acb5-74228a4686aa'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3702eaa4c28c44d1bc09e726c926b770'}} 2025-10-21 17:38:09,862 - DEBUG - Services list from nova: [, , ] 2025-10-21 17:38:10,193 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4400-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4400-1) 2025-10-21 17:38:10,613 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4400-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4400-1) 2025-10-21 17:38:10,613 - INFO - Waiting for VM ctest-vn1-vm1-62017853 to be up.. 2025-10-21 17:38:10,660 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-21 17:38:15,738 - DEBUG - VM is in ACTIVE state now 2025-10-21 17:38:15,738 - INFO - VM name : ctest-vn1-vm1-62017853 2025-10-21 17:38:15,814 - DEBUG - VM ctest-vn1-vm1-62017853 ID is e966040d-00c2-4863-b9bc-e5fbcffc006a 2025-10-21 17:38:15,833 - DEBUG - VM ctest-vn1-vm1-62017853 launched on Node cn-jenkins-deploy-platform-ansible-os-4400-1 2025-10-21 17:38:15,907 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/e966040d-00c2-4863-b9bc-e5fbcffc006a 2025-10-21 17:38:15,916 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/00e70715-e0f6-4441-a0e7-393a6df4e867 2025-10-21 17:38:19,155 - 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 1007ms') 2025-10-21 17:38:19,155 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-62017853 failed! 2025-10-21 17:38:19,209 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-86082124:ctest-vn1-41132403 is 170.70.0.193 and allocation pool is NOT set 2025-10-21 17:38:19,209 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-86082124:ctest-vn1-41132403 is 185.129.65.65 and allocation pool is NOT set 2025-10-21 17:38:23,288 - 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=9.54 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1012ms\r\nrtt min/avg/max/mdev = 9.544/9.544/9.544/0.000 ms') 2025-10-21 17:38:23,288 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-62017853 passed 2025-10-21 17:38:23,437 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 17:38:23,437 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-62017853, IP 170.70.0.197, Port 22 2025-10-21 17:38:23,603 - DEBUG - VM ctest-vn1-vm1-62017853 is ready for SSH connections 2025-10-21 17:38:23,603 - INFO - Waiting for VM ctest-vn1-vm2-89919345 to be up.. 2025-10-21 17:38:23,686 - DEBUG - VM is in ACTIVE state now 2025-10-21 17:38:23,686 - INFO - VM name : ctest-vn1-vm2-89919345 2025-10-21 17:38:23,757 - DEBUG - VM ctest-vn1-vm2-89919345 ID is a847c873-b35e-4aea-b267-1a5a6c70dcd9 2025-10-21 17:38:23,757 - DEBUG - VM ctest-vn1-vm2-89919345 launched on Node cn-jenkins-deploy-platform-ansible-os-4400-1 2025-10-21 17:38:23,828 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/a847c873-b35e-4aea-b267-1a5a6c70dcd9 2025-10-21 17:38:23,836 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/7a5153e7-fd46-4499-a7b9-704476413882 2025-10-21 17:38:25,070 - 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.18 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.402 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.402/1.790/3.178/1.388 ms') 2025-10-21 17:38:25,070 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-89919345 passed 2025-10-21 17:38:25,221 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 17:38:25,221 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-89919345, IP 185.129.65.69, Port 22 2025-10-21 17:38:25,376 - DEBUG - VM ctest-vn1-vm2-89919345 is ready for SSH connections 2025-10-21 17:38:25,376 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 17:38:25,376 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 17:38:25,376 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 17:38:25,377 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 170.70.0.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-21 17:38:25,377 - DEBUG - ping -s 56 -c 3 -W 1 170.70.0.197 2025-10-21 17:38:28,054 - DEBUG - PING 170.70.0.197 (170.70.0.197): 56 data bytes 64 bytes from 170.70.0.197: seq=0 ttl=63 time=5.139 ms 64 bytes from 170.70.0.197: seq=1 ttl=63 time=0.815 ms 64 bytes from 170.70.0.197: seq=2 ttl=63 time=0.870 ms --- 170.70.0.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.815/2.274/5.139 ms 2025-10-21 17:38:28,054 - INFO - Ping to IP 170.70.0.197 from VM ctest-vn1-vm2-89919345 passed 2025-10-21 17:38:28,054 - INFO - Detaching port 7a5153e7-fd46-4499-a7b9-704476413882 from VM ctest-vn1-vm2-89919345 2025-10-21 17:38:28,106 - INFO - Deleting VM ctest-vn1-vm2-89919345 2025-10-21 17:38:28,176 - INFO - Detaching port 00e70715-e0f6-4441-a0e7-393a6df4e867 from VM ctest-vn1-vm1-62017853 2025-10-21 17:38:28,221 - INFO - Deleting VM ctest-vn1-vm1-62017853 2025-10-21 17:38:28,475 - DEBUG - Response for delete_port : () 2025-10-21 17:38:28,668 - DEBUG - Response for delete_port : () 2025-10-21 17:38:28,668 - INFO - Deleting VN ctest-vn1-41132403 2025-10-21 17:38:28,826 - DEBUG - Response for deleting network () 2025-10-21 17:38:29,081 - DEBUG - No XMPP flaps were noticed during the test
2025-10-21 17:38:29,082 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21]
2025-10-21 17:38:29,082 - INFO - -------------------------------------------------------------------------------- 2025-10-21 17:38:29,802 - INFO - Deleted project: ctest-TestPorts-86082124, ID : 3702eaa4-c28c-44d1-bc09-e726c926b770