2025-08-11 21:32:34,212 - INFO - Domain Default found not creating
2025-08-11 21:32:34,335 - INFO - Project ctest-TestPorts-93053202 not found, creating it
2025-08-11 21:32:34,767 - INFO - Created Project:ctest-TestPorts-93053202, ID : 80dea936-0cb7-49fd-9ab7-d14f347a2fff
2025-08-11 21:32:36,143 - INFO - ================================================================================
2025-08-11 21:32:36,144 - INFO - STARTING TEST : test_ports_bindings
2025-08-11 21:32:36,144 - 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-11 21:32:36,395 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-08-11 21:32:36,395 - INFO - Initial checks done. Running the testcase now
2025-08-11 21:32:36,395 - INFO -
2025-08-11 21:32:36,905 - DEBUG - Response for create_network : {'network': {'id': '4c8d9e9e-2942-41b3-9f67-911cb03732d0', 'name': 'ctest-vn-77655186', 'tenant_id': '80dea9360cb749fd9ab7d14f347a2fff', 'project_id': '80dea9360cb749fd9ab7d14f347a2fff', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-93053202', 'ctest-vn-77655186'], 'port_security_enabled': True, 'description': ''}}
2025-08-11 21:32:37,048 - DEBUG - Response for create_subnet : {'subnet': {'id': '9e5497d4-acf6-4ab7-b0d7-365439be4d7b', 'name': '', 'tenant_id': '80dea9360cb749fd9ab7d14f347a2fff', 'network_id': '4c8d9e9e-2942-41b3-9f67-911cb03732d0', 'ip_version': 4, 'cidr': '57.21.194.0/26', 'allocation_pools': [{'start': '57.21.194.2', 'end': '57.21.194.62'}], 'gateway_ip': '57.21.194.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '57.21.194.2', 'tags': [], 'project_id': '80dea9360cb749fd9ab7d14f347a2fff'}}
2025-08-11 21:32:37,063 - INFO - Created VN ctest-vn-77655186
2025-08-11 21:32:37,114 - DEBUG - VN ctest-vn-77655186 UUID is 4c8d9e9e-2942-41b3-9f67-911cb03732d0
2025-08-11 21:32:37,209 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-93053202', 'ctest-vmi-94775063']}
2025-08-11 21:32:37,483 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-94775063', 'id': 'bb817380-8ae0-4ee2-83a2-2fce6ccf8945', 'tenant_id': '80dea9360cb749fd9ab7d14f347a2fff', 'network_id': '4c8d9e9e-2942-41b3-9f67-911cb03732d0', 'mac_address': '02:bb:81:73:80:8a', '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': '57.21.194.3', 'subnet_id': '9e5497d4-acf6-4ab7-b0d7-365439be4d7b'}], 'security_groups': ['de425bc1-8119-491d-bbe0-c06f8fbad369'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '80dea9360cb749fd9ab7d14f347a2fff'}}
2025-08-11 21:32:37,483 - DEBUG - Created port bb817380-8ae0-4ee2-83a2-2fce6ccf8945
2025-08-11 21:32:37,586 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/bb817380-8ae0-4ee2-83a2-2fce6ccf8945
2025-08-11 21:32:37,873 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/bb817380-8ae0-4ee2-83a2-2fce6ccf8945
2025-08-11 21:32:37,902 - INFO - VMI bb817380-8ae0-4ee2-83a2-2fce6ccf8945 verification in API Server passed
2025-08-11 21:32:37,993 - DEBUG - Response for delete_port : ()
2025-08-11 21:32:37,993 - INFO - Deleted port bb817380-8ae0-4ee2-83a2-2fce6ccf8945
2025-08-11 21:32:37,994 - INFO - Deleting VN ctest-vn-77655186
2025-08-11 21:32:38,090 - DEBUG - Response for deleting network ()
2025-08-11 21:32:38,344 - DEBUG - No XMPP flaps were noticed during the test
2025-08-11 21:32:38,344 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-08-11 21:32:38,344 - INFO - --------------------------------------------------------------------------------
2025-08-11 21:32:38,347 - INFO - ================================================================================
2025-08-11 21:32:38,347 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-08-11 21:32:38,347 - 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-11 21:32:38,634 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-08-11 21:32:38,634 - INFO - Initial checks done. Running the testcase now
2025-08-11 21:32:38,634 - INFO -
2025-08-11 21:32:38,806 - DEBUG - Response for create_network : {'network': {'id': 'cad488f4-afa6-42d8-be2f-08d8d55a9b6c', 'name': 'ctest-vn1-95223926', 'tenant_id': '80dea9360cb749fd9ab7d14f347a2fff', 'project_id': '80dea9360cb749fd9ab7d14f347a2fff', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-93053202', 'ctest-vn1-95223926'], 'port_security_enabled': True, 'description': ''}}
2025-08-11 21:32:39,004 - DEBUG - Response for create_subnet : {'subnet': {'id': '8fe97b0f-b04a-46e7-a9a8-ea49ea0c87e3', 'name': '', 'tenant_id': '80dea9360cb749fd9ab7d14f347a2fff', 'network_id': 'cad488f4-afa6-42d8-be2f-08d8d55a9b6c', 'ip_version': 4, 'cidr': '175.8.192.64/26', 'allocation_pools': [{'start': '175.8.192.66', 'end': '175.8.192.126'}], 'gateway_ip': '175.8.192.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '175.8.192.66', 'tags': [], 'project_id': '80dea9360cb749fd9ab7d14f347a2fff'}}
2025-08-11 21:32:39,207 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fe96301d-7c1f-4123-8807-705552cb429a', 'name': '', 'tenant_id': '80dea9360cb749fd9ab7d14f347a2fff', 'network_id': 'cad488f4-afa6-42d8-be2f-08d8d55a9b6c', 'ip_version': 4, 'cidr': '80.72.163.64/26', 'allocation_pools': [{'start': '80.72.163.66', 'end': '80.72.163.126'}], 'gateway_ip': '80.72.163.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '80.72.163.66', 'tags': [], 'project_id': '80dea9360cb749fd9ab7d14f347a2fff'}}
2025-08-11 21:32:39,225 - INFO - Created VN ctest-vn1-95223926
2025-08-11 21:32:39,278 - DEBUG - VN ctest-vn1-95223926 UUID is cad488f4-afa6-42d8-be2f-08d8d55a9b6c
2025-08-11 21:32:39,551 - DEBUG - Response for create_port : {'port': {'name': '6718d889-9bab-4ad5-87e7-4e92c99be7a7', 'id': '6718d889-9bab-4ad5-87e7-4e92c99be7a7', 'tenant_id': '80dea9360cb749fd9ab7d14f347a2fff', 'network_id': 'cad488f4-afa6-42d8-be2f-08d8d55a9b6c', 'mac_address': '02:67:18:d8:89:9b', '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': '175.8.192.69', 'subnet_id': '8fe97b0f-b04a-46e7-a9a8-ea49ea0c87e3'}], 'security_groups': ['de425bc1-8119-491d-bbe0-c06f8fbad369'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '80dea9360cb749fd9ab7d14f347a2fff'}}
2025-08-11 21:32:39,710 - DEBUG - Response for create_port : {'port': {'name': 'c992f985-8229-450a-b115-1388bf69948e', 'id': 'c992f985-8229-450a-b115-1388bf69948e', 'tenant_id': '80dea9360cb749fd9ab7d14f347a2fff', 'network_id': 'cad488f4-afa6-42d8-be2f-08d8d55a9b6c', 'mac_address': '02:c9:92:f9:85:82', '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': '80.72.163.69', 'subnet_id': 'fe96301d-7c1f-4123-8807-705552cb429a'}], 'security_groups': ['de425bc1-8119-491d-bbe0-c06f8fbad369'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '80dea9360cb749fd9ab7d14f347a2fff'}}
2025-08-11 21:32:39,758 - DEBUG - Services list from nova: [, , ]
2025-08-11 21:32:40,024 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3824-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3824-1)
2025-08-11 21:32:40,354 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3824-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3824-1)
2025-08-11 21:32:40,354 - INFO - Waiting for VM ctest-vn1-vm1-00719966 to be up..
2025-08-11 21:32:40,387 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-11 21:32:45,451 - DEBUG - VM is in ACTIVE state now
2025-08-11 21:32:45,451 - INFO - VM name : ctest-vn1-vm1-00719966
2025-08-11 21:32:45,513 - DEBUG - VM ctest-vn1-vm1-00719966 ID is 198dffe8-2606-4628-b0e8-36cd15739145
2025-08-11 21:32:45,530 - DEBUG - VM ctest-vn1-vm1-00719966 launched on Node cn-jenkins-deploy-platform-ansible-os-3824-1
2025-08-11 21:32:45,589 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/198dffe8-2606-4628-b0e8-36cd15739145
2025-08-11 21:32:45,597 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/6718d889-9bab-4ad5-87e7-4e92c99be7a7
2025-08-11 21:32:48,844 - 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 1008ms')
2025-08-11 21:32:48,844 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-00719966 failed!
2025-08-11 21:32:48,902 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-93053202:ctest-vn1-95223926 is 175.8.192.65 and allocation pool is NOT set
2025-08-11 21:32:48,902 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-93053202:ctest-vn1-95223926 is 80.72.163.65 and allocation pool is NOT set
2025-08-11 21:32:50,965 - 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.49 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.701 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.701/2.097/3.493/1.396 ms')
2025-08-11 21:32:50,965 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-00719966 passed
2025-08-11 21:32:51,114 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 21:32:51,114 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-00719966, IP 175.8.192.69, Port 22
2025-08-11 21:32:51,265 - DEBUG - VM ctest-vn1-vm1-00719966 is ready for SSH connections
2025-08-11 21:32:51,265 - INFO - Waiting for VM ctest-vn1-vm2-11649528 to be up..
2025-08-11 21:32:51,333 - DEBUG - VM is in ACTIVE state now
2025-08-11 21:32:51,333 - INFO - VM name : ctest-vn1-vm2-11649528
2025-08-11 21:32:51,393 - DEBUG - VM ctest-vn1-vm2-11649528 ID is 0f5bd28c-b149-41f7-9a7f-98e8203f2164
2025-08-11 21:32:51,393 - DEBUG - VM ctest-vn1-vm2-11649528 launched on Node cn-jenkins-deploy-platform-ansible-os-3824-1
2025-08-11 21:32:51,452 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/0f5bd28c-b149-41f7-9a7f-98e8203f2164
2025-08-11 21:32:51,459 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/c992f985-8229-450a-b115-1388bf69948e
2025-08-11 21:32:52,694 - 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.91 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.373 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.373/1.642/2.912/1.269 ms')
2025-08-11 21:32:52,694 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-11649528 passed
2025-08-11 21:32:52,841 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 21:32:52,842 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-11649528, IP 80.72.163.69, Port 22
2025-08-11 21:32:52,992 - DEBUG - VM ctest-vn1-vm2-11649528 is ready for SSH connections
2025-08-11 21:32:52,992 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 21:32:52,992 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 21:32:52,993 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 21:32:52,993 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 175.8.192.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-08-11 21:32:52,993 - DEBUG - ping -s 56 -c 3 -W 1 175.8.192.69
2025-08-11 21:32:55,861 - DEBUG - PING 175.8.192.69 (175.8.192.69): 56 data bytes
64 bytes from 175.8.192.69: seq=0 ttl=63 time=3.340 ms
64 bytes from 175.8.192.69: seq=1 ttl=63 time=0.698 ms
64 bytes from 175.8.192.69: seq=2 ttl=63 time=0.782 ms
--- 175.8.192.69 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.698/1.606/3.340 ms
2025-08-11 21:32:55,861 - INFO - Ping to IP 175.8.192.69 from VM ctest-vn1-vm2-11649528 passed
2025-08-11 21:32:55,861 - INFO - Detaching port c992f985-8229-450a-b115-1388bf69948e from VM ctest-vn1-vm2-11649528
2025-08-11 21:32:55,904 - INFO - Deleting VM ctest-vn1-vm2-11649528
2025-08-11 21:32:55,962 - INFO - Detaching port 6718d889-9bab-4ad5-87e7-4e92c99be7a7 from VM ctest-vn1-vm1-00719966
2025-08-11 21:32:55,989 - INFO - Deleting VM ctest-vn1-vm1-00719966
2025-08-11 21:32:56,223 - DEBUG - Response for delete_port : ()
2025-08-11 21:32:56,395 - DEBUG - Response for delete_port : ()
2025-08-11 21:32:56,395 - INFO - Deleting VN ctest-vn1-95223926
2025-08-11 21:32:56,549 - DEBUG - Response for deleting network ()
2025-08-11 21:32:56,810 - DEBUG - No XMPP flaps were noticed during the test
2025-08-11 21:32:56,810 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:18]
2025-08-11 21:32:56,810 - INFO - --------------------------------------------------------------------------------
2025-08-11 21:32:57,450 - INFO - Deleted project: ctest-TestPorts-93053202, ID : 80dea936-0cb7-49fd-9ab7-d14f347a2fff