2025-11-05 08:08:28,952 - INFO - Domain Default found not creating
2025-11-05 08:08:29,128 - INFO - Project ctest-TestPorts-81704039 not found, creating it
2025-11-05 08:08:29,591 - INFO - Created Project:ctest-TestPorts-81704039, ID : 55f4c672-92bc-4e80-bcf9-075e73612d14
2025-11-05 08:08:31,136 - INFO - ================================================================================
2025-11-05 08:08:31,136 - INFO - STARTING TEST : test_ports_bindings
2025-11-05 08:08:31,136 - 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 08:08:31,398 - DEBUG - Nothing to compare xmpp stats {'10.0.0.133': {'10.20.0.14': '0'}} with
2025-11-05 08:08:31,399 - INFO - Initial checks done. Running the testcase now
2025-11-05 08:08:31,399 - INFO -
2025-11-05 08:08:32,019 - DEBUG - Response for create_network : {'network': {'id': 'eb6b49b3-3971-4bbd-9c35-7f0b171ba593', 'name': 'ctest-vn-80574566', 'tenant_id': '55f4c67292bc4e80bcf9075e73612d14', 'project_id': '55f4c67292bc4e80bcf9075e73612d14', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-81704039', 'ctest-vn-80574566'], 'port_security_enabled': True, 'description': ''}}
2025-11-05 08:08:32,295 - DEBUG - Response for create_subnet : {'subnet': {'id': '6ca05e79-70b4-4399-a855-755d2ee5c8e4', 'name': '', 'tenant_id': '55f4c67292bc4e80bcf9075e73612d14', 'network_id': 'eb6b49b3-3971-4bbd-9c35-7f0b171ba593', 'ip_version': 4, 'cidr': '214.167.68.192/26', 'allocation_pools': [{'start': '214.167.68.194', 'end': '214.167.68.254'}], 'gateway_ip': '214.167.68.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '214.167.68.194', 'tags': [], 'project_id': '55f4c67292bc4e80bcf9075e73612d14'}}
2025-11-05 08:08:32,320 - INFO - Created VN ctest-vn-80574566
2025-11-05 08:08:32,373 - DEBUG - VN ctest-vn-80574566 UUID is eb6b49b3-3971-4bbd-9c35-7f0b171ba593
2025-11-05 08:08:32,520 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-81704039', 'ctest-vmi-90709579']}
2025-11-05 08:08:32,793 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-90709579', 'id': '30993e41-36b0-4213-8aad-01e8b5383182', 'tenant_id': '55f4c67292bc4e80bcf9075e73612d14', 'network_id': 'eb6b49b3-3971-4bbd-9c35-7f0b171ba593', 'mac_address': '02:30:99:3e:41:36', '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': '214.167.68.195', 'subnet_id': '6ca05e79-70b4-4399-a855-755d2ee5c8e4'}], 'security_groups': ['b1e71ae4-e1e8-4afd-9278-d44bfea28036'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '55f4c67292bc4e80bcf9075e73612d14'}}
2025-11-05 08:08:32,793 - DEBUG - Created port 30993e41-36b0-4213-8aad-01e8b5383182
2025-11-05 08:08:32,897 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine-interface/30993e41-36b0-4213-8aad-01e8b5383182
2025-11-05 08:08:33,216 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine-interface/30993e41-36b0-4213-8aad-01e8b5383182
2025-11-05 08:08:33,249 - INFO - VMI 30993e41-36b0-4213-8aad-01e8b5383182 verification in API Server passed
2025-11-05 08:08:33,331 - DEBUG - Response for delete_port : ()
2025-11-05 08:08:33,331 - INFO - Deleted port 30993e41-36b0-4213-8aad-01e8b5383182
2025-11-05 08:08:33,331 - INFO - Deleting VN ctest-vn-80574566
2025-11-05 08:08:33,425 - DEBUG - Response for deleting network ()
2025-11-05 08:08:33,677 - DEBUG - No XMPP flaps were noticed during the test
2025-11-05 08:08:33,677 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-11-05 08:08:33,677 - INFO - --------------------------------------------------------------------------------
2025-11-05 08:08:33,679 - INFO - ================================================================================
2025-11-05 08:08:33,680 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-11-05 08:08:33,680 - 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 08:08:33,965 - DEBUG - Nothing to compare xmpp stats {'10.0.0.133': {'10.20.0.14': '0'}} with
2025-11-05 08:08:33,965 - INFO - Initial checks done. Running the testcase now
2025-11-05 08:08:33,965 - INFO -
2025-11-05 08:08:34,149 - DEBUG - Response for create_network : {'network': {'id': '7aa98129-dedc-4416-9e9e-09eb0a74f999', 'name': 'ctest-vn1-09449220', 'tenant_id': '55f4c67292bc4e80bcf9075e73612d14', 'project_id': '55f4c67292bc4e80bcf9075e73612d14', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-81704039', 'ctest-vn1-09449220'], 'port_security_enabled': True, 'description': ''}}
2025-11-05 08:08:34,333 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f3da741c-69a0-47ca-b4b8-5d1b7f0590a5', 'name': '', 'tenant_id': '55f4c67292bc4e80bcf9075e73612d14', 'network_id': '7aa98129-dedc-4416-9e9e-09eb0a74f999', 'ip_version': 4, 'cidr': '31.50.165.0/26', 'allocation_pools': [{'start': '31.50.165.2', 'end': '31.50.165.62'}], 'gateway_ip': '31.50.165.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '31.50.165.2', 'tags': [], 'project_id': '55f4c67292bc4e80bcf9075e73612d14'}}
2025-11-05 08:08:34,460 - DEBUG - Response for create_subnet : {'subnet': {'id': '831538f0-a428-4f9c-b69b-3e56ffd43c6f', 'name': '', 'tenant_id': '55f4c67292bc4e80bcf9075e73612d14', 'network_id': '7aa98129-dedc-4416-9e9e-09eb0a74f999', 'ip_version': 4, 'cidr': '108.173.216.192/26', 'allocation_pools': [{'start': '108.173.216.194', 'end': '108.173.216.254'}], 'gateway_ip': '108.173.216.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '108.173.216.194', 'tags': [], 'project_id': '55f4c67292bc4e80bcf9075e73612d14'}}
2025-11-05 08:08:34,475 - INFO - Created VN ctest-vn1-09449220
2025-11-05 08:08:34,525 - DEBUG - VN ctest-vn1-09449220 UUID is 7aa98129-dedc-4416-9e9e-09eb0a74f999
2025-11-05 08:08:34,850 - DEBUG - Response for create_port : {'port': {'name': '77b07646-4ac1-49b4-a838-55b6e46f8b23', 'id': '77b07646-4ac1-49b4-a838-55b6e46f8b23', 'tenant_id': '55f4c67292bc4e80bcf9075e73612d14', 'network_id': '7aa98129-dedc-4416-9e9e-09eb0a74f999', 'mac_address': '02:77:b0:76:46:4a', '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': '31.50.165.5', 'subnet_id': 'f3da741c-69a0-47ca-b4b8-5d1b7f0590a5'}], 'security_groups': ['b1e71ae4-e1e8-4afd-9278-d44bfea28036'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '55f4c67292bc4e80bcf9075e73612d14'}}
2025-11-05 08:08:35,031 - DEBUG - Response for create_port : {'port': {'name': 'ac73ba71-f576-4476-a0ce-f10fb2948c2e', 'id': 'ac73ba71-f576-4476-a0ce-f10fb2948c2e', 'tenant_id': '55f4c67292bc4e80bcf9075e73612d14', 'network_id': '7aa98129-dedc-4416-9e9e-09eb0a74f999', 'mac_address': '02:ac:73:ba:71:f5', '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': '108.173.216.197', 'subnet_id': '831538f0-a428-4f9c-b69b-3e56ffd43c6f'}], 'security_groups': ['b1e71ae4-e1e8-4afd-9278-d44bfea28036'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '55f4c67292bc4e80bcf9075e73612d14'}}
2025-11-05 08:08:35,107 - DEBUG - Services list from nova: [, , ]
2025-11-05 08:08:35,424 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4631-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4631-1)
2025-11-05 08:08:35,811 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4631-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4631-1)
2025-11-05 08:08:35,811 - INFO - Waiting for VM ctest-vn1-vm1-02670419 to be up..
2025-11-05 08:08:35,846 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-05 08:08:40,915 - DEBUG - VM is in ACTIVE state now
2025-11-05 08:08:40,915 - INFO - VM name : ctest-vn1-vm1-02670419
2025-11-05 08:08:40,975 - DEBUG - VM ctest-vn1-vm1-02670419 ID is 8403d3de-ba28-4f23-bb76-2ceac9a61f49
2025-11-05 08:08:40,992 - DEBUG - VM ctest-vn1-vm1-02670419 launched on Node cn-jenkins-deploy-platform-ansible-os-4631-1
2025-11-05 08:08:41,059 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine/8403d3de-ba28-4f23-bb76-2ceac9a61f49
2025-11-05 08:08:41,068 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine-interface/77b07646-4ac1-49b4-a838-55b6e46f8b23
2025-11-05 08:08:44,306 - 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 1006ms')
2025-11-05 08:08:44,307 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-02670419 failed!
2025-11-05 08:08:44,361 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-81704039:ctest-vn1-09449220 is 31.50.165.1 and allocation pool is NOT set
2025-11-05 08:08:44,361 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-81704039:ctest-vn1-09449220 is 108.173.216.193 and allocation pool is NOT set
2025-11-05 08:08:46,422 - 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=4.88 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.874 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.874/2.878/4.883/2.004 ms')
2025-11-05 08:08:46,422 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-02670419 passed
2025-11-05 08:08:46,569 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-05 08:08:46,569 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-02670419, IP 31.50.165.5, Port 22
2025-11-05 08:08:46,724 - DEBUG - VM ctest-vn1-vm1-02670419 is ready for SSH connections
2025-11-05 08:08:46,724 - INFO - Waiting for VM ctest-vn1-vm2-94913292 to be up..
2025-11-05 08:08:46,794 - DEBUG - VM is in ACTIVE state now
2025-11-05 08:08:46,794 - INFO - VM name : ctest-vn1-vm2-94913292
2025-11-05 08:08:46,861 - DEBUG - VM ctest-vn1-vm2-94913292 ID is 4cb8d393-9be0-41db-9fac-0cd9782f7b60
2025-11-05 08:08:46,861 - DEBUG - VM ctest-vn1-vm2-94913292 launched on Node cn-jenkins-deploy-platform-ansible-os-4631-1
2025-11-05 08:08:46,929 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine/4cb8d393-9be0-41db-9fac-0cd9782f7b60
2025-11-05 08:08:46,940 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine-interface/ac73ba71-f576-4476-a0ce-f10fb2948c2e
2025-11-05 08:08:48,175 - 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.31 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.287 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.287/1.796/3.306/1.509 ms')
2025-11-05 08:08:48,175 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-94913292 passed
2025-11-05 08:08:48,325 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-05 08:08:48,325 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-94913292, IP 108.173.216.197, Port 22
2025-11-05 08:08:48,485 - DEBUG - VM ctest-vn1-vm2-94913292 is ready for SSH connections
2025-11-05 08:08:48,485 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-05 08:08:48,485 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-05 08:08:48,485 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-05 08:08:48,485 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 31.50.165.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.133, gateway password: c0ntrail123
2025-11-05 08:08:48,485 - DEBUG - ping -s 56 -c 3 -W 1 31.50.165.5
2025-11-05 08:08:51,086 - DEBUG - PING 31.50.165.5 (31.50.165.5): 56 data bytes
64 bytes from 31.50.165.5: seq=0 ttl=63 time=4.414 ms
64 bytes from 31.50.165.5: seq=1 ttl=63 time=0.885 ms
64 bytes from 31.50.165.5: seq=2 ttl=63 time=1.095 ms
--- 31.50.165.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.885/2.131/4.414 ms
2025-11-05 08:08:51,086 - INFO - Ping to IP 31.50.165.5 from VM ctest-vn1-vm2-94913292 passed
2025-11-05 08:08:51,086 - INFO - Detaching port ac73ba71-f576-4476-a0ce-f10fb2948c2e from VM ctest-vn1-vm2-94913292
2025-11-05 08:08:51,133 - INFO - Deleting VM ctest-vn1-vm2-94913292
2025-11-05 08:08:51,196 - INFO - Detaching port 77b07646-4ac1-49b4-a838-55b6e46f8b23 from VM ctest-vn1-vm1-02670419
2025-11-05 08:08:51,228 - INFO - Deleting VM ctest-vn1-vm1-02670419
2025-11-05 08:08:51,471 - DEBUG - Response for delete_port : ()
2025-11-05 08:08:51,656 - DEBUG - Response for delete_port : ()
2025-11-05 08:08:51,656 - INFO - Deleting VN ctest-vn1-09449220
2025-11-05 08:08:51,806 - DEBUG - Response for deleting network ()
2025-11-05 08:08:52,061 - DEBUG - No XMPP flaps were noticed during the test
2025-11-05 08:08:52,062 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19]
2025-11-05 08:08:52,062 - INFO - --------------------------------------------------------------------------------
2025-11-05 08:08:52,776 - INFO - Deleted project: ctest-TestPorts-81704039, ID : 55f4c672-92bc-4e80-bcf9-075e73612d14