2025-09-21 08:56:36,489 - INFO - Domain Default found not creating 2025-09-21 08:56:36,620 - INFO - Project ctest-TestPorts-08111410 not found, creating it 2025-09-21 08:56:37,049 - INFO - Created Project:ctest-TestPorts-08111410, ID : 071dcff7-6a14-425c-adcf-df09dedd4335 2025-09-21 08:56:39,146 - INFO - ================================================================================ 2025-09-21 08:56:39,146 - INFO - STARTING TEST : test_ports_bindings 2025-09-21 08:56:39,146 - 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-09-21 08:56:39,402 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-21 08:56:39,402 - INFO - Initial checks done. Running the testcase now 2025-09-21 08:56:39,402 - INFO - 2025-09-21 08:56:39,936 - DEBUG - Response for create_network : {'network': {'id': '457bcf9e-5d03-4bfd-bcf2-3a711bf242d8', 'name': 'ctest-vn-64958022', 'tenant_id': '071dcff76a14425cadcfdf09dedd4335', 'project_id': '071dcff76a14425cadcfdf09dedd4335', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-08111410', 'ctest-vn-64958022'], 'port_security_enabled': True, 'description': ''}} 2025-09-21 08:56:40,133 - DEBUG - Response for create_subnet : {'subnet': {'id': '58b95a30-4d8e-4413-97f1-004b4c040129', 'name': '', 'tenant_id': '071dcff76a14425cadcfdf09dedd4335', 'network_id': '457bcf9e-5d03-4bfd-bcf2-3a711bf242d8', 'ip_version': 4, 'cidr': '123.8.87.64/26', 'allocation_pools': [{'start': '123.8.87.66', 'end': '123.8.87.126'}], 'gateway_ip': '123.8.87.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '123.8.87.66', 'tags': [], 'project_id': '071dcff76a14425cadcfdf09dedd4335'}} 2025-09-21 08:56:40,151 - INFO - Created VN ctest-vn-64958022 2025-09-21 08:56:40,202 - DEBUG - VN ctest-vn-64958022 UUID is 457bcf9e-5d03-4bfd-bcf2-3a711bf242d8 2025-09-21 08:56:40,310 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-08111410', 'ctest-vmi-43144706']} 2025-09-21 08:56:40,578 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-43144706', 'id': 'bbef2681-b2da-4a00-8889-3d8c6292d6a7', 'tenant_id': '071dcff76a14425cadcfdf09dedd4335', 'network_id': '457bcf9e-5d03-4bfd-bcf2-3a711bf242d8', 'mac_address': '02:bb:ef:26:81:b2', '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': '123.8.87.67', 'subnet_id': '58b95a30-4d8e-4413-97f1-004b4c040129'}], 'security_groups': ['e0091aa3-2f80-4821-a869-9198b8b19245'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '071dcff76a14425cadcfdf09dedd4335'}} 2025-09-21 08:56:40,578 - DEBUG - Created port bbef2681-b2da-4a00-8889-3d8c6292d6a7 2025-09-21 08:56:40,681 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/bbef2681-b2da-4a00-8889-3d8c6292d6a7 2025-09-21 08:56:40,974 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/bbef2681-b2da-4a00-8889-3d8c6292d6a7 2025-09-21 08:56:41,006 - INFO - VMI bbef2681-b2da-4a00-8889-3d8c6292d6a7 verification in API Server passed 2025-09-21 08:56:41,088 - DEBUG - Response for delete_port : () 2025-09-21 08:56:41,088 - INFO - Deleted port bbef2681-b2da-4a00-8889-3d8c6292d6a7 2025-09-21 08:56:41,088 - INFO - Deleting VN ctest-vn-64958022 2025-09-21 08:56:41,186 - DEBUG - Response for deleting network () 2025-09-21 08:56:41,438 - DEBUG - No XMPP flaps were noticed during the test
2025-09-21 08:56:41,438 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-09-21 08:56:41,438 - INFO - -------------------------------------------------------------------------------- 2025-09-21 08:56:41,441 - INFO - ================================================================================ 2025-09-21 08:56:41,441 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-21 08:56:41,441 - 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-09-21 08:56:41,726 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-21 08:56:41,726 - INFO - Initial checks done. Running the testcase now 2025-09-21 08:56:41,726 - INFO - 2025-09-21 08:56:41,895 - DEBUG - Response for create_network : {'network': {'id': '9f244309-15c7-4aca-b6e4-adbfcd1031ed', 'name': 'ctest-vn1-68701348', 'tenant_id': '071dcff76a14425cadcfdf09dedd4335', 'project_id': '071dcff76a14425cadcfdf09dedd4335', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-08111410', 'ctest-vn1-68701348'], 'port_security_enabled': True, 'description': ''}} 2025-09-21 08:56:42,071 - DEBUG - Response for create_subnet : {'subnet': {'id': '5ed969e9-747e-473b-b990-337575be9388', 'name': '', 'tenant_id': '071dcff76a14425cadcfdf09dedd4335', 'network_id': '9f244309-15c7-4aca-b6e4-adbfcd1031ed', 'ip_version': 4, 'cidr': '21.39.240.192/26', 'allocation_pools': [{'start': '21.39.240.194', 'end': '21.39.240.254'}], 'gateway_ip': '21.39.240.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '21.39.240.194', 'tags': [], 'project_id': '071dcff76a14425cadcfdf09dedd4335'}} 2025-09-21 08:56:42,259 - DEBUG - Response for create_subnet : {'subnet': {'id': '24940d0a-850b-4269-9507-fb35e55a640b', 'name': '', 'tenant_id': '071dcff76a14425cadcfdf09dedd4335', 'network_id': '9f244309-15c7-4aca-b6e4-adbfcd1031ed', 'ip_version': 4, 'cidr': '179.100.48.64/26', 'allocation_pools': [{'start': '179.100.48.66', 'end': '179.100.48.126'}], 'gateway_ip': '179.100.48.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '179.100.48.66', 'tags': [], 'project_id': '071dcff76a14425cadcfdf09dedd4335'}} 2025-09-21 08:56:42,277 - INFO - Created VN ctest-vn1-68701348 2025-09-21 08:56:42,329 - DEBUG - VN ctest-vn1-68701348 UUID is 9f244309-15c7-4aca-b6e4-adbfcd1031ed 2025-09-21 08:56:42,630 - DEBUG - Response for create_port : {'port': {'name': '61a5113e-773c-4fc2-8d13-18b08a55332e', 'id': '61a5113e-773c-4fc2-8d13-18b08a55332e', 'tenant_id': '071dcff76a14425cadcfdf09dedd4335', 'network_id': '9f244309-15c7-4aca-b6e4-adbfcd1031ed', 'mac_address': '02:61:a5:11:3e:77', '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': '21.39.240.197', 'subnet_id': '5ed969e9-747e-473b-b990-337575be9388'}], 'security_groups': ['e0091aa3-2f80-4821-a869-9198b8b19245'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '071dcff76a14425cadcfdf09dedd4335'}} 2025-09-21 08:56:42,789 - DEBUG - Response for create_port : {'port': {'name': 'fd19da9b-e43d-4560-838e-524fba6e3404', 'id': 'fd19da9b-e43d-4560-838e-524fba6e3404', 'tenant_id': '071dcff76a14425cadcfdf09dedd4335', 'network_id': '9f244309-15c7-4aca-b6e4-adbfcd1031ed', 'mac_address': '02:fd:19:da:9b:e4', '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': '179.100.48.69', 'subnet_id': '24940d0a-850b-4269-9507-fb35e55a640b'}], 'security_groups': ['e0091aa3-2f80-4821-a869-9198b8b19245'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '071dcff76a14425cadcfdf09dedd4335'}} 2025-09-21 08:56:42,840 - DEBUG - Services list from nova: [, , ] 2025-09-21 08:56:43,166 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4156-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4156-1) 2025-09-21 08:56:43,541 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4156-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4156-1) 2025-09-21 08:56:43,541 - INFO - Waiting for VM ctest-vn1-vm1-38514653 to be up.. 2025-09-21 08:56:43,588 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-21 08:56:48,663 - DEBUG - VM is in ACTIVE state now 2025-09-21 08:56:48,663 - INFO - VM name : ctest-vn1-vm1-38514653 2025-09-21 08:56:48,736 - DEBUG - VM ctest-vn1-vm1-38514653 ID is 69da0e25-f836-4604-a57e-1b0fb3f7c008 2025-09-21 08:56:48,754 - DEBUG - VM ctest-vn1-vm1-38514653 launched on Node cn-jenkins-deploy-platform-ansible-os-4156-1 2025-09-21 08:56:48,833 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/69da0e25-f836-4604-a57e-1b0fb3f7c008 2025-09-21 08:56:48,841 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/61a5113e-773c-4fc2-8d13-18b08a55332e 2025-09-21 08:56:52,099 - 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 1032ms') 2025-09-21 08:56:52,099 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-38514653 failed! 2025-09-21 08:56:52,153 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-08111410:ctest-vn1-68701348 is 21.39.240.193 and allocation pool is NOT set 2025-09-21 08:56:52,153 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-08111410:ctest-vn1-68701348 is 179.100.48.65 and allocation pool is NOT set 2025-09-21 08:56:54,215 - 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.96 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.09 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.088/3.026/4.964/1.938 ms') 2025-09-21 08:56:54,216 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-38514653 passed 2025-09-21 08:56:54,373 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-21 08:56:54,373 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-38514653, IP 21.39.240.197, Port 22 2025-09-21 08:56:54,525 - DEBUG - VM ctest-vn1-vm1-38514653 is ready for SSH connections 2025-09-21 08:56:54,525 - INFO - Waiting for VM ctest-vn1-vm2-70249393 to be up.. 2025-09-21 08:56:54,596 - DEBUG - VM is in ACTIVE state now 2025-09-21 08:56:54,596 - INFO - VM name : ctest-vn1-vm2-70249393 2025-09-21 08:56:54,666 - DEBUG - VM ctest-vn1-vm2-70249393 ID is 1d2e7f95-1fb2-40c3-b3c9-547bdb563977 2025-09-21 08:56:54,666 - DEBUG - VM ctest-vn1-vm2-70249393 launched on Node cn-jenkins-deploy-platform-ansible-os-4156-1 2025-09-21 08:56:54,734 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/1d2e7f95-1fb2-40c3-b3c9-547bdb563977 2025-09-21 08:56:54,742 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/fd19da9b-e43d-4560-838e-524fba6e3404 2025-09-21 08:56:55,973 - 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.67 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.432 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.432/1.552/2.673/1.120 ms') 2025-09-21 08:56:55,973 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-70249393 passed 2025-09-21 08:56:56,121 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-21 08:56:56,121 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-70249393, IP 179.100.48.69, Port 22 2025-09-21 08:56:56,273 - DEBUG - VM ctest-vn1-vm2-70249393 is ready for SSH connections 2025-09-21 08:56:56,273 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-21 08:56:56,273 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-21 08:56:56,273 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-21 08:56:56,273 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 21.39.240.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-21 08:56:56,273 - DEBUG - ping -s 56 -c 3 -W 1 21.39.240.197 2025-09-21 08:56:59,207 - DEBUG - PING 21.39.240.197 (21.39.240.197): 56 data bytes 64 bytes from 21.39.240.197: seq=0 ttl=63 time=3.697 ms 64 bytes from 21.39.240.197: seq=1 ttl=63 time=0.773 ms 64 bytes from 21.39.240.197: seq=2 ttl=63 time=0.746 ms --- 21.39.240.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.746/1.738/3.697 ms 2025-09-21 08:56:59,207 - INFO - Ping to IP 21.39.240.197 from VM ctest-vn1-vm2-70249393 passed 2025-09-21 08:56:59,207 - INFO - Detaching port fd19da9b-e43d-4560-838e-524fba6e3404 from VM ctest-vn1-vm2-70249393 2025-09-21 08:56:59,254 - INFO - Deleting VM ctest-vn1-vm2-70249393 2025-09-21 08:56:59,317 - INFO - Detaching port 61a5113e-773c-4fc2-8d13-18b08a55332e from VM ctest-vn1-vm1-38514653 2025-09-21 08:56:59,355 - INFO - Deleting VM ctest-vn1-vm1-38514653 2025-09-21 08:56:59,567 - DEBUG - Response for delete_port : () 2025-09-21 08:56:59,718 - DEBUG - Response for delete_port : () 2025-09-21 08:56:59,718 - INFO - Deleting VN ctest-vn1-68701348 2025-09-21 08:56:59,842 - DEBUG - Response for deleting network () 2025-09-21 08:57:00,099 - DEBUG - No XMPP flaps were noticed during the test
2025-09-21 08:57:00,100 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19]
2025-09-21 08:57:00,100 - INFO - -------------------------------------------------------------------------------- 2025-09-21 08:57:00,760 - INFO - Deleted project: ctest-TestPorts-08111410, ID : 071dcff7-6a14-425c-adcf-df09dedd4335