2025-10-09 11:15:42,466 - INFO - Domain Default found not creating 2025-10-09 11:15:42,622 - INFO - Project ctest-TestPorts-19097820 not found, creating it 2025-10-09 11:15:43,081 - INFO - Created Project:ctest-TestPorts-19097820, ID : 96d0b8d3-ce83-4685-a4d5-c2b955c69b2c 2025-10-09 11:15:44,538 - INFO - ================================================================================ 2025-10-09 11:15:44,538 - INFO - STARTING TEST : test_ports_bindings 2025-10-09 11:15:44,538 - 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-10-09 11:15:44,793 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-10-09 11:15:44,793 - INFO - Initial checks done. Running the testcase now 2025-10-09 11:15:44,793 - INFO - 2025-10-09 11:15:45,356 - DEBUG - Response for create_network : {'network': {'id': '5789624a-ce9a-4f0b-abfd-54995540043a', 'name': 'ctest-vn-74956426', 'tenant_id': '96d0b8d3ce834685a4d5c2b955c69b2c', 'project_id': '96d0b8d3ce834685a4d5c2b955c69b2c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-19097820', 'ctest-vn-74956426'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 11:15:45,560 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f4d6caa4-01e5-4106-ac65-b98735d0a945', 'name': '', 'tenant_id': '96d0b8d3ce834685a4d5c2b955c69b2c', 'network_id': '5789624a-ce9a-4f0b-abfd-54995540043a', 'ip_version': 4, 'cidr': '99.187.93.192/26', 'allocation_pools': [{'start': '99.187.93.194', 'end': '99.187.93.254'}], 'gateway_ip': '99.187.93.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '99.187.93.194', 'tags': [], 'project_id': '96d0b8d3ce834685a4d5c2b955c69b2c'}} 2025-10-09 11:15:45,577 - INFO - Created VN ctest-vn-74956426 2025-10-09 11:15:45,628 - DEBUG - VN ctest-vn-74956426 UUID is 5789624a-ce9a-4f0b-abfd-54995540043a 2025-10-09 11:15:45,736 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-19097820', 'ctest-vmi-07394692']} 2025-10-09 11:15:45,981 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-07394692', 'id': '8193f0ef-fd99-49c2-a422-7df20d9c13de', 'tenant_id': '96d0b8d3ce834685a4d5c2b955c69b2c', 'network_id': '5789624a-ce9a-4f0b-abfd-54995540043a', 'mac_address': '02:81:93:f0:ef:fd', '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': '99.187.93.195', 'subnet_id': 'f4d6caa4-01e5-4106-ac65-b98735d0a945'}], 'security_groups': ['2d51a2d3-c4e1-40e2-bfda-78a3d65b1e07'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '96d0b8d3ce834685a4d5c2b955c69b2c'}} 2025-10-09 11:15:45,981 - DEBUG - Created port 8193f0ef-fd99-49c2-a422-7df20d9c13de 2025-10-09 11:15:46,084 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/8193f0ef-fd99-49c2-a422-7df20d9c13de 2025-10-09 11:15:46,378 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/8193f0ef-fd99-49c2-a422-7df20d9c13de 2025-10-09 11:15:46,410 - INFO - VMI 8193f0ef-fd99-49c2-a422-7df20d9c13de verification in API Server passed 2025-10-09 11:15:46,504 - DEBUG - Response for delete_port : () 2025-10-09 11:15:46,504 - INFO - Deleted port 8193f0ef-fd99-49c2-a422-7df20d9c13de 2025-10-09 11:15:46,504 - INFO - Deleting VN ctest-vn-74956426 2025-10-09 11:15:46,606 - DEBUG - Response for deleting network () 2025-10-09 11:15:46,865 - DEBUG - No XMPP flaps were noticed during the test 2025-10-09 11:15:46,865 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-10-09 11:15:46,865 - INFO - -------------------------------------------------------------------------------- 2025-10-09 11:15:46,867 - INFO - ================================================================================ 2025-10-09 11:15:46,867 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-09 11:15:46,868 - 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-10-09 11:15:47,153 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-10-09 11:15:47,153 - INFO - Initial checks done. Running the testcase now 2025-10-09 11:15:47,153 - INFO - 2025-10-09 11:15:47,352 - DEBUG - Response for create_network : {'network': {'id': 'e9e4275c-3a0c-4920-acfc-ae16e15ca3ed', 'name': 'ctest-vn1-24486684', 'tenant_id': '96d0b8d3ce834685a4d5c2b955c69b2c', 'project_id': '96d0b8d3ce834685a4d5c2b955c69b2c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-19097820', 'ctest-vn1-24486684'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 11:15:47,557 - DEBUG - Response for create_subnet : {'subnet': {'id': '0ce735df-eb42-4a39-ab5c-f9495e7dc6c3', 'name': '', 'tenant_id': '96d0b8d3ce834685a4d5c2b955c69b2c', 'network_id': 'e9e4275c-3a0c-4920-acfc-ae16e15ca3ed', 'ip_version': 4, 'cidr': '172.253.177.192/26', 'allocation_pools': [{'start': '172.253.177.194', 'end': '172.253.177.254'}], 'gateway_ip': '172.253.177.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '172.253.177.194', 'tags': [], 'project_id': '96d0b8d3ce834685a4d5c2b955c69b2c'}} 2025-10-09 11:15:47,760 - DEBUG - Response for create_subnet : {'subnet': {'id': '9c482424-d052-4d04-b8ce-cd7bd1adda4e', 'name': '', 'tenant_id': '96d0b8d3ce834685a4d5c2b955c69b2c', 'network_id': 'e9e4275c-3a0c-4920-acfc-ae16e15ca3ed', 'ip_version': 4, 'cidr': '111.174.112.64/26', 'allocation_pools': [{'start': '111.174.112.66', 'end': '111.174.112.126'}], 'gateway_ip': '111.174.112.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '111.174.112.66', 'tags': [], 'project_id': '96d0b8d3ce834685a4d5c2b955c69b2c'}} 2025-10-09 11:15:47,782 - INFO - Created VN ctest-vn1-24486684 2025-10-09 11:15:47,836 - DEBUG - VN ctest-vn1-24486684 UUID is e9e4275c-3a0c-4920-acfc-ae16e15ca3ed 2025-10-09 11:15:48,145 - DEBUG - Response for create_port : {'port': {'name': '0b6e354b-6a4d-46eb-b227-a2ab540b1beb', 'id': '0b6e354b-6a4d-46eb-b227-a2ab540b1beb', 'tenant_id': '96d0b8d3ce834685a4d5c2b955c69b2c', 'network_id': 'e9e4275c-3a0c-4920-acfc-ae16e15ca3ed', 'mac_address': '02:0b:6e:35:4b:6a', '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': '172.253.177.197', 'subnet_id': '0ce735df-eb42-4a39-ab5c-f9495e7dc6c3'}], 'security_groups': ['2d51a2d3-c4e1-40e2-bfda-78a3d65b1e07'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '96d0b8d3ce834685a4d5c2b955c69b2c'}} 2025-10-09 11:15:48,331 - DEBUG - Response for create_port : {'port': {'name': '0b2b01a4-39bd-4468-a203-2d1eaf5efc16', 'id': '0b2b01a4-39bd-4468-a203-2d1eaf5efc16', 'tenant_id': '96d0b8d3ce834685a4d5c2b955c69b2c', 'network_id': 'e9e4275c-3a0c-4920-acfc-ae16e15ca3ed', 'mac_address': '02:0b:2b:01:a4:39', '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': '111.174.112.69', 'subnet_id': '9c482424-d052-4d04-b8ce-cd7bd1adda4e'}], 'security_groups': ['2d51a2d3-c4e1-40e2-bfda-78a3d65b1e07'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '96d0b8d3ce834685a4d5c2b955c69b2c'}} 2025-10-09 11:15:48,390 - DEBUG - Services list from nova: [, , ] 2025-10-09 11:15:48,745 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4258-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4258-1) 2025-10-09 11:15:49,168 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4258-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4258-1) 2025-10-09 11:15:49,168 - INFO - Waiting for VM ctest-vn1-vm1-89503534 to be up.. 2025-10-09 11:15:49,214 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-09 11:15:54,296 - DEBUG - VM is in ACTIVE state now 2025-10-09 11:15:54,296 - INFO - VM name : ctest-vn1-vm1-89503534 2025-10-09 11:15:54,379 - DEBUG - VM ctest-vn1-vm1-89503534 ID is d6b8033b-36ea-4d1f-aae3-d4cb5f4ae483 2025-10-09 11:15:54,401 - DEBUG - VM ctest-vn1-vm1-89503534 launched on Node cn-jenkins-deploy-platform-ansible-os-4258-1 2025-10-09 11:15:54,486 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/d6b8033b-36ea-4d1f-aae3-d4cb5f4ae483 2025-10-09 11:15:54,497 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/0b6e354b-6a4d-46eb-b227-a2ab540b1beb 2025-10-09 11:15:57,764 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1018ms') 2025-10-09 11:15:57,764 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-89503534 failed! 2025-10-09 11:15:57,820 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-19097820:ctest-vn1-24486684 is 172.253.177.193 and allocation pool is NOT set 2025-10-09 11:15:57,820 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-19097820:ctest-vn1-24486684 is 111.174.112.65 and allocation pool is NOT set 2025-10-09 11:15:59,883 - 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=12.4 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.74 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 = 2.737/7.557/12.378/4.820 ms') 2025-10-09 11:15:59,883 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-89503534 passed 2025-10-09 11:16:00,032 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 11:16:00,032 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-89503534, IP 172.253.177.197, Port 22 2025-10-09 11:16:00,187 - DEBUG - VM ctest-vn1-vm1-89503534 is ready for SSH connections 2025-10-09 11:16:00,187 - INFO - Waiting for VM ctest-vn1-vm2-25143392 to be up.. 2025-10-09 11:16:00,277 - DEBUG - VM is in ACTIVE state now 2025-10-09 11:16:00,277 - INFO - VM name : ctest-vn1-vm2-25143392 2025-10-09 11:16:00,361 - DEBUG - VM ctest-vn1-vm2-25143392 ID is cfa7dfe7-0ff4-4f13-9554-57c5352beafd 2025-10-09 11:16:00,361 - DEBUG - VM ctest-vn1-vm2-25143392 launched on Node cn-jenkins-deploy-platform-ansible-os-4258-1 2025-10-09 11:16:00,448 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/cfa7dfe7-0ff4-4f13-9554-57c5352beafd 2025-10-09 11:16:00,458 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/0b2b01a4-39bd-4468-a203-2d1eaf5efc16 2025-10-09 11:16:01,706 - 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.05 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.849 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.849/2.448/4.048/1.599 ms') 2025-10-09 11:16:01,706 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-25143392 passed 2025-10-09 11:16:01,860 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 11:16:01,860 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-25143392, IP 111.174.112.69, Port 22 2025-10-09 11:16:02,015 - DEBUG - VM ctest-vn1-vm2-25143392 is ready for SSH connections 2025-10-09 11:16:02,015 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 11:16:02,016 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 11:16:02,016 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 11:16:02,016 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 172.253.177.197, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-09 11:16:02,016 - DEBUG - ping -s 56 -c 3 -W 1 172.253.177.197 2025-10-09 11:16:05,773 - DEBUG - PING 172.253.177.197 (172.253.177.197): 56 data bytes 64 bytes from 172.253.177.197: seq=0 ttl=63 time=4.656 ms 64 bytes from 172.253.177.197: seq=1 ttl=63 time=0.943 ms 64 bytes from 172.253.177.197: seq=2 ttl=63 time=1.290 ms --- 172.253.177.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.943/2.296/4.656 ms 2025-10-09 11:16:05,773 - INFO - Ping to IP 172.253.177.197 from VM ctest-vn1-vm2-25143392 passed 2025-10-09 11:16:05,773 - INFO - Detaching port 0b2b01a4-39bd-4468-a203-2d1eaf5efc16 from VM ctest-vn1-vm2-25143392 2025-10-09 11:16:05,829 - INFO - Deleting VM ctest-vn1-vm2-25143392 2025-10-09 11:16:05,905 - INFO - Detaching port 0b6e354b-6a4d-46eb-b227-a2ab540b1beb from VM ctest-vn1-vm1-89503534 2025-10-09 11:16:05,948 - INFO - Deleting VM ctest-vn1-vm1-89503534 2025-10-09 11:16:06,212 - DEBUG - Response for delete_port : () 2025-10-09 11:16:06,395 - DEBUG - Response for delete_port : () 2025-10-09 11:16:06,395 - INFO - Deleting VN ctest-vn1-24486684 2025-10-09 11:16:06,547 - DEBUG - Response for deleting network () 2025-10-09 11:16:06,810 - DEBUG - No XMPP flaps were noticed during the test 2025-10-09 11:16:06,810 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:20] 2025-10-09 11:16:06,810 - INFO - -------------------------------------------------------------------------------- 2025-10-09 11:16:07,501 - INFO - Deleted project: ctest-TestPorts-19097820, ID : 96d0b8d3-ce83-4685-a4d5-c2b955c69b2c