2025-09-22 14:37:30,636 - INFO - Domain Default found not creating
2025-09-22 14:37:30,783 - INFO - Project ctest-TestPorts-64107234 not found, creating it
2025-09-22 14:37:31,265 - INFO - Created Project:ctest-TestPorts-64107234, ID : 9c6bd416-e422-417c-8cb7-62430ed1e428
2025-09-22 14:37:32,916 - INFO - ================================================================================
2025-09-22 14:37:32,916 - INFO - STARTING TEST : test_ports_bindings
2025-09-22 14:37:32,916 - 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-09-22 14:37:33,170 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.254': '0'}} with
2025-09-22 14:37:33,170 - INFO - Initial checks done. Running the testcase now
2025-09-22 14:37:33,170 - INFO -
2025-09-22 14:37:33,794 - DEBUG - Response for create_network : {'network': {'id': '941b8464-dabe-47b8-a6e4-1a30d040fb6c', 'name': 'ctest-vn-70967447', 'tenant_id': '9c6bd416e422417c8cb762430ed1e428', 'project_id': '9c6bd416e422417c8cb762430ed1e428', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-64107234', 'ctest-vn-70967447'], 'port_security_enabled': True, 'description': ''}}
2025-09-22 14:37:34,023 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b9ef6760-8b57-47aa-91c7-35df60afefc2', 'name': '', 'tenant_id': '9c6bd416e422417c8cb762430ed1e428', 'network_id': '941b8464-dabe-47b8-a6e4-1a30d040fb6c', 'ip_version': 4, 'cidr': '112.224.196.128/26', 'allocation_pools': [{'start': '112.224.196.130', 'end': '112.224.196.190'}], 'gateway_ip': '112.224.196.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '112.224.196.130', 'tags': [], 'project_id': '9c6bd416e422417c8cb762430ed1e428'}}
2025-09-22 14:37:34,044 - INFO - Created VN ctest-vn-70967447
2025-09-22 14:37:34,097 - DEBUG - VN ctest-vn-70967447 UUID is 941b8464-dabe-47b8-a6e4-1a30d040fb6c
2025-09-22 14:37:34,211 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-64107234', 'ctest-vmi-05416238']}
2025-09-22 14:37:34,448 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-05416238', 'id': '2e363ce6-29cd-4e90-99e9-4162e77f8852', 'tenant_id': '9c6bd416e422417c8cb762430ed1e428', 'network_id': '941b8464-dabe-47b8-a6e4-1a30d040fb6c', 'mac_address': '02:2e:36:3c:e6: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': '112.224.196.131', 'subnet_id': 'b9ef6760-8b57-47aa-91c7-35df60afefc2'}], 'security_groups': ['2deaff30-507f-4dae-877e-9bbcaa4a2f18'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '9c6bd416e422417c8cb762430ed1e428'}}
2025-09-22 14:37:34,448 - DEBUG - Created port 2e363ce6-29cd-4e90-99e9-4162e77f8852
2025-09-22 14:37:34,552 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/2e363ce6-29cd-4e90-99e9-4162e77f8852
2025-09-22 14:37:34,885 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/2e363ce6-29cd-4e90-99e9-4162e77f8852
2025-09-22 14:37:34,918 - INFO - VMI 2e363ce6-29cd-4e90-99e9-4162e77f8852 verification in API Server passed
2025-09-22 14:37:35,006 - DEBUG - Response for delete_port : ()
2025-09-22 14:37:35,007 - INFO - Deleted port 2e363ce6-29cd-4e90-99e9-4162e77f8852
2025-09-22 14:37:35,007 - INFO - Deleting VN ctest-vn-70967447
2025-09-22 14:37:35,110 - DEBUG - Response for deleting network ()
2025-09-22 14:37:35,370 - DEBUG - No XMPP flaps were noticed during the test
2025-09-22 14:37:35,370 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-09-22 14:37:35,370 - INFO - --------------------------------------------------------------------------------
2025-09-22 14:37:35,372 - INFO - ================================================================================
2025-09-22 14:37:35,373 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-09-22 14:37:35,373 - 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-09-22 14:37:35,657 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.254': '0'}} with
2025-09-22 14:37:35,658 - INFO - Initial checks done. Running the testcase now
2025-09-22 14:37:35,658 - INFO -
2025-09-22 14:37:35,834 - DEBUG - Response for create_network : {'network': {'id': '7a47d70a-514a-4e63-a576-b73861c5ee4b', 'name': 'ctest-vn1-93799601', 'tenant_id': '9c6bd416e422417c8cb762430ed1e428', 'project_id': '9c6bd416e422417c8cb762430ed1e428', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-64107234', 'ctest-vn1-93799601'], 'port_security_enabled': True, 'description': ''}}
2025-09-22 14:37:36,001 - DEBUG - Response for create_subnet : {'subnet': {'id': '6789b5f0-833a-4951-ba7b-d4f47a94b59c', 'name': '', 'tenant_id': '9c6bd416e422417c8cb762430ed1e428', 'network_id': '7a47d70a-514a-4e63-a576-b73861c5ee4b', 'ip_version': 4, 'cidr': '47.10.30.64/26', 'allocation_pools': [{'start': '47.10.30.66', 'end': '47.10.30.126'}], 'gateway_ip': '47.10.30.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '47.10.30.66', 'tags': [], 'project_id': '9c6bd416e422417c8cb762430ed1e428'}}
2025-09-22 14:37:36,158 - DEBUG - Response for create_subnet : {'subnet': {'id': '8bcd8f72-82c5-44b6-a3d9-863522594786', 'name': '', 'tenant_id': '9c6bd416e422417c8cb762430ed1e428', 'network_id': '7a47d70a-514a-4e63-a576-b73861c5ee4b', 'ip_version': 4, 'cidr': '7.211.217.0/26', 'allocation_pools': [{'start': '7.211.217.2', 'end': '7.211.217.62'}], 'gateway_ip': '7.211.217.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '7.211.217.2', 'tags': [], 'project_id': '9c6bd416e422417c8cb762430ed1e428'}}
2025-09-22 14:37:36,179 - INFO - Created VN ctest-vn1-93799601
2025-09-22 14:37:36,232 - DEBUG - VN ctest-vn1-93799601 UUID is 7a47d70a-514a-4e63-a576-b73861c5ee4b
2025-09-22 14:37:36,539 - DEBUG - Response for create_port : {'port': {'name': '32cd7805-3c0b-4459-b8f3-cb48a2cf9888', 'id': '32cd7805-3c0b-4459-b8f3-cb48a2cf9888', 'tenant_id': '9c6bd416e422417c8cb762430ed1e428', 'network_id': '7a47d70a-514a-4e63-a576-b73861c5ee4b', 'mac_address': '02:32:cd:78:05:3c', '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': '47.10.30.69', 'subnet_id': '6789b5f0-833a-4951-ba7b-d4f47a94b59c'}], 'security_groups': ['2deaff30-507f-4dae-877e-9bbcaa4a2f18'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '9c6bd416e422417c8cb762430ed1e428'}}
2025-09-22 14:37:36,719 - DEBUG - Response for create_port : {'port': {'name': '27333ad5-3d0d-45fc-a463-491c0e9d81b9', 'id': '27333ad5-3d0d-45fc-a463-491c0e9d81b9', 'tenant_id': '9c6bd416e422417c8cb762430ed1e428', 'network_id': '7a47d70a-514a-4e63-a576-b73861c5ee4b', 'mac_address': '02:27:33:3a:d5:3d', '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': '7.211.217.5', 'subnet_id': '8bcd8f72-82c5-44b6-a3d9-863522594786'}], 'security_groups': ['2deaff30-507f-4dae-877e-9bbcaa4a2f18'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '9c6bd416e422417c8cb762430ed1e428'}}
2025-09-22 14:37:36,784 - DEBUG - Services list from nova: [, , ]
2025-09-22 14:37:37,149 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4167-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4167-1)
2025-09-22 14:37:37,541 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4167-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4167-1)
2025-09-22 14:37:37,541 - INFO - Waiting for VM ctest-vn1-vm1-70995475 to be up..
2025-09-22 14:37:37,581 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-09-22 14:37:42,660 - DEBUG - VM is in ACTIVE state now
2025-09-22 14:37:42,660 - INFO - VM name : ctest-vn1-vm1-70995475
2025-09-22 14:37:42,748 - DEBUG - VM ctest-vn1-vm1-70995475 ID is d3134cd7-123a-4ea4-85d3-e3ad5eb0ba65
2025-09-22 14:37:42,773 - DEBUG - VM ctest-vn1-vm1-70995475 launched on Node cn-jenkins-deploy-platform-ansible-os-4167-1
2025-09-22 14:37:42,860 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/d3134cd7-123a-4ea4-85d3-e3ad5eb0ba65
2025-09-22 14:37:42,870 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/32cd7805-3c0b-4459-b8f3-cb48a2cf9888
2025-09-22 14:37:46,122 - 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 1010ms')
2025-09-22 14:37:46,123 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-70995475 failed!
2025-09-22 14:37:46,181 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-64107234:ctest-vn1-93799601 is 47.10.30.65 and allocation pool is NOT set
2025-09-22 14:37:46,181 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-64107234:ctest-vn1-93799601 is 7.211.217.1 and allocation pool is NOT set
2025-09-22 14:37:50,251 - 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=4.38 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1006ms\r\nrtt min/avg/max/mdev = 4.380/4.380/4.380/0.000 ms')
2025-09-22 14:37:50,251 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-70995475 passed
2025-09-22 14:37:50,408 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-22 14:37:50,409 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-70995475, IP 47.10.30.69, Port 22
2025-09-22 14:37:50,564 - DEBUG - VM ctest-vn1-vm1-70995475 is ready for SSH connections
2025-09-22 14:37:50,564 - INFO - Waiting for VM ctest-vn1-vm2-17707770 to be up..
2025-09-22 14:37:50,648 - DEBUG - VM is in ACTIVE state now
2025-09-22 14:37:50,648 - INFO - VM name : ctest-vn1-vm2-17707770
2025-09-22 14:37:50,725 - DEBUG - VM ctest-vn1-vm2-17707770 ID is c8a5c9bf-df3d-40ac-9461-fa1784d7d823
2025-09-22 14:37:50,725 - DEBUG - VM ctest-vn1-vm2-17707770 launched on Node cn-jenkins-deploy-platform-ansible-os-4167-1
2025-09-22 14:37:50,809 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/c8a5c9bf-df3d-40ac-9461-fa1784d7d823
2025-09-22 14:37:50,818 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/27333ad5-3d0d-45fc-a463-491c0e9d81b9
2025-09-22 14:37:52,055 - 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.17 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.411 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.411/1.788/3.166/1.377 ms')
2025-09-22 14:37:52,055 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-17707770 passed
2025-09-22 14:37:52,204 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-22 14:37:52,205 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-17707770, IP 7.211.217.5, Port 22
2025-09-22 14:37:52,364 - DEBUG - VM ctest-vn1-vm2-17707770 is ready for SSH connections
2025-09-22 14:37:52,365 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-22 14:37:52,365 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-22 14:37:52,365 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-22 14:37:52,365 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 47.10.30.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123
2025-09-22 14:37:52,365 - DEBUG - ping -s 56 -c 3 -W 1 47.10.30.69
2025-09-22 14:37:55,054 - DEBUG - PING 47.10.30.69 (47.10.30.69): 56 data bytes
64 bytes from 47.10.30.69: seq=0 ttl=63 time=3.956 ms
64 bytes from 47.10.30.69: seq=1 ttl=63 time=0.913 ms
64 bytes from 47.10.30.69: seq=2 ttl=63 time=0.844 ms
--- 47.10.30.69 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.844/1.904/3.956 ms
2025-09-22 14:37:55,054 - INFO - Ping to IP 47.10.30.69 from VM ctest-vn1-vm2-17707770 passed
2025-09-22 14:37:55,054 - INFO - Detaching port 27333ad5-3d0d-45fc-a463-491c0e9d81b9 from VM ctest-vn1-vm2-17707770
2025-09-22 14:37:55,123 - INFO - Deleting VM ctest-vn1-vm2-17707770
2025-09-22 14:37:55,203 - INFO - Detaching port 32cd7805-3c0b-4459-b8f3-cb48a2cf9888 from VM ctest-vn1-vm1-70995475
2025-09-22 14:37:55,247 - INFO - Deleting VM ctest-vn1-vm1-70995475
2025-09-22 14:37:55,500 - DEBUG - Response for delete_port : ()
2025-09-22 14:37:55,691 - DEBUG - Response for delete_port : ()
2025-09-22 14:37:55,691 - INFO - Deleting VN ctest-vn1-93799601
2025-09-22 14:37:55,844 - DEBUG - Response for deleting network ()
2025-09-22 14:37:56,098 - DEBUG - No XMPP flaps were noticed during the test
2025-09-22 14:37:56,098 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21]
2025-09-22 14:37:56,098 - INFO - --------------------------------------------------------------------------------
2025-09-22 14:37:56,828 - INFO - Deleted project: ctest-TestPorts-64107234, ID : 9c6bd416-e422-417c-8cb7-62430ed1e428