2025-11-27 02:18:47,830 - INFO - Domain Default found not creating 2025-11-27 02:18:48,001 - INFO - Project ctest-TestPorts-99553045 not found, creating it 2025-11-27 02:18:48,509 - INFO - Created Project:ctest-TestPorts-99553045, ID : 2d648d22-45d9-48ab-86dc-706ee4ea6191 2025-11-27 02:18:50,006 - INFO - ================================================================================ 2025-11-27 02:18:50,007 - INFO - STARTING TEST : test_ports_bindings 2025-11-27 02:18:50,007 - 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-27 02:18:51,290 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.193': '0', '10.20.0.192': '0'}, '10.0.0.130': {'10.20.0.192': '0', '10.20.0.129': '0'}} with 2025-11-27 02:18:51,290 - INFO - Initial checks done. Running the testcase now 2025-11-27 02:18:51,290 - INFO - 2025-11-27 02:18:51,949 - DEBUG - Response for create_network : {'network': {'id': 'd3c2bca9-29b2-42a6-8f35-6e9c3a0ee865', 'name': 'ctest-vn-79347295', 'tenant_id': '2d648d2245d948ab86dc706ee4ea6191', 'project_id': '2d648d2245d948ab86dc706ee4ea6191', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-99553045', 'ctest-vn-79347295'], 'port_security_enabled': True, 'description': ''}} 2025-11-27 02:18:52,194 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f51c50ec-1681-4444-abdb-1c6392f8ed9d', 'name': '', 'tenant_id': '2d648d2245d948ab86dc706ee4ea6191', 'network_id': 'd3c2bca9-29b2-42a6-8f35-6e9c3a0ee865', 'ip_version': 4, 'cidr': '215.106.101.0/26', 'allocation_pools': [{'start': '215.106.101.2', 'end': '215.106.101.62'}], 'gateway_ip': '215.106.101.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '215.106.101.2', 'tags': [], 'project_id': '2d648d2245d948ab86dc706ee4ea6191'}} 2025-11-27 02:18:52,221 - INFO - Created VN ctest-vn-79347295 2025-11-27 02:18:52,231 - DEBUG - VN ctest-vn-79347295 UUID is d3c2bca9-29b2-42a6-8f35-6e9c3a0ee865 2025-11-27 02:18:52,306 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-99553045', 'ctest-vmi-26764262']} 2025-11-27 02:18:52,590 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-26764262', 'id': '999697ea-3566-4f4f-b154-bcea9ab35c28', 'tenant_id': '2d648d2245d948ab86dc706ee4ea6191', 'network_id': 'd3c2bca9-29b2-42a6-8f35-6e9c3a0ee865', 'mac_address': '02:99:96:97:ea:35', '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': '215.106.101.3', 'subnet_id': 'f51c50ec-1681-4444-abdb-1c6392f8ed9d'}], 'security_groups': ['999676fd-9025-4d01-8707-db39a0915394'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '2d648d2245d948ab86dc706ee4ea6191'}} 2025-11-27 02:18:52,591 - DEBUG - Created port 999697ea-3566-4f4f-b154-bcea9ab35c28 2025-11-27 02:18:52,660 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/999697ea-3566-4f4f-b154-bcea9ab35c28 2025-11-27 02:18:52,955 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/999697ea-3566-4f4f-b154-bcea9ab35c28 2025-11-27 02:18:52,991 - INFO - VMI 999697ea-3566-4f4f-b154-bcea9ab35c28 verification in API Server passed 2025-11-27 02:18:53,129 - DEBUG - Response for delete_port : () 2025-11-27 02:18:53,129 - INFO - Deleted port 999697ea-3566-4f4f-b154-bcea9ab35c28 2025-11-27 02:18:53,129 - INFO - Deleting VN ctest-vn-79347295 2025-11-27 02:18:53,271 - DEBUG - Response for deleting network () 2025-11-27 02:18:54,540 - DEBUG - No XMPP flaps were noticed during the test
2025-11-27 02:18:54,540 - INFO - END TEST : test_ports_bindings : PASSED[0:00:04]
2025-11-27 02:18:54,540 - INFO - -------------------------------------------------------------------------------- 2025-11-27 02:18:54,542 - INFO - ================================================================================ 2025-11-27 02:18:54,542 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-27 02:18:54,542 - 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-27 02:18:55,818 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.193': '0', '10.20.0.192': '0'}, '10.0.0.130': {'10.20.0.192': '0', '10.20.0.129': '0'}} with 2025-11-27 02:18:55,818 - INFO - Initial checks done. Running the testcase now 2025-11-27 02:18:55,818 - INFO - 2025-11-27 02:18:56,150 - DEBUG - Response for create_network : {'network': {'id': 'e2b6f097-dcae-4d03-b9bd-6f11dd54dd86', 'name': 'ctest-vn1-08307660', 'tenant_id': '2d648d2245d948ab86dc706ee4ea6191', 'project_id': '2d648d2245d948ab86dc706ee4ea6191', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-99553045', 'ctest-vn1-08307660'], 'port_security_enabled': True, 'description': ''}} 2025-11-27 02:18:56,375 - DEBUG - Response for create_subnet : {'subnet': {'id': 'afcbba1c-4c0b-4d3c-8b32-3ab533cb6213', 'name': '', 'tenant_id': '2d648d2245d948ab86dc706ee4ea6191', 'network_id': 'e2b6f097-dcae-4d03-b9bd-6f11dd54dd86', 'ip_version': 4, 'cidr': '193.180.158.64/26', 'allocation_pools': [{'start': '193.180.158.66', 'end': '193.180.158.126'}], 'gateway_ip': '193.180.158.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '193.180.158.66', 'tags': [], 'project_id': '2d648d2245d948ab86dc706ee4ea6191'}} 2025-11-27 02:18:56,644 - DEBUG - Response for create_subnet : {'subnet': {'id': '5dbb201d-eab2-4726-a77f-6e12d863466c', 'name': '', 'tenant_id': '2d648d2245d948ab86dc706ee4ea6191', 'network_id': 'e2b6f097-dcae-4d03-b9bd-6f11dd54dd86', 'ip_version': 4, 'cidr': '3.234.16.128/26', 'allocation_pools': [{'start': '3.234.16.130', 'end': '3.234.16.190'}], 'gateway_ip': '3.234.16.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '3.234.16.130', 'tags': [], 'project_id': '2d648d2245d948ab86dc706ee4ea6191'}} 2025-11-27 02:18:56,672 - INFO - Created VN ctest-vn1-08307660 2025-11-27 02:18:56,685 - DEBUG - VN ctest-vn1-08307660 UUID is e2b6f097-dcae-4d03-b9bd-6f11dd54dd86 2025-11-27 02:18:57,067 - DEBUG - Response for create_port : {'port': {'name': 'cc55397e-7912-458b-9034-c294de078c5f', 'id': 'cc55397e-7912-458b-9034-c294de078c5f', 'tenant_id': '2d648d2245d948ab86dc706ee4ea6191', 'network_id': 'e2b6f097-dcae-4d03-b9bd-6f11dd54dd86', 'mac_address': '02:cc:55:39:7e:79', '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': '193.180.158.69', 'subnet_id': 'afcbba1c-4c0b-4d3c-8b32-3ab533cb6213'}], 'security_groups': ['999676fd-9025-4d01-8707-db39a0915394'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '2d648d2245d948ab86dc706ee4ea6191'}} 2025-11-27 02:18:57,364 - DEBUG - Response for create_port : {'port': {'name': 'a1d772db-3604-4065-9e4a-2f420218f1a0', 'id': 'a1d772db-3604-4065-9e4a-2f420218f1a0', 'tenant_id': '2d648d2245d948ab86dc706ee4ea6191', 'network_id': 'e2b6f097-dcae-4d03-b9bd-6f11dd54dd86', 'mac_address': '02:a1:d7:72:db:36', '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': '3.234.16.133', 'subnet_id': '5dbb201d-eab2-4726-a77f-6e12d863466c'}], 'security_groups': ['999676fd-9025-4d01-8707-db39a0915394'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '2d648d2245d948ab86dc706ee4ea6191'}} 2025-11-27 02:18:57,423 - DEBUG - Services list from nova: [, , , ] 2025-11-27 02:18:57,863 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4820-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4820-2) 2025-11-27 02:18:58,339 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4820-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4820-1) 2025-11-27 02:18:58,340 - INFO - Waiting for VM ctest-vn1-vm1-63931400 to be up.. 2025-11-27 02:18:58,403 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-27 02:19:03,490 - DEBUG - VM is in ACTIVE state now 2025-11-27 02:19:03,490 - INFO - VM name : ctest-vn1-vm1-63931400 2025-11-27 02:19:03,567 - DEBUG - VM ctest-vn1-vm1-63931400 ID is 06b84b24-0782-497b-9d14-78d2d331b10c 2025-11-27 02:19:03,592 - DEBUG - VM ctest-vn1-vm1-63931400 launched on Node an-jenkins-deploy-platform-ansible-os-4820-2 2025-11-27 02:19:03,674 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/06b84b24-0782-497b-9d14-78d2d331b10c 2025-11-27 02:19:03,982 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/06b84b24-0782-497b-9d14-78d2d331b10c 2025-11-27 02:19:04,021 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/cc55397e-7912-458b-9034-c294de078c5f 2025-11-27 02:19:07,177 - 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 1011ms') 2025-11-27 02:19:07,178 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-63931400 failed! 2025-11-27 02:19:07,191 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-99553045:ctest-vn1-08307660 is 193.180.158.65 and allocation pool is NOT set 2025-11-27 02:19:07,191 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-99553045:ctest-vn1-08307660 is 3.234.16.129 and allocation pool is NOT set 2025-11-27 02:19:09,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=1 ttl=63 time=3.90 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.86 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 = 1.856/2.877/3.899/1.021 ms') 2025-11-27 02:19:09,251 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-63931400 passed 2025-11-27 02:19:09,324 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-27 02:19:09,324 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-63931400, IP 193.180.158.69, Port 22 2025-11-27 02:19:09,480 - DEBUG - VM ctest-vn1-vm1-63931400 is ready for SSH connections 2025-11-27 02:19:09,480 - INFO - Waiting for VM ctest-vn1-vm2-92099290 to be up.. 2025-11-27 02:19:09,577 - DEBUG - VM is in ACTIVE state now 2025-11-27 02:19:09,577 - INFO - VM name : ctest-vn1-vm2-92099290 2025-11-27 02:19:09,756 - DEBUG - VM ctest-vn1-vm2-92099290 ID is affc6d1d-313d-49c5-8d10-e9077b47a16c 2025-11-27 02:19:09,757 - DEBUG - VM ctest-vn1-vm2-92099290 launched on Node an-jenkins-deploy-platform-ansible-os-4820-1 2025-11-27 02:19:09,829 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/affc6d1d-313d-49c5-8d10-e9077b47a16c 2025-11-27 02:19:09,837 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/a1d772db-3604-4065-9e4a-2f420218f1a0 2025-11-27 02:19:10,998 - 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.68 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.78 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 = 1.782/3.232/4.683/1.450 ms') 2025-11-27 02:19:10,998 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-92099290 passed 2025-11-27 02:19:11,064 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-27 02:19:11,064 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-92099290, IP 3.234.16.133, Port 22 2025-11-27 02:19:11,223 - DEBUG - VM ctest-vn1-vm2-92099290 is ready for SSH connections 2025-11-27 02:19:11,223 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-27 02:19:11,223 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-27 02:19:11,223 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-27 02:19:11,223 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 193.180.158.69, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-11-27 02:19:11,223 - DEBUG - ping -s 56 -c 3 -W 1 193.180.158.69 2025-11-27 02:19:14,122 - DEBUG - PING 193.180.158.69 (193.180.158.69): 56 data bytes 64 bytes from 193.180.158.69: seq=0 ttl=63 time=5.817 ms 64 bytes from 193.180.158.69: seq=1 ttl=63 time=1.169 ms 64 bytes from 193.180.158.69: seq=2 ttl=63 time=1.272 ms --- 193.180.158.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.169/2.752/5.817 ms 2025-11-27 02:19:14,122 - INFO - Ping to IP 193.180.158.69 from VM ctest-vn1-vm2-92099290 passed 2025-11-27 02:19:14,123 - INFO - Detaching port a1d772db-3604-4065-9e4a-2f420218f1a0 from VM ctest-vn1-vm2-92099290 2025-11-27 02:19:14,175 - INFO - Deleting VM ctest-vn1-vm2-92099290 2025-11-27 02:19:14,237 - INFO - Detaching port cc55397e-7912-458b-9034-c294de078c5f from VM ctest-vn1-vm1-63931400 2025-11-27 02:19:14,266 - INFO - Deleting VM ctest-vn1-vm1-63931400 2025-11-27 02:19:14,570 - DEBUG - Response for delete_port : () 2025-11-27 02:19:14,809 - DEBUG - Response for delete_port : () 2025-11-27 02:19:14,809 - INFO - Deleting VN ctest-vn1-08307660 2025-11-27 02:19:15,002 - DEBUG - Response for deleting network () 2025-11-27 02:19:16,341 - DEBUG - No XMPP flaps were noticed during the test
2025-11-27 02:19:16,341 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:22]
2025-11-27 02:19:16,341 - INFO - -------------------------------------------------------------------------------- 2025-11-27 02:19:17,745 - INFO - Deleted project: ctest-TestPorts-99553045, ID : 2d648d22-45d9-48ab-86dc-706ee4ea6191