2026-04-20 16:51:34,172 - INFO - Domain Default found not creating
2026-04-20 16:51:34,406 - INFO - Project ctest-TestPorts-45912547 not found, creating it
2026-04-20 16:51:35,090 - INFO - Created Project:ctest-TestPorts-45912547, ID : 91b926cc-4143-4dd8-83ac-f5541b7f680f
2026-04-20 16:51:37,016 - INFO - ================================================================================
2026-04-20 16:51:37,016 - INFO - STARTING TEST : test_ports_bindings
2026-04-20 16:51:37,016 - 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
2026-04-20 16:51:38,314 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.193': '0', '10.20.0.25': '0'}, '10.0.0.130': {'10.20.0.193': '0', '10.20.0.25': '0'}} with
2026-04-20 16:51:38,314 - INFO - Initial checks done. Running the testcase now
2026-04-20 16:51:38,314 - INFO -
2026-04-20 16:51:39,141 - DEBUG - Response for create_network : {'network': {'id': '14c699ff-fb07-4c3e-b9a8-72342c8e3cc0', 'name': 'ctest-vn-15831984', 'tenant_id': '91b926cc41434dd883acf5541b7f680f', 'project_id': '91b926cc41434dd883acf5541b7f680f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-45912547', 'ctest-vn-15831984'], 'port_security_enabled': True, 'description': ''}}
2026-04-20 16:51:39,460 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a87dc031-28d4-4583-afba-7706ffafbb5c', 'name': '', 'tenant_id': '91b926cc41434dd883acf5541b7f680f', 'network_id': '14c699ff-fb07-4c3e-b9a8-72342c8e3cc0', 'ip_version': 4, 'cidr': '104.51.94.0/26', 'allocation_pools': [{'start': '104.51.94.2', 'end': '104.51.94.62'}], 'gateway_ip': '104.51.94.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '104.51.94.2', 'tags': [], 'project_id': '91b926cc41434dd883acf5541b7f680f'}}
2026-04-20 16:51:39,488 - INFO - Created VN ctest-vn-15831984
2026-04-20 16:51:39,502 - DEBUG - VN ctest-vn-15831984 UUID is 14c699ff-fb07-4c3e-b9a8-72342c8e3cc0
2026-04-20 16:51:39,593 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-45912547', 'ctest-vmi-09830123']}
2026-04-20 16:51:39,971 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-09830123', 'id': 'baaa83b4-2ca9-4cd4-b68c-6657d2bcf7ff', 'tenant_id': '91b926cc41434dd883acf5541b7f680f', 'network_id': '14c699ff-fb07-4c3e-b9a8-72342c8e3cc0', 'mac_address': '02:ba:aa:83:b4:2c', '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': '104.51.94.3', 'subnet_id': 'a87dc031-28d4-4583-afba-7706ffafbb5c'}], 'security_groups': ['511eacc8-c29f-4492-8fec-b53376cb7e41'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '91b926cc41434dd883acf5541b7f680f'}}
2026-04-20 16:51:39,971 - DEBUG - Created port baaa83b4-2ca9-4cd4-b68c-6657d2bcf7ff
2026-04-20 16:51:40,093 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/baaa83b4-2ca9-4cd4-b68c-6657d2bcf7ff
2026-04-20 16:51:40,412 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/baaa83b4-2ca9-4cd4-b68c-6657d2bcf7ff
2026-04-20 16:51:40,463 - INFO - VMI baaa83b4-2ca9-4cd4-b68c-6657d2bcf7ff verification in API Server passed
2026-04-20 16:51:40,651 - DEBUG - Response for delete_port : ()
2026-04-20 16:51:40,651 - INFO - Deleted port baaa83b4-2ca9-4cd4-b68c-6657d2bcf7ff
2026-04-20 16:51:40,651 - INFO - Deleting VN ctest-vn-15831984
2026-04-20 16:51:40,836 - DEBUG - Response for deleting network ()
2026-04-20 16:51:42,129 - DEBUG - No XMPP flaps were noticed during the test
2026-04-20 16:51:42,129 - INFO - END TEST : test_ports_bindings : PASSED[0:00:05]
2026-04-20 16:51:42,129 - INFO - --------------------------------------------------------------------------------
2026-04-20 16:51:42,131 - INFO - ================================================================================
2026-04-20 16:51:42,132 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-04-20 16:51:42,132 - 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
2026-04-20 16:51:43,419 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.193': '0', '10.20.0.25': '0'}, '10.0.0.130': {'10.20.0.193': '0', '10.20.0.25': '0'}} with
2026-04-20 16:51:43,419 - INFO - Initial checks done. Running the testcase now
2026-04-20 16:51:43,419 - INFO -
2026-04-20 16:51:43,791 - DEBUG - Response for create_network : {'network': {'id': '601289c8-b665-440c-96cc-4d46c62bc52b', 'name': 'ctest-vn1-15072739', 'tenant_id': '91b926cc41434dd883acf5541b7f680f', 'project_id': '91b926cc41434dd883acf5541b7f680f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-45912547', 'ctest-vn1-15072739'], 'port_security_enabled': True, 'description': ''}}
2026-04-20 16:51:44,044 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dd4cf04b-c35f-41e3-a85c-c1bdb200bf22', 'name': '', 'tenant_id': '91b926cc41434dd883acf5541b7f680f', 'network_id': '601289c8-b665-440c-96cc-4d46c62bc52b', 'ip_version': 4, 'cidr': '123.203.65.64/26', 'allocation_pools': [{'start': '123.203.65.66', 'end': '123.203.65.126'}], 'gateway_ip': '123.203.65.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '123.203.65.66', 'tags': [], 'project_id': '91b926cc41434dd883acf5541b7f680f'}}
2026-04-20 16:51:44,315 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd025945c-991e-4024-b15c-e986f9218013', 'name': '', 'tenant_id': '91b926cc41434dd883acf5541b7f680f', 'network_id': '601289c8-b665-440c-96cc-4d46c62bc52b', 'ip_version': 4, 'cidr': '9.122.236.64/26', 'allocation_pools': [{'start': '9.122.236.66', 'end': '9.122.236.126'}], 'gateway_ip': '9.122.236.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '9.122.236.66', 'tags': [], 'project_id': '91b926cc41434dd883acf5541b7f680f'}}
2026-04-20 16:51:44,347 - INFO - Created VN ctest-vn1-15072739
2026-04-20 16:51:44,363 - DEBUG - VN ctest-vn1-15072739 UUID is 601289c8-b665-440c-96cc-4d46c62bc52b
2026-04-20 16:51:44,884 - DEBUG - Response for create_port : {'port': {'name': '0c3f1468-43f5-41ee-bea0-15401beaecf9', 'id': '0c3f1468-43f5-41ee-bea0-15401beaecf9', 'tenant_id': '91b926cc41434dd883acf5541b7f680f', 'network_id': '601289c8-b665-440c-96cc-4d46c62bc52b', 'mac_address': '02:0c:3f:14:68:43', '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': '123.203.65.69', 'subnet_id': 'dd4cf04b-c35f-41e3-a85c-c1bdb200bf22'}], 'security_groups': ['511eacc8-c29f-4492-8fec-b53376cb7e41'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '91b926cc41434dd883acf5541b7f680f'}}
2026-04-20 16:51:45,259 - DEBUG - Response for create_port : {'port': {'name': '0d82bdcb-918b-4d87-bfd5-b3b4849c2797', 'id': '0d82bdcb-918b-4d87-bfd5-b3b4849c2797', 'tenant_id': '91b926cc41434dd883acf5541b7f680f', 'network_id': '601289c8-b665-440c-96cc-4d46c62bc52b', 'mac_address': '02:0d:82:bd:cb:91', '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': '9.122.236.69', 'subnet_id': 'd025945c-991e-4024-b15c-e986f9218013'}], 'security_groups': ['511eacc8-c29f-4492-8fec-b53376cb7e41'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '91b926cc41434dd883acf5541b7f680f'}}
2026-04-20 16:51:45,351 - DEBUG - Services list from nova: [, , , ]
2026-04-20 16:51:45,984 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5654-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5654-2)
2026-04-20 16:51:46,673 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5654-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5654-1)
2026-04-20 16:51:46,673 - INFO - Waiting for VM ctest-vn1-vm1-76368099 to be up..
2026-04-20 16:51:46,754 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-04-20 16:51:51,860 - DEBUG - VM is in ACTIVE state now
2026-04-20 16:51:51,860 - INFO - VM name : ctest-vn1-vm1-76368099
2026-04-20 16:51:51,961 - DEBUG - VM ctest-vn1-vm1-76368099 ID is d3e4e1f1-46ac-4f85-8764-786ddcd8f968
2026-04-20 16:51:51,991 - DEBUG - VM ctest-vn1-vm1-76368099 launched on Node an-jenkins-deploy-platform-ansible-os-5654-2
2026-04-20 16:51:52,108 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/d3e4e1f1-46ac-4f85-8764-786ddcd8f968
2026-04-20 16:51:52,415 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/d3e4e1f1-46ac-4f85-8764-786ddcd8f968
2026-04-20 16:51:52,463 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/0c3f1468-43f5-41ee-bea0-15401beaecf9
2026-04-20 16:51:55,672 - 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 1026ms')
2026-04-20 16:51:55,673 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-76368099 failed!
2026-04-20 16:51:55,689 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-45912547:ctest-vn1-15072739 is 123.203.65.65 and allocation pool is NOT set
2026-04-20 16:51:55,690 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-45912547:ctest-vn1-15072739 is 9.122.236.65 and allocation pool is NOT set
2026-04-20 16:51:57,755 - 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=9.32 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.96 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 = 1.959/5.639/9.320/3.680 ms')
2026-04-20 16:51:57,755 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-76368099 passed
2026-04-20 16:51:57,826 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-20 16:51:57,826 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-76368099, IP 123.203.65.69, Port 22
2026-04-20 16:51:57,985 - DEBUG - VM ctest-vn1-vm1-76368099 is ready for SSH connections
2026-04-20 16:51:57,986 - INFO - Waiting for VM ctest-vn1-vm2-68715843 to be up..
2026-04-20 16:51:58,123 - DEBUG - VM is in ACTIVE state now
2026-04-20 16:51:58,123 - INFO - VM name : ctest-vn1-vm2-68715843
2026-04-20 16:51:58,250 - DEBUG - VM ctest-vn1-vm2-68715843 ID is e8ae2b88-a2ae-475e-80d7-b84d3cc10327
2026-04-20 16:51:58,250 - DEBUG - VM ctest-vn1-vm2-68715843 launched on Node an-jenkins-deploy-platform-ansible-os-5654-1
2026-04-20 16:51:58,474 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/e8ae2b88-a2ae-475e-80d7-b84d3cc10327
2026-04-20 16:51:58,496 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/0d82bdcb-918b-4d87-bfd5-b3b4849c2797
2026-04-20 16:51:59,703 - 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.55 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.724 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.724/2.137/3.550/1.413 ms')
2026-04-20 16:51:59,703 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-68715843 passed
2026-04-20 16:51:59,791 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-20 16:51:59,791 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-68715843, IP 9.122.236.69, Port 22
2026-04-20 16:51:59,963 - DEBUG - VM ctest-vn1-vm2-68715843 is ready for SSH connections
2026-04-20 16:51:59,964 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-20 16:51:59,964 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-20 16:51:59,964 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-20 16:51:59,964 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 123.203.65.69, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2026-04-20 16:51:59,964 - DEBUG - ping -s 56 -c 3 -W 1 123.203.65.69
2026-04-20 16:52:02,953 - DEBUG - PING 123.203.65.69 (123.203.65.69): 56 data bytes
64 bytes from 123.203.65.69: seq=0 ttl=63 time=6.598 ms
64 bytes from 123.203.65.69: seq=1 ttl=63 time=1.436 ms
64 bytes from 123.203.65.69: seq=2 ttl=63 time=1.429 ms
--- 123.203.65.69 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.429/3.154/6.598 ms
2026-04-20 16:52:02,953 - INFO - Ping to IP 123.203.65.69 from VM ctest-vn1-vm2-68715843 passed
2026-04-20 16:52:02,953 - INFO - Detaching port 0d82bdcb-918b-4d87-bfd5-b3b4849c2797 from VM ctest-vn1-vm2-68715843
2026-04-20 16:52:03,023 - INFO - Deleting VM ctest-vn1-vm2-68715843
2026-04-20 16:52:03,128 - INFO - Detaching port 0c3f1468-43f5-41ee-bea0-15401beaecf9 from VM ctest-vn1-vm1-76368099
2026-04-20 16:52:03,172 - INFO - Deleting VM ctest-vn1-vm1-76368099
2026-04-20 16:52:03,613 - DEBUG - Response for delete_port : ()
2026-04-20 16:52:03,956 - DEBUG - Response for delete_port : ()
2026-04-20 16:52:03,956 - INFO - Deleting VN ctest-vn1-15072739
2026-04-20 16:52:04,200 - DEBUG - Response for deleting network ()
2026-04-20 16:52:05,532 - DEBUG - No XMPP flaps were noticed during the test
2026-04-20 16:52:05,532 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:23]
2026-04-20 16:52:05,532 - INFO - --------------------------------------------------------------------------------
2026-04-20 16:52:06,913 - INFO - Deleted project: ctest-TestPorts-45912547, ID : 91b926cc-4143-4dd8-83ac-f5541b7f680f