2025-11-05 16:12:32,933 - INFO - Domain Default found not creating
2025-11-05 16:12:33,070 - INFO - Project ctest-TestPorts-59456276 not found, creating it
2025-11-05 16:12:33,493 - INFO - Created Project:ctest-TestPorts-59456276, ID : c6d6d725-8828-401a-b33f-03f51334f01e
2025-11-05 16:12:34,828 - INFO - ================================================================================
2025-11-05 16:12:34,828 - INFO - STARTING TEST : test_ports_bindings
2025-11-05 16:12:34,829 - 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-05 16:12:35,086 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.192': '0'}} with
2025-11-05 16:12:35,086 - INFO - Initial checks done. Running the testcase now
2025-11-05 16:12:35,086 - INFO -
2025-11-05 16:12:35,603 - DEBUG - Response for create_network : {'network': {'id': 'a3418a82-dde3-44bc-94a2-dcafd646933e', 'name': 'ctest-vn-09552520', 'tenant_id': 'c6d6d7258828401ab33f03f51334f01e', 'project_id': 'c6d6d7258828401ab33f03f51334f01e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-59456276', 'ctest-vn-09552520'], 'port_security_enabled': True, 'description': ''}}
2025-11-05 16:12:35,754 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e8a000cc-4a02-4e24-9ea5-94c0b307dcca', 'name': '', 'tenant_id': 'c6d6d7258828401ab33f03f51334f01e', 'network_id': 'a3418a82-dde3-44bc-94a2-dcafd646933e', 'ip_version': 4, 'cidr': '210.88.162.192/26', 'allocation_pools': [{'start': '210.88.162.194', 'end': '210.88.162.254'}], 'gateway_ip': '210.88.162.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '210.88.162.194', 'tags': [], 'project_id': 'c6d6d7258828401ab33f03f51334f01e'}}
2025-11-05 16:12:35,770 - INFO - Created VN ctest-vn-09552520
2025-11-05 16:12:35,822 - DEBUG - VN ctest-vn-09552520 UUID is a3418a82-dde3-44bc-94a2-dcafd646933e
2025-11-05 16:12:35,930 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-59456276', 'ctest-vmi-97242487']}
2025-11-05 16:12:36,176 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-97242487', 'id': '4a8e9006-108b-4088-8afd-7248424f7a78', 'tenant_id': 'c6d6d7258828401ab33f03f51334f01e', 'network_id': 'a3418a82-dde3-44bc-94a2-dcafd646933e', 'mac_address': '02:4a:8e:90:06:10', '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': '210.88.162.195', 'subnet_id': 'e8a000cc-4a02-4e24-9ea5-94c0b307dcca'}], 'security_groups': ['71b12b82-b52a-408a-ae2e-e0e52bd952f0'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'c6d6d7258828401ab33f03f51334f01e'}}
2025-11-05 16:12:36,176 - DEBUG - Created port 4a8e9006-108b-4088-8afd-7248424f7a78
2025-11-05 16:12:36,281 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/4a8e9006-108b-4088-8afd-7248424f7a78
2025-11-05 16:12:36,703 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/4a8e9006-108b-4088-8afd-7248424f7a78
2025-11-05 16:12:36,738 - INFO - VMI 4a8e9006-108b-4088-8afd-7248424f7a78 verification in API Server passed
2025-11-05 16:12:36,822 - DEBUG - Response for delete_port : ()
2025-11-05 16:12:36,822 - INFO - Deleted port 4a8e9006-108b-4088-8afd-7248424f7a78
2025-11-05 16:12:36,822 - INFO - Deleting VN ctest-vn-09552520
2025-11-05 16:12:36,926 - DEBUG - Response for deleting network ()
2025-11-05 16:12:37,188 - DEBUG - No XMPP flaps were noticed during the test
2025-11-05 16:12:37,188 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-11-05 16:12:37,188 - INFO - --------------------------------------------------------------------------------
2025-11-05 16:12:37,190 - INFO - ================================================================================
2025-11-05 16:12:37,190 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-11-05 16:12:37,190 - 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-05 16:12:37,478 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.192': '0'}} with
2025-11-05 16:12:37,478 - INFO - Initial checks done. Running the testcase now
2025-11-05 16:12:37,478 - INFO -
2025-11-05 16:12:37,636 - DEBUG - Response for create_network : {'network': {'id': 'd032e590-1834-4601-b35a-e1a38bfd11a1', 'name': 'ctest-vn1-84852073', 'tenant_id': 'c6d6d7258828401ab33f03f51334f01e', 'project_id': 'c6d6d7258828401ab33f03f51334f01e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-59456276', 'ctest-vn1-84852073'], 'port_security_enabled': True, 'description': ''}}
2025-11-05 16:12:37,803 - DEBUG - Response for create_subnet : {'subnet': {'id': '5bee3c01-215b-4d96-a87a-a32325885481', 'name': '', 'tenant_id': 'c6d6d7258828401ab33f03f51334f01e', 'network_id': 'd032e590-1834-4601-b35a-e1a38bfd11a1', 'ip_version': 4, 'cidr': '90.39.36.128/26', 'allocation_pools': [{'start': '90.39.36.130', 'end': '90.39.36.190'}], 'gateway_ip': '90.39.36.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '90.39.36.130', 'tags': [], 'project_id': 'c6d6d7258828401ab33f03f51334f01e'}}
2025-11-05 16:12:37,953 - DEBUG - Response for create_subnet : {'subnet': {'id': '0608a1d5-f220-4838-b282-a78bf93a44ab', 'name': '', 'tenant_id': 'c6d6d7258828401ab33f03f51334f01e', 'network_id': 'd032e590-1834-4601-b35a-e1a38bfd11a1', 'ip_version': 4, 'cidr': '131.193.119.0/26', 'allocation_pools': [{'start': '131.193.119.2', 'end': '131.193.119.62'}], 'gateway_ip': '131.193.119.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '131.193.119.2', 'tags': [], 'project_id': 'c6d6d7258828401ab33f03f51334f01e'}}
2025-11-05 16:12:37,970 - INFO - Created VN ctest-vn1-84852073
2025-11-05 16:12:38,022 - DEBUG - VN ctest-vn1-84852073 UUID is d032e590-1834-4601-b35a-e1a38bfd11a1
2025-11-05 16:12:38,310 - DEBUG - Response for create_port : {'port': {'name': '4d9be84a-8d11-4c11-bc03-b229026cf1b4', 'id': '4d9be84a-8d11-4c11-bc03-b229026cf1b4', 'tenant_id': 'c6d6d7258828401ab33f03f51334f01e', 'network_id': 'd032e590-1834-4601-b35a-e1a38bfd11a1', 'mac_address': '02:4d:9b:e8:4a:8d', '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': '90.39.36.133', 'subnet_id': '5bee3c01-215b-4d96-a87a-a32325885481'}], 'security_groups': ['71b12b82-b52a-408a-ae2e-e0e52bd952f0'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'c6d6d7258828401ab33f03f51334f01e'}}
2025-11-05 16:12:38,462 - DEBUG - Response for create_port : {'port': {'name': '7750b10e-58ef-4748-bd9d-dd04bfdbbf53', 'id': '7750b10e-58ef-4748-bd9d-dd04bfdbbf53', 'tenant_id': 'c6d6d7258828401ab33f03f51334f01e', 'network_id': 'd032e590-1834-4601-b35a-e1a38bfd11a1', 'mac_address': '02:77:50:b1:0e:58', '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': '131.193.119.5', 'subnet_id': '0608a1d5-f220-4838-b282-a78bf93a44ab'}], 'security_groups': ['71b12b82-b52a-408a-ae2e-e0e52bd952f0'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'c6d6d7258828401ab33f03f51334f01e'}}
2025-11-05 16:12:38,512 - DEBUG - Services list from nova: [, , ]
2025-11-05 16:12:38,795 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4648-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4648-1)
2025-11-05 16:12:39,172 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4648-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4648-1)
2025-11-05 16:12:39,172 - INFO - Waiting for VM ctest-vn1-vm1-84455409 to be up..
2025-11-05 16:12:39,221 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-05 16:12:44,306 - DEBUG - VM is in ACTIVE state now
2025-11-05 16:12:44,306 - INFO - VM name : ctest-vn1-vm1-84455409
2025-11-05 16:12:44,389 - DEBUG - VM ctest-vn1-vm1-84455409 ID is 9d0092b4-c144-4afa-9571-cb513d9823d4
2025-11-05 16:12:44,406 - DEBUG - VM ctest-vn1-vm1-84455409 launched on Node cn-jenkins-deploy-platform-ansible-os-4648-1
2025-11-05 16:12:44,621 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/9d0092b4-c144-4afa-9571-cb513d9823d4
2025-11-05 16:12:44,628 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/4d9be84a-8d11-4c11-bc03-b229026cf1b4
2025-11-05 16:12:47,883 - 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 1032ms')
2025-11-05 16:12:47,883 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-84455409 failed!
2025-11-05 16:12:47,942 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-59456276:ctest-vn1-84852073 is 90.39.36.129 and allocation pool is NOT set
2025-11-05 16:12:47,942 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-59456276:ctest-vn1-84852073 is 131.193.119.1 and allocation pool is NOT set
2025-11-05 16:12:49,997 - 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.81 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.553 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 = 0.553/2.180/3.808/1.627 ms')
2025-11-05 16:12:49,998 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-84455409 passed
2025-11-05 16:12:50,146 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-05 16:12:50,146 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-84455409, IP 90.39.36.133, Port 22
2025-11-05 16:12:50,305 - DEBUG - VM ctest-vn1-vm1-84455409 is ready for SSH connections
2025-11-05 16:12:50,305 - INFO - Waiting for VM ctest-vn1-vm2-37768912 to be up..
2025-11-05 16:12:50,377 - DEBUG - VM is in ACTIVE state now
2025-11-05 16:12:50,377 - INFO - VM name : ctest-vn1-vm2-37768912
2025-11-05 16:12:50,441 - DEBUG - VM ctest-vn1-vm2-37768912 ID is 4de5c88d-258e-4f49-b226-a6d2bb171341
2025-11-05 16:12:50,442 - DEBUG - VM ctest-vn1-vm2-37768912 launched on Node cn-jenkins-deploy-platform-ansible-os-4648-1
2025-11-05 16:12:50,504 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/4de5c88d-258e-4f49-b226-a6d2bb171341
2025-11-05 16:12:50,511 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/7750b10e-58ef-4748-bd9d-dd04bfdbbf53
2025-11-05 16:12:51,741 - 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.68 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.418 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.418/1.547/2.677/1.129 ms')
2025-11-05 16:12:51,741 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-37768912 passed
2025-11-05 16:12:51,890 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-05 16:12:51,890 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-37768912, IP 131.193.119.5, Port 22
2025-11-05 16:12:52,041 - DEBUG - VM ctest-vn1-vm2-37768912 is ready for SSH connections
2025-11-05 16:12:52,041 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-05 16:12:52,041 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-05 16:12:52,041 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-05 16:12:52,042 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 90.39.36.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-11-05 16:12:52,042 - DEBUG - ping -s 56 -c 3 -W 1 90.39.36.133
2025-11-05 16:12:54,977 - DEBUG - PING 90.39.36.133 (90.39.36.133): 56 data bytes
64 bytes from 90.39.36.133: seq=0 ttl=63 time=3.902 ms
64 bytes from 90.39.36.133: seq=1 ttl=63 time=0.796 ms
64 bytes from 90.39.36.133: seq=2 ttl=63 time=0.891 ms
--- 90.39.36.133 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.796/1.863/3.902 ms
2025-11-05 16:12:54,977 - INFO - Ping to IP 90.39.36.133 from VM ctest-vn1-vm2-37768912 passed
2025-11-05 16:12:54,978 - INFO - Detaching port 7750b10e-58ef-4748-bd9d-dd04bfdbbf53 from VM ctest-vn1-vm2-37768912
2025-11-05 16:12:55,023 - INFO - Deleting VM ctest-vn1-vm2-37768912
2025-11-05 16:12:55,080 - INFO - Detaching port 4d9be84a-8d11-4c11-bc03-b229026cf1b4 from VM ctest-vn1-vm1-84455409
2025-11-05 16:12:55,109 - INFO - Deleting VM ctest-vn1-vm1-84455409
2025-11-05 16:12:55,322 - DEBUG - Response for delete_port : ()
2025-11-05 16:12:55,461 - DEBUG - Response for delete_port : ()
2025-11-05 16:12:55,461 - INFO - Deleting VN ctest-vn1-84852073
2025-11-05 16:12:55,578 - DEBUG - Response for deleting network ()
2025-11-05 16:12:55,830 - DEBUG - No XMPP flaps were noticed during the test
2025-11-05 16:12:55,830 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:18]
2025-11-05 16:12:55,830 - INFO - --------------------------------------------------------------------------------
2025-11-05 16:12:56,492 - INFO - Deleted project: ctest-TestPorts-59456276, ID : c6d6d725-8828-401a-b33f-03f51334f01e