2025-10-09 14:06:27,427 - INFO - Domain Default found not creating
2025-10-09 14:06:27,617 - INFO - Project ctest-TestPorts-31340875 not found, creating it
2025-10-09 14:06:28,115 - INFO - Created Project:ctest-TestPorts-31340875, ID : 7c60733e-9154-42d4-9deb-7ff1c8804aa7
2025-10-09 14:06:29,681 - INFO - ================================================================================
2025-10-09 14:06:29,681 - INFO - STARTING TEST : test_ports_bindings
2025-10-09 14:06:29,681 - 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-09 14:06:29,950 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.254': '0'}} with
2025-10-09 14:06:29,951 - INFO - Initial checks done. Running the testcase now
2025-10-09 14:06:29,951 - INFO -
2025-10-09 14:06:30,548 - DEBUG - Response for create_network : {'network': {'id': '6953f8a6-dd84-4eb4-8807-16596f699b04', 'name': 'ctest-vn-07436338', 'tenant_id': '7c60733e915442d49deb7ff1c8804aa7', 'project_id': '7c60733e915442d49deb7ff1c8804aa7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-31340875', 'ctest-vn-07436338'], 'port_security_enabled': True, 'description': ''}}
2025-10-09 14:06:30,743 - DEBUG - Response for create_subnet : {'subnet': {'id': '3a898083-db35-43cf-a406-91b427bea80f', 'name': '', 'tenant_id': '7c60733e915442d49deb7ff1c8804aa7', 'network_id': '6953f8a6-dd84-4eb4-8807-16596f699b04', 'ip_version': 4, 'cidr': '105.114.60.64/26', 'allocation_pools': [{'start': '105.114.60.66', 'end': '105.114.60.126'}], 'gateway_ip': '105.114.60.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '105.114.60.66', 'tags': [], 'project_id': '7c60733e915442d49deb7ff1c8804aa7'}}
2025-10-09 14:06:30,765 - INFO - Created VN ctest-vn-07436338
2025-10-09 14:06:30,820 - DEBUG - VN ctest-vn-07436338 UUID is 6953f8a6-dd84-4eb4-8807-16596f699b04
2025-10-09 14:06:30,945 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-31340875', 'ctest-vmi-42187436']}
2025-10-09 14:06:31,195 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-42187436', 'id': '177f539f-9f91-43cc-b5cc-22e9fd214446', 'tenant_id': '7c60733e915442d49deb7ff1c8804aa7', 'network_id': '6953f8a6-dd84-4eb4-8807-16596f699b04', 'mac_address': '02:17:7f:53:9f:9f', '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': '105.114.60.67', 'subnet_id': '3a898083-db35-43cf-a406-91b427bea80f'}], 'security_groups': ['bf4f8a7e-88ac-429e-b2e6-461cf4abcacc'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '7c60733e915442d49deb7ff1c8804aa7'}}
2025-10-09 14:06:31,196 - DEBUG - Created port 177f539f-9f91-43cc-b5cc-22e9fd214446
2025-10-09 14:06:31,300 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/177f539f-9f91-43cc-b5cc-22e9fd214446
2025-10-09 14:06:31,619 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/177f539f-9f91-43cc-b5cc-22e9fd214446
2025-10-09 14:06:31,661 - INFO - VMI 177f539f-9f91-43cc-b5cc-22e9fd214446 verification in API Server passed
2025-10-09 14:06:31,752 - DEBUG - Response for delete_port : ()
2025-10-09 14:06:31,752 - INFO - Deleted port 177f539f-9f91-43cc-b5cc-22e9fd214446
2025-10-09 14:06:31,752 - INFO - Deleting VN ctest-vn-07436338
2025-10-09 14:06:31,864 - DEBUG - Response for deleting network ()
2025-10-09 14:06:32,118 - DEBUG - No XMPP flaps were noticed during the test
2025-10-09 14:06:32,118 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-10-09 14:06:32,118 - INFO - --------------------------------------------------------------------------------
2025-10-09 14:06:32,120 - INFO - ================================================================================
2025-10-09 14:06:32,120 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-10-09 14:06:32,120 - 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-09 14:06:32,410 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.254': '0'}} with
2025-10-09 14:06:32,410 - INFO - Initial checks done. Running the testcase now
2025-10-09 14:06:32,410 - INFO -
2025-10-09 14:06:32,615 - DEBUG - Response for create_network : {'network': {'id': 'c461d0dc-7854-4cfe-a383-a27d6ab799db', 'name': 'ctest-vn1-97267425', 'tenant_id': '7c60733e915442d49deb7ff1c8804aa7', 'project_id': '7c60733e915442d49deb7ff1c8804aa7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-31340875', 'ctest-vn1-97267425'], 'port_security_enabled': True, 'description': ''}}
2025-10-09 14:06:32,814 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f2454d01-ceae-4d5c-8a27-818b876929c0', 'name': '', 'tenant_id': '7c60733e915442d49deb7ff1c8804aa7', 'network_id': 'c461d0dc-7854-4cfe-a383-a27d6ab799db', 'ip_version': 4, 'cidr': '51.120.89.64/26', 'allocation_pools': [{'start': '51.120.89.66', 'end': '51.120.89.126'}], 'gateway_ip': '51.120.89.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '51.120.89.66', 'tags': [], 'project_id': '7c60733e915442d49deb7ff1c8804aa7'}}
2025-10-09 14:06:32,969 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dbb68ddf-32f7-4d5f-aee6-ee6315c7bcb7', 'name': '', 'tenant_id': '7c60733e915442d49deb7ff1c8804aa7', 'network_id': 'c461d0dc-7854-4cfe-a383-a27d6ab799db', 'ip_version': 4, 'cidr': '218.9.160.128/26', 'allocation_pools': [{'start': '218.9.160.130', 'end': '218.9.160.190'}], 'gateway_ip': '218.9.160.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '218.9.160.130', 'tags': [], 'project_id': '7c60733e915442d49deb7ff1c8804aa7'}}
2025-10-09 14:06:32,992 - INFO - Created VN ctest-vn1-97267425
2025-10-09 14:06:33,048 - DEBUG - VN ctest-vn1-97267425 UUID is c461d0dc-7854-4cfe-a383-a27d6ab799db
2025-10-09 14:06:33,381 - DEBUG - Response for create_port : {'port': {'name': '2968e3d2-7168-41a1-bb4e-50933acd233f', 'id': '2968e3d2-7168-41a1-bb4e-50933acd233f', 'tenant_id': '7c60733e915442d49deb7ff1c8804aa7', 'network_id': 'c461d0dc-7854-4cfe-a383-a27d6ab799db', 'mac_address': '02:29:68:e3:d2:71', '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': '51.120.89.69', 'subnet_id': 'f2454d01-ceae-4d5c-8a27-818b876929c0'}], 'security_groups': ['bf4f8a7e-88ac-429e-b2e6-461cf4abcacc'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '7c60733e915442d49deb7ff1c8804aa7'}}
2025-10-09 14:06:33,580 - DEBUG - Response for create_port : {'port': {'name': '291f1b2b-b1a9-4a54-800d-692c3443034c', 'id': '291f1b2b-b1a9-4a54-800d-692c3443034c', 'tenant_id': '7c60733e915442d49deb7ff1c8804aa7', 'network_id': 'c461d0dc-7854-4cfe-a383-a27d6ab799db', 'mac_address': '02:29:1f:1b:2b:b1', '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': '218.9.160.133', 'subnet_id': 'dbb68ddf-32f7-4d5f-aee6-ee6315c7bcb7'}], 'security_groups': ['bf4f8a7e-88ac-429e-b2e6-461cf4abcacc'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '7c60733e915442d49deb7ff1c8804aa7'}}
2025-10-09 14:06:33,637 - DEBUG - Services list from nova: [, , ]
2025-10-09 14:06:34,152 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4262-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4262-1)
2025-10-09 14:06:34,626 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4262-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4262-1)
2025-10-09 14:06:34,626 - INFO - Waiting for VM ctest-vn1-vm1-61268919 to be up..
2025-10-09 14:06:34,681 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-09 14:06:39,781 - DEBUG - VM is in ACTIVE state now
2025-10-09 14:06:39,781 - INFO - VM name : ctest-vn1-vm1-61268919
2025-10-09 14:06:39,885 - DEBUG - VM ctest-vn1-vm1-61268919 ID is 2e102ba7-56ed-458d-a670-8534e5ac3d8b
2025-10-09 14:06:39,911 - DEBUG - VM ctest-vn1-vm1-61268919 launched on Node cn-jenkins-deploy-platform-ansible-os-4262-1
2025-10-09 14:06:40,000 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/2e102ba7-56ed-458d-a670-8534e5ac3d8b
2025-10-09 14:06:40,012 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/2968e3d2-7168-41a1-bb4e-50933acd233f
2025-10-09 14:06:43,285 - 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 1015ms')
2025-10-09 14:06:43,285 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-61268919 failed!
2025-10-09 14:06:43,344 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-31340875:ctest-vn1-97267425 is 51.120.89.65 and allocation pool is NOT set
2025-10-09 14:06:43,344 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-31340875:ctest-vn1-97267425 is 218.9.160.129 and allocation pool is NOT set
2025-10-09 14:06:47,411 - 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=7.76 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 = 7.757/7.757/7.757/0.000 ms')
2025-10-09 14:06:47,412 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-61268919 passed
2025-10-09 14:06:47,572 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-09 14:06:47,572 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-61268919, IP 51.120.89.69, Port 22
2025-10-09 14:06:47,731 - DEBUG - VM ctest-vn1-vm1-61268919 is ready for SSH connections
2025-10-09 14:06:47,731 - INFO - Waiting for VM ctest-vn1-vm2-99613927 to be up..
2025-10-09 14:06:47,817 - DEBUG - VM is in ACTIVE state now
2025-10-09 14:06:47,817 - INFO - VM name : ctest-vn1-vm2-99613927
2025-10-09 14:06:47,910 - DEBUG - VM ctest-vn1-vm2-99613927 ID is 817373e7-fb25-430c-ae51-29684d09a343
2025-10-09 14:06:47,910 - DEBUG - VM ctest-vn1-vm2-99613927 launched on Node cn-jenkins-deploy-platform-ansible-os-4262-1
2025-10-09 14:06:47,994 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/817373e7-fb25-430c-ae51-29684d09a343
2025-10-09 14:06:48,005 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/291f1b2b-b1a9-4a54-800d-692c3443034c
2025-10-09 14:06:49,273 - 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=6.85 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.535 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.535/3.693/6.852/3.158 ms')
2025-10-09 14:06:49,273 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-99613927 passed
2025-10-09 14:06:49,420 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-09 14:06:49,420 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-99613927, IP 218.9.160.133, Port 22
2025-10-09 14:06:49,604 - DEBUG - VM ctest-vn1-vm2-99613927 is ready for SSH connections
2025-10-09 14:06:49,604 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-09 14:06:49,605 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-09 14:06:49,605 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-09 14:06:49,605 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 51.120.89.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123
2025-10-09 14:06:49,605 - DEBUG - ping -s 56 -c 3 -W 1 51.120.89.69
2025-10-09 14:06:52,743 - DEBUG - PING 51.120.89.69 (51.120.89.69): 56 data bytes
64 bytes from 51.120.89.69: seq=0 ttl=63 time=4.205 ms
64 bytes from 51.120.89.69: seq=1 ttl=63 time=0.835 ms
64 bytes from 51.120.89.69: seq=2 ttl=63 time=1.010 ms
--- 51.120.89.69 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.835/2.016/4.205 ms
2025-10-09 14:06:52,743 - INFO - Ping to IP 51.120.89.69 from VM ctest-vn1-vm2-99613927 passed
2025-10-09 14:06:52,743 - INFO - Detaching port 291f1b2b-b1a9-4a54-800d-692c3443034c from VM ctest-vn1-vm2-99613927
2025-10-09 14:06:52,805 - INFO - Deleting VM ctest-vn1-vm2-99613927
2025-10-09 14:06:52,884 - INFO - Detaching port 2968e3d2-7168-41a1-bb4e-50933acd233f from VM ctest-vn1-vm1-61268919
2025-10-09 14:06:52,918 - INFO - Deleting VM ctest-vn1-vm1-61268919
2025-10-09 14:06:53,188 - DEBUG - Response for delete_port : ()
2025-10-09 14:06:53,382 - DEBUG - Response for delete_port : ()
2025-10-09 14:06:53,382 - INFO - Deleting VN ctest-vn1-97267425
2025-10-09 14:06:53,545 - DEBUG - Response for deleting network ()
2025-10-09 14:06:53,820 - DEBUG - No XMPP flaps were noticed during the test
2025-10-09 14:06:53,820 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21]
2025-10-09 14:06:53,820 - INFO - --------------------------------------------------------------------------------
2025-10-09 14:06:54,547 - INFO - Deleted project: ctest-TestPorts-31340875, ID : 7c60733e-9154-42d4-9deb-7ff1c8804aa7